Lines Matching refs:bus_range
62 const int * bus_range; in fixup_one_level_bus_range() local
71 bus_range = of_get_property(node, "bus-range", &len); in fixup_one_level_bus_range()
72 if (bus_range != NULL && len > 2 * sizeof(int)) { in fixup_one_level_bus_range()
73 if (bus_range[1] > higher) in fixup_one_level_bus_range()
74 higher = bus_range[1]; in fixup_one_level_bus_range()
89 int *bus_range, len; in fixup_bus_range() local
97 bus_range = prop->value; in fixup_bus_range()
98 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); in fixup_bus_range()
777 const int *bus_range; in pmac_add_bridge() local
786 bus_range = of_get_property(dev, "bus-range", &len); in pmac_add_bridge()
787 if (bus_range == NULL || len < 2 * sizeof(int)) { in pmac_add_bridge()
795 hose->first_busno = bus_range ? bus_range[0] : 0; in pmac_add_bridge()
796 hose->last_busno = bus_range ? bus_range[1] : 0xff; in pmac_add_bridge()