Lines Matching refs:phwi_ctrlr

730 	struct hwi_controller *phwi_ctrlr;  in be_isr()  local
747 phwi_ctrlr = phba->phwi_ctrlr; in be_isr()
748 phwi_context = phwi_ctrlr->phwi_ctxt; in be_isr()
795 phwi_context = phba->phwi_ctrlr->phwi_ctxt; in beiscsi_free_irqs()
806 struct hwi_controller *phwi_ctrlr; in beiscsi_init_irqs() local
810 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_init_irqs()
811 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_init_irqs()
988 struct hwi_controller *phwi_ctrlr; in alloc_wrb_handle() local
991 phwi_ctrlr = phba->phwi_ctrlr; in alloc_wrb_handle()
992 pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; in alloc_wrb_handle()
1221 struct hwi_controller *phwi_ctrlr; in hwi_complete_drvr_msgs() local
1226 phwi_ctrlr = phba->phwi_ctrlr; in hwi_complete_drvr_msgs()
1240 pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; in hwi_complete_drvr_msgs()
1331 struct hwi_controller *phwi_ctrlr; in hwi_complete_cmd() local
1337 phwi_ctrlr = phba->phwi_ctrlr; in hwi_complete_cmd()
1343 pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; in hwi_complete_cmd()
1712 struct hwi_controller *phwi_ctrlr; in beiscsi_hdq_post_handles() local
1718 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_hdq_post_handles()
1719 pasync_ctx = HWI_GET_ASYNC_PDU_CTX(phwi_ctrlr, ulp_num); in beiscsi_hdq_post_handles()
1723 ring_id = phwi_ctrlr->default_pdu_hdr[ulp_num].id; in beiscsi_hdq_post_handles()
1724 doorbell_offset = phwi_ctrlr->default_pdu_hdr[ulp_num]. in beiscsi_hdq_post_handles()
1729 ring_id = phwi_ctrlr->default_pdu_data[ulp_num].id; in beiscsi_hdq_post_handles()
1730 doorbell_offset = phwi_ctrlr->default_pdu_data[ulp_num]. in beiscsi_hdq_post_handles()
1770 struct hwi_controller *phwi_ctrlr; in beiscsi_hdq_process_compl() local
1774 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_hdq_process_compl()
1776 ulp_num = BEISCSI_GET_ULP_FROM_CRI(phwi_ctrlr, cid_cri); in beiscsi_hdq_process_compl()
1777 pasync_ctx = HWI_GET_ASYNC_PDU_CTX(phwi_ctrlr, ulp_num); in beiscsi_hdq_process_compl()
2452 struct hwi_controller *phwi_ctrlr; in beiscsi_alloc_mem() local
2457 phba->phwi_ctrlr = kzalloc(phba->params.hwi_ws_sz, GFP_KERNEL); in beiscsi_alloc_mem()
2458 if (!phba->phwi_ctrlr) in beiscsi_alloc_mem()
2462 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_alloc_mem()
2463 phwi_ctrlr->wrb_context = kcalloc(phba->params.cxns_per_ctrl, in beiscsi_alloc_mem()
2466 if (!phwi_ctrlr->wrb_context) { in beiscsi_alloc_mem()
2467 kfree(phba->phwi_ctrlr); in beiscsi_alloc_mem()
2474 kfree(phwi_ctrlr->wrb_context); in beiscsi_alloc_mem()
2475 kfree(phba->phwi_ctrlr); in beiscsi_alloc_mem()
2484 kfree(phwi_ctrlr->wrb_context); in beiscsi_alloc_mem()
2485 kfree(phba->phwi_ctrlr); in beiscsi_alloc_mem()
2560 kfree(phba->phwi_ctrlr->wrb_context); in beiscsi_alloc_mem()
2561 kfree(phba->phwi_ctrlr); in beiscsi_alloc_mem()
2601 struct hwi_controller *phwi_ctrlr; in beiscsi_init_wrb_handle() local
2612 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_init_wrb_handle()
2615 phwi_ctxt = phwi_ctrlr->phwi_ctxt; in beiscsi_init_wrb_handle()
2626 pwrb_context = &phwi_ctrlr->wrb_context[index]; in beiscsi_init_wrb_handle()
2672 pwrb_context = &phwi_ctrlr->wrb_context[index]; in beiscsi_init_wrb_handle()
2693 pwrb_context = &phwi_ctrlr->wrb_context[j]; in beiscsi_init_wrb_handle()
2703 struct hwi_controller *phwi_ctrlr; in hwi_init_async_pdu_ctx() local
2717 phwi_ctrlr = phba->phwi_ctrlr; in hwi_init_async_pdu_ctx()
2718 phwi_ctrlr->phwi_ctxt->pasync_ctx[ulp_num] = in hwi_init_async_pdu_ctx()
2722 pasync_ctx = phwi_ctrlr->phwi_ctxt->pasync_ctx[ulp_num]; in hwi_init_async_pdu_ctx()
3128 struct hwi_controller *phwi_ctrlr, in beiscsi_create_def_hdr() argument
3180 struct hwi_controller *phwi_ctrlr, in beiscsi_create_def_data() argument
3335 struct hwi_controller *phwi_ctrlr) in beiscsi_create_wrb_rings() argument
3417 &phwi_ctrlr->wrb_context[i], in beiscsi_create_wrb_rings()
3425 pwrb_context = &phwi_ctrlr->wrb_context[i]; in beiscsi_create_wrb_rings()
3435 struct hwi_controller *phwi_ctrlr; in free_wrb_handles() local
3438 phwi_ctrlr = phba->phwi_ctrlr; in free_wrb_handles()
3440 pwrb_context = &phwi_ctrlr->wrb_context[index]; in free_wrb_handles()
3584 struct hwi_controller *phwi_ctrlr; in hwi_purge_eq() local
3594 phwi_ctrlr = phba->phwi_ctrlr; in hwi_purge_eq()
3595 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_purge_eq()
3622 struct hwi_controller *phwi_ctrlr; in hwi_cleanup_port() local
3637 phwi_ctrlr = phba->phwi_ctrlr; in hwi_cleanup_port()
3638 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_cleanup_port()
3693 struct hwi_controller *phwi_ctrlr; in hwi_init_port() local
3700 phwi_ctrlr = phba->phwi_ctrlr; in hwi_init_port()
3701 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_init_port()
3736 phwi_ctrlr, in hwi_init_port()
3747 phwi_ctrlr, in hwi_init_port()
3780 status = beiscsi_create_wrb_rings(phba, phwi_context, phwi_ctrlr); in hwi_init_port()
3795 phwi_ctrlr, ulp_num); in hwi_init_port()
3799 (phwi_ctrlr, cri)) in hwi_init_port()
3801 phwi_ctrlr->wrb_context[cri].cid] = in hwi_init_port()
3820 struct hwi_controller *phwi_ctrlr; in hwi_init_controller() local
3822 phwi_ctrlr = phba->phwi_ctrlr; in hwi_init_controller()
3824 phwi_ctrlr->phwi_ctxt = (struct hwi_context_memory *)phba-> in hwi_init_controller()
3828 phwi_ctrlr->phwi_ctxt); in hwi_init_controller()
3876 kfree(phba->phwi_ctrlr->wrb_context); in beiscsi_free_mem()
3877 kfree(phba->phwi_ctrlr); in beiscsi_free_mem()
4060 ulp_num = phba->phwi_ctrlr->wrb_context[i].ulp_num; in hba_setup_cid_tbls()
4064 phba->phwi_ctrlr->wrb_context[i].cid; in hba_setup_cid_tbls()
4097 struct hwi_controller *phwi_ctrlr; in hwi_enable_intr() local
4104 phwi_ctrlr = phba->phwi_ctrlr; in hwi_enable_intr()
4105 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_enable_intr()
4220 struct hwi_controller *phwi_ctrlr; in beiscsi_free_mgmt_task_handles() local
4224 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_free_mgmt_task_handles()
4225 pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; in beiscsi_free_mgmt_task_handles()
4261 struct hwi_controller *phwi_ctrlr; in beiscsi_cleanup_task() local
4265 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_cleanup_task()
4266 pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; in beiscsi_cleanup_task()
4380 struct hwi_controller *phwi_ctrlr; in beiscsi_alloc_pdu() local
4506 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_alloc_pdu()
4509 pwrb_context = &phwi_ctrlr->wrb_context[cri_index]; in beiscsi_alloc_pdu()
5197 struct hwi_controller *phwi_ctrlr; in beiscsi_eqd_update_work() local
5209 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_eqd_update_work()
5210 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_eqd_update_work()
5299 struct hwi_controller *phwi_ctrlr; in beiscsi_enable_port() local
5337 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_enable_port()
5338 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_enable_port()
5397 struct hwi_controller *phwi_ctrlr; in beiscsi_disable_port() local
5404 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_disable_port()
5405 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_disable_port()
5535 struct hwi_controller *phwi_ctrlr; in beiscsi_dev_probe() local
5665 phwi_ctrlr = phba->phwi_ctrlr; in beiscsi_dev_probe()
5666 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_dev_probe()