Lines Matching refs:pbe_eq
690 struct be_eq_obj *pbe_eq; in be_isr_mcc() local
692 pbe_eq = dev_id; in be_isr_mcc()
693 eq = &pbe_eq->q; in be_isr_mcc()
694 phba = pbe_eq->phba; in be_isr_mcc()
712 queue_work(phba->wq, &pbe_eq->mcc_work); in be_isr_mcc()
727 struct be_eq_obj *pbe_eq; in be_isr_msix() local
729 pbe_eq = dev_id; in be_isr_msix()
730 eq = &pbe_eq->q; in be_isr_msix()
732 phba = pbe_eq->phba; in be_isr_msix()
735 irq_poll_sched(&pbe_eq->iopoll); in be_isr_msix()
755 struct be_eq_obj *pbe_eq; in be_isr() local
767 pbe_eq = &phwi_context->be_eq[0]; in be_isr()
792 queue_work(phba->wq, &pbe_eq->mcc_work); in be_isr()
797 irq_poll_sched(&pbe_eq->iopoll); in be_isr()
1847 struct be_eq_obj *pbe_eq; in beiscsi_mcc_work() local
1850 pbe_eq = container_of(work, struct be_eq_obj, mcc_work); in beiscsi_mcc_work()
1851 phba = pbe_eq->phba; in beiscsi_mcc_work()
1855 hwi_ring_eq_db(phba, pbe_eq->q.id, 0, 0, 1, 1); in beiscsi_mcc_work()
1866 unsigned int beiscsi_process_cq(struct be_eq_obj *pbe_eq, int budget) in beiscsi_process_cq() argument
1879 cq = pbe_eq->cq; in beiscsi_process_cq()
1881 phba = pbe_eq->phba; in beiscsi_process_cq()
2052 struct be_eq_obj *pbe_eq; in be_iopoll() local
2056 pbe_eq = container_of(iop, struct be_eq_obj, iopoll); in be_iopoll()
2057 phba = pbe_eq->phba; in be_iopoll()
2064 eq = &pbe_eq->q; in be_iopoll()
2075 ret = beiscsi_process_cq(pbe_eq, budget); in be_iopoll()
2076 pbe_eq->cq_count += ret; in be_iopoll()
2082 pbe_eq->q.id, ret); in be_iopoll()
2084 hwi_ring_eq_db(phba, pbe_eq->q.id, 0, 0, 1, 1); in be_iopoll()
3082 struct be_eq_obj *pbe_eq; in beiscsi_create_cqs() local
3093 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_create_cqs()
3094 pbe_eq->cq = cq; in beiscsi_create_cqs()
3095 pbe_eq->phba = phba; in beiscsi_create_cqs()
5190 struct be_eq_obj *pbe_eq; in beiscsi_eqd_update_work() local
5206 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_eqd_update_work()
5209 pbe_eq->cq_count < aic->eq_prev) { in beiscsi_eqd_update_work()
5211 aic->eq_prev = pbe_eq->cq_count; in beiscsi_eqd_update_work()
5215 pps = (((u32)(pbe_eq->cq_count - aic->eq_prev) * 1000) / delta); in beiscsi_eqd_update_work()
5224 aic->eq_prev = pbe_eq->cq_count; in beiscsi_eqd_update_work()
5228 set_eqd[num].eq_id = pbe_eq->q.id; in beiscsi_eqd_update_work()
5292 struct be_eq_obj *pbe_eq; in beiscsi_enable_port() local
5332 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5333 irq_poll_init(&pbe_eq->iopoll, be_iopoll_budget, be_iopoll); in beiscsi_enable_port()
5338 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5339 INIT_WORK(&pbe_eq->mcc_work, beiscsi_mcc_work); in beiscsi_enable_port()
5368 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_enable_port()
5369 irq_poll_disable(&pbe_eq->iopoll); in beiscsi_enable_port()
5390 struct be_eq_obj *pbe_eq; in beiscsi_disable_port() local
5403 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_disable_port()
5404 irq_poll_disable(&pbe_eq->iopoll); in beiscsi_disable_port()
5410 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_disable_port()
5411 cancel_work_sync(&pbe_eq->mcc_work); in beiscsi_disable_port()
5529 struct be_eq_obj *pbe_eq; in beiscsi_dev_probe() local
5654 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5655 irq_poll_init(&pbe_eq->iopoll, be_iopoll_budget, be_iopoll); in beiscsi_dev_probe()
5660 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5661 INIT_WORK(&pbe_eq->mcc_work, beiscsi_mcc_work); in beiscsi_dev_probe()
5715 pbe_eq = &phwi_context->be_eq[i]; in beiscsi_dev_probe()
5716 irq_poll_disable(&pbe_eq->iopoll); in beiscsi_dev_probe()