Lines Matching refs:pwrb_handle
246 abrt_io_task->pwrb_handle->pwrb, 1); in beiscsi_eh_abort()
249 abrt_io_task->pwrb_handle->pwrb, 1); in beiscsi_eh_abort()
328 io_task->pwrb_handle->pwrb, 1); in beiscsi_eh_device_reset()
331 io_task->pwrb_handle->pwrb, 1); in beiscsi_eh_device_reset()
952 struct wrb_handle *pwrb_handle; in beiscsi_get_wrb_handle() local
960 pwrb_handle = pwrb_context->pwrb_handle_base[pwrb_context->alloc_index]; in beiscsi_get_wrb_handle()
968 if (pwrb_handle) in beiscsi_get_wrb_handle()
969 memset(pwrb_handle->pwrb, 0, sizeof(*pwrb_handle->pwrb)); in beiscsi_get_wrb_handle()
971 return pwrb_handle; in beiscsi_get_wrb_handle()
998 struct wrb_handle *pwrb_handle, in beiscsi_put_wrb_handle() argument
1004 pwrb_context->pwrb_handle_base[pwrb_context->free_index] = pwrb_handle; in beiscsi_put_wrb_handle()
1010 pwrb_handle->pio_handle = NULL; in beiscsi_put_wrb_handle()
1024 struct wrb_handle *pwrb_handle) in free_wrb_handle() argument
1027 pwrb_handle, in free_wrb_handle()
1033 pwrb_handle, pwrb_context->free_index, in free_wrb_handle()
1220 struct wrb_handle *pwrb_handle; in hwi_complete_drvr_msgs() local
1239 pwrb_handle = pwrb_context->pwrb_handle_basestd[wrb_index]; in hwi_complete_drvr_msgs()
1242 task = pwrb_handle->pio_handle; in hwi_complete_drvr_msgs()
1330 struct wrb_handle *pwrb_handle; in hwi_complete_cmd() local
1343 pwrb_handle = pwrb_context->pwrb_handle_basestd[ in hwi_complete_cmd()
1347 task = pwrb_handle->pio_handle; in hwi_complete_cmd()
2597 struct wrb_handle *pwrb_handle = NULL; in beiscsi_init_wrb_handle() local
2643 pwrb_handle = in beiscsi_init_wrb_handle()
2656 pwrb_context->pwrb_handle_base[j] = pwrb_handle; in beiscsi_init_wrb_handle()
2658 pwrb_handle; in beiscsi_init_wrb_handle()
2660 pwrb_handle->wrb_index = j; in beiscsi_init_wrb_handle()
2661 pwrb_handle++; in beiscsi_init_wrb_handle()
2680 pwrb_handle = pwrb_context->pwrb_handle_base[j]; in beiscsi_init_wrb_handle()
2681 pwrb_handle->pwrb = pwrb; in beiscsi_init_wrb_handle()
4205 if (io_task->pwrb_handle) { in beiscsi_free_mgmt_task_handles()
4206 free_wrb_handle(phba, pwrb_context, io_task->pwrb_handle); in beiscsi_free_mgmt_task_handles()
4207 io_task->pwrb_handle = NULL; in beiscsi_free_mgmt_task_handles()
4252 if (io_task->pwrb_handle) { in beiscsi_cleanup_task()
4254 io_task->pwrb_handle); in beiscsi_cleanup_task()
4255 io_task->pwrb_handle = NULL; in beiscsi_cleanup_task()
4278 struct wrb_handle *pwrb_handle; in beiscsi_offload_connection() local
4294 pwrb_handle = alloc_wrb_handle(phba, beiscsi_conn->beiscsi_conn_cid, in beiscsi_offload_connection()
4299 beiscsi_offload_cxn_v0(params, pwrb_handle, in beiscsi_offload_connection()
4303 beiscsi_offload_cxn_v2(params, pwrb_handle, in beiscsi_offload_connection()
4306 be_dws_le_to_cpu(pwrb_handle->pwrb, in beiscsi_offload_connection()
4310 doorbell |= (pwrb_handle->wrb_index & DB_DEF_PDU_WRB_INDEX_MASK) in beiscsi_offload_connection()
4322 beiscsi_put_wrb_handle(pwrb_context, pwrb_handle, in beiscsi_offload_connection()
4327 pwrb_handle, pwrb_context->free_index, in beiscsi_offload_connection()
4373 io_task->pwrb_handle = NULL; in beiscsi_alloc_pdu()
4385 io_task->pwrb_handle = alloc_wrb_handle(phba, in beiscsi_alloc_pdu()
4388 if (!io_task->pwrb_handle) { in beiscsi_alloc_pdu()
4416 io_task->pwrb_handle = in beiscsi_alloc_pdu()
4420 if (!io_task->pwrb_handle) { in beiscsi_alloc_pdu()
4430 io_task->pwrb_handle; in beiscsi_alloc_pdu()
4435 io_task->pwrb_handle = in beiscsi_alloc_pdu()
4449 io_task->pwrb_handle = in beiscsi_alloc_pdu()
4453 if (!io_task->pwrb_handle) { in beiscsi_alloc_pdu()
4464 itt = (itt_t) cpu_to_be32(((unsigned int)io_task->pwrb_handle-> in beiscsi_alloc_pdu()
4467 io_task->pwrb_handle->pio_handle = task; in beiscsi_alloc_pdu()
4483 if (io_task->pwrb_handle) in beiscsi_alloc_pdu()
4484 free_wrb_handle(phba, pwrb_context, io_task->pwrb_handle); in beiscsi_alloc_pdu()
4485 io_task->pwrb_handle = NULL; in beiscsi_alloc_pdu()
4503 pwrb = io_task->pwrb_handle->pwrb; in beiscsi_iotask_v2()
4525 io_task->pwrb_handle->wrb_index); in beiscsi_iotask_v2()
4533 io_task->pwrb_handle->wrb_index); in beiscsi_iotask_v2()
4537 io_task->pwrb_handle->wrb_index); in beiscsi_iotask_v2()
4543 doorbell |= (io_task->pwrb_handle->wrb_index & in beiscsi_iotask_v2()
4564 pwrb = io_task->pwrb_handle->pwrb; in beiscsi_iotask()
4585 io_task->pwrb_handle->wrb_index); in beiscsi_iotask()
4594 io_task->pwrb_handle->wrb_index); in beiscsi_iotask()
4598 io_task->pwrb_handle->wrb_index); in beiscsi_iotask()
4604 doorbell |= (io_task->pwrb_handle->wrb_index & in beiscsi_iotask()
4626 pwrb = io_task->pwrb_handle->pwrb; in beiscsi_mtask()
4632 io_task->pwrb_handle->wrb_index); in beiscsi_mtask()
4638 io_task->pwrb_handle->wrb_index); in beiscsi_mtask()
4642 io_task->pwrb_handle->wrb_index); in beiscsi_mtask()
4650 io_task->pwrb_handle->wrb_index); in beiscsi_mtask()
4656 io_task->pwrb_handle->wrb_index); in beiscsi_mtask()
4660 io_task->pwrb_handle->wrb_index); in beiscsi_mtask()
4723 doorbell |= (io_task->pwrb_handle->wrb_index & in beiscsi_mtask()