Searched refs:io_pdir (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | hp-agp.c | 60 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()
|
H A D | parisc-agp.c | 254 u64 iova_base, *io_pdir, io_tlb_ps; in agp_ioc_init() local 283 io_pdir = phys_to_virt(readq(info->ioc_regs+IOC_PDIR_BASE)); in agp_ioc_init() 284 info->gatt = &io_pdir[(PLUTO_IOVA_SIZE/2) >> PAGE_SHIFT]; in agp_ioc_init()
|
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | hp-agp.c | 60 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()
|
H A D | parisc-agp.c | 256 __le64 *io_pdir; in agp_ioc_init() local 285 io_pdir = phys_to_virt(readq(info->ioc_regs+IOC_PDIR_BASE)); in agp_ioc_init() 286 info->gatt = &io_pdir[(PLUTO_IOVA_SIZE/2) >> PAGE_SHIFT]; in agp_ioc_init()
|
Completed in 3 milliseconds