Lines Matching refs:hose
38 struct pci_controller *hose = pci_bus_to_host(bus); in gg2_read_config() local
46 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_read_config()
65 struct pci_controller *hose = pci_bus_to_host(bus); in gg2_write_config() local
73 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_write_config()
100 struct pci_controller *hose = pci_bus_to_host(bus); in rtas_read_config() local
102 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_read_config()
103 | (hose->global_number << 24); in rtas_read_config()
115 struct pci_controller *hose = pci_bus_to_host(bus); in rtas_write_config() local
117 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_write_config()
118 | (hose->global_number << 24); in rtas_write_config()
164 setup_python(struct pci_controller *hose, struct device_node *dev) in setup_python() argument
185 setup_indirect_pci(hose, r.start + 0xf8000, r.start + 0xf8010, 0); in setup_python()
189 static void __init setup_peg2(struct pci_controller *hose, struct device_node *dev) in setup_peg2() argument
196 hose->ops = &rtas_pci_ops; in setup_peg2()
212 struct pci_controller *hose; in chrp_find_bridges() local
258 hose = pcibios_alloc_controller(dev); in chrp_find_bridges()
259 if (!hose) { 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()
271 setup_python(hose, dev); in chrp_find_bridges()
274 setup_grackle(hose); in chrp_find_bridges()
277 hose->ops = &gg2_pci_ops; in chrp_find_bridges()
278 hose->cfg_data = p; in chrp_find_bridges()
281 setup_indirect_pci(hose, 0xfec00cf8, 0xfee00cfc, 0); in chrp_find_bridges()
283 setup_peg2(hose, dev); in chrp_find_bridges()
285 setup_indirect_pci(hose, in chrp_find_bridges()
302 hose->ops = &rtas_pci_ops; in chrp_find_bridges()
305 pci_process_bridge_OF_ranges(hose, dev, index == 0); in chrp_find_bridges()