Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/char/agp/
Dhp-agp.c60 u64 *io_pdir; // PDIR for entire IOVA member
108 hp->io_pdir = phys_to_virt(readq(hp->ioc_regs+HP_ZX1_PDIR_BASE)); in hp_zx1_ioc_shared()
109 hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; in hp_zx1_ioc_shared()
247 writel(virt_to_phys(hp->io_pdir), hp->ioc_regs+HP_ZX1_PDIR_BASE); in hp_zx1_configure()
294 hp->io_pdir = (u64 *) __get_free_pages(GFP_KERNEL, in hp_zx1_create_gatt_table()
296 if (!hp->io_pdir) { in hp_zx1_create_gatt_table()
303 memset(hp->io_pdir, 0, hp->io_pdir_size); in hp_zx1_create_gatt_table()
305 hp->gatt = &hp->io_pdir[HP_ZX1_IOVA_TO_PDIR(hp->gart_base)]; in hp_zx1_create_gatt_table()
321 free_pages((unsigned long) hp->io_pdir, in hp_zx1_free_gatt_table()
Dparisc-agp.c241 u64 iova_base, *io_pdir, io_tlb_ps; in agp_ioc_init() local
270 io_pdir = phys_to_virt(readq(info->ioc_regs+IOC_PDIR_BASE)); in agp_ioc_init()
271 info->gatt = &io_pdir[(PLUTO_IOVA_SIZE/2) >> PAGE_SHIFT]; in agp_ioc_init()