Lines Matching refs:msix_vec

562 			      struct irdma_msix_vector *msix_vec, void *dev_id)  in irdma_destroy_irq()  argument
566 dev->irq_ops->irdma_dis_irq(dev, msix_vec->idx); in irdma_destroy_irq()
567 irq_update_affinity_hint(msix_vec->irq, NULL); in irdma_destroy_irq()
568 free_irq(msix_vec->irq, dev_id); in irdma_destroy_irq()
689 struct irdma_msix_vector *msix_vec; in irdma_del_ceq_0() local
692 msix_vec = &rf->iw_msixtbl[0]; in irdma_del_ceq_0()
694 msix_vec->ceq_id, in irdma_del_ceq_0()
695 msix_vec->idx, false); in irdma_del_ceq_0()
696 irdma_destroy_irq(rf, msix_vec, rf); in irdma_del_ceq_0()
698 msix_vec = &rf->iw_msixtbl[1]; in irdma_del_ceq_0()
699 irdma_destroy_irq(rf, msix_vec, iwceq); in irdma_del_ceq_0()
717 struct irdma_msix_vector *msix_vec; in irdma_del_ceqs() local
721 msix_vec = &rf->iw_msixtbl[1]; in irdma_del_ceqs()
723 msix_vec = &rf->iw_msixtbl[2]; in irdma_del_ceqs()
725 for (i = 1; i < rf->ceqs_count; i++, msix_vec++, iwceq++) { in irdma_del_ceqs()
726 rf->sc_dev.irq_ops->irdma_cfg_ceq(&rf->sc_dev, msix_vec->ceq_id, in irdma_del_ceqs()
727 msix_vec->idx, false); in irdma_del_ceqs()
728 irdma_destroy_irq(rf, msix_vec, iwceq); in irdma_del_ceqs()
1105 u32 ceq_id, struct irdma_msix_vector *msix_vec) in irdma_cfg_ceq_vector() argument
1110 snprintf(msix_vec->name, sizeof(msix_vec->name) - 1, in irdma_cfg_ceq_vector()
1113 status = request_irq(msix_vec->irq, irdma_irq_handler, 0, in irdma_cfg_ceq_vector()
1114 msix_vec->name, rf); in irdma_cfg_ceq_vector()
1116 snprintf(msix_vec->name, sizeof(msix_vec->name) - 1, in irdma_cfg_ceq_vector()
1121 status = request_irq(msix_vec->irq, irdma_ceq_handler, 0, in irdma_cfg_ceq_vector()
1122 msix_vec->name, iwceq); in irdma_cfg_ceq_vector()
1124 cpumask_clear(&msix_vec->mask); in irdma_cfg_ceq_vector()
1125 cpumask_set_cpu(msix_vec->cpu_affinity, &msix_vec->mask); in irdma_cfg_ceq_vector()
1126 irq_update_affinity_hint(msix_vec->irq, &msix_vec->mask); in irdma_cfg_ceq_vector()
1132 msix_vec->ceq_id = ceq_id; in irdma_cfg_ceq_vector()
1133 rf->sc_dev.irq_ops->irdma_cfg_ceq(&rf->sc_dev, ceq_id, msix_vec->idx, true); in irdma_cfg_ceq_vector()
1147 struct irdma_msix_vector *msix_vec = rf->iw_msixtbl; in irdma_cfg_aeq_vector() local
1151 snprintf(msix_vec->name, sizeof(msix_vec->name) - 1, in irdma_cfg_aeq_vector()
1154 ret = request_irq(msix_vec->irq, irdma_irq_handler, 0, in irdma_cfg_aeq_vector()
1155 msix_vec->name, rf); in irdma_cfg_aeq_vector()
1162 rf->sc_dev.irq_ops->irdma_cfg_aeq(&rf->sc_dev, msix_vec->idx, true); in irdma_cfg_aeq_vector()
1234 struct irdma_msix_vector *msix_vec; in irdma_setup_ceq_0() local
1256 msix_vec = &rf->iw_msixtbl[i]; in irdma_setup_ceq_0()
1257 iwceq->irq = msix_vec->irq; in irdma_setup_ceq_0()
1258 iwceq->msix_idx = msix_vec->idx; in irdma_setup_ceq_0()
1259 status = irdma_cfg_ceq_vector(rf, iwceq, 0, msix_vec); in irdma_setup_ceq_0()
1265 irdma_ena_intr(&rf->sc_dev, msix_vec->idx); in irdma_setup_ceq_0()
1293 struct irdma_msix_vector *msix_vec; in irdma_setup_ceqs() local
1308 msix_vec = &rf->iw_msixtbl[i]; in irdma_setup_ceqs()
1309 iwceq->irq = msix_vec->irq; in irdma_setup_ceqs()
1310 iwceq->msix_idx = msix_vec->idx; in irdma_setup_ceqs()
1311 status = irdma_cfg_ceq_vector(rf, iwceq, ceq_id, msix_vec); in irdma_setup_ceqs()
1316 irdma_ena_intr(&rf->sc_dev, msix_vec->idx); in irdma_setup_ceqs()