Lines Matching refs:phwi_context
731 struct hwi_context_memory *phwi_context; in be_isr() local
748 phwi_context = phwi_ctrlr->phwi_ctxt; in be_isr()
749 pbe_eq = &phwi_context->be_eq[0]; in be_isr()
751 eq = &phwi_context->be_eq[0].q; in be_isr()
786 struct hwi_context_memory *phwi_context; in beiscsi_free_irqs() local
795 phwi_context = phba->phwi_ctrlr->phwi_ctxt; in beiscsi_free_irqs()
798 &phwi_context->be_eq[i]); in beiscsi_free_irqs()
807 struct hwi_context_memory *phwi_context; in beiscsi_init_irqs() local
811 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_init_irqs()
825 &phwi_context->be_eq[i]); in beiscsi_init_irqs()
842 phba->msi_name[i], &phwi_context->be_eq[i]); in beiscsi_init_irqs()
864 free_irq(pci_irq_vector(pcidev, i), &phwi_context->be_eq[j]); in beiscsi_init_irqs()
2995 struct hwi_context_memory *phwi_context) in beiscsi_create_eqs() argument
3012 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3014 phwi_context->be_eq[i].phba = phba; in beiscsi_create_eqs()
3044 phwi_context->be_eq[i].q.id); in beiscsi_create_eqs()
3050 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3061 struct hwi_context_memory *phwi_context) in beiscsi_create_cqs() argument
3075 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3076 eq = &phwi_context->be_eq[i].q; in beiscsi_create_cqs()
3077 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_create_cqs()
3115 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3127 struct hwi_context_memory *phwi_context, in beiscsi_create_def_hdr() argument
3139 dq = &phwi_context->be_def_hdrq[ulp_num]; in beiscsi_create_def_hdr()
3140 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_hdr()
3173 phwi_context->be_def_hdrq[ulp_num].id); in beiscsi_create_def_hdr()
3179 struct hwi_context_memory *phwi_context, in beiscsi_create_def_data() argument
3191 dataq = &phwi_context->be_def_dataq[ulp_num]; in beiscsi_create_def_data()
3192 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_data()
3226 phwi_context->be_def_dataq[ulp_num].id); in beiscsi_create_def_data()
3334 struct hwi_context_memory *phwi_context, in beiscsi_create_wrb_rings() argument
3416 &phwi_context->be_wrbq[i], in beiscsi_create_wrb_rings()
3508 struct hwi_context_memory *phwi_context) in be_mcc_queues_create() argument
3521 &phwi_context->be_eq[phba->num_cpus].q, in be_mcc_queues_create()
3525 if (beiscsi_cmd_cq_create(ctrl, cq, &phwi_context->be_eq[0].q, in be_mcc_queues_create()
3585 struct hwi_context_memory *phwi_context; in hwi_purge_eq() local
3595 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_purge_eq()
3602 eq = &phwi_context->be_eq[i].q; in hwi_purge_eq()
3623 struct hwi_context_memory *phwi_context; in hwi_cleanup_port() local
3638 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_cleanup_port()
3643 q = &phwi_context->be_wrbq[i]; in hwi_cleanup_port()
3647 kfree(phwi_context->be_wrbq); in hwi_cleanup_port()
3653 q = &phwi_context->be_def_hdrq[ulp_num]; in hwi_cleanup_port()
3657 q = &phwi_context->be_def_dataq[ulp_num]; in hwi_cleanup_port()
3666 q = &phwi_context->be_cq[i]; in hwi_cleanup_port()
3679 q = &phwi_context->be_eq[i].q; in hwi_cleanup_port()
3694 struct hwi_context_memory *phwi_context; in hwi_init_port() local
3701 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_init_port()
3705 status = beiscsi_create_eqs(phba, phwi_context); in hwi_init_port()
3712 status = be_mcc_queues_create(phba, phwi_context); in hwi_init_port()
3723 status = beiscsi_create_cqs(phba, phwi_context); in hwi_init_port()
3732 nbufs = phwi_context->pasync_ctx[ulp_num]->num_entries; in hwi_init_port()
3735 status = beiscsi_create_def_hdr(phba, phwi_context, in hwi_init_port()
3746 status = beiscsi_create_def_data(phba, phwi_context, in hwi_init_port()
3780 status = beiscsi_create_wrb_rings(phba, phwi_context, phwi_ctrlr); in hwi_init_port()
4098 struct hwi_context_memory *phwi_context; in hwi_enable_intr() local
4105 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_enable_intr()
4120 eq = &phwi_context->be_eq[0].q; in hwi_enable_intr()
4127 eq = &phwi_context->be_eq[i].q; in hwi_enable_intr()
5195 struct hwi_context_memory *phwi_context; in beiscsi_eqd_update_work() local
5210 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_eqd_update_work()
5214 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_eqd_update_work()
5298 struct hwi_context_memory *phwi_context; in beiscsi_enable_port() local
5338 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_enable_port()
5340 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5346 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5376 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5396 struct hwi_context_memory *phwi_context; in beiscsi_disable_port() local
5405 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_disable_port()
5411 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_disable_port()
5418 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_disable_port()
5534 struct hwi_context_memory *phwi_context; in beiscsi_dev_probe() local
5666 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_dev_probe()
5669 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5675 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5730 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()