Lines Matching refs:bus_range
51 int * bus_range; in fixup_one_level_bus_range() local
60 bus_range = (int *) get_property(node, "bus-range", &len); in fixup_one_level_bus_range()
61 if (bus_range != NULL && len > 2 * sizeof(int)) { in fixup_one_level_bus_range()
62 if (bus_range[1] > higher) in fixup_one_level_bus_range()
63 higher = bus_range[1]; in fixup_one_level_bus_range()
79 int * bus_range; in fixup_bus_range() local
83 bus_range = (int *) get_property(bridge, "bus-range", &len); in fixup_bus_range()
84 if (bus_range == NULL || len < 2 * sizeof(int)) { in fixup_bus_range()
89 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); in fixup_bus_range()
463 int *bus_range; in add_bridges() local
473 bus_range = (int *) get_property(dev, "bus-range", &len); in add_bridges()
474 if (bus_range == NULL || len < 2 * sizeof(int)) { in add_bridges()
483 hose->first_busno = bus_range ? bus_range[0] : 0; in add_bridges()
484 hose->last_busno = bus_range ? bus_range[1] : 0xff; in add_bridges()