Lines Matching refs:io_tlb_shift
39 #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()
146 hp->io_tlb_shift = 12; in hp_zx1_ioc_owner()
149 hp->io_page_size = 1 << hp->io_tlb_shift; in hp_zx1_ioc_owner()