Searched refs:hop_addr (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/mmu/ |
D | mmu_v2.c | 60 u64 hop_addr[MMU_ARCH_6_HOPS] = { 0 }, hop_pte_addr[MMU_ARCH_6_HOPS] = { 0 }, curr_pte, in hl_mmu_v2_unmap() local 78 hop_addr[0] = hl_mmu_dr_get_hop0_addr(ctx); in hl_mmu_v2_unmap() 80 hop_addr[0], scrambled_virt_addr); in hl_mmu_v2_unmap() 87 hop_addr[i] = hl_mmu_get_next_hop_addr(ctx, curr_pte); in hl_mmu_v2_unmap() 88 if (hop_addr[i] == ULLONG_MAX) in hl_mmu_v2_unmap() 92 hop_addr[i], scrambled_virt_addr); in hl_mmu_v2_unmap() 115 if (hl_mmu_dr_put_pte(ctx, hop_addr[i])) in hl_mmu_v2_unmap() 133 u64 hop_addr[MMU_ARCH_6_HOPS] = { 0 }, hop_pte_addr[MMU_ARCH_6_HOPS] = { 0 }, in hl_mmu_v2_map() local 153 hop_addr[0] = hl_mmu_dr_get_hop0_addr(ctx); in hl_mmu_v2_map() 155 hop_addr[0], scrambled_virt_addr); in hl_mmu_v2_map() [all …]
|
D | mmu_v1.c | 222 u64 hop_addr[MMU_V1_MAX_HOPS] = {0}, hop_pte_addr[MMU_V1_MAX_HOPS] = {0}, curr_pte = 0; in hl_mmu_v1_unmap() local 234 hop_addr[hop_idx] = hl_mmu_dr_get_hop0_addr(ctx); in hl_mmu_v1_unmap() 236 hop_addr[hop_idx] = hl_mmu_get_next_hop_addr(ctx, curr_pte); in hl_mmu_v1_unmap() 237 if (hop_addr[hop_idx] == ULLONG_MAX) in hl_mmu_v1_unmap() 242 get_hop_pte_addr(ctx, mmu_prop, hop_addr, virt_addr, hop_idx); in hl_mmu_v1_unmap() 256 hop_addr[hop_idx] = hl_mmu_get_next_hop_addr(ctx, curr_pte); in hl_mmu_v1_unmap() 257 if (hop_addr[hop_idx] == ULLONG_MAX) in hl_mmu_v1_unmap() 261 get_hop_pte_addr(ctx, mmu_prop, hop_addr, virt_addr, hop_idx); in hl_mmu_v1_unmap() 286 hl_mmu_dr_put_pte(ctx, hop_addr[hop_idx]); in hl_mmu_v1_unmap() 291 if (hop_addr[MMU_HOP4]) in hl_mmu_v1_unmap() [all …]
|
D | mmu.c | 737 u8 hop_idx, u64 hop_addr, u64 virt_addr) in hl_mmu_get_hop_pte_phys_addr() argument 749 return hop_addr + ctx->hdev->asic_prop.mmu_pte_size * ((virt_addr & mask) >> shift); in hl_mmu_get_hop_pte_phys_addr() 1137 u64 hop_addr = hl_mmu_get_next_hop_addr(ctx, curr_pte); in hl_mmu_hr_get_alloc_next_hop() local 1139 if (hop_addr != ULLONG_MAX) in hl_mmu_hr_get_alloc_next_hop() 1140 return hr_func->get_pgt_info(ctx, hop_addr); in hl_mmu_hr_get_alloc_next_hop() 1187 hops->hop_info[i].hop_addr = hops_pgt_info[i]->phys_addr; in hl_mmu_hr_get_tlb_info() 1190 hops->hop_info[i].hop_addr, in hl_mmu_hr_get_tlb_info() 1219 struct pgt_info *hl_mmu_dr_get_pgt_info(struct hl_ctx *ctx, u64 hop_addr) in hl_mmu_dr_get_pgt_info() argument 1224 (unsigned long) hop_addr) in hl_mmu_dr_get_pgt_info() 1225 if (hop_addr == pgt_info->shadow_addr) in hl_mmu_dr_get_pgt_info() [all …]
|
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | habanalabs.h | 2842 u64 hop_addr; member 3893 u8 hop_idx, u64 hop_addr, u64 virt_addr); 3932 struct pgt_info *hl_mmu_dr_get_pgt_info(struct hl_ctx *ctx, u64 hop_addr); 3933 void hl_mmu_dr_free_hop(struct hl_ctx *ctx, u64 hop_addr); 3941 void hl_mmu_dr_get_pte(struct hl_ctx *ctx, u64 hop_addr); 3942 int hl_mmu_dr_put_pte(struct hl_ctx *ctx, u64 hop_addr);
|
D | debugfs.c | 461 i, hops_info.hop_info[i].hop_addr); in mmu_show()
|