Lines Matching refs:bus_range
65 const int * bus_range; in fixup_one_level_bus_range() local
74 bus_range = of_get_property(node, "bus-range", &len); in fixup_one_level_bus_range()
75 if (bus_range != NULL && len > 2 * sizeof(int)) { in fixup_one_level_bus_range()
76 if (bus_range[1] > higher) in fixup_one_level_bus_range()
77 higher = bus_range[1]; in fixup_one_level_bus_range()
92 int *bus_range, len; in fixup_bus_range() local
100 bus_range = prop->value; in fixup_bus_range()
101 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); in fixup_bus_range()
913 const int *bus_range; in pmac_add_bridge() local
922 bus_range = of_get_property(dev, "bus-range", &len); in pmac_add_bridge()
923 if (bus_range == NULL || len < 2 * sizeof(int)) { in pmac_add_bridge()
931 hose->first_busno = bus_range ? bus_range[0] : 0; in pmac_add_bridge()
932 hose->last_busno = bus_range ? bus_range[1] : 0xff; in pmac_add_bridge()