Lines Matching refs:hop_last
66 int i, hop_last; in hl_mmu_v2_unmap() local
74 hop_last = mmu_prop->num_hops - 1; in hl_mmu_v2_unmap()
98 if ((i <= hop_last) && (curr_pte & mmu_prop->last_mask)) { in hl_mmu_v2_unmap()
99 hop_last = i; in hl_mmu_v2_unmap()
113 for (i = hop_last ; i > 0 ; i--) { in hl_mmu_v2_unmap()
139 int rc, i, hop_last; in hl_mmu_v2_map() local
147 hop_last = mmu_prop->num_hops - 1; in hl_mmu_v2_map()
159 for (i = 1 ; i <= hop_last ; i++) { in hl_mmu_v2_map()
186 for (i = 0 ; i <= hop_last ; i++) in hl_mmu_v2_map()
199 hl_mmu_dr_write_final_pte(ctx, hop_pte_addr[hop_last], curr_pte); in hl_mmu_v2_map()
202 for (i = 1 ; i <= hop_last ; i++) { in hl_mmu_v2_map()
211 hl_mmu_dr_get_pte(ctx, hop_addr[hop_last]); in hl_mmu_v2_map()
216 for (i = 1 ; i <= hop_last ; i++) in hl_mmu_v2_map()