Lines Matching refs:hops
870 struct hl_mmu_hop_info *hops) in hl_mmu_v1_get_tlb_info() argument
907 hops->hop_info[0].hop_addr = get_phys_hop0_addr(ctx); in hl_mmu_v1_get_tlb_info()
908 hops->hop_info[0].hop_pte_addr = in hl_mmu_v1_get_tlb_info()
910 hops->hop_info[0].hop_addr, virt_addr); in hl_mmu_v1_get_tlb_info()
911 hops->hop_info[0].hop_pte_val = in hl_mmu_v1_get_tlb_info()
913 hops->hop_info[0].hop_pte_addr); in hl_mmu_v1_get_tlb_info()
916 hops->hop_info[i].hop_addr = in hl_mmu_v1_get_tlb_info()
918 hops->hop_info[i - 1].hop_pte_val); in hl_mmu_v1_get_tlb_info()
919 if (hops->hop_info[i].hop_addr == ULLONG_MAX) in hl_mmu_v1_get_tlb_info()
922 hops->hop_info[i].hop_pte_addr = in hl_mmu_v1_get_tlb_info()
924 hops->hop_info[i].hop_addr, in hl_mmu_v1_get_tlb_info()
926 hops->hop_info[i].hop_pte_val = in hl_mmu_v1_get_tlb_info()
928 hops->hop_info[i].hop_pte_addr); in hl_mmu_v1_get_tlb_info()
930 if (!(hops->hop_info[i].hop_pte_val & PAGE_PRESENT_MASK)) in hl_mmu_v1_get_tlb_info()
933 if (hops->hop_info[i].hop_pte_val & LAST_MASK) in hl_mmu_v1_get_tlb_info()
941 if (!(hops->hop_info[i].hop_pte_val & PAGE_PRESENT_MASK)) in hl_mmu_v1_get_tlb_info()
944 hops->used_hops = i + 1; in hl_mmu_v1_get_tlb_info()