Searched refs:pwrb_context (Results 1 – 7 of 7) sorted by relevance
968 beiscsi_get_wrb_handle(struct hwi_wrb_context *pwrb_context, in beiscsi_get_wrb_handle() argument974 spin_lock_irqsave(&pwrb_context->wrb_lock, flags); in beiscsi_get_wrb_handle()975 if (!pwrb_context->wrb_handles_available) { in beiscsi_get_wrb_handle()976 spin_unlock_irqrestore(&pwrb_context->wrb_lock, flags); in beiscsi_get_wrb_handle()979 pwrb_handle = pwrb_context->pwrb_handle_base[pwrb_context->alloc_index]; in beiscsi_get_wrb_handle()980 pwrb_context->wrb_handles_available--; in beiscsi_get_wrb_handle()981 if (pwrb_context->alloc_index == (wrbs_per_cxn - 1)) in beiscsi_get_wrb_handle()982 pwrb_context->alloc_index = 0; in beiscsi_get_wrb_handle()984 pwrb_context->alloc_index++; in beiscsi_get_wrb_handle()985 spin_unlock_irqrestore(&pwrb_context->wrb_lock, flags); in beiscsi_get_wrb_handle()[all …]
229 struct hwi_wrb_context *pwrb_context);233 struct hwi_wrb_context *pwrb_context);
1282 struct hwi_wrb_context *pwrb_context) in beiscsi_offload_cxn_v0() argument1326 if (pwrb_context->plast_wrb) in beiscsi_offload_cxn_v0()1329 pwrb_context->plast_wrb, in beiscsi_offload_cxn_v0()1331 pwrb_context->plast_wrb = pwrb; in beiscsi_offload_cxn_v0()1353 struct hwi_wrb_context *pwrb_context) in beiscsi_offload_cxn_v2() argument1367 if (pwrb_context->plast_wrb) in beiscsi_offload_cxn_v2()1370 pwrb_context->plast_wrb, in beiscsi_offload_cxn_v2()1372 pwrb_context->plast_wrb = pwrb; in beiscsi_offload_cxn_v2()
183 struct hwi_wrb_context *pwrb_context; in beiscsi_conn_bind() local225 pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; in beiscsi_conn_bind()226 beiscsi_conn->doorbell_offset = pwrb_context->doorbell_offset; in beiscsi_conn_bind()973 struct hwi_wrb_context *pwrb_context; in beiscsi_put_cid() local979 pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; in beiscsi_put_cid()980 cid_post_ulp = pwrb_context->ulp_num; in beiscsi_put_cid()
1083 struct hwi_wrb_context *pwrb_context, in be_cmd_wrbq_create() argument1114 pwrb_context->cid = wrbq->id; in be_cmd_wrbq_create()1116 pwrb_context->doorbell_offset = DB_TXULP0_OFFSET; in be_cmd_wrbq_create()1117 pwrb_context->ulp_num = BEISCSI_ULP0; in be_cmd_wrbq_create()1119 pwrb_context->ulp_num = resp->ulp_num; in be_cmd_wrbq_create()1120 pwrb_context->doorbell_offset = resp->doorbell_offset; in be_cmd_wrbq_create()
468 struct hwi_wrb_context *pwrb_context; member
859 struct hwi_wrb_context *pwrb_context,