Home
last modified time | relevance | path

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

/linux/drivers/dma/idxd/
H A Dinit.c90 int i, msixcnt; in idxd_setup_interrupts() local
93 msixcnt = pci_msix_vec_count(pdev); in idxd_setup_interrupts()
94 if (msixcnt < 0) { in idxd_setup_interrupts()
98 idxd->irq_cnt = msixcnt; in idxd_setup_interrupts()
100 rc = pci_alloc_irq_vectors(pdev, msixcnt, msixcnt, PCI_IRQ_MSIX); in idxd_setup_interrupts()
101 if (rc != msixcnt) { in idxd_setup_interrupts()
102 dev_err(dev, "Failed enabling %d MSIX entries: %d\n", msixcnt, rc); in idxd_setup_interrupts()
105 dev_dbg(dev, "Enabled %d msix vectors\n", msixcnt); in idxd_setup_interrupts()
144 int msixcnt; in idxd_cleanup_interrupts() local
146 msixcnt = pci_msix_vec_count(pdev); in idxd_cleanup_interrupts()
[all …]
/linux/drivers/dma/ioat/
H A Dinit.c409 int i, j, msixcnt; in ioat_dma_setup_interrupts() local
424 msixcnt = ioat_dma->chancnt; in ioat_dma_setup_interrupts()
425 for (i = 0; i < msixcnt; i++) in ioat_dma_setup_interrupts()
428 err = pci_enable_msix_exact(pdev, ioat_dma->msix_entries, msixcnt); in ioat_dma_setup_interrupts()
432 for (i = 0; i < msixcnt; i++) { in ioat_dma_setup_interrupts()