Lines Matching refs:phwi_context
937 struct hwi_context_memory *phwi_context; in be_isr() local
955 phwi_context = phwi_ctrlr->phwi_ctxt; in be_isr()
956 pbe_eq = &phwi_context->be_eq[0]; in be_isr()
958 eq = &phwi_context->be_eq[0].q; in be_isr()
1005 struct hwi_context_memory *phwi_context; in beiscsi_init_irqs() local
1009 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_init_irqs()
1025 &phwi_context->be_eq[i]); in beiscsi_init_irqs()
1044 &phwi_context->be_eq[i]); in beiscsi_init_irqs()
1068 free_irq(msix_vec, &phwi_context->be_eq[j]); in beiscsi_init_irqs()
2271 struct hwi_context_memory *phwi_context; in beiscsi_process_all_cqs() local
2278 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_process_all_cqs()
3245 struct hwi_context_memory *phwi_context) in beiscsi_create_eqs() argument
3262 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3264 phwi_context->be_eq[i].phba = phba; in beiscsi_create_eqs()
3282 phwi_context->cur_eqd); in beiscsi_create_eqs()
3292 phwi_context->be_eq[i].q.id); in beiscsi_create_eqs()
3297 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3308 struct hwi_context_memory *phwi_context) in beiscsi_create_cqs() argument
3322 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3323 eq = &phwi_context->be_eq[i].q; in beiscsi_create_cqs()
3324 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_create_cqs()
3359 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3372 struct hwi_context_memory *phwi_context, in beiscsi_create_def_hdr() argument
3384 dq = &phwi_context->be_def_hdrq[ulp_num]; in beiscsi_create_def_hdr()
3385 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_hdr()
3418 phwi_context->be_def_hdrq[ulp_num].id); in beiscsi_create_def_hdr()
3425 struct hwi_context_memory *phwi_context, in beiscsi_create_def_data() argument
3437 dataq = &phwi_context->be_def_dataq[ulp_num]; in beiscsi_create_def_data()
3438 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_data()
3472 phwi_context->be_def_dataq[ulp_num].id); in beiscsi_create_def_data()
3581 struct hwi_context_memory *phwi_context, in beiscsi_create_wrb_rings() argument
3666 &phwi_context->be_wrbq[i], in beiscsi_create_wrb_rings()
3719 struct hwi_context_memory *phwi_context; in hwi_cleanup() local
3724 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_cleanup()
3729 q = &phwi_context->be_wrbq[i]; in hwi_cleanup()
3733 kfree(phwi_context->be_wrbq); in hwi_cleanup()
3739 q = &phwi_context->be_def_hdrq[ulp_num]; in hwi_cleanup()
3743 q = &phwi_context->be_def_dataq[ulp_num]; in hwi_cleanup()
3754 q = &phwi_context->be_cq[i]; in hwi_cleanup()
3767 q = &phwi_context->be_eq[i].q; in hwi_cleanup()
3777 struct hwi_context_memory *phwi_context) in be_mcc_queues_create() argument
3789 if (beiscsi_cmd_cq_create(ctrl, cq, &phwi_context->be_eq in be_mcc_queues_create()
3793 if (beiscsi_cmd_cq_create(ctrl, cq, &phwi_context->be_eq[0].q, in be_mcc_queues_create()
3860 struct hwi_context_memory *phwi_context; in hwi_init_port() local
3866 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_init_port()
3867 phwi_context->max_eqd = 128; in hwi_init_port()
3868 phwi_context->min_eqd = 0; in hwi_init_port()
3869 phwi_context->cur_eqd = 0; in hwi_init_port()
3872 status = beiscsi_create_eqs(phba, phwi_context); in hwi_init_port()
3879 status = be_mcc_queues_create(phba, phwi_context); in hwi_init_port()
3890 status = beiscsi_create_cqs(phba, phwi_context); in hwi_init_port()
3904 status = beiscsi_create_def_hdr(phba, phwi_context, in hwi_init_port()
3915 status = beiscsi_create_def_data(phba, phwi_context, in hwi_init_port()
3941 status = beiscsi_create_wrb_rings(phba, phwi_context, phwi_ctrlr); in hwi_init_port()
4281 struct hwi_context_memory *phwi_context; in hwi_enable_intr() local
4288 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_enable_intr()
4303 eq = &phwi_context->be_eq[0].q; in hwi_enable_intr()
4310 eq = &phwi_context->be_eq[i].q; in hwi_enable_intr()
4514 struct hwi_context_memory *phwi_context; in hwi_purge_eq() local
4521 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_purge_eq()
4528 eq = &phwi_context->be_eq[i].q; in hwi_purge_eq()
5273 struct hwi_context_memory *phwi_context; in beiscsi_quiesce() local
5278 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_quiesce()
5284 free_irq(msix_vec, &phwi_context->be_eq[i]); in beiscsi_quiesce()
5296 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_quiesce()
5378 struct hwi_context_memory *phwi_context; in be_eqd_update() local
5385 phwi_context = phwi_ctrlr->phwi_ctxt; in be_eqd_update()
5389 pbe_eq = &phwi_context->be_eq[i]; in be_eqd_update()
5403 eqd = min_t(u32, eqd, phwi_context->max_eqd); in be_eqd_update()
5404 eqd = max_t(u32, eqd, phwi_context->min_eqd); in be_eqd_update()
5536 struct hwi_context_memory *phwi_context; in beiscsi_eeh_resume() local
5579 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_eeh_resume()
5582 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_eeh_resume()
5590 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_eeh_resume()
5615 struct hwi_context_memory *phwi_context; in beiscsi_dev_probe() local
5752 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_dev_probe()
5755 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5763 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5798 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()