Searched refs:msi_vmem (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/sys/powerpc/powernv/
H A Dopal_pci.c163 vmem_t *msi_vmem; member in struct:opalpci_softc
422 sc->msi_vmem = NULL;
429 sc->msi_vmem = vmem_create("OPAL MSI", msi_ranges[0],
621 if (sc->msi_vmem == NULL)
624 err = vmem_xalloc(sc->msi_vmem, count, powerof2(count), 0, 0,
643 if (sc->msi_vmem == NULL)
646 vmem_xfree(sc->msi_vmem, irqs[0] - sc->base_msi_irq, count);
671 if (sc->msi_vmem == NULL)
/freebsd-13-stable/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c234 static vmem_t *msi_vmem; /* Global MSI vmem, holds all MSI ranges. */ variable
775 if (msi_vmem == NULL)
778 err = vmem_xalloc(msi_vmem, count, powerof2(count), 0, 0,
793 if (msi_vmem == NULL)
796 vmem_xfree(msi_vmem, irqs[0], count);
896 if (msi_vmem == NULL)
897 msi_vmem = vmem_create("MPIC MSI", 0, 0, 1, 0, M_BESTFIT | M_WAITOK);
919 vmem_add(msi_vmem, sc->sc_map.irq_base, FSL_NUM_MSIS, M_WAITOK);

Completed in 168 milliseconds