Lines Matching full:scratch
179 * @scratch: u64 saved to be used during cqp completion
184 u64 scratch, bool post_sq) in irdma_sc_add_arp_cache_entry() argument
189 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_add_arp_cache_entry()
215 * @scratch: u64 saved to be used during cqp completion
219 static int irdma_sc_del_arp_cache_entry(struct irdma_sc_cqp *cqp, u64 scratch, in irdma_sc_del_arp_cache_entry() argument
225 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_del_arp_cache_entry()
249 * @scratch: u64 saved to be used during cqp completion
254 u64 scratch, bool post_sq) in irdma_sc_manage_apbvt_entry() argument
259 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_manage_apbvt_entry()
284 * @scratch: u64 saved to be used during cqp completion
302 u64 scratch, bool post_sq) in irdma_sc_manage_qhash_table_entry() argument
310 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_manage_qhash_table_entry()
445 * @scratch: u64 saved to be used during cqp completion
449 u64 scratch, bool post_sq) in irdma_sc_qp_create() argument
460 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_qp_create()
496 * @scratch: u64 saved to be used during cqp completion
500 u64 scratch, bool post_sq) in irdma_sc_qp_modify() argument
509 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_qp_modify()
564 * @scratch: u64 saved to be used during cqp completion
569 int irdma_sc_qp_destroy(struct irdma_sc_qp *qp, u64 scratch, in irdma_sc_qp_destroy() argument
577 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_qp_destroy()
758 * @scratch: u64 saved to be used during cqp completion
761 static int irdma_sc_alloc_local_mac_entry(struct irdma_sc_cqp *cqp, u64 scratch, in irdma_sc_alloc_local_mac_entry() argument
767 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_alloc_local_mac_entry()
792 * @scratch: u64 saved to be used during cqp completion
797 u64 scratch, bool post_sq) in irdma_sc_add_local_mac_entry() argument
802 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_add_local_mac_entry()
828 * @scratch: u64 saved to be used during cqp completion
833 static int irdma_sc_del_local_mac_entry(struct irdma_sc_cqp *cqp, u64 scratch, in irdma_sc_del_local_mac_entry() argument
840 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_del_local_mac_entry()
1052 * @scratch: u64 saved to be used during cqp completion
1057 u64 scratch, bool post_sq) in irdma_sc_alloc_stag() argument
1075 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_alloc_stag()
1116 * @scratch: u64 saved to be used during cqp completion
1121 u64 scratch, bool post_sq) in irdma_sc_mr_reg_non_shared() argument
1155 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_mr_reg_non_shared()
1207 * @scratch: u64 saved to be used during cqp completion
1212 u64 scratch, bool post_sq) in irdma_sc_dealloc_stag() argument
1219 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_dealloc_stag()
1247 * @scratch: u64 saved to be used during cqp completion
1251 struct irdma_mw_alloc_info *info, u64 scratch, in irdma_sc_mw_alloc() argument
1259 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_mw_alloc()
2045 * @scratch: u64 saved to be used during cqp completion
2049 u64 scratch) in irdma_sc_gather_stats() argument
2057 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_gather_stats()
2092 * @scratch: u64 saved to be used during cqp completion
2096 bool alloc, u64 scratch) in irdma_sc_manage_stats_inst() argument
2101 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_manage_stats_inst()
2129 * @scratch: u64 saved to be used during cqp completion
2132 struct irdma_up_info *info, u64 scratch) in irdma_sc_set_up_map() argument
2138 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_set_up_map()
2171 * @scratch: u64 saved to be used during cqp completion
2175 enum irdma_ws_node_op node_op, u64 scratch) in irdma_sc_manage_ws_node() argument
2180 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_manage_ws_node()
2212 * @scratch: u64 saved to be used during cqp completion
2216 struct irdma_qp_flush_info *info, u64 scratch, in irdma_sc_qp_flush_wqes() argument
2240 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_qp_flush_wqes()
2286 * @scratch: u64 saved to be used during cqp completion
2290 struct irdma_gen_ae_info *info, u64 scratch, in irdma_sc_gen_ae() argument
2299 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_gen_ae()
2326 * @scratch: u64 saved to be used during cqp completion
2331 u64 scratch, bool post_sq) in irdma_sc_qp_upload_context() argument
2338 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_qp_upload_context()
2366 * @scratch: u64 saved to be used during cqp completion
2371 u64 scratch, bool post_sq) in irdma_sc_manage_push_page() argument
2380 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_manage_push_page()
2406 * @scratch: u64 saved to be used during cqp completion
2409 u64 scratch) in irdma_sc_suspend_qp() argument
2414 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_suspend_qp()
2436 * @scratch: u64 saved to be used during cqp completion
2439 u64 scratch) in irdma_sc_resume_qp() argument
2444 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_resume_qp()
2512 * @scratch: u64 saved to be used during cqp completion
2516 static int irdma_sc_cq_create(struct irdma_sc_cq *cq, u64 scratch, in irdma_sc_cq_create() argument
2539 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_cq_create()
2586 * @scratch: u64 saved to be used during cqp completion
2589 int irdma_sc_cq_destroy(struct irdma_sc_cq *cq, u64 scratch, bool post_sq) in irdma_sc_cq_destroy() argument
2597 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_cq_destroy()
2652 * @scratch: u64 saved to be used during cqp completion
2656 struct irdma_modify_cq_info *info, u64 scratch, in irdma_sc_cq_modify() argument
2670 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_cq_modify()
3257 * @scratch: private data for CQP WQE
3260 __le64 *irdma_sc_cqp_get_next_send_wqe_idx(struct irdma_sc_cqp *cqp, u64 scratch, in irdma_sc_cqp_get_next_send_wqe_idx() argument
3281 cqp->scratch_array[*wqe_idx] = scratch; in irdma_sc_cqp_get_next_send_wqe_idx()
3382 info->scratch = cqp->scratch_array[wqe_idx]; in irdma_sc_ccq_get_cqe_info()
3452 * @scratch: u64 saved to be used during cqp completion
3458 u64 scratch, bool post_sq) in irdma_sc_manage_hmc_pm_func_table() argument
3463 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_manage_hmc_pm_func_table()
3507 * @scratch: u64 saved to be used during cqp completion
3513 static int irdma_sc_commit_fpm_val(struct irdma_sc_cqp *cqp, u64 scratch, in irdma_sc_commit_fpm_val() argument
3523 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_commit_fpm_val()
3568 * @scratch: u64 saved to be used during cqp completion
3574 static int irdma_sc_query_fpm_val(struct irdma_sc_cqp *cqp, u64 scratch, in irdma_sc_query_fpm_val() argument
3584 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_query_fpm_val()
3661 * @scratch: u64 saved to be used during cqp completion
3665 static int irdma_sc_ceq_create(struct irdma_sc_ceq *ceq, u64 scratch, in irdma_sc_ceq_create() argument
3673 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_ceq_create()
3737 * @scratch: u64 saved to be used during cqp completion
3739 int irdma_sc_cceq_create(struct irdma_sc_ceq *ceq, u64 scratch) in irdma_sc_cceq_create() argument
3751 ret_code = irdma_sc_ceq_create(ceq, scratch, true); in irdma_sc_cceq_create()
3761 * @scratch: u64 saved to be used during cqp completion
3764 int irdma_sc_ceq_destroy(struct irdma_sc_ceq *ceq, u64 scratch, bool post_sq) in irdma_sc_ceq_destroy() argument
3771 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_ceq_destroy()
3926 * @scratch: u64 saved to be used during cqp completion
3929 static int irdma_sc_aeq_create(struct irdma_sc_aeq *aeq, u64 scratch, in irdma_sc_aeq_create() argument
3937 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_aeq_create()
3965 * @scratch: u64 saved to be used during cqp completion
3968 static int irdma_sc_aeq_destroy(struct irdma_sc_aeq *aeq, u64 scratch, in irdma_sc_aeq_destroy() argument
3980 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_aeq_destroy()
4229 * @scratch: u64 saved to be used during cqp completion
4233 int irdma_sc_ccq_create(struct irdma_sc_cq *ccq, u64 scratch, in irdma_sc_ccq_create() argument
4238 ret_code = irdma_sc_cq_create(ccq, scratch, check_overflow, post_sq); in irdma_sc_ccq_create()
4255 * @scratch: u64 saved to be used during cqp completion
4258 int irdma_sc_ccq_destroy(struct irdma_sc_cq *ccq, u64 scratch, bool post_sq) in irdma_sc_ccq_destroy() argument
4267 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_ccq_destroy()
4411 * @scratch: u64 saved to be used during cqp completion
4414 struct irdma_update_sds_info *info, u64 scratch) in cqp_sds_wqe_fill() argument
4424 wqe = irdma_sc_cqp_get_next_send_wqe_idx(cqp, scratch, &wqe_idx); in cqp_sds_wqe_fill()
4490 * @scratch: u64 saved to be used during cqp completion
4493 struct irdma_update_sds_info *info, u64 scratch) in irdma_update_pe_sds() argument
4498 ret_code = cqp_sds_wqe_fill(cqp, info, scratch); in irdma_update_pe_sds()
4531 * @scratch: u64 saved to be used during cqp completion
4536 int irdma_sc_static_hmc_pages_allocated(struct irdma_sc_cqp *cqp, u64 scratch, in irdma_sc_static_hmc_pages_allocated() argument
4544 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_static_hmc_pages_allocated()
4632 * @scratch: u64 saved to be used during cqp completion
4635 struct irdma_dma_mem *buf, u64 scratch) in irdma_sc_query_rdma_features() argument
4640 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_query_rdma_features()
4992 pcmdinfo->in.u.ceq_destroy.scratch, in irdma_exec_cqp_cmd()
4997 pcmdinfo->in.u.aeq_destroy.scratch, in irdma_exec_cqp_cmd()
5003 pcmdinfo->in.u.ceq_create.scratch, in irdma_exec_cqp_cmd()
5008 pcmdinfo->in.u.aeq_create.scratch, in irdma_exec_cqp_cmd()
5014 pcmdinfo->in.u.qp_upload_context.scratch, in irdma_exec_cqp_cmd()
5019 pcmdinfo->in.u.cq_create.scratch, in irdma_exec_cqp_cmd()
5026 pcmdinfo->in.u.cq_modify.scratch, in irdma_exec_cqp_cmd()
5031 pcmdinfo->in.u.cq_destroy.scratch, in irdma_exec_cqp_cmd()
5037 pcmdinfo->in.u.qp_flush_wqes.scratch, in irdma_exec_cqp_cmd()
5043 pcmdinfo->in.u.gen_ae.scratch, in irdma_exec_cqp_cmd()
5049 pcmdinfo->in.u.manage_push_page.scratch, in irdma_exec_cqp_cmd()
5055 pcmdinfo->in.u.update_pe_sds.scratch); in irdma_exec_cqp_cmd()
5062 pcmdinfo->in.u.manage_hmc_pm.scratch, in irdma_exec_cqp_cmd()
5068 pcmdinfo->in.u.suspend_resume.scratch); in irdma_exec_cqp_cmd()
5073 pcmdinfo->in.u.suspend_resume.scratch); in irdma_exec_cqp_cmd()
5079 pcmdinfo->in.u.query_fpm_val.scratch, in irdma_exec_cqp_cmd()
5087 pcmdinfo->in.u.commit_fpm_val.scratch, in irdma_exec_cqp_cmd()
5100 pcmdinfo->in.u.stats_manage.scratch); in irdma_exec_cqp_cmd()
5105 pcmdinfo->in.u.stats_gather.scratch); in irdma_exec_cqp_cmd()
5111 pcmdinfo->in.u.ws_node.scratch); in irdma_exec_cqp_cmd()
5117 pcmdinfo->in.u.ws_node.scratch); in irdma_exec_cqp_cmd()
5123 pcmdinfo->in.u.ws_node.scratch); in irdma_exec_cqp_cmd()
5128 pcmdinfo->in.u.up_map.scratch); in irdma_exec_cqp_cmd()
5133 pcmdinfo->in.u.query_rdma.scratch); in irdma_exec_cqp_cmd()
5137 pcmdinfo->in.u.del_arp_cache_entry.scratch, in irdma_exec_cqp_cmd()
5144 pcmdinfo->in.u.manage_apbvt_entry.scratch, in irdma_exec_cqp_cmd()
5150 pcmdinfo->in.u.manage_qhash_table_entry.scratch, in irdma_exec_cqp_cmd()
5156 pcmdinfo->in.u.qp_modify.scratch, in irdma_exec_cqp_cmd()
5162 pcmdinfo->in.u.qp_create.scratch, in irdma_exec_cqp_cmd()
5167 pcmdinfo->in.u.qp_destroy.scratch, in irdma_exec_cqp_cmd()
5175 pcmdinfo->in.u.alloc_stag.scratch, in irdma_exec_cqp_cmd()
5181 pcmdinfo->in.u.mr_reg_non_shared.scratch, in irdma_exec_cqp_cmd()
5187 pcmdinfo->in.u.dealloc_stag.scratch, in irdma_exec_cqp_cmd()
5193 pcmdinfo->in.u.mw_alloc.scratch, in irdma_exec_cqp_cmd()
5199 pcmdinfo->in.u.add_arp_cache_entry.scratch, in irdma_exec_cqp_cmd()
5204 pcmdinfo->in.u.alloc_local_mac_entry.scratch, in irdma_exec_cqp_cmd()
5210 pcmdinfo->in.u.add_local_mac_entry.scratch, in irdma_exec_cqp_cmd()
5215 pcmdinfo->in.u.del_local_mac_entry.scratch, in irdma_exec_cqp_cmd()
5223 pcmdinfo->in.u.ah_create.scratch); in irdma_exec_cqp_cmd()
5228 pcmdinfo->in.u.ah_destroy.scratch); in irdma_exec_cqp_cmd()
5233 pcmdinfo->in.u.mc_create.scratch); in irdma_exec_cqp_cmd()
5238 pcmdinfo->in.u.mc_destroy.scratch); in irdma_exec_cqp_cmd()
5243 pcmdinfo->in.u.mc_modify.scratch); in irdma_exec_cqp_cmd()