Lines Matching refs:cqp_request

248 	struct i40iw_cqp_request *cqp_request;  in i40iw_alloc_push_page()  local
255 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, true); in i40iw_alloc_push_page()
256 if (!cqp_request) in i40iw_alloc_push_page()
259 atomic_inc(&cqp_request->refcount); in i40iw_alloc_push_page()
261 cqp_info = &cqp_request->info; in i40iw_alloc_push_page()
268 cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; in i40iw_alloc_push_page()
270 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_alloc_push_page()
272 qp->push_idx = cqp_request->compl_info.op_ret_val; in i40iw_alloc_push_page()
275 i40iw_put_cqp_request(&iwdev->cqp, cqp_request); in i40iw_alloc_push_page()
285 struct i40iw_cqp_request *cqp_request; in i40iw_dealloc_push_page() local
292 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, false); in i40iw_dealloc_push_page()
293 if (!cqp_request) in i40iw_dealloc_push_page()
296 cqp_info = &cqp_request->info; in i40iw_dealloc_push_page()
304 cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; in i40iw_dealloc_push_page()
306 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_dealloc_push_page()
581 struct i40iw_cqp_request *cqp_request; in i40iw_create_qp() local
741 cqp_request = i40iw_get_cqp_request(iwcqp, true); in i40iw_create_qp()
742 if (!cqp_request) { in i40iw_create_qp()
746 cqp_info = &cqp_request->info; in i40iw_create_qp()
747 qp_info = &cqp_request->info.in.u.qp_create.info; in i40iw_create_qp()
757 cqp_info->in.u.qp_create.scratch = (uintptr_t)cqp_request; in i40iw_create_qp()
758 ret = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_create_qp()
836 struct i40iw_cqp_request *cqp_request; in i40iw_hw_modify_qp() local
841 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, wait); in i40iw_hw_modify_qp()
842 if (!cqp_request) in i40iw_hw_modify_qp()
845 cqp_info = &cqp_request->info; in i40iw_hw_modify_qp()
851 cqp_info->in.u.qp_modify.scratch = (uintptr_t)cqp_request; in i40iw_hw_modify_qp()
852 if (!i40iw_handle_cqp_op(iwdev, cqp_request)) in i40iw_hw_modify_qp()
1078 struct i40iw_cqp_request *cqp_request; in i40iw_cq_wq_destroy() local
1081 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, true); in i40iw_cq_wq_destroy()
1082 if (!cqp_request) in i40iw_cq_wq_destroy()
1085 cqp_info = &cqp_request->info; in i40iw_cq_wq_destroy()
1090 cqp_info->in.u.cq_destroy.scratch = (uintptr_t)cqp_request; in i40iw_cq_wq_destroy()
1091 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_cq_wq_destroy()
1141 struct i40iw_cqp_request *cqp_request; in i40iw_create_cq() local
1239 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, true); in i40iw_create_cq()
1240 if (!cqp_request) { in i40iw_create_cq()
1245 cqp_info = &cqp_request->info; in i40iw_create_cq()
1249 cqp_info->in.u.cq_create.scratch = (uintptr_t)cqp_request; in i40iw_create_cq()
1250 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_create_cq()
1607 struct i40iw_cqp_request *cqp_request; in i40iw_hw_alloc_stag() local
1610 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, true); in i40iw_hw_alloc_stag()
1611 if (!cqp_request) in i40iw_hw_alloc_stag()
1614 cqp_info = &cqp_request->info; in i40iw_hw_alloc_stag()
1625 cqp_info->in.u.alloc_stag.scratch = (uintptr_t)cqp_request; in i40iw_hw_alloc_stag()
1627 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_hw_alloc_stag()
1774 struct i40iw_cqp_request *cqp_request; in i40iw_hwreg_mr() local
1777 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, true); in i40iw_hwreg_mr()
1778 if (!cqp_request) in i40iw_hwreg_mr()
1781 cqp_info = &cqp_request->info; in i40iw_hwreg_mr()
1808 cqp_info->in.u.mr_reg_non_shared.scratch = (uintptr_t)cqp_request; in i40iw_hwreg_mr()
1810 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_hwreg_mr()
2087 struct i40iw_cqp_request *cqp_request; in i40iw_dereg_mr() local
2107 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, true); in i40iw_dereg_mr()
2108 if (!cqp_request) in i40iw_dereg_mr()
2111 cqp_info = &cqp_request->info; in i40iw_dereg_mr()
2125 cqp_info->in.u.dealloc_stag.scratch = (uintptr_t)cqp_request; in i40iw_dereg_mr()
2126 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_dereg_mr()