Home
last modified time | relevance | path

Searched refs:put_pte (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
H A Dmmu_v1.c148 * put_pte - decrement the num of ptes and free the hop if possible
156 static inline int put_pte(struct hl_ctx *ctx, u64 hop_addr) in put_pte() function
385 put_pte(ctx, ctx->dram_default_hops[i]); in dram_default_mapping_fini()
394 put_pte(ctx, hop2_addr); in dram_default_mapping_fini()
399 put_pte(ctx, hop1_addr); in dram_default_mapping_fini()
614 put_pte(ctx, hop3_addr); in _hl_mmu_v1_unmap()
624 if (hop4_addr && !put_pte(ctx, hop4_addr)) in _hl_mmu_v1_unmap()
632 if (put_pte(ctx, hop3_addr)) in _hl_mmu_v1_unmap()
637 if (put_pte(ctx, hop2_addr)) in _hl_mmu_v1_unmap()
642 if (put_pte(ct in _hl_mmu_v1_unmap()
[all...]
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/mmu/
H A Dmmu_v1.c149 * put_pte - decrement the num of ptes and free the hop if possible
157 static inline int put_pte(struct hl_ctx *ctx, u64 hop_addr) in put_pte() function
342 put_pte(ctx, ctx->dram_default_hops[i]); in dram_default_mapping_fini()
350 put_pte(ctx, hop2_addr); in dram_default_mapping_fini()
355 put_pte(ctx, hop1_addr); in dram_default_mapping_fini()
550 put_pte(ctx, hop_addr[hop_idx]); in hl_mmu_v1_unmap()
560 if (hop_addr[MMU_HOP4] && !put_pte(ctx, hop_addr[MMU_HOP4])) in hl_mmu_v1_unmap()
572 if (put_pte(ctx, hop_addr[hop_idx])) in hl_mmu_v1_unmap()

Completed in 3 milliseconds