Searched refs:curr_pte (Results 1 – 3 of 3) sorted by relevance
221 static inline u64 get_next_hop_addr(struct hl_ctx *ctx, u64 curr_pte) in get_next_hop_addr() argument223 if (curr_pte & PAGE_PRESENT_MASK) in get_next_hop_addr()224 return curr_pte & HOP_PHYS_ADDR_MASK; in get_next_hop_addr()229 static inline u64 get_alloc_next_hop_addr(struct hl_ctx *ctx, u64 curr_pte, in get_alloc_next_hop_addr() argument232 u64 hop_addr = get_next_hop_addr(ctx, curr_pte); in get_alloc_next_hop_addr()535 curr_pte; in _hl_mmu_v1_unmap() local544 curr_pte = *(u64 *) (uintptr_t) hop0_pte_addr; in _hl_mmu_v1_unmap()546 hop1_addr = get_next_hop_addr(ctx, curr_pte); in _hl_mmu_v1_unmap()553 curr_pte = *(u64 *) (uintptr_t) hop1_pte_addr; in _hl_mmu_v1_unmap()555 hop2_addr = get_next_hop_addr(ctx, curr_pte); in _hl_mmu_v1_unmap()[all …]
365 static inline u64 get_next_hop_addr(u64 curr_pte) in get_next_hop_addr() argument367 if (curr_pte & PAGE_PRESENT_MASK) in get_next_hop_addr()368 return curr_pte & HOP_PHYS_ADDR_MASK; in get_next_hop_addr()
570 pt_element_t curr_pte; in FNAME() local582 curr_pte = gw->prefetch_ptes[index]; in FNAME()585 &curr_pte, sizeof(curr_pte)); in FNAME()587 return r || curr_pte != gw->ptes[level - 1]; in FNAME()