Home
last modified time | relevance | path

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

/freebsd-14.2/sys/x86/include/
H A Dintr_machdep.h158 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
/freebsd-14.2/sys/dev/dpaa2/
H A Ddpaa2_mc.h134 uint8_t msi_alloc; member
H A Ddpaa2_rc.c324 if (dinfo->msi.msi_alloc != 0) { in dpaa2_rc_child_detached()
326 dinfo->msi.msi_alloc); in dpaa2_rc_child_detached()
367 KASSERT(dinfo->msi.msi_alloc > 0, in dpaa2_rc_setup_intr()
491 if (dinfo->msi.msi_alloc != 0) in dpaa2_rc_alloc_msi()
561 dinfo->msi.msi_alloc = actual; in dpaa2_rc_alloc_msi()
585 if (dinfo->msi.msi_alloc == 0) in dpaa2_rc_release_msi()
587 KASSERT(dinfo->msi.msi_alloc <= 32, in dpaa2_rc_release_msi()
604 for (i = 0; i < dinfo->msi.msi_alloc; i++) in dpaa2_rc_release_msi()
608 dinfo->msi.msi_alloc = 0; in dpaa2_rc_release_msi()
2945 dinfo->msi.msi_alloc = 0; in dpaa2_rc_add_child()
[all …]
/freebsd-14.2/sys/dev/pci/
H A Dpci.c2420 if (cfg->msi.msi_alloc > 0) { in pci_remap_intr_method()
2424 for (i = 0; i < cfg->msi.msi_alloc; i++) { in pci_remap_intr_method()
2684 cfg->msi.msi_alloc = actual; in pci_alloc_msi_method()
2705 if (msi->msi_alloc == 0) in pci_release_msi_method()
2712 for (i = 0; i < msi->msi_alloc; i++) { in pci_release_msi_method()
2729 for (i = 0; i < msi->msi_alloc; i++) in pci_release_msi_method()
2733 msi->msi_alloc = 0; in pci_release_msi_method()
4775 if (dinfo->cfg.msi.msi_alloc > 0) { in pci_setup_intr()
4878 if (dinfo->cfg.msi.msi_alloc > 0) { in pci_teardown_intr()
4879 KASSERT(rid <= dinfo->cfg.msi.msi_alloc, in pci_teardown_intr()
[all …]
H A Dpcivar.h94 int msi_alloc; /* Number of allocated messages. */ member
/freebsd-14.2/sys/x86/x86/
H A Dnexus.c591 return (msi_alloc(dev, count, maxcount, irqs)); in nexus_alloc_msi()
H A Dmsi.c403 msi_alloc(device_t dev, int count, int maxcount, int *irqs) in msi_alloc() function
/freebsd-14.2/sys/powerpc/powernv/
H A Dopal_pci.c675 if (dinfo->cfg.msi.msi_alloc > 0 && in opalpci_map_msi()