Lines Matching refs:phwi_context
925 struct hwi_context_memory *phwi_context; in be_isr() local
943 phwi_context = phwi_ctrlr->phwi_ctxt; in be_isr()
944 pbe_eq = &phwi_context->be_eq[0]; in be_isr()
946 eq = &phwi_context->be_eq[0].q; in be_isr()
993 struct hwi_context_memory *phwi_context; in beiscsi_init_irqs() local
997 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_init_irqs()
1013 &phwi_context->be_eq[i]); in beiscsi_init_irqs()
1032 &phwi_context->be_eq[i]); in beiscsi_init_irqs()
1056 free_irq(msix_vec, &phwi_context->be_eq[j]); in beiscsi_init_irqs()
2250 struct hwi_context_memory *phwi_context; in beiscsi_process_all_cqs() local
2257 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_process_all_cqs()
3224 struct hwi_context_memory *phwi_context) in beiscsi_create_eqs() argument
3241 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3243 phwi_context->be_eq[i].phba = phba; in beiscsi_create_eqs()
3261 phwi_context->cur_eqd); in beiscsi_create_eqs()
3271 phwi_context->be_eq[i].q.id); in beiscsi_create_eqs()
3276 eq = &phwi_context->be_eq[i].q; in beiscsi_create_eqs()
3287 struct hwi_context_memory *phwi_context) in beiscsi_create_cqs() argument
3301 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3302 eq = &phwi_context->be_eq[i].q; in beiscsi_create_cqs()
3303 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_create_cqs()
3338 cq = &phwi_context->be_cq[i]; in beiscsi_create_cqs()
3351 struct hwi_context_memory *phwi_context, in beiscsi_create_def_hdr() argument
3363 dq = &phwi_context->be_def_hdrq[ulp_num]; in beiscsi_create_def_hdr()
3364 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_hdr()
3397 phwi_context->be_def_hdrq[ulp_num].id); in beiscsi_create_def_hdr()
3404 struct hwi_context_memory *phwi_context, in beiscsi_create_def_data() argument
3416 dataq = &phwi_context->be_def_dataq[ulp_num]; in beiscsi_create_def_data()
3417 cq = &phwi_context->be_cq[0]; in beiscsi_create_def_data()
3451 phwi_context->be_def_dataq[ulp_num].id); in beiscsi_create_def_data()
3560 struct hwi_context_memory *phwi_context, in beiscsi_create_wrb_rings() argument
3645 &phwi_context->be_wrbq[i], in beiscsi_create_wrb_rings()
3696 struct hwi_context_memory *phwi_context; in hwi_cleanup() local
3701 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_cleanup()
3706 q = &phwi_context->be_wrbq[i]; in hwi_cleanup()
3710 kfree(phwi_context->be_wrbq); in hwi_cleanup()
3716 q = &phwi_context->be_def_hdrq[ulp_num]; in hwi_cleanup()
3720 q = &phwi_context->be_def_dataq[ulp_num]; in hwi_cleanup()
3731 q = &phwi_context->be_cq[i]; in hwi_cleanup()
3742 q = &phwi_context->be_eq[i].q; in hwi_cleanup()
3750 struct hwi_context_memory *phwi_context) in be_mcc_queues_create() argument
3762 if (beiscsi_cmd_cq_create(ctrl, cq, &phwi_context->be_eq in be_mcc_queues_create()
3766 if (beiscsi_cmd_cq_create(ctrl, cq, &phwi_context->be_eq[0].q, in be_mcc_queues_create()
3833 struct hwi_context_memory *phwi_context; in hwi_init_port() local
3839 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_init_port()
3840 phwi_context->max_eqd = 128; in hwi_init_port()
3841 phwi_context->min_eqd = 0; in hwi_init_port()
3842 phwi_context->cur_eqd = 0; in hwi_init_port()
3845 status = beiscsi_create_eqs(phba, phwi_context); in hwi_init_port()
3852 status = be_mcc_queues_create(phba, phwi_context); in hwi_init_port()
3863 status = beiscsi_create_cqs(phba, phwi_context); in hwi_init_port()
3877 status = beiscsi_create_def_hdr(phba, phwi_context, in hwi_init_port()
3888 status = beiscsi_create_def_data(phba, phwi_context, in hwi_init_port()
3914 status = beiscsi_create_wrb_rings(phba, phwi_context, phwi_ctrlr); in hwi_init_port()
4254 struct hwi_context_memory *phwi_context; in hwi_enable_intr() local
4261 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_enable_intr()
4276 eq = &phwi_context->be_eq[0].q; in hwi_enable_intr()
4283 eq = &phwi_context->be_eq[i].q; in hwi_enable_intr()
4478 struct hwi_context_memory *phwi_context; in hwi_purge_eq() local
4485 phwi_context = phwi_ctrlr->phwi_ctxt; in hwi_purge_eq()
4492 eq = &phwi_context->be_eq[i].q; in hwi_purge_eq()
5205 struct hwi_context_memory *phwi_context; in beiscsi_quiesce() local
5210 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_quiesce()
5216 free_irq(msix_vec, &phwi_context->be_eq[i]); in beiscsi_quiesce()
5228 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_quiesce()
5309 struct hwi_context_memory *phwi_context; in be_eqd_update() local
5316 phwi_context = phwi_ctrlr->phwi_ctxt; in be_eqd_update()
5320 pbe_eq = &phwi_context->be_eq[i]; in be_eqd_update()
5334 eqd = min_t(u32, eqd, phwi_context->max_eqd); in be_eqd_update()
5335 eqd = max_t(u32, eqd, phwi_context->min_eqd); in be_eqd_update()
5461 struct hwi_context_memory *phwi_context; in beiscsi_eeh_resume() local
5504 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_eeh_resume()
5507 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_eeh_resume()
5515 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_eeh_resume()
5540 struct hwi_context_memory *phwi_context; in beiscsi_dev_probe() local
5677 phwi_context = phwi_ctrlr->phwi_ctxt; in beiscsi_dev_probe()
5680 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5688 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5723 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()