Home
last modified time | relevance | path

Searched refs:msixcnt (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/dma/idxd/
H A Dinit.c82 int i, msixcnt; in idxd_setup_interrupts() local
85 msixcnt = pci_msix_vec_count(pdev); in idxd_setup_interrupts()
86 if (msixcnt < 0) { in idxd_setup_interrupts()
90 idxd->irq_cnt = msixcnt; in idxd_setup_interrupts()
92 rc = pci_alloc_irq_vectors(pdev, msixcnt, msixcnt, PCI_IRQ_MSIX); in idxd_setup_interrupts()
93 if (rc != msixcnt) { in idxd_setup_interrupts()
94 dev_err(dev, "Failed enabling %d MSIX entries: %d\n", msixcnt, rc); in idxd_setup_interrupts()
97 dev_dbg(dev, "Enabled %d msix vectors\n", msixcnt); in idxd_setup_interrupts()
136 int msixcnt; in idxd_cleanup_interrupts() local
138 msixcnt = pci_msix_vec_count(pdev); in idxd_cleanup_interrupts()
[all …]
/openbmc/linux/drivers/dma/ioat/
H A Dinit.c408 int i, j, msixcnt; in ioat_dma_setup_interrupts() local
423 msixcnt = ioat_dma->chancnt; in ioat_dma_setup_interrupts()
424 for (i = 0; i < msixcnt; i++) in ioat_dma_setup_interrupts()
427 err = pci_enable_msix_exact(pdev, ioat_dma->msix_entries, msixcnt); in ioat_dma_setup_interrupts()
431 for (i = 0; i < msixcnt; i++) { in ioat_dma_setup_interrupts()