Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu_v1.c17 static struct pgt_info *get_pgt_info(struct hl_ctx *ctx, u64 hop_addr) in get_pgt_info() argument
22 (unsigned long) hop_addr) in get_pgt_info()
23 if (hop_addr == pgt_info->shadow_addr) in get_pgt_info()
40 static void free_hop(struct hl_ctx *ctx, u64 hop_addr) in free_hop() argument
42 struct pgt_info *pgt_info = get_pgt_info(ctx, hop_addr); in free_hop()
143 static inline void get_pte(struct hl_ctx *ctx, u64 hop_addr) in get_pte() argument
145 get_pgt_info(ctx, hop_addr)->num_of_ptes++; in get_pte()
157 static inline int put_pte(struct hl_ctx *ctx, u64 hop_addr) in put_pte() argument
159 struct pgt_info *pgt_info = get_pgt_info(ctx, hop_addr); in put_pte()
189 u64 hop_addr = hl_mmu_get_next_hop_addr(ctx, curr_pte); in get_alloc_next_hop_addr() local
[all …]
H A Dmmu.c730 u8 hop_idx, u64 hop_addr, u64 virt_addr) in hl_mmu_get_hop_pte_phys_addr() argument
742 return hop_addr + ctx->hdev->asic_prop.mmu_pte_size * ((virt_addr & mask) >> shift); in hl_mmu_get_hop_pte_phys_addr()
1130 u64 hop_addr = hl_mmu_get_next_hop_addr(ctx, curr_pte); in hl_mmu_hr_get_alloc_next_hop() local
1132 if (hop_addr != ULLONG_MAX) in hl_mmu_hr_get_alloc_next_hop()
1133 return hr_func->get_pgt_info(ctx, hop_addr); in hl_mmu_hr_get_alloc_next_hop()
1180 hops->hop_info[i].hop_addr = hops_pgt_info[i]->phys_addr; in hl_mmu_hr_get_tlb_info()
1183 hops->hop_info[i].hop_addr, in hl_mmu_hr_get_tlb_info()
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs.h2769 u64 hop_addr; member
3776 u8 hop_idx, u64 hop_addr, u64 virt_addr);
H A Ddebugfs.c468 i, hops_info.hop_info[i].hop_addr); in mmu_show()