Home
last modified time | relevance | path

Searched refs:pci_alloc_irq_vectors (Results 1 – 25 of 127) sorted by relevance

123456

/linux/Documentation/PCI/
A Dmsi-howto.rst96 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 Dpci.rst303 在调用 ``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 Dportdrv_core.c107 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 Dfnic_isr.c256 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 Diosm_ipc_irq.c65 ipc_pcie->nvec = pci_alloc_irq_vectors(pdev, IPC_MSI_VECTORS, in ipc_acquire_irq()
/linux/drivers/dma/hsu/
A Dpci.c76 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in hsu_pci_probe()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc_ptp.c80 n = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSIX); in enetc_ptp_probe()
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-pci.c135 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 Dvmci_guest.c584 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 Dsnic_isr.c173 if (pci_alloc_irq_vectors(snic->pdev, vecs, vecs, PCI_IRQ_MSIX) < 0) in snic_set_intr_mode()
/linux/drivers/spi/
A Dspi-dw-pci.c105 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in spi_pci_probe()
/linux/drivers/misc/
A Dpci_endpoint_test.c187 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 Dm_can_pci.c159 ret = pci_alloc_irq_vectors(pci, 1, 1, PCI_IRQ_ALL_TYPES); in m_can_pci_probe()
/linux/drivers/mmc/host/
A Dcavium-thunderx.c41 nvec = pci_alloc_irq_vectors(pdev, 1, 9, PCI_IRQ_MSIX); in thunder_mmc_register_interrupts()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
A Dpci.c38 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mt7615_pci_probe()
/linux/drivers/mfd/
A Dintel_quark_i2c_gpio.c261 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in intel_quark_mfd_probe()
/linux/drivers/i2c/busses/
A Di2c-thunderx-pcidrv.c195 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSIX); in thunder_i2c_probe_pci()
/linux/drivers/hwtracing/intel_th/
A Dpci.c95 err = pci_alloc_irq_vectors(pdev, 1, 8, PCI_IRQ_ALL_TYPES); in intel_th_pci_probe()
/linux/drivers/ntb/hw/epf/
A Dntb_hw_epf.c339 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 Dotx_cptpf_main.c120 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 Dpci-ish.c206 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in ish_probe()
/linux/drivers/media/pci/ddbridge/
A Dddbridge-main.c108 stat = pci_alloc_irq_vectors(dev->pdev, 1, nr, in ddb_irq_msi()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_vf.c528 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 Dmsix.c35 ret = pci_alloc_irq_vectors(dd->pcidev, total, total, PCI_IRQ_MSIX); in msix_initialize()
/linux/drivers/crypto/qat/qat_common/
A Dadf_isr.c30 ret = pci_alloc_irq_vectors(pci_dev_info->pci_dev, msix_num_entries, in adf_enable_msix()

Completed in 24 milliseconds

123456