Lines Matching refs:hose
18 static int hose_mmap_page_range(struct pci_controller *hose,
25 base = sparse ? hose->sparse_mem_base : hose->dense_mem_base;
27 base = sparse ? hose->sparse_io_base : hose->dense_io_base;
140 struct pci_controller *hose = pdev->sysdata;
150 dense_offset = (long)(hose->dense_mem_base - hose->sparse_mem_base);
178 struct pci_controller *hose = pdev->sysdata;
185 sparse_base = hose->sparse_mem_base;
186 dense_base = hose->dense_mem_base;
193 sparse_base = hose->sparse_io_base;
194 dense_base = hose->dense_io_base;
256 static int __legacy_mmap_fits(struct pci_controller *hose,
268 WARN(1, "process \"%s\" tried to map%s 0x%08lx-0x%08lx on hose %d "
271 hose->index, size);
275 static inline int has_sparse(struct pci_controller *hose,
280 base = (mmap_type == pci_mmap_mem) ? hose->sparse_mem_base :
281 hose->sparse_io_base;
289 struct pci_controller *hose = bus->sysdata;
290 int sparse = has_sparse(hose, mmap_type);
295 if (!__legacy_mmap_fits(hose, vma, res_size, sparse))
298 return hose_mmap_page_range(hose, vma, mmap_type, sparse);
310 struct pci_controller *hose = bus->sysdata;
312 if (!has_sparse(hose, mmap_type))
328 struct pci_controller *hose = bus->sysdata;
330 port += hose->io_space->start;
352 struct pci_controller *hose = bus->sysdata;
354 port += hose->io_space->start;