Lines Matching refs:hop_info
266 hops->hop_info[0].hop_addr = hl_mmu_dr_get_phys_hop0_addr(ctx); in hl_mmu_v2_get_tlb_info()
267 hops->hop_info[0].hop_pte_addr = hl_mmu_get_hop_pte_phys_addr(ctx, mmu_prop, 0, in hl_mmu_v2_get_tlb_info()
268 hops->hop_info[0].hop_addr, in hl_mmu_v2_get_tlb_info()
270 if (hops->hop_info[0].hop_pte_addr == U64_MAX) in hl_mmu_v2_get_tlb_info()
273 hops->hop_info[0].hop_pte_val = hdev->asic_funcs->read_pte(hdev, in hl_mmu_v2_get_tlb_info()
274 hops->hop_info[0].hop_pte_addr); in hl_mmu_v2_get_tlb_info()
275 if (hops->hop_info[0].hop_pte_val == U64_MAX) in hl_mmu_v2_get_tlb_info()
279 hops->hop_info[i].hop_addr = in hl_mmu_v2_get_tlb_info()
280 hl_mmu_get_next_hop_addr(ctx, hops->hop_info[i - 1].hop_pte_val); in hl_mmu_v2_get_tlb_info()
281 if (hops->hop_info[i].hop_addr == ULLONG_MAX) in hl_mmu_v2_get_tlb_info()
284 hops->hop_info[i].hop_pte_addr = in hl_mmu_v2_get_tlb_info()
286 hops->hop_info[i].hop_addr, in hl_mmu_v2_get_tlb_info()
288 if (hops->hop_info[i].hop_pte_addr == U64_MAX) in hl_mmu_v2_get_tlb_info()
291 hops->hop_info[i].hop_pte_val = in hl_mmu_v2_get_tlb_info()
293 hops->hop_info[i].hop_pte_addr); in hl_mmu_v2_get_tlb_info()
295 if (!(hops->hop_info[i].hop_pte_val & PAGE_PRESENT_MASK)) in hl_mmu_v2_get_tlb_info()
298 if (hops->hop_info[i].hop_pte_val & mmu_prop->last_mask) in hl_mmu_v2_get_tlb_info()
306 if (!(hops->hop_info[i].hop_pte_val & PAGE_PRESENT_MASK)) in hl_mmu_v2_get_tlb_info()
311 (hdev, hops->hop_info[i].hop_pte_val); in hl_mmu_v2_get_tlb_info()
313 hops->unscrambled_paddr = hops->hop_info[i].hop_pte_val; in hl_mmu_v2_get_tlb_info()