Searched refs:sc_ranges (Results 1 – 3 of 3) sorted by relevance
57 struct sbus_ranges *sc_ranges; member144 sizeof(*sc->sc_ranges), (void **)&sc->sc_ranges); in central_attach()257 coffset = sc->sc_ranges[i].coffset; in central_alloc_resource()258 cend = coffset + sc->sc_ranges[i].size - 1; in central_alloc_resource()262 phys = sc->sc_ranges[i].poffset | in central_alloc_resource()263 ((bus_addr_t)sc->sc_ranges[i].pspace << 32); in central_alloc_resource()
63 struct sbus_ranges *sc_ranges; member231 sizeof(*sc->sc_ranges), (void **)&sc->sc_ranges); in fhc_attach()462 coffset = sc->sc_ranges[i].coffset; in fhc_alloc_resource()463 cend = coffset + sc->sc_ranges[i].size - 1; in fhc_alloc_resource()467 phys = sc->sc_ranges[i].poffset | in fhc_alloc_resource()468 ((bus_addr_t)sc->sc_ranges[i].pspace << 32); in fhc_alloc_resource()
94 struct upa_ranges *sc_ranges; member288 sc->sc_nrange = OF_getprop_alloc_multi(node, "ranges", sizeof(*sc->sc_ranges), in upa_attach()289 (void **)&sc->sc_ranges); in upa_attach()440 cstart = sc->sc_ranges[i].child; in upa_alloc_resource()441 cend = cstart + sc->sc_ranges[i].size - 1; in upa_alloc_resource()446 start += sc->sc_ranges[i].parent - cstart; in upa_alloc_resource()447 end += sc->sc_ranges[i].parent - cstart; in upa_alloc_resource()