Home
last modified time | relevance | path

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

1234567

/Linux-v6.6/Documentation/translations/zh_CN/PCI/
Dmsi-howto.rst84 int pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs,
93 如果PCI_IRQ_AFFINITY标志被设置,pci_alloc_irq_vectors()将把中断分散到可用的CPU上。
113 nvec = pci_alloc_irq_vectors(pdev, 1, nvec, PCI_IRQ_ALL_TYPES)
118 数量作为“min_vecs“和“max_vecs“参数传递给pci_alloc_irq_vectors()函数。::
120 ret = pci_alloc_irq_vectors(pdev, nvec, nvec, PCI_IRQ_ALL_TYPES);
127 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES);
133 nvec = pci_alloc_irq_vectors(pdev, 1, nvec, PCI_IRQ_MSI | PCI_IRQ_MSIX);
149 pci_msix_vec_count()。一般来说,应该避免使用这些方法,而是让pci_alloc_irq_vectors()
233 PCI_IRQ_MSIX标志的pci_alloc_irq_vectors()的调用。
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-v6.6/Documentation/PCI/
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-v6.6/drivers/net/wireless/mediatek/mt76/mt7996/
Dpci.c128 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mt7996_pci_probe()
146 ret = pci_alloc_irq_vectors(hif2_dev, 1, 1, PCI_IRQ_ALL_TYPES); in mt7996_pci_probe()
/Linux-v6.6/drivers/pci/msi/
Dapi.c234 int pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, in pci_alloc_irq_vectors() function
240 EXPORT_SYMBOL(pci_alloc_irq_vectors);
/Linux-v6.6/drivers/net/wwan/iosm/
Diosm_ipc_irq.c65 ipc_pcie->nvec = pci_alloc_irq_vectors(pdev, IPC_MSI_VECTORS, in ipc_acquire_irq()
/Linux-v6.6/drivers/pci/pcie/
Dportdrv.c118 nr_entries = pci_alloc_irq_vectors(dev, 1, PCIE_PORT_MAX_MSI_ENTRIES, in pcie_port_enable_irq_vec()
144 nr_entries = pci_alloc_irq_vectors(dev, nvec, nvec, in pcie_port_enable_irq_vec()
197 ret = pci_alloc_irq_vectors(dev, 1, 1, PCI_IRQ_LEGACY); in pcie_init_service_irqs()
/Linux-v6.6/drivers/scsi/fnic/
Dfnic_isr.c244 if (pci_alloc_irq_vectors(fnic->pdev, vecs, vecs, in fnic_set_intr_mode()
271 pci_alloc_irq_vectors(fnic->pdev, 1, 1, PCI_IRQ_MSI) == 1) { in fnic_set_intr_mode()
/Linux-v6.6/drivers/dma/hsu/
Dpci.c80 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in hsu_pci_probe()
/Linux-v6.6/drivers/gpio/
Dgpio-merrifield.c110 retval = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mrfld_gpio_probe()
/Linux-v6.6/drivers/net/ethernet/freescale/enetc/
Denetc_ptp.c75 n = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSIX); in enetc_ptp_probe()
/Linux-v6.6/drivers/net/ethernet/amd/xgbe/
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-v6.6/drivers/net/can/m_can/
Dm_can_pci.c121 ret = pci_alloc_irq_vectors(pci, 1, 1, PCI_IRQ_ALL_TYPES); in m_can_pci_probe()
/Linux-v6.6/drivers/spi/
Dspi-dw-pci.c105 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in dw_spi_pci_probe()
/Linux-v6.6/drivers/scsi/snic/
Dsnic_isr.c159 if (pci_alloc_irq_vectors(snic->pdev, vecs, vecs, PCI_IRQ_MSIX) < 0) in snic_set_intr_mode()
/Linux-v6.6/drivers/misc/mchp_pci1xxxx/
Dmchp_pci1xxxx_gp.c87 retval = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in gp_aux_bus_probe()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7615/
Dpci.c38 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mt7615_pci_probe()
/Linux-v6.6/drivers/mmc/host/
Dcavium-thunderx.c42 nvec = pci_alloc_irq_vectors(pdev, 1, 9, PCI_IRQ_MSIX); in thunder_mmc_register_interrupts()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7915/
Dpci.c146 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mt7915_pci_probe()
/Linux-v6.6/drivers/mfd/
Dintel_quark_i2c_gpio.c261 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in intel_quark_mfd_probe()
/Linux-v6.6/drivers/i2c/busses/
Di2c-thunderx-pcidrv.c195 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSIX); in thunder_i2c_probe_pci()
/Linux-v6.6/drivers/misc/
Dpci_endpoint_test.c185 irq = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_LEGACY); in pci_endpoint_test_alloc_irq_vectors()
190 irq = pci_alloc_irq_vectors(pdev, 1, 32, PCI_IRQ_MSI); in pci_endpoint_test_alloc_irq_vectors()
195 irq = pci_alloc_irq_vectors(pdev, 1, 2048, PCI_IRQ_MSIX); in pci_endpoint_test_alloc_irq_vectors()
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/
Dadf_vf_isr.c49 int stat = pci_alloc_irq_vectors(pci_dev_info->pci_dev, 1, 1, in adf_enable_msi()
/Linux-v6.6/drivers/hwtracing/intel_th/
Dpci.c95 err = pci_alloc_irq_vectors(pdev, 1, 8, PCI_IRQ_ALL_TYPES); in intel_th_pci_probe()
/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptpf_main.c120 ret = pci_alloc_irq_vectors(cpt->pdev, num_vec, num_vec, PCI_IRQ_MSIX); in otx_cpt_register_interrupts()

1234567