Lines Matching refs:num_hops
596 int num_hops, hop_idx, prev_hop, rc = -ENOMEM; in hl_mmu_v1_map() local
616 num_hops = is_huge ? (MMU_V1_MAX_HOPS - 1) : MMU_V1_MAX_HOPS; in hl_mmu_v1_map()
618 for (hop_idx = MMU_HOP0; hop_idx < num_hops; hop_idx++) { in hl_mmu_v1_map()
646 for (hop_idx = MMU_HOP1; hop_idx < num_hops; hop_idx++) { in hl_mmu_v1_map()
658 for (hop_idx = MMU_HOP0; hop_idx < num_hops; hop_idx++) in hl_mmu_v1_map()
670 write_final_pte(ctx, hop_pte_addr[num_hops - 1], curr_pte); in hl_mmu_v1_map()
672 for (hop_idx = MMU_HOP1; hop_idx < num_hops; hop_idx++) { in hl_mmu_v1_map()
683 get_pte(ctx, hop_addr[num_hops - 1]); in hl_mmu_v1_map()
688 for (hop_idx = num_hops; hop_idx > MMU_HOP0; hop_idx--) { in hl_mmu_v1_map()
750 used_hops = mmu_prop->num_hops; in hl_mmu_v1_get_tlb_info()
787 if (i == mmu_prop->num_hops) in hl_mmu_v1_get_tlb_info()