Lines Matching refs:hose
312 apecs_pci_tbi(struct pci_controller *hose, dma_addr_t start, dma_addr_t end)
323 struct pci_controller *hose;
326 * Create our single hose.
329 pci_isa_hose = hose = alloc_pci_controller();
330 hose->io_space = &ioport_resource;
331 hose->mem_space = &iomem_resource;
332 hose->index = 0;
334 hose->sparse_mem_base = APECS_SPARSE_MEM - IDENT_ADDR;
335 hose->dense_mem_base = APECS_DENSE_MEM - IDENT_ADDR;
336 hose->sparse_io_base = APECS_IO - IDENT_ADDR;
337 hose->dense_io_base = 0;
345 hose->sg_isa = iommu_arena_new(hose, 0x00800000, 0x00800000, 0);
346 hose->sg_pci = NULL;
354 *(vuip)APECS_IOC_PB2R = hose->sg_isa->dma_base | 0x000c0000;
355 *(vuip)APECS_IOC_PM2R = (hose->sg_isa->size - 1) & 0xfff00000;
356 *(vuip)APECS_IOC_TB2R = virt_to_phys(hose->sg_isa->ptes) >> 1;
358 apecs_pci_tbi(hose, 0, -1);