Home
last modified time | relevance | path

Searched refs:bus_range (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_pci.c51 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
[all …]
Dchrp_pci.c289 int *bus_range; in chrp_find_bridges() local
317 bus_range = (int *) get_property(dev, "bus-range", &len); in chrp_find_bridges()
318 if (bus_range == NULL || len < 2 * sizeof(int)) { in chrp_find_bridges()
323 if (bus_range[1] == bus_range[0]) in chrp_find_bridges()
324 printk(KERN_INFO "PCI bus %d", bus_range[0]); in chrp_find_bridges()
327 bus_range[0], bus_range[1]); in chrp_find_bridges()
340 hose->first_busno = bus_range[0]; in chrp_find_bridges()
341 hose->last_busno = bus_range[1]; in chrp_find_bridges()
/linux-2.4.37.9/arch/ppc64/kernel/
DpSeries_pci.c425 int *bus_range; in alloc_phb() local
561 bus_range = (int *) get_property(dev, "bus-range", &len); in alloc_phb()
562 if (bus_range == NULL || len < 2 * sizeof(int)) { in alloc_phb()
571 phb->first_busno = bus_range[0]; in alloc_phb()
572 phb->last_busno = bus_range[1]; in alloc_phb()
/linux-2.4.37.9/arch/ppc/kernel/
Dpci.c714 int *bus_range; in make_one_node_map() local
719 bus_range = (int *) get_property(node, "bus-range", &len); in make_one_node_map()
720 if (bus_range == NULL || len < 2 * sizeof(int)) { in make_one_node_map()
725 pci_to_OF_bus_map[pci_bus] = bus_range[0]; in make_one_node_map()