Lines Matching refs:phwi_context
749 struct hwi_context_memory *phwi_context; in be_isr() local
766 phwi_context = phwi_ctrlr->phwi_ctxt; in be_isr()
767 pbe_eq = &phwi_context->be_eq[0]; in be_isr()
769 eq = &phwi_context->be_eq[0].q; in be_isr()
804 struct hwi_context_memory *phwi_context; in beiscsi_free_irqs() local
813 phwi_context = phba->phwi_ctrlr->phwi_ctxt; in beiscsi_free_irqs()
816 &phwi_context->be_eq[i]); in beiscsi_free_irqs()
825 struct hwi_context_memory *phwi_context; in beiscsi_init_irqs() local
829 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_init_irqs()
843 &phwi_context->be_eq[i]); in beiscsi_init_irqs()
859 phba->msi_name[i], &phwi_context->be_eq[i]); in beiscsi_init_irqs()
881 free_irq(pci_irq_vector(pcidev, i), &phwi_context->be_eq[j]); in beiscsi_init_irqs()
3012 struct hwi_context_memory *phwi_context) in beiscsi_create_eqs() argument
3029 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3031 phwi_context->be_eq[i].phba = phba; in beiscsi_create_eqs()
3060 phwi_context->be_eq[i].q.id); in beiscsi_create_eqs()
3066 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3077 struct hwi_context_memory *phwi_context) in beiscsi_create_cqs() argument
3091 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3092 eq = &phwi_context->be_eq[i].q; in beiscsi_create_cqs()
3093 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_create_cqs()
3129 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3141 struct hwi_context_memory *phwi_context, in beiscsi_create_def_hdr() argument
3153 dq = &phwi_context->be_def_hdrq[ulp_num]; in beiscsi_create_def_hdr()
3154 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_hdr()
3187 phwi_context->be_def_hdrq[ulp_num].id); in beiscsi_create_def_hdr()
3193 struct hwi_context_memory *phwi_context, in beiscsi_create_def_data() argument
3205 dataq = &phwi_context->be_def_dataq[ulp_num]; in beiscsi_create_def_data()
3206 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_data()
3240 phwi_context->be_def_dataq[ulp_num].id); in beiscsi_create_def_data()
3348 struct hwi_context_memory *phwi_context, in beiscsi_create_wrb_rings() argument
3429 &phwi_context->be_wrbq[i], in beiscsi_create_wrb_rings()
3521 struct hwi_context_memory *phwi_context) in be_mcc_queues_create() argument
3534 &phwi_context->be_eq[phba->num_cpus].q, in be_mcc_queues_create()
3538 if (beiscsi_cmd_cq_create(ctrl, cq, &phwi_context->be_eq[0].q, in be_mcc_queues_create()
3598 struct hwi_context_memory *phwi_context; in hwi_purge_eq() local
3608 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_purge_eq()
3615 eq = &phwi_context->be_eq[i].q; in hwi_purge_eq()
3636 struct hwi_context_memory *phwi_context; in hwi_cleanup_port() local
3651 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_cleanup_port()
3656 q = &phwi_context->be_wrbq[i]; in hwi_cleanup_port()
3660 kfree(phwi_context->be_wrbq); in hwi_cleanup_port()
3666 q = &phwi_context->be_def_hdrq[ulp_num]; in hwi_cleanup_port()
3670 q = &phwi_context->be_def_dataq[ulp_num]; in hwi_cleanup_port()
3679 q = &phwi_context->be_cq[i]; in hwi_cleanup_port()
3692 q = &phwi_context->be_eq[i].q; in hwi_cleanup_port()
3707 struct hwi_context_memory *phwi_context; in hwi_init_port() local
3714 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_init_port()
3718 status = beiscsi_create_eqs(phba, phwi_context); in hwi_init_port()
3725 status = be_mcc_queues_create(phba, phwi_context); in hwi_init_port()
3736 status = beiscsi_create_cqs(phba, phwi_context); in hwi_init_port()
3745 nbufs = phwi_context->pasync_ctx[ulp_num]->num_entries; in hwi_init_port()
3748 status = beiscsi_create_def_hdr(phba, phwi_context, in hwi_init_port()
3759 status = beiscsi_create_def_data(phba, phwi_context, in hwi_init_port()
3793 status = beiscsi_create_wrb_rings(phba, phwi_context, phwi_ctrlr); in hwi_init_port()
4093 struct hwi_context_memory *phwi_context; in hwi_enable_intr() local
4100 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_enable_intr()
4115 eq = &phwi_context->be_eq[0].q; in hwi_enable_intr()
4122 eq = &phwi_context->be_eq[i].q; in hwi_enable_intr()
5187 struct hwi_context_memory *phwi_context; in beiscsi_eqd_update_work() local
5202 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_eqd_update_work()
5206 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_eqd_update_work()
5290 struct hwi_context_memory *phwi_context; in beiscsi_enable_port() local
5330 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_enable_port()
5332 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5338 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5368 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5388 struct hwi_context_memory *phwi_context; in beiscsi_disable_port() local
5397 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_disable_port()
5403 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_disable_port()
5410 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_disable_port()
5526 struct hwi_context_memory *phwi_context; in beiscsi_dev_probe() local
5649 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_dev_probe()
5652 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5658 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5713 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()