Home
last modified time | relevance | path

Searched refs:io_pdir (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/char/agp/
Dhp-agp.c63 u64 *io_pdir; // PDIR for entire IOVA member
111 hp->io_pdir = phys_to_virt(readq(hp->ioc_regs+HP_ZX1_PDIR_BASE)); in hp_zx1_ioc_shared()
112 hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; in hp_zx1_ioc_shared()
250 writel(virt_to_phys(hp->io_pdir), hp->ioc_regs+HP_ZX1_PDIR_BASE); in hp_zx1_configure()
297 hp->io_pdir = (u64 *) __get_free_pages(GFP_KERNEL, in hp_zx1_create_gatt_table()
299 if (!hp->io_pdir) { in hp_zx1_create_gatt_table()
306 memset(hp->io_pdir, 0, hp->io_pdir_size); in hp_zx1_create_gatt_table()
308 hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; in hp_zx1_create_gatt_table()
324 free_pages((unsigned long) hp->io_pdir, in hp_zx1_free_gatt_table()
Dparisc-agp.c245 u64 iova_base, *io_pdir, io_tlb_ps; in agp_ioc_init() local
274 io_pdir = phys_to_virt(readq(info->ioc_regs+IOC_PDIR_BASE)); in agp_ioc_init()
275 info->gatt = &io_pdir[(PLUTO_IOVA_SIZE/2) >> PAGE_SHIFT]; in agp_ioc_init()