Home
last modified time | relevance | path

Searched refs:sc_nrange (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/ofw/
H A Dofw_pcib.c172 sc->sc_nrange = 0; in ofw_pcib_init()
176 sc->sc_nrange += n; in ofw_pcib_init()
178 if (sc->sc_nrange == 0) { in ofw_pcib_init()
182 sc->sc_range = malloc(sc->sc_nrange * sizeof(sc->sc_range[0]), in ofw_pcib_init()
190 KASSERT(i == sc->sc_nrange, ("range count mismatch")); in ofw_pcib_init()
192 sc->sc_nrange = ofw_pcib_nranges(node, cell_info); in ofw_pcib_init()
193 if (sc->sc_nrange <= 0) { in ofw_pcib_init()
198 sc->sc_range = malloc(sc->sc_nrange * sizeof(sc->sc_range[0]), in ofw_pcib_init()
227 for (i = 0; i < sc->sc_nrange; i++) { in ofw_pcib_init()
471 for (rp = sc->sc_range; rp < sc->sc_range + sc->sc_nrange in ofw_pcib_translate_resource()
[all...]
H A Dofwpci.h64 int sc_nrange; member
/freebsd/sys/powerpc/powernv/
H A Dopal_pci.c481 sc->ofw_sc.sc_nrange++; in opalpci_attach()
483 sc->ofw_sc.sc_nrange * sizeof(sc->ofw_sc.sc_range[0]), in opalpci_attach()
485 rp = &sc->ofw_sc.sc_range[sc->ofw_sc.sc_nrange-1]; in opalpci_attach()
/freebsd/sys/dev/pci/
H A Dpci_dw.c778 sc->ofw_pci.sc_nrange); in pci_dw_init()
/freebsd/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c709 for (i = 0; i < sc->pci_sc.sc_nrange; i++) { in fsl_pcib_decode_win()