/Linux-v6.6/Documentation/translations/zh_CN/PCI/ |
D | msi-howto.rst | 84 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()的调用。
|
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-v6.6/Documentation/PCI/ |
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-v6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | pci.c | 128 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/ |
D | api.c | 234 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/ |
D | iosm_ipc_irq.c | 65 ipc_pcie->nvec = pci_alloc_irq_vectors(pdev, IPC_MSI_VECTORS, in ipc_acquire_irq()
|
/Linux-v6.6/drivers/pci/pcie/ |
D | portdrv.c | 118 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/ |
D | fnic_isr.c | 244 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/ |
D | pci.c | 80 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in hsu_pci_probe()
|
/Linux-v6.6/drivers/gpio/ |
D | gpio-merrifield.c | 110 retval = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mrfld_gpio_probe()
|
/Linux-v6.6/drivers/net/ethernet/freescale/enetc/ |
D | enetc_ptp.c | 75 n = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSIX); in enetc_ptp_probe()
|
/Linux-v6.6/drivers/net/ethernet/amd/xgbe/ |
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-v6.6/drivers/net/can/m_can/ |
D | m_can_pci.c | 121 ret = pci_alloc_irq_vectors(pci, 1, 1, PCI_IRQ_ALL_TYPES); in m_can_pci_probe()
|
/Linux-v6.6/drivers/spi/ |
D | spi-dw-pci.c | 105 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in dw_spi_pci_probe()
|
/Linux-v6.6/drivers/scsi/snic/ |
D | snic_isr.c | 159 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/ |
D | mchp_pci1xxxx_gp.c | 87 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/ |
D | pci.c | 38 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mt7615_pci_probe()
|
/Linux-v6.6/drivers/mmc/host/ |
D | cavium-thunderx.c | 42 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/ |
D | pci.c | 146 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mt7915_pci_probe()
|
/Linux-v6.6/drivers/mfd/ |
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-v6.6/drivers/i2c/busses/ |
D | i2c-thunderx-pcidrv.c | 195 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSIX); in thunder_i2c_probe_pci()
|
/Linux-v6.6/drivers/misc/ |
D | pci_endpoint_test.c | 185 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/ |
D | adf_vf_isr.c | 49 int stat = pci_alloc_irq_vectors(pci_dev_info->pci_dev, 1, 1, in adf_enable_msi()
|
/Linux-v6.6/drivers/hwtracing/intel_th/ |
D | pci.c | 95 err = pci_alloc_irq_vectors(pdev, 1, 8, PCI_IRQ_ALL_TYPES); in intel_th_pci_probe()
|
/Linux-v6.6/drivers/crypto/marvell/octeontx/ |
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()
|