Home
last modified time | relevance | path

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

/freebsd/sys/x86/include/
H A Dintr_machdep.h158 int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc.h134 uint8_t msi_alloc; member
H A Ddpaa2_rc.c323 if (dinfo->msi.msi_alloc != 0) { in dpaa2_rc_child_detached()
325 dinfo->msi.msi_alloc); in dpaa2_rc_child_detached()
366 KASSERT(dinfo->msi.msi_alloc > 0, in dpaa2_rc_setup_intr()
490 if (dinfo->msi.msi_alloc != 0) in dpaa2_rc_alloc_msi()
560 dinfo->msi.msi_alloc = actual; in dpaa2_rc_alloc_msi()
584 if (dinfo->msi.msi_alloc == 0) in dpaa2_rc_release_msi()
586 KASSERT(dinfo->msi.msi_alloc <= 32, in dpaa2_rc_release_msi()
592 for (i = 0; i < dinfo->msi.msi_alloc; i++) { in dpaa2_rc_release_msi()
601 PCIB_RELEASE_MSI(device_get_parent(rcdev), child, dinfo->msi.msi_alloc, in dpaa2_rc_release_msi()
603 for (i = 0; i < dinfo->msi.msi_alloc; i++) in dpaa2_rc_release_msi()
[all …]
/freebsd/sys/dev/pci/
H A Dpci.c1845 if (cfg->msi.msi_alloc != 0 || cfg->msix.msix_alloc != 0) in pci_alloc_msix_method()
2471 if (cfg->msi.msi_alloc > 0) { in pci_remap_intr_method()
2475 for (i = 0; i < cfg->msi.msi_alloc; i++) { in pci_remap_intr_method()
2643 if (cfg->msi.msi_alloc != 0 || cfg->msix.msix_alloc != 0) in pci_alloc_msi_method()
2737 cfg->msi.msi_alloc = actual; in pci_alloc_msi_method()
2759 if (msi->msi_alloc == 0) in pci_release_msi_method()
2761 KASSERT(msi->msi_alloc <= 32, ("more than 32 alloc'd messages")); in pci_release_msi_method()
2766 for (i = 0; i < msi->msi_alloc; i++) { in pci_release_msi_method()
2782 PCIB_RELEASE_MSI(device_get_parent(dev), child, msi->msi_alloc, irqs); in pci_release_msi_method()
2783 for (i = 0; i < msi->msi_alloc; i++) in pci_release_msi_method()
[all …]
H A Dpcivar.h91 int msi_alloc; /* Number of allocated messages. */ member
/freebsd/sys/x86/x86/
H A Dnexus.c603 return (msi_alloc(dev, count, maxcount, irqs)); in nexus_alloc_msi()
H A Dmsi.c411 msi_alloc(device_t dev, int count, int maxcount, int *irqs) in msi_alloc() function
/freebsd/sys/powerpc/powernv/
H A Dopal_pci.c674 if (dinfo->cfg.msi.msi_alloc > 0 && in opalpci_map_msi()