Lines Matching refs:h_ret
130 u64 rpage, cqx_fec, h_ret;
197 h_ret = hipz_h_alloc_resource_cq(adapter_handle, my_cq, ¶m);
199 if (h_ret != H_SUCCESS) {
201 "h_ret=%lli device=%p", h_ret, device);
202 cq = ERR_PTR(ehca2ib_return_code(h_ret));
225 h_ret = hipz_h_register_rpage_cq(adapter_handle,
235 if (h_ret < H_SUCCESS) {
237 "ehca_cq=%p cq_num=%x h_ret=%lli counter=%i "
239 h_ret, counter, param.act_pages);
246 if ((h_ret != H_SUCCESS) || vpage) {
249 "h_ret=%lli", my_cq, my_cq->cq_number,
250 h_ret);
255 if (h_ret != H_PAGE_REGISTERED) {
257 "ehca_cq=%p cq_num=%x h_ret=%lli "
260 h_ret, counter, param.act_pages);
309 h_ret = hipz_h_destroy_cq(adapter_handle, my_cq, 1);
310 if (h_ret != H_SUCCESS)
312 "cq_num=%x h_ret=%lli", my_cq, my_cq->cq_number, h_ret);
328 u64 h_ret;
357 h_ret = hipz_h_destroy_cq(adapter_handle, my_cq, 0);
358 if (h_ret == H_R_STATE) {
364 h_ret = hipz_h_destroy_cq(adapter_handle, my_cq, 1);
365 if (h_ret == H_SUCCESS)
369 if (h_ret != H_SUCCESS) {
370 ehca_err(device, "hipz_h_destroy_cq() failed h_ret=%lli "
371 "ehca_cq=%p cq_num=%x", h_ret, my_cq, cq_num);
372 return ehca2ib_return_code(h_ret);