Lines Matching refs:phwi_context

730 	struct hwi_context_memory *phwi_context;  in be_isr()  local
747 phwi_context = phwi_ctrlr->phwi_ctxt; in be_isr()
748 pbe_eq = &phwi_context->be_eq[0]; in be_isr()
750 eq = &phwi_context->be_eq[0].q; in be_isr()
785 struct hwi_context_memory *phwi_context; in beiscsi_free_irqs() local
794 phwi_context = phba->phwi_ctrlr->phwi_ctxt; in beiscsi_free_irqs()
797 &phwi_context->be_eq[i]); in beiscsi_free_irqs()
806 struct hwi_context_memory *phwi_context; in beiscsi_init_irqs() local
810 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_init_irqs()
824 &phwi_context->be_eq[i]); in beiscsi_init_irqs()
840 phba->msi_name[i], &phwi_context->be_eq[i]); in beiscsi_init_irqs()
862 free_irq(pci_irq_vector(pcidev, i), &phwi_context->be_eq[j]); in beiscsi_init_irqs()
2992 struct hwi_context_memory *phwi_context) in beiscsi_create_eqs() argument
3009 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3011 phwi_context->be_eq[i].phba = phba; in beiscsi_create_eqs()
3040 phwi_context->be_eq[i].q.id); in beiscsi_create_eqs()
3046 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3057 struct hwi_context_memory *phwi_context) in beiscsi_create_cqs() argument
3071 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3072 eq = &phwi_context->be_eq[i].q; in beiscsi_create_cqs()
3073 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_create_cqs()
3109 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3121 struct hwi_context_memory *phwi_context, in beiscsi_create_def_hdr() argument
3133 dq = &phwi_context->be_def_hdrq[ulp_num]; in beiscsi_create_def_hdr()
3134 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_hdr()
3167 phwi_context->be_def_hdrq[ulp_num].id); in beiscsi_create_def_hdr()
3173 struct hwi_context_memory *phwi_context, in beiscsi_create_def_data() argument
3185 dataq = &phwi_context->be_def_dataq[ulp_num]; in beiscsi_create_def_data()
3186 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_data()
3220 phwi_context->be_def_dataq[ulp_num].id); in beiscsi_create_def_data()
3328 struct hwi_context_memory *phwi_context, in beiscsi_create_wrb_rings() argument
3409 &phwi_context->be_wrbq[i], in beiscsi_create_wrb_rings()
3501 struct hwi_context_memory *phwi_context) in be_mcc_queues_create() argument
3514 &phwi_context->be_eq[phba->num_cpus].q, in be_mcc_queues_create()
3518 if (beiscsi_cmd_cq_create(ctrl, cq, &phwi_context->be_eq[0].q, in be_mcc_queues_create()
3578 struct hwi_context_memory *phwi_context; in hwi_purge_eq() local
3588 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_purge_eq()
3595 eq = &phwi_context->be_eq[i].q; in hwi_purge_eq()
3616 struct hwi_context_memory *phwi_context; in hwi_cleanup_port() local
3631 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_cleanup_port()
3636 q = &phwi_context->be_wrbq[i]; in hwi_cleanup_port()
3640 kfree(phwi_context->be_wrbq); in hwi_cleanup_port()
3646 q = &phwi_context->be_def_hdrq[ulp_num]; in hwi_cleanup_port()
3650 q = &phwi_context->be_def_dataq[ulp_num]; in hwi_cleanup_port()
3659 q = &phwi_context->be_cq[i]; in hwi_cleanup_port()
3672 q = &phwi_context->be_eq[i].q; in hwi_cleanup_port()
3687 struct hwi_context_memory *phwi_context; in hwi_init_port() local
3694 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_init_port()
3698 status = beiscsi_create_eqs(phba, phwi_context); in hwi_init_port()
3705 status = be_mcc_queues_create(phba, phwi_context); in hwi_init_port()
3716 status = beiscsi_create_cqs(phba, phwi_context); in hwi_init_port()
3725 nbufs = phwi_context->pasync_ctx[ulp_num]->num_entries; in hwi_init_port()
3728 status = beiscsi_create_def_hdr(phba, phwi_context, in hwi_init_port()
3739 status = beiscsi_create_def_data(phba, phwi_context, in hwi_init_port()
3773 status = beiscsi_create_wrb_rings(phba, phwi_context, phwi_ctrlr); in hwi_init_port()
4073 struct hwi_context_memory *phwi_context; in hwi_enable_intr() local
4080 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_enable_intr()
4095 eq = &phwi_context->be_eq[0].q; in hwi_enable_intr()
4102 eq = &phwi_context->be_eq[i].q; in hwi_enable_intr()
5167 struct hwi_context_memory *phwi_context; in beiscsi_eqd_update_work() local
5182 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_eqd_update_work()
5186 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_eqd_update_work()
5270 struct hwi_context_memory *phwi_context; in beiscsi_enable_port() local
5310 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_enable_port()
5312 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5318 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5348 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5368 struct hwi_context_memory *phwi_context; in beiscsi_disable_port() local
5377 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_disable_port()
5383 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_disable_port()
5390 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_disable_port()
5506 struct hwi_context_memory *phwi_context; in beiscsi_dev_probe() local
5638 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_dev_probe()
5641 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5647 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5702 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()