Home
last modified time | relevance | path

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

/freebsd-12.1/sys/x86/include/
H A Dintr_machdep.h168 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
/freebsd-12.1/sys/dev/pci/
H A Dpci.c2359 if (cfg->msi.msi_alloc > 0) { in pci_remap_intr_method()
2364 for (i = 0; i < cfg->msi.msi_alloc; i++) { in pci_remap_intr_method()
2622 cfg->msi.msi_alloc = actual; in pci_alloc_msi_method()
2643 if (msi->msi_alloc == 0) in pci_release_msi_method()
2650 for (i = 0; i < msi->msi_alloc; i++) { in pci_release_msi_method()
2667 for (i = 0; i < msi->msi_alloc; i++) in pci_release_msi_method()
2671 msi->msi_alloc = 0; in pci_release_msi_method()
4661 if (dinfo->cfg.msi.msi_alloc > 0) { in pci_setup_intr()
4764 if (dinfo->cfg.msi.msi_alloc > 0) { in pci_teardown_intr()
4765 KASSERT(rid <= dinfo->cfg.msi.msi_alloc, in pci_teardown_intr()
[all …]
H A Dpcivar.h97 int msi_alloc; /* Number of allocated messages. */ member
/freebsd-12.1/sys/x86/x86/
H A Dmsi.c378 msi_alloc(device_t dev, int count, int maxcount, int *irqs) in msi_alloc() function
H A Dnexus.c744 return (msi_alloc(dev, count, maxcount, irqs)); in nexus_alloc_msi()
/freebsd-12.1/sys/powerpc/powernv/
H A Dopal_pci.c626 if (dinfo->cfg.msi.msi_alloc > 0 && in opalpci_map_msi()
/freebsd-12.1/sys/sparc64/pci/
H A 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()