Home
last modified time | relevance | path

Searched refs:msi_alloc (Results 1 – 7 of 7) sorted by relevance

/freebsd-12-stable/sys/x86/include/
Dintr_machdep.h167 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
/freebsd-12-stable/sys/dev/pci/
Dpci.c1771 if (cfg->msi.msi_alloc != 0 || cfg->msix.msix_alloc != 0) in pci_alloc_msix_method()
2383 if (cfg->msi.msi_alloc > 0) { in pci_remap_intr_method()
2388 for (i = 0; i < cfg->msi.msi_alloc; i++) { in pci_remap_intr_method()
2552 if (cfg->msi.msi_alloc != 0 || cfg->msix.msix_alloc != 0) in pci_alloc_msi_method()
2646 cfg->msi.msi_alloc = actual; in pci_alloc_msi_method()
2667 if (msi->msi_alloc == 0) in pci_release_msi_method()
2669 KASSERT(msi->msi_alloc <= 32, ("more than 32 alloc'd messages")); in pci_release_msi_method()
2674 for (i = 0; i < msi->msi_alloc; i++) { in pci_release_msi_method()
2690 PCIB_RELEASE_MSI(device_get_parent(dev), child, msi->msi_alloc, irqs); in pci_release_msi_method()
2691 for (i = 0; i < msi->msi_alloc; i++) in pci_release_msi_method()
[all …]
Dpcivar.h97 int msi_alloc; /* Number of allocated messages. */ member
/freebsd-12-stable/sys/powerpc/powernv/
Dopal_pci.c626 if (dinfo->cfg.msi.msi_alloc > 0 && in opalpci_map_msi()
/freebsd-12-stable/sys/x86/x86/
Dmsi.c379 msi_alloc(device_t dev, int count, int maxcount, int *irqs) in msi_alloc() function
Dnexus.c744 return (msi_alloc(dev, count, maxcount, irqs)); in nexus_alloc_msi()
/freebsd-12-stable/sys/sparc64/pci/
Dfire.c1592 if (dinfo->cfg.msi.msi_alloc > 0) { in fire_map_msi()
1605 if (dinfo->cfg.msi.msi_alloc > 0 && in fire_map_msi()