/arch/powerpc/platforms/52xx/ |
D | efika.c | 71 const int *bus_range; in efika_pcisetup() local 98 bus_range = of_get_property(pcictrl, "bus-range", &len); in efika_pcisetup() 99 if (bus_range == NULL || len < 2 * sizeof(int)) { in efika_pcisetup() 105 if (bus_range[1] == bus_range[0]) in efika_pcisetup() 107 bus_range[0]); in efika_pcisetup() 110 bus_range[0], bus_range[1]); in efika_pcisetup() 122 hose->first_busno = bus_range[0]; in efika_pcisetup() 123 hose->last_busno = bus_range[1]; in efika_pcisetup()
|
D | mpc52xx_pci.c | 369 const int *bus_range; in mpc52xx_add_bridge() local 381 bus_range = of_get_property(node, "bus-range", &len); in mpc52xx_add_bridge() 382 if (bus_range == NULL || len < 2 * sizeof(int)) { in mpc52xx_add_bridge() 385 bus_range = NULL; in mpc52xx_add_bridge() 400 hose->first_busno = bus_range ? bus_range[0] : 0; in mpc52xx_add_bridge() 401 hose->last_busno = bus_range ? bus_range[1] : 0xff; in mpc52xx_add_bridge()
|
/arch/powerpc/platforms/embedded6xx/ |
D | linkstation.c | 42 const int *bus_range; in linkstation_add_bridge() local 46 bus_range = of_get_property(dev, "bus-range", &len); in linkstation_add_bridge() 47 if (bus_range == NULL || len < 2 * sizeof(int)) in linkstation_add_bridge() 54 hose->first_busno = bus_range ? bus_range[0] : 0; in linkstation_add_bridge() 55 hose->last_busno = bus_range ? bus_range[1] : 0xff; in linkstation_add_bridge()
|
D | storcenter.c | 46 const int *bus_range; in storcenter_add_bridge() local 54 bus_range = of_get_property(dev, "bus-range", &len); in storcenter_add_bridge() 55 hose->first_busno = bus_range ? bus_range[0] : 0; in storcenter_add_bridge() 56 hose->last_busno = bus_range ? bus_range[1] : 0xff; in storcenter_add_bridge()
|
/arch/powerpc/sysdev/ |
D | mv64x60_pci.c | 125 const int *bus_range; in mv64x60_add_bridge() local 137 bus_range = of_get_property(dev, "bus-range", &len); in mv64x60_add_bridge() 138 if (bus_range == NULL || len < 2 * sizeof(int)) in mv64x60_add_bridge() 146 hose->first_busno = bus_range ? bus_range[0] : 0; in mv64x60_add_bridge() 147 hose->last_busno = bus_range ? bus_range[1] : 0xff; in mv64x60_add_bridge()
|
D | fsl_pci.c | 216 const int *bus_range; in fsl_add_bridge() local 227 bus_range = of_get_property(dev, "bus-range", &len); in fsl_add_bridge() 228 if (bus_range == NULL || len < 2 * sizeof(int)) in fsl_add_bridge() 237 hose->first_busno = bus_range ? bus_range[0] : 0x0; in fsl_add_bridge() 238 hose->last_busno = bus_range ? bus_range[1] : 0xff; in fsl_add_bridge() 303 const int *bus_range; in mpc83xx_add_bridge() local 339 bus_range = of_get_property(dev, "bus-range", &len); in mpc83xx_add_bridge() 340 if (bus_range == NULL || len < 2 * sizeof(int)) { in mpc83xx_add_bridge() 350 hose->first_busno = bus_range ? bus_range[0] : 0; in mpc83xx_add_bridge() 351 hose->last_busno = bus_range ? bus_range[1] : 0xff; in mpc83xx_add_bridge()
|
D | tsi108_pci.c | 204 const int *bus_range; in tsi108_setup_pci() local 217 bus_range = of_get_property(dev, "bus-range", &len); in tsi108_setup_pci() 218 if (bus_range == NULL || len < 2 * sizeof(int)) { in tsi108_setup_pci() 230 hose->first_busno = bus_range ? bus_range[0] : 0; in tsi108_setup_pci() 231 hose->last_busno = bus_range ? bus_range[1] : 0xff; in tsi108_setup_pci()
|
D | ppc4xx_pci.c | 320 const int *bus_range; in ppc4xx_probe_pci_bridge() local 348 bus_range = of_get_property(np, "bus-range", NULL); in ppc4xx_probe_pci_bridge() 362 hose->first_busno = bus_range ? bus_range[0] : 0x0; in ppc4xx_probe_pci_bridge() 363 hose->last_busno = bus_range ? bus_range[1] : 0xff; in ppc4xx_probe_pci_bridge() 525 const int *bus_range; in ppc4xx_probe_pcix_bridge() local 554 bus_range = of_get_property(np, "bus-range", NULL); in ppc4xx_probe_pcix_bridge() 568 hose->first_busno = bus_range ? bus_range[0] : 0x0; in ppc4xx_probe_pcix_bridge() 569 hose->last_busno = bus_range ? bus_range[1] : 0xff; in ppc4xx_probe_pcix_bridge() 1587 const int *bus_range; in ppc4xx_pciex_port_setup_hose() local 1598 bus_range = of_get_property(port->node, "bus-range", NULL); in ppc4xx_pciex_port_setup_hose() [all …]
|
/arch/powerpc/platforms/maple/ |
D | pci.c | 42 const int *bus_range; in fixup_one_level_bus_range() local 51 bus_range = of_get_property(node, "bus-range", &len); in fixup_one_level_bus_range() 52 if (bus_range != NULL && len > 2 * sizeof(int)) { in fixup_one_level_bus_range() 53 if (bus_range[1] > higher) in fixup_one_level_bus_range() 54 higher = bus_range[1]; in fixup_one_level_bus_range() 69 int *bus_range; in fixup_bus_range() local 80 bus_range = prop->value; in fixup_bus_range() 81 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); in fixup_bus_range() 443 const int *bus_range; in maple_add_bridge() local 448 bus_range = of_get_property(dev, "bus-range", &len); in maple_add_bridge() [all …]
|
/arch/powerpc/platforms/chrp/ |
D | pci.c | 210 const int *bus_range; in chrp_find_bridges() local 242 bus_range = of_get_property(dev, "bus-range", &len); in chrp_find_bridges() 243 if (bus_range == NULL || len < 2 * sizeof(int)) { in chrp_find_bridges() 248 if (bus_range[1] == bus_range[0]) in chrp_find_bridges() 249 printk(KERN_INFO "PCI bus %d", bus_range[0]); in chrp_find_bridges() 252 bus_range[0], bus_range[1]); in chrp_find_bridges() 264 hose->first_busno = hose->self_busno = bus_range[0]; in chrp_find_bridges() 265 hose->last_busno = bus_range[1]; in chrp_find_bridges()
|
/arch/powerpc/kernel/ |
D | rtas_pci.c | 232 const int *bus_range; in phb_set_bus_ranges() local 235 bus_range = of_get_property(dev, "bus-range", &len); in phb_set_bus_ranges() 236 if (bus_range == NULL || len < 2 * sizeof(int)) { in phb_set_bus_ranges() 240 phb->first_busno = bus_range[0]; in phb_set_bus_ranges() 241 phb->last_busno = bus_range[1]; in phb_set_bus_ranges()
|
D | pci_32.c | 105 const int *bus_range; in make_one_node_map() local 110 bus_range = of_get_property(node, "bus-range", &len); in make_one_node_map() 111 if (bus_range == NULL || len < 2 * sizeof(int)) { in make_one_node_map() 116 pci_to_OF_bus_map[pci_bus] = bus_range[0]; in make_one_node_map()
|
/arch/powerpc/platforms/powermac/ |
D | pci.c | 64 const int * bus_range; in fixup_one_level_bus_range() local 73 bus_range = of_get_property(node, "bus-range", &len); in fixup_one_level_bus_range() 74 if (bus_range != NULL && len > 2 * sizeof(int)) { in fixup_one_level_bus_range() 75 if (bus_range[1] > higher) in fixup_one_level_bus_range() 76 higher = bus_range[1]; in fixup_one_level_bus_range() 91 int *bus_range, len; in fixup_bus_range() local 99 bus_range = prop->value; in fixup_bus_range() 100 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); in fixup_bus_range() 899 const int *bus_range; in pmac_add_bridge() local 908 bus_range = of_get_property(dev, "bus-range", &len); in pmac_add_bridge() [all …]
|
/arch/powerpc/platforms/cell/ |
D | celleb_pci.c | 424 const int *bus_range; in phb_set_bus_ranges() local 427 bus_range = of_get_property(dev, "bus-range", &len); in phb_set_bus_ranges() 428 if (bus_range == NULL || len < 2 * sizeof(int)) in phb_set_bus_ranges() 431 phb->first_busno = bus_range[0]; in phb_set_bus_ranges() 432 phb->last_busno = bus_range[1]; in phb_set_bus_ranges()
|