Searched refs:sc_nrange (Results 1 – 5 of 5) sorted by relevance
172 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...]
64 int sc_nrange; member
481 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()
778 sc->ofw_pci.sc_nrange); in pci_dw_init()
709 for (i = 0; i < sc->pci_sc.sc_nrange; i++) { in fsl_pcib_decode_win()