Lines Matching refs:bus_range
38 const int *bus_range; in fixup_one_level_bus_range() local
47 bus_range = of_get_property(node, "bus-range", &len); in fixup_one_level_bus_range()
48 if (bus_range != NULL && len > 2 * sizeof(int)) { in fixup_one_level_bus_range()
49 if (bus_range[1] > higher) in fixup_one_level_bus_range()
50 higher = bus_range[1]; in fixup_one_level_bus_range()
65 int *bus_range; in fixup_bus_range() local
76 bus_range = prop->value; in fixup_bus_range()
77 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); in fixup_bus_range()
494 const int *bus_range; in maple_add_bridge() local
499 bus_range = of_get_property(dev, "bus-range", &len); in maple_add_bridge()
500 if (bus_range == NULL || len < 2 * sizeof(int)) { in maple_add_bridge()
508 hose->first_busno = bus_range ? bus_range[0] : 0; in maple_add_bridge()
509 hose->last_busno = bus_range ? bus_range[1] : 0xff; in maple_add_bridge()