Searched refs:hops_pgt_info (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/mmu/ |
D | mmu_v2_hr.c | 119 struct pgt_info *hops_pgt_info[MMU_ARCH_6_HOPS] = { NULL }; in _hl_mmu_v2_hr_unmap() local 138 hops_pgt_info[i] = hl_mmu_v2_hr_get_hop0_pgt_info(ctx); in _hl_mmu_v2_hr_unmap() 140 hops_pgt_info[i] = hl_mmu_hr_get_next_hop_pgt_info(ctx, in _hl_mmu_v2_hr_unmap() 142 if (!hops_pgt_info[i]) in _hl_mmu_v2_hr_unmap() 146 hops_pgt_info[i]->phys_addr, in _hl_mmu_v2_hr_unmap() 151 curr_pte = *(u64 *) (uintptr_t) hl_mmu_hr_pte_phys_to_virt(ctx, hops_pgt_info[i], in _hl_mmu_v2_hr_unmap() 171 hl_mmu_hr_clear_pte(ctx, hops_pgt_info[i], hop_pte_phys_addr[i], in _hl_mmu_v2_hr_unmap() 174 if (hl_mmu_hr_put_pte(ctx, hops_pgt_info[i], &ctx->hdev->mmu_priv.hr, in _hl_mmu_v2_hr_unmap() 178 hl_mmu_hr_clear_pte(ctx, hops_pgt_info[0], hop_pte_phys_addr[0], in _hl_mmu_v2_hr_unmap() 211 struct pgt_info *hops_pgt_info[MMU_ARCH_6_HOPS] = { NULL }; in _hl_mmu_v2_hr_map() local [all …]
|
D | mmu.c | 1159 struct pgt_info *hops_pgt_info[MMU_ARCH_6_HOPS] = { NULL }; in hl_mmu_hr_get_tlb_info() local 1179 hops_pgt_info[i] = hr_func->get_hop0_pgt_info(ctx); in hl_mmu_hr_get_tlb_info() 1181 hops_pgt_info[i] = hl_mmu_hr_get_next_hop_pgt_info(ctx, hr_func, in hl_mmu_hr_get_tlb_info() 1184 if (!hops_pgt_info[i]) in hl_mmu_hr_get_tlb_info() 1187 hops->hop_info[i].hop_addr = hops_pgt_info[i]->phys_addr; in hl_mmu_hr_get_tlb_info() 1193 hl_mmu_hr_pte_phys_to_virt(ctx, hops_pgt_info[i], in hl_mmu_hr_get_tlb_info()
|