Lines Matching refs:pci_to_OF_bus_map
67 static u8* pci_to_OF_bus_map; variable
85 pci_to_OF_bus_map[pci_bus] = 0; in make_one_node_map()
87 pci_to_OF_bus_map[pci_bus] = bus_range[0]; in make_one_node_map()
119 pci_to_OF_bus_map = kmalloc(pci_bus_count, GFP_KERNEL); in pcibios_make_OF_bus_map()
120 if (!pci_to_OF_bus_map) { in pcibios_make_OF_bus_map()
129 pci_to_OF_bus_map[i] = 0xff; in pcibios_make_OF_bus_map()
143 memcpy(map_prop->value, pci_to_OF_bus_map, pci_bus_count); in pcibios_make_OF_bus_map()
149 if (pci_to_OF_bus_map[i] == 0xff) in pcibios_make_OF_bus_map()
151 printk("%d -> %d\n", i, pci_to_OF_bus_map[i]); in pcibios_make_OF_bus_map()
183 if (!pci_to_OF_bus_map) in pci_device_from_OF_node()
187 if (pci_to_OF_bus_map[dev->bus->number] == *bus && in pci_device_from_OF_node()