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()
3011 struct hwi_context_memory *phwi_context) in beiscsi_create_eqs() argument
3028 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3030 phwi_context->be_eq[i].phba = phba; in beiscsi_create_eqs()
3059 phwi_context->be_eq[i].q.id); in beiscsi_create_eqs()
3065 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3076 struct hwi_context_memory *phwi_context) in beiscsi_create_cqs() argument
3090 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3091 eq = &phwi_context->be_eq[i].q; in beiscsi_create_cqs()
3092 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_create_cqs()
3128 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3140 struct hwi_context_memory *phwi_context, in beiscsi_create_def_hdr() argument
3152 dq = &phwi_context->be_def_hdrq[ulp_num]; in beiscsi_create_def_hdr()
3153 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_hdr()
3186 phwi_context->be_def_hdrq[ulp_num].id); in beiscsi_create_def_hdr()
3192 struct hwi_context_memory *phwi_context, in beiscsi_create_def_data() argument
3204 dataq = &phwi_context->be_def_dataq[ulp_num]; in beiscsi_create_def_data()
3205 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_data()
3239 phwi_context->be_def_dataq[ulp_num].id); in beiscsi_create_def_data()
3347 struct hwi_context_memory *phwi_context, in beiscsi_create_wrb_rings() argument
3428 &phwi_context->be_wrbq[i], in beiscsi_create_wrb_rings()
3520 struct hwi_context_memory *phwi_context) in be_mcc_queues_create() argument
3533 &phwi_context->be_eq[phba->num_cpus].q, in be_mcc_queues_create()
3537 if (beiscsi_cmd_cq_create(ctrl, cq, &phwi_context->be_eq[0].q, in be_mcc_queues_create()
3597 struct hwi_context_memory *phwi_context; in hwi_purge_eq() local
3607 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_purge_eq()
3614 eq = &phwi_context->be_eq[i].q; in hwi_purge_eq()
3635 struct hwi_context_memory *phwi_context; in hwi_cleanup_port() local
3650 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_cleanup_port()
3655 q = &phwi_context->be_wrbq[i]; in hwi_cleanup_port()
3659 kfree(phwi_context->be_wrbq); in hwi_cleanup_port()
3665 q = &phwi_context->be_def_hdrq[ulp_num]; in hwi_cleanup_port()
3669 q = &phwi_context->be_def_dataq[ulp_num]; in hwi_cleanup_port()
3678 q = &phwi_context->be_cq[i]; in hwi_cleanup_port()
3691 q = &phwi_context->be_eq[i].q; in hwi_cleanup_port()
3706 struct hwi_context_memory *phwi_context; in hwi_init_port() local
3713 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_init_port()
3717 status = beiscsi_create_eqs(phba, phwi_context); in hwi_init_port()
3724 status = be_mcc_queues_create(phba, phwi_context); in hwi_init_port()
3735 status = beiscsi_create_cqs(phba, phwi_context); in hwi_init_port()
3744 nbufs = phwi_context->pasync_ctx[ulp_num]->num_entries; in hwi_init_port()
3747 status = beiscsi_create_def_hdr(phba, phwi_context, in hwi_init_port()
3758 status = beiscsi_create_def_data(phba, phwi_context, in hwi_init_port()
3792 status = beiscsi_create_wrb_rings(phba, phwi_context, phwi_ctrlr); in hwi_init_port()
4092 struct hwi_context_memory *phwi_context; in hwi_enable_intr() local
4099 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_enable_intr()
4114 eq = &phwi_context->be_eq[0].q; in hwi_enable_intr()
4121 eq = &phwi_context->be_eq[i].q; in hwi_enable_intr()
5186 struct hwi_context_memory *phwi_context; in beiscsi_eqd_update_work() local
5201 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_eqd_update_work()
5205 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_eqd_update_work()
5289 struct hwi_context_memory *phwi_context; in beiscsi_enable_port() local
5329 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_enable_port()
5331 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5337 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5367 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5387 struct hwi_context_memory *phwi_context; in beiscsi_disable_port() local
5396 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_disable_port()
5402 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_disable_port()
5409 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_disable_port()
5525 struct hwi_context_memory *phwi_context; in beiscsi_dev_probe() local
5657 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_dev_probe()
5660 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5666 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5721 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()