/linux/Documentation/PCI/ |
A D | msi-howto.rst | 96 int pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, 109 pci_alloc_irq_vectors() will spread the interrupts around the available CPUs. 139 nvec = pci_alloc_irq_vectors(pdev, 1, nvec, PCI_IRQ_ALL_TYPES) 145 number to pci_alloc_irq_vectors() function as both 'min_vecs' and 148 ret = pci_alloc_irq_vectors(pdev, nvec, nvec, PCI_IRQ_ALL_TYPES); 156 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); 163 nvec = pci_alloc_irq_vectors(pdev, 1, nvec, PCI_IRQ_MSI | PCI_IRQ_MSIX); 181 should be avoided in favor of letting pci_alloc_irq_vectors() cap the 286 For example, it may contain calls to pci_alloc_irq_vectors() with the
|
/linux/Documentation/translations/zh_CN/PCI/ |
A D | pci.rst | 303 在调用 ``request_irq()`` 之前,可以通过调用 ``pci_alloc_irq_vectors()`` 306 ``pci_alloc_irq_vectors`` 时只使用PCI_IRQ_MSI和PCI_IRQ_MSIX标志会失败, 310 ``pci_alloc_irq_vectors`` 后根据 ``pci_dev``结构体中的 ``msi_enabled``
|
/linux/drivers/pci/pcie/ |
A D | portdrv_core.c | 107 nr_entries = pci_alloc_irq_vectors(dev, 1, PCIE_PORT_MAX_MSI_ENTRIES, in pcie_port_enable_irq_vec() 133 nr_entries = pci_alloc_irq_vectors(dev, nvec, nvec, in pcie_port_enable_irq_vec() 183 ret = pci_alloc_irq_vectors(dev, 1, 1, PCI_IRQ_LEGACY); in pcie_init_service_irqs()
|
/linux/drivers/scsi/fnic/ |
A D | fnic_isr.c | 256 if (pci_alloc_irq_vectors(fnic->pdev, vecs, vecs, in fnic_set_intr_mode() 283 pci_alloc_irq_vectors(fnic->pdev, 1, 1, PCI_IRQ_MSI) == 1) { in fnic_set_intr_mode()
|
/linux/drivers/net/wwan/iosm/ |
A D | iosm_ipc_irq.c | 65 ipc_pcie->nvec = pci_alloc_irq_vectors(pdev, IPC_MSI_VECTORS, in ipc_acquire_irq()
|
/linux/drivers/dma/hsu/ |
A D | pci.c | 76 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in hsu_pci_probe()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_ptp.c | 80 n = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSIX); in enetc_ptp_probe()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-pci.c | 135 ret = pci_alloc_irq_vectors(pdata->pcidev, XGBE_MSI_MIN_COUNT, in xgbe_config_multi_msi() 172 ret = pci_alloc_irq_vectors(pdata->pcidev, 1, 1, in xgbe_config_irqs()
|
/linux/drivers/misc/vmw_vmci/ |
A D | vmci_guest.c | 584 error = pci_alloc_irq_vectors(pdev, VMCI_MAX_INTRS, VMCI_MAX_INTRS, in vmci_guest_probe_device() 587 error = pci_alloc_irq_vectors(pdev, 1, 1, in vmci_guest_probe_device()
|
/linux/drivers/scsi/snic/ |
A D | snic_isr.c | 173 if (pci_alloc_irq_vectors(snic->pdev, vecs, vecs, PCI_IRQ_MSIX) < 0) in snic_set_intr_mode()
|
/linux/drivers/spi/ |
A D | spi-dw-pci.c | 105 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in spi_pci_probe()
|
/linux/drivers/misc/ |
A D | pci_endpoint_test.c | 187 irq = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_LEGACY); in pci_endpoint_test_alloc_irq_vectors() 192 irq = pci_alloc_irq_vectors(pdev, 1, 32, PCI_IRQ_MSI); in pci_endpoint_test_alloc_irq_vectors() 197 irq = pci_alloc_irq_vectors(pdev, 1, 2048, PCI_IRQ_MSIX); in pci_endpoint_test_alloc_irq_vectors()
|
/linux/drivers/net/can/m_can/ |
A D | m_can_pci.c | 159 ret = pci_alloc_irq_vectors(pci, 1, 1, PCI_IRQ_ALL_TYPES); in m_can_pci_probe()
|
/linux/drivers/mmc/host/ |
A D | cavium-thunderx.c | 41 nvec = pci_alloc_irq_vectors(pdev, 1, 9, PCI_IRQ_MSIX); in thunder_mmc_register_interrupts()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | pci.c | 38 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mt7615_pci_probe()
|
/linux/drivers/mfd/ |
A D | intel_quark_i2c_gpio.c | 261 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in intel_quark_mfd_probe()
|
/linux/drivers/i2c/busses/ |
A D | i2c-thunderx-pcidrv.c | 195 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSIX); in thunder_i2c_probe_pci()
|
/linux/drivers/hwtracing/intel_th/ |
A D | pci.c | 95 err = pci_alloc_irq_vectors(pdev, 1, 8, PCI_IRQ_ALL_TYPES); in intel_th_pci_probe()
|
/linux/drivers/ntb/hw/epf/ |
A D | ntb_hw_epf.c | 339 irq = pci_alloc_irq_vectors(pdev, msi_min, msi_max, PCI_IRQ_MSIX); in ntb_epf_init_isr() 342 irq = pci_alloc_irq_vectors(pdev, msi_min, msi_max, in ntb_epf_init_isr()
|
/linux/drivers/crypto/marvell/octeontx/ |
A D | otx_cptpf_main.c | 120 ret = pci_alloc_irq_vectors(cpt->pdev, num_vec, num_vec, PCI_IRQ_MSIX); in otx_cpt_register_interrupts()
|
/linux/drivers/hid/intel-ish-hid/ipc/ |
A D | pci-ish.c | 206 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in ish_probe()
|
/linux/drivers/media/pci/ddbridge/ |
A D | ddbridge-main.c | 108 stat = pci_alloc_irq_vectors(dev->pdev, 1, nr, in ddb_irq_msi()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_vf.c | 528 err = pci_alloc_irq_vectors(hw->pdev, num_vec, num_vec, PCI_IRQ_MSIX); in otx2vf_realloc_msix_vectors() 604 err = pci_alloc_irq_vectors(hw->pdev, num_vec, num_vec, PCI_IRQ_MSIX); in otx2vf_probe()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | msix.c | 35 ret = pci_alloc_irq_vectors(dd->pcidev, total, total, PCI_IRQ_MSIX); in msix_initialize()
|
/linux/drivers/crypto/qat/qat_common/ |
A D | adf_isr.c | 30 ret = pci_alloc_irq_vectors(pci_dev_info->pci_dev, msix_num_entries, in adf_enable_msix()
|