Lines Matching refs:io_tlb_shift
36 #define HP_ZX1_IOVA_TO_PDIR(va) ((va - hp_private.iova_base) >> hp_private.io_tlb_shift)
69 int io_tlb_shift; member
88 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()
143 hp->io_tlb_shift = 12; in hp_zx1_ioc_owner()
146 hp->io_page_size = 1 << hp->io_tlb_shift; in hp_zx1_ioc_owner()