Home
last modified time | relevance | path

Searched refs:hop_addr (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/misc/habanalabs/
Dmmu.c16 static struct pgt_info *get_pgt_info(struct hl_ctx *ctx, u64 hop_addr) in get_pgt_info() argument
21 (unsigned long) hop_addr) in get_pgt_info()
22 if (hop_addr == pgt_info->shadow_addr) in get_pgt_info()
28 static void free_hop(struct hl_ctx *ctx, u64 hop_addr) in free_hop() argument
31 struct pgt_info *pgt_info = get_pgt_info(ctx, hop_addr); in free_hop()
135 static inline void get_pte(struct hl_ctx *ctx, u64 hop_addr) in get_pte() argument
137 get_pgt_info(ctx, hop_addr)->num_of_ptes++; in get_pte()
149 static inline int put_pte(struct hl_ctx *ctx, u64 hop_addr) in put_pte() argument
151 struct pgt_info *pgt_info = get_pgt_info(ctx, hop_addr); in put_pte()
162 free_hop(ctx, hop_addr); in put_pte()
[all …]
Ddebugfs.c310 static inline u64 get_hop0_pte_addr(struct hl_ctx *ctx, u64 hop_addr, in get_hop0_pte_addr() argument
313 return hop_addr + ctx->hdev->asic_prop.mmu_pte_size * in get_hop0_pte_addr()
317 static inline u64 get_hop1_pte_addr(struct hl_ctx *ctx, u64 hop_addr, in get_hop1_pte_addr() argument
320 return hop_addr + ctx->hdev->asic_prop.mmu_pte_size * in get_hop1_pte_addr()
324 static inline u64 get_hop2_pte_addr(struct hl_ctx *ctx, u64 hop_addr, in get_hop2_pte_addr() argument
327 return hop_addr + ctx->hdev->asic_prop.mmu_pte_size * in get_hop2_pte_addr()
331 static inline u64 get_hop3_pte_addr(struct hl_ctx *ctx, u64 hop_addr, in get_hop3_pte_addr() argument
334 return hop_addr + ctx->hdev->asic_prop.mmu_pte_size * in get_hop3_pte_addr()
338 static inline u64 get_hop4_pte_addr(struct hl_ctx *ctx, u64 hop_addr, in get_hop4_pte_addr() argument
341 return hop_addr + ctx->hdev->asic_prop.mmu_pte_size * in get_hop4_pte_addr()
[all …]