Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/char/agp/
Dhp-agp.c39 #define HP_ZX1_IOVA_TO_PDIR(va) ((va - hp_private.iova_base) >> hp_private.io_tlb_shift)
72 int io_tlb_shift; member
91 case 0: hp->io_tlb_shift = 12; break; in hp_zx1_ioc_shared()
92 case 1: hp->io_tlb_shift = 13; break; in hp_zx1_ioc_shared()
93 case 2: hp->io_tlb_shift = 14; break; in hp_zx1_ioc_shared()
94 case 3: hp->io_tlb_shift = 16; break; in hp_zx1_ioc_shared()
102 hp->io_page_size = 1 << hp->io_tlb_shift; in hp_zx1_ioc_shared()
137 hp->io_tlb_shift = 16; in hp_zx1_ioc_owner()
140 hp->io_tlb_shift = 14; in hp_zx1_ioc_owner()
143 hp->io_tlb_shift = 13; in hp_zx1_ioc_owner()
[all …]
Dparisc-agp.c246 int io_tlb_shift; in agp_ioc_init() local
254 case 0: io_tlb_shift = 12; break; in agp_ioc_init()
255 case 1: io_tlb_shift = 13; break; in agp_ioc_init()
256 case 2: io_tlb_shift = 14; break; in agp_ioc_init()
257 case 3: io_tlb_shift = 16; break; in agp_ioc_init()
265 info->io_page_size = 1 << io_tlb_shift; in agp_ioc_init()