Lines Matching refs:hose

31 static void pcibios_scanbus(struct pci_channel *hose)
45 for (i = 0; i < hose->nr_resources; i++) {
46 res = hose->resources + i;
51 offset = hose->io_offset;
53 offset = hose->mem_offset;
59 bridge->sysdata = hose;
61 bridge->ops = hose->pci_ops;
71 hose->bus = bridge->bus;
73 need_domain_info = need_domain_info || hose->index;
74 hose->need_domain_info = need_domain_info;
76 next_busno = hose->bus->busn_res.end + 1;
77 /* Don't allow 8-bit bus number overflow inside the hose -
84 pci_bus_size_bridges(hose->bus);
85 pci_bus_assign_resources(hose->bus);
86 pci_bus_add_devices(hose->bus);
96 int register_pci_controller(struct pci_channel *hose)
100 for (i = 0; i < hose->nr_resources; i++) {
101 struct resource *res = hose->resources + i;
115 *hose_tail = hose;
116 hose_tail = &hose->next;
121 if (!hose->io_map_base) {
128 pcibios_enable_timers(hose);
136 pcibios_scanbus(hose);
144 release_resource(&hose->resources[i]);
152 struct pci_channel *hose;
155 for (hose = hose_head; hose; hose = hose->next)
156 pcibios_scanbus(hose);
174 struct pci_channel *hose = dev->sysdata;
178 if (start < PCIBIOS_MIN_IO + hose->resources[0].start)
179 start = PCIBIOS_MIN_IO + hose->resources[0].start;
192 pcibios_bus_report_status_early(struct pci_channel *hose,
203 ret = early_read_config_word(hose, top_bus, current_bus,
210 early_write_config_word(hose, top_bus, current_bus,
260 struct pci_channel *hose;
262 for (hose = hose_head; hose; hose = hose->next) {
263 if (unlikely(!hose->bus))
264 pcibios_bus_report_status_early(hose, hose_head->index,
265 hose->index, status_mask, warn);
267 pcibios_bus_report_status(hose->bus, status_mask, warn);