Home
last modified time | relevance | path

Searched refs:pci_irq_vector (Results 1 – 25 of 124) sorted by relevance

12345

/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_main.c55 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFPF_MBOX0); in cptpf_disable_vfpf_mbox_intr()
61 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFPF_MBOX1); in cptpf_disable_vfpf_mbox_intr()
105 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFFLR0); in cptpf_disable_vf_flr_me_intrs()
111 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFME0); in cptpf_disable_vf_flr_me_intrs()
119 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFFLR1); in cptpf_disable_vf_flr_me_intrs()
124 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFME1); in cptpf_disable_vf_flr_me_intrs()
237 vector = pci_irq_vector(pdev, RVU_PF_INT_VEC_VFPF_MBOX0); in cptpf_register_vfpf_intr()
246 vector = pci_irq_vector(pdev, RVU_PF_INT_VEC_VFFLR0); in cptpf_register_vfpf_intr()
254 vector = pci_irq_vector(pdev, RVU_PF_INT_VEC_VFME0); in cptpf_register_vfpf_intr()
264 vector = pci_irq_vector(pdev, RVU_PF_INT_VEC_VFPF_MBOX1); in cptpf_register_vfpf_intr()
[all …]
Dotx2_cptlf.c269 vector = pci_irq_vector(lfs->pdev, in otx2_cptlf_unregister_interrupts()
284 vector = pci_irq_vector(lfs->pdev, lfs->lf[lf_num].msix_offset + in cptlf_do_register_interrrupts()
331 irq_set_affinity_hint(pci_irq_vector(lfs->pdev, in otx2_cptlf_free_irqs_affinity()
356 ret = irq_set_affinity_hint(pci_irq_vector(lfs->pdev, in otx2_cptlf_set_irqs_affinity()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-pci.c145 pdata->dev_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_multi_msi()
146 pdata->ecc_irq = pci_irq_vector(pdata->pcidev, 1); in xgbe_config_multi_msi()
147 pdata->i2c_irq = pci_irq_vector(pdata->pcidev, 2); in xgbe_config_multi_msi()
148 pdata->an_irq = pci_irq_vector(pdata->pcidev, 3); in xgbe_config_multi_msi()
151 pdata->channel_irq[j] = pci_irq_vector(pdata->pcidev, i); in xgbe_config_multi_msi()
183 pdata->dev_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_irqs()
184 pdata->ecc_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_irqs()
185 pdata->i2c_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_irqs()
186 pdata->an_irq = pci_irq_vector(pdata->pcidev, 0); in xgbe_config_irqs()
/drivers/scsi/csiostor/
Dcsio_isr.c389 rv = request_irq(pci_irq_vector(pdev, 0), csio_fcoe_isr, in csio_request_irqs()
403 rv = request_irq(pci_irq_vector(pdev, k), csio_nondata_isr, 0, in csio_request_irqs()
407 pci_irq_vector(pdev, k), rv); in csio_request_irqs()
413 rv = request_irq(pci_irq_vector(pdev, k), csio_fwevt_isr, 0, in csio_request_irqs()
417 pci_irq_vector(pdev, k), rv); in csio_request_irqs()
430 rv = request_irq(pci_irq_vector(pdev, k), csio_scsi_isr, 0, in csio_request_irqs()
435 pci_irq_vector(pdev, k), rv); in csio_request_irqs()
450 free_irq(pci_irq_vector(pdev, i), hw->msix_entries[i].dev_id); in csio_request_irqs()
594 free_irq(pci_irq_vector(hw->pdev, i), in csio_intr_disable()
600 free_irq(pci_irq_vector(hw->pdev, 0), hw); in csio_intr_disable()
/drivers/media/pci/ddbridge/
Dddbridge-main.c80 free_irq(pci_irq_vector(dev->pdev, 1), dev); in ddb_irq_exit()
81 free_irq(pci_irq_vector(dev->pdev, 0), dev); in ddb_irq_exit()
141 stat = request_irq(pci_irq_vector(dev->pdev, 0), in ddb_irq_init()
146 stat = request_irq(pci_irq_vector(dev->pdev, 1), in ddb_irq_init()
150 free_irq(pci_irq_vector(dev->pdev, 0), dev); in ddb_irq_init()
156 stat = request_irq(pci_irq_vector(dev->pdev, 0), in ddb_irq_init()
/drivers/misc/vmw_vmci/
Dvmci_guest.c599 error = request_irq(pci_irq_vector(pdev, 0), vmci_interrupt, in vmci_guest_probe_device()
603 pci_irq_vector(pdev, 0), error); in vmci_guest_probe_device()
614 error = request_irq(pci_irq_vector(pdev, 1), in vmci_guest_probe_device()
620 pci_irq_vector(pdev, 1), error); in vmci_guest_probe_device()
645 free_irq(pci_irq_vector(pdev, 0), vmci_dev); in vmci_guest_probe_device()
711 free_irq(pci_irq_vector(pdev, 1), vmci_dev); in vmci_guest_remove_device()
712 free_irq(pci_irq_vector(pdev, 0), vmci_dev); in vmci_guest_remove_device()
/drivers/mfd/
Dintel_quark_i2c_gpio.c205 res[INTEL_QUARK_IORES_IRQ].start = pci_irq_vector(pdev, 0); in intel_quark_i2c_setup()
206 res[INTEL_QUARK_IORES_IRQ].end = pci_irq_vector(pdev, 0); in intel_quark_i2c_setup()
227 res[INTEL_QUARK_IORES_IRQ].start = pci_irq_vector(pdev, 0); in intel_quark_gpio_setup()
228 res[INTEL_QUARK_IORES_IRQ].end = pci_irq_vector(pdev, 0); in intel_quark_gpio_setup()
/drivers/scsi/fnic/
Dfnic_isr.c157 free_irq(pci_irq_vector(fnic->pdev, 0), fnic); in fnic_free_intr()
163 free_irq(pci_irq_vector(fnic->pdev, i), in fnic_free_intr()
180 err = request_irq(pci_irq_vector(fnic->pdev, 0), in fnic_request_intr()
185 err = request_irq(pci_irq_vector(fnic->pdev, 0), &fnic_isr_msi, in fnic_request_intr()
213 err = request_irq(pci_irq_vector(fnic->pdev, i), in fnic_request_intr()
/drivers/pci/
Dirq.c50 ret = request_threaded_irq(pci_irq_vector(dev, nr), handler, thread_fn, in pci_request_irq()
74 kfree(free_irq(pci_irq_vector(dev, nr), dev_id)); in pci_free_irq()
/drivers/virtio/
Dvirtio_pci_common.c37 synchronize_irq(pci_irq_vector(vp_dev->pci_dev, i)); in vp_synchronize_vectors()
143 err = request_irq(pci_irq_vector(vp_dev->pci_dev, v), in vp_request_msix_vectors()
162 err = request_irq(pci_irq_vector(vp_dev->pci_dev, v), in vp_request_msix_vectors()
237 int irq = pci_irq_vector(vp_dev->pci_dev, v); in vp_del_vqs()
253 free_irq(pci_irq_vector(vp_dev->pci_dev, i), vp_dev); in vp_del_vqs()
338 err = request_irq(pci_irq_vector(vp_dev->pci_dev, msix_vec), in vp_find_vqs_msix()
435 irq = pci_irq_vector(vp_dev->pci_dev, info->msix_vector); in vp_set_vq_affinity()
/drivers/virt/nitro_enclaves/
Dne_pci_dev.c322 rc = request_irq(pci_irq_vector(pdev, NE_VEC_REPLY), ne_reply_handler, in ne_setup_msix()
346 rc = request_irq(pci_irq_vector(pdev, NE_VEC_EVENT), ne_event_handler, in ne_setup_msix()
359 free_irq(pci_irq_vector(pdev, NE_VEC_REPLY), ne_pci_dev); in ne_setup_msix()
376 free_irq(pci_irq_vector(pdev, NE_VEC_EVENT), ne_pci_dev); in ne_teardown_msix()
382 free_irq(pci_irq_vector(pdev, NE_VEC_REPLY), ne_pci_dev); in ne_teardown_msix()
/drivers/net/ethernet/aquantia/atlantic/
Daq_pci_func.c155 err = request_irq(pci_irq_vector(pdev, i), irq_handler, 0, in aq_pci_func_alloc_irq()
158 err = request_irq(pci_irq_vector(pdev, i), aq_vec_isr_legacy, in aq_pci_func_alloc_irq()
165 irq_set_affinity_hint(pci_irq_vector(pdev, i), in aq_pci_func_alloc_irq()
190 irq_set_affinity_hint(pci_irq_vector(pdev, i), NULL); in aq_pci_func_free_irqs()
191 free_irq(pci_irq_vector(pdev, i), irq_data); in aq_pci_func_free_irqs()
/drivers/pci/pcie/
Dportdrv_core.c142 pcie_irq = pci_irq_vector(dev, pme); in pcie_port_enable_irq_vec()
149 irqs[PCIE_PORT_SERVICE_AER_SHIFT] = pci_irq_vector(dev, aer); in pcie_port_enable_irq_vec()
152 irqs[PCIE_PORT_SERVICE_DPC_SHIFT] = pci_irq_vector(dev, dpc); in pcie_port_enable_irq_vec()
191 irqs[i] = pci_irq_vector(dev, 0); in pcie_init_service_irqs()
/drivers/scsi/elx/efct/
Defct_driver.c82 free_irq(pci_irq_vector(efct->pci, i), in efct_teardown_msix()
185 enable_irq(pci_irq_vector(efct->pci, i)); in efct_device_attach()
218 disable_irq(pci_irq_vector(efct->pci, i)); in efct_device_detach()
452 rc = request_threaded_irq(pci_irq_vector(efct->pci, i), in efct_setup_msix()
466 free_irq(pci_irq_vector(efct->pci, i), in efct_setup_msix()
575 disable_irq(pci_irq_vector(efct->pci, i)); in efct_pci_probe()
/drivers/crypto/cavium/cpt/
Dcptvf_main.c361 irq_set_affinity_hint(pci_irq_vector(cptvf->pdev, vec), NULL); in cptvf_free_irq_affinity()
629 irq_set_affinity_hint(pci_irq_vector(pdev, vec), in cptvf_set_irq_affinity()
713 err = request_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_MISC), in cptvf_probe()
764 err = request_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_DONE), in cptvf_probe()
795 free_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_MISC), cptvf); in cptvf_probe()
822 free_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_DONE), cptvf); in cptvf_remove()
823 free_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_MISC), cptvf); in cptvf_remove()
/drivers/crypto/marvell/octeontx/
Dotx_cptvf_main.c344 irq_set_affinity_hint(pci_irq_vector(cptvf->pdev, vec), NULL); in cptvf_free_irq_affinity()
613 irq_set_affinity_hint(pci_irq_vector(pdev, vec), in cptvf_set_irq_affinity()
830 err = request_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_MISC), in otx_cptvf_probe()
871 err = request_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_DONE), in otx_cptvf_probe()
913 free_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_DONE), cptvf); in otx_cptvf_probe()
917 free_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_MISC), cptvf); in otx_cptvf_probe()
949 free_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_DONE), cptvf); in otx_cptvf_remove()
950 free_irq(pci_irq_vector(pdev, CPT_VF_INT_VEC_E_MISC), cptvf); in otx_cptvf_remove()
Dotx_cptpf_main.c129 ret = request_irq(pci_irq_vector(cpt->pdev, in otx_cpt_register_interrupts()
147 free_irq(pci_irq_vector(cpt->pdev, in otx_cpt_unregister_interrupts()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c74 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME0); in otx2_disable_flr_me_intr()
79 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFFLR0); in otx2_disable_flr_me_intr()
86 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME1); in otx2_disable_flr_me_intr()
90 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFFLR1); in otx2_disable_flr_me_intr()
198 ret = request_irq(pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME0), in otx2_register_flr_me_intr()
208 ret = request_irq(pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFFLR0), in otx2_register_flr_me_intr()
220 ret = request_irq(pci_irq_vector in otx2_register_flr_me_intr()
230 ret = request_irq(pci_irq_vector in otx2_register_flr_me_intr()
683 vector = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFPF_MBOX0); in otx2_disable_pfvf_mbox_intr()
688 vector = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFPF_MBOX1); in otx2_disable_pfvf_mbox_intr()
[all …]
/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-intel.c927 res->irq = pci_irq_vector(pdev, 0); in stmmac_config_single_msi()
960 res->rx_irq[i] = pci_irq_vector(pdev, in stmmac_config_multi_msi()
966 res->tx_irq[i] = pci_irq_vector(pdev, in stmmac_config_multi_msi()
971 res->irq = pci_irq_vector(pdev, plat->msi_mac_vec); in stmmac_config_multi_msi()
973 res->wol_irq = pci_irq_vector(pdev, plat->msi_wol_vec); in stmmac_config_multi_msi()
975 res->lpi_irq = pci_irq_vector(pdev, plat->msi_lpi_vec); in stmmac_config_multi_msi()
977 res->sfty_ce_irq = pci_irq_vector(pdev, plat->msi_sfty_ce_vec); in stmmac_config_multi_msi()
979 res->sfty_ue_irq = pci_irq_vector(pdev, plat->msi_sfty_ue_vec); in stmmac_config_multi_msi()
/drivers/scsi/snic/
Dsnic_isr.c96 free_irq(pci_irq_vector(snic->pdev, i), in snic_free_intr()
137 ret = request_irq(pci_irq_vector(snic->pdev, i), in snic_request_intr()
/drivers/net/ethernet/freescale/enetc/
Denetc_msg.c115 vector = pci_irq_vector(si->pdev, ENETC_SI_INT_IDX); in enetc_msg_psi_init()
163 free_irq(pci_irq_vector(si->pdev, ENETC_SI_INT_IDX), si); in enetc_msg_psi_free()
/drivers/misc/
Dpci_endpoint_test.c225 devm_free_irq(dev, pci_irq_vector(pdev, i), test); in pci_endpoint_test_release_irq()
238 err = devm_request_irq(dev, pci_irq_vector(pdev, i), in pci_endpoint_test_request_irq()
251 pci_irq_vector(pdev, i)); in pci_endpoint_test_request_irq()
255 pci_irq_vector(pdev, i), in pci_endpoint_test_request_irq()
260 pci_irq_vector(pdev, i), in pci_endpoint_test_request_irq()
331 if (pci_irq_vector(pdev, msi_num - 1) == test->last_irq) in pci_endpoint_test_msi_irq()
/drivers/dma/
Dplx_dma.c469 irq = pci_irq_vector(pdev, 0); in plx_dma_free_chan_resources()
508 rc = request_irq(pci_irq_vector(pdev, 0), plx_dma_isr, 0, in plx_dma_create()
550 free_irq(pci_irq_vector(pdev, 0), plxdev); in plx_dma_create()
605 free_irq(pci_irq_vector(pdev, 0), plxdev); in plx_dma_remove()
/drivers/ntb/hw/epf/
Dntb_hw_epf.c319 irq_no = irq - pci_irq_vector(ndev->ntb.pdev, 0); in ntb_epf_vec_isr()
352 ret = request_irq(pci_irq_vector(pdev, i), ntb_epf_vec_isr, in ntb_epf_init_isr()
373 free_irq(pci_irq_vector(pdev, i), ndev); in ntb_epf_init_isr()
650 free_irq(pci_irq_vector(pdev, i), ndev); in ntb_epf_cleanup_isr()
/drivers/net/ethernet/atheros/alx/
Dmain.c858 err = request_irq(pci_irq_vector(alx->hw.pdev, 0), alx_intr_msix_misc, in alx_request_msix()
881 err = request_irq(pci_irq_vector(alx->hw.pdev, vector), in alx_request_msix()
889 free_irq(pci_irq_vector(alx->hw.pdev, free_vector++), alx); in alx_request_msix()
893 free_irq(pci_irq_vector(alx->hw.pdev,free_vector++), in alx_request_msix()
945 synchronize_irq(pci_irq_vector(alx->hw.pdev, i)); in alx_irq_disable()
948 synchronize_irq(pci_irq_vector(alx->hw.pdev, 0)); in alx_irq_disable()
999 err = request_irq(pci_irq_vector(pdev, 0), alx_intr_msi, 0, in alx_request_irq()
1009 err = request_irq(pci_irq_vector(pdev, 0), alx_intr_legacy, IRQF_SHARED, in alx_request_irq()
1024 free_irq(pci_irq_vector(pdev, 0), alx); in alx_free_irq()
1027 free_irq(pci_irq_vector(pdev, i + 1), alx->qnapi[i]); in alx_free_irq()
[all …]

12345