Lines Matching defs:hose

99 			struct pci_controller *hose = dev->sysdata;
100 struct pci_iommu_arena *pci = hose->sg_pci;
131 struct pci_controller *hose = dev->sysdata;
137 if (start - hose->io_space->start < PCIBIOS_MIN_IO)
138 start = PCIBIOS_MIN_IO + hose->io_space->start;
148 if (start - hose->mem_space->start < PCIBIOS_MIN_MEM)
149 start = PCIBIOS_MIN_MEM + hose->mem_space->start;
170 if (hose->sparse_mem_base && size <= 7 * 16*MB) {
323 struct pci_controller *hose;
334 for (next_busno = 0, hose = hose_head; hose; hose = hose->next) {
335 sg_base = hose->sg_pci ? hose->sg_pci->dma_base : ~0;
337 /* Adjust hose mem_space limit to prevent PCI allocations
340 end = hose->mem_space->start + pci_mem_end;
341 if (hose->mem_space->end > end)
342 hose->mem_space->end = end;
345 pci_add_resource_offset(&resources, hose->io_space,
346 hose->io_space->start);
347 pci_add_resource_offset(&resources, hose->mem_space,
348 hose->mem_space->start);
356 bridge->sysdata = hose;
368 bus = hose->bus = bridge->bus;
369 hose->need_domain_info = need_domain_info;
371 /* Don't allow 8-bit bus number overflow inside the hose -
382 for (hose = hose_head; hose; hose = hose->next) {
383 bus = hose->bus;
392 struct pci_controller *hose;
394 hose = memblock_alloc_or_panic(sizeof(*hose), SMP_CACHE_BYTES);
396 *hose_tail = hose;
397 hose_tail = &hose->next;
399 return hose;
410 memory. Do this on a per-card basis so that we choose the right hose. */
415 struct pci_controller *hose;
418 /* from hose or from bus.devfn */
420 for(hose = hose_head; hose; hose = hose->next)
421 if (hose->index == bus) break;
422 if (!hose) return -ENODEV;
426 hose = pci_isa_hose;
431 hose = dev->sysdata;
438 return hose->index;
440 return hose->sparse_mem_base;
442 return hose->dense_mem_base;
444 return hose->sparse_io_base;
446 return hose->dense_io_base;
448 return hose->bus->number;