Searched refs:io_tlb_shift (Results 1 – 2 of 2) sorted by relevance
36 #define HP_ZX1_IOVA_TO_PDIR(va) ((va - hp_private.iova_base) >> hp_private.io_tlb_shift)69 int io_tlb_shift; member88 case 0: hp->io_tlb_shift = 12; break; in hp_zx1_ioc_shared()89 case 1: hp->io_tlb_shift = 13; break; in hp_zx1_ioc_shared()90 case 2: hp->io_tlb_shift = 14; break; in hp_zx1_ioc_shared()91 case 3: hp->io_tlb_shift = 16; break; in hp_zx1_ioc_shared()99 hp->io_page_size = 1 << hp->io_tlb_shift; in hp_zx1_ioc_shared()134 hp->io_tlb_shift = 16; in hp_zx1_ioc_owner()137 hp->io_tlb_shift = 14; in hp_zx1_ioc_owner()140 hp->io_tlb_shift = 13; in hp_zx1_ioc_owner()[all …]
257 int io_tlb_shift; in agp_ioc_init() local265 case 0: io_tlb_shift = 12; break; in agp_ioc_init()266 case 1: io_tlb_shift = 13; break; in agp_ioc_init()267 case 2: io_tlb_shift = 14; break; in agp_ioc_init()268 case 3: io_tlb_shift = 16; break; in agp_ioc_init()276 info->io_page_size = 1 << io_tlb_shift; in agp_ioc_init()