Lines Matching refs:hose
129 struct pci_controller *hose, *tmp;
145 /* For each hose, we begin searching bridges */
146 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) {
147 struct device_node* node = hose->dn;
151 make_one_node_map(node, hose->first_busno);
236 struct pci_controller *hose = pci_bus_to_host(bus);
237 if (hose == NULL)
239 return of_node_get(hose->dn);
295 struct pci_controller* hose;
299 hose = pci_find_hose_for_OF_device(node);
300 if (!hose || !hose->dn)
302 if (!scan_OF_pci_childs(hose->dn,
354 void __devinit pcibios_setup_phb_io_space(struct pci_controller *hose)
357 struct resource *res = &hose->io_resource;
360 io_offset = (unsigned long)hose->io_base_virt - isa_io_base;
367 struct pci_controller *hose, *tmp;
376 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) {
378 hose->first_busno = next_busno;
379 hose->last_busno = 0xff;
380 pcibios_scan_phb(hose, hose);
381 pci_bus_add_devices(hose->bus);
382 if (pci_assign_all_buses || next_busno <= hose->last_busno)
383 next_busno = hose->last_busno + pcibios_assign_bus_offset;
409 struct pci_controller *hose, *tmp;
411 list_for_each_entry_safe(hose, tmp, &hose_list, list_node)
412 if (bus >= hose->first_busno && bus <= hose->last_busno)
413 return hose;
425 struct pci_controller* hose;
428 hose = pci_bus_to_hose(bus);
429 if (!hose)
434 return (long)hose->first_busno;
436 return (long)hose->pci_mem_offset;
438 return (long)hose->io_base_phys;