Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/dma/idxd/
Dinit.c76 int i, msixcnt; in idxd_setup_interrupts() local
79 msixcnt = pci_msix_vec_count(pdev); in idxd_setup_interrupts()
80 if (msixcnt < 0) { in idxd_setup_interrupts()
84 idxd->irq_cnt = msixcnt; in idxd_setup_interrupts()
86 rc = pci_alloc_irq_vectors(pdev, msixcnt, msixcnt, PCI_IRQ_MSIX); in idxd_setup_interrupts()
87 if (rc != msixcnt) { in idxd_setup_interrupts()
88 dev_err(dev, "Failed enabling %d MSIX entries: %d\n", msixcnt, rc); in idxd_setup_interrupts()
91 dev_dbg(dev, "Enabled %d msix vectors\n", msixcnt); in idxd_setup_interrupts()
130 int msixcnt; in idxd_cleanup_interrupts() local
132 msixcnt = pci_msix_vec_count(pdev); in idxd_cleanup_interrupts()
[all …]
/linux-5.19.10/drivers/dma/ioat/
Dinit.c409 int i, j, msixcnt; in ioat_dma_setup_interrupts() local
424 msixcnt = ioat_dma->dma_dev.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()