Lines Matching refs:hose
16 static int hose_mmap_page_range(struct pci_controller *hose,
23 base = sparse ? hose->sparse_mem_base : hose->dense_mem_base;
25 base = sparse ? hose->sparse_io_base : hose->dense_io_base;
138 struct pci_controller *hose = pdev->sysdata;
148 dense_offset = (long)(hose->dense_mem_base - hose->sparse_mem_base);
176 struct pci_controller *hose = pdev->sysdata;
183 sparse_base = hose->sparse_mem_base;
184 dense_base = hose->dense_mem_base;
191 sparse_base = hose->sparse_io_base;
192 dense_base = hose->dense_io_base;
252 static int __legacy_mmap_fits(struct pci_controller *hose,
264 WARN(1, "process \"%s\" tried to map%s 0x%08lx-0x%08lx on hose %d "
267 hose->index, size);
271 static inline int has_sparse(struct pci_controller *hose,
276 base = (mmap_type == pci_mmap_mem) ? hose->sparse_mem_base :
277 hose->sparse_io_base;
285 struct pci_controller *hose = bus->sysdata;
286 int sparse = has_sparse(hose, mmap_type);
291 if (!__legacy_mmap_fits(hose, vma, res_size, sparse))
294 return hose_mmap_page_range(hose, vma, mmap_type, sparse);
306 struct pci_controller *hose = bus->sysdata;
308 if (!has_sparse(hose, mmap_type))
324 struct pci_controller *hose = bus->sysdata;
326 port += hose->io_space->start;
348 struct pci_controller *hose = bus->sysdata;
350 port += hose->io_space->start;