Lines Matching refs:hose
40 static void volatile __iomem *pa_pxp_cfg_addr(struct pci_controller *hose,
43 return hose->cfg_data + PA_PXP_CFA(bus, devfn, offset);
61 struct pci_controller *hose;
69 hose = pci_bus_to_host(bus);
71 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset & ~0x3);
78 dummy = pa_pxp_cfg_addr(hose, bus->number, devfn, 0x10);
159 struct pci_controller *hose;
162 hose = pci_bus_to_host(bus);
163 if (!hose)
172 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset);
198 struct pci_controller *hose;
201 hose = pci_bus_to_host(bus);
202 if (!hose)
208 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset);
235 static void __init setup_pa_pxp(struct pci_controller *hose)
237 hose->ops = &pa_pxp_ops;
238 hose->cfg_data = ioremap(0xe0000000, 0x10000000);
243 struct pci_controller *hose;
247 hose = pcibios_alloc_controller(dev);
248 if (!hose)
251 hose->first_busno = 0;
252 hose->last_busno = 0xff;
253 hose->controller_ops = pasemi_pci_controller_ops;
255 setup_pa_pxp(hose);
260 pci_process_bridge_OF_ranges(hose, dev, 1);
266 isa_bridge_find_early(hose);
289 struct pci_controller *hose;
291 hose = pci_bus_to_host(dev->bus);
293 return (void __iomem *)pa_pxp_cfg_addr(hose, dev->bus->number, dev->devfn, offset);