Home
last modified time | relevance | path

Searched refs:pwrb_context (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/scsi/be2iscsi/
Dbe_main.c1194 struct hwi_wrb_context *pwrb_context; in alloc_wrb_handle() local
1200 pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; in alloc_wrb_handle()
1201 if (pwrb_context->wrb_handles_available >= 2) { in alloc_wrb_handle()
1202 pwrb_handle = pwrb_context->pwrb_handle_base[ in alloc_wrb_handle()
1203 pwrb_context->alloc_index]; in alloc_wrb_handle()
1204 pwrb_context->wrb_handles_available--; in alloc_wrb_handle()
1205 if (pwrb_context->alloc_index == in alloc_wrb_handle()
1207 pwrb_context->alloc_index = 0; in alloc_wrb_handle()
1209 pwrb_context->alloc_index++; in alloc_wrb_handle()
1210 pwrb_handle_tmp = pwrb_context->pwrb_handle_base[ in alloc_wrb_handle()
[all …]
Dbe_iscsi.c204 struct hwi_wrb_context *pwrb_context; in beiscsi_conn_bind() local
225 pwrb_context = &phwi_ctrlr->wrb_context[BE_GET_CRI_FROM_CID( in beiscsi_conn_bind()
231 beiscsi_conn->doorbell_offset = pwrb_context->doorbell_offset; in beiscsi_conn_bind()
1047 struct hwi_wrb_context *pwrb_context; in beiscsi_put_cid() local
1052 pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; in beiscsi_put_cid()
1053 cid_post_ulp = pwrb_context->ulp_num; in beiscsi_put_cid()
Dbe_cmds.c1245 struct hwi_wrb_context *pwrb_context, in be_cmd_wrbq_create() argument
1276 pwrb_context->cid = wrbq->id; in be_cmd_wrbq_create()
1278 pwrb_context->doorbell_offset = DB_TXULP0_OFFSET; in be_cmd_wrbq_create()
1279 pwrb_context->ulp_num = BEISCSI_ULP0; in be_cmd_wrbq_create()
1281 pwrb_context->ulp_num = resp->ulp_num; in be_cmd_wrbq_create()
1282 pwrb_context->doorbell_offset = resp->doorbell_offset; in be_cmd_wrbq_create()
Dbe_cmds.h766 struct hwi_wrb_context *pwrb_context,