Lines Matching refs:sg_pci
322 hose->sg_pci = iommu_arena_new(hose, 0xc0000000, 0x40000000, in titan_init_one_pachip_port()
324 hose->sg_pci->align_entry = 4; /* Titan caches 4 PTEs at a time */ in titan_init_one_pachip_port()
334 port->wsba[2].csr = hose->sg_pci->dma_base | 3; in titan_init_one_pachip_port()
335 port->wsm[2].csr = (hose->sg_pci->size - 1) & 0xfff00000; in titan_init_one_pachip_port()
336 port->tba[2].csr = virt_to_phys(hose->sg_pci->ptes); in titan_init_one_pachip_port()
497 if (hose->sg_pci && in titan_ioremap()
498 baddr >= (unsigned long)hose->sg_pci->dma_base && in titan_ioremap()
499 last < (unsigned long)hose->sg_pci->dma_base + hose->sg_pci->size){ in titan_ioremap()
504 baddr -= hose->sg_pci->dma_base; in titan_ioremap()
505 last -= hose->sg_pci->dma_base; in titan_ioremap()
518 ptes = hose->sg_pci->ptes; in titan_ioremap()
601 aper->arena = agp->hose->sg_pci; in titan_agp_setup()
757 if (!hose || !hose->sg_pci) in titan_agp_info()