Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/mmu/
Dmmu_v1.c116 u64 phys_val = get_phys_addr(ctx, val & HOP_PHYS_ADDR_MASK) | in write_pte()
270 pte_val = (hop1_addr & HOP_PHYS_ADDR_MASK) | PAGE_PRESENT_MASK; in dram_default_mapping_init()
273 pte_val = (hop2_addr & HOP_PHYS_ADDR_MASK) | PAGE_PRESENT_MASK; in dram_default_mapping_init()
279 pte_val = (ctx->dram_default_hops[i] & HOP_PHYS_ADDR_MASK) | in dram_default_mapping_init()
286 pte_val = (prop->mmu_dram_default_page_addr & HOP_PHYS_ADDR_MASK) | in dram_default_mapping_init()
532 HOP_PHYS_ADDR_MASK) | mmu_prop->last_mask | in hl_mmu_v1_unmap()
634 HOP_PHYS_ADDR_MASK) | mmu_prop->last_mask | in hl_mmu_v1_map()
666 curr_pte = (phys_addr & HOP_PHYS_ADDR_MASK) | mmu_prop->last_mask in hl_mmu_v1_map()
675 curr_pte = (hop_addr[hop_idx] & HOP_PHYS_ADDR_MASK) | PAGE_PRESENT_MASK; in hl_mmu_v1_map()
Dmmu_v2_hr.c277 curr_pte = (scrambled_phys_addr & HOP_PHYS_ADDR_MASK) | mmu_prop->last_mask in _hl_mmu_v2_hr_map()
287 curr_pte = (hops_pgt_info[i]->phys_addr & HOP_PHYS_ADDR_MASK) | in _hl_mmu_v2_hr_map()
Dmmu.c716 return (curr_pte & PAGE_PRESENT_MASK) ? (curr_pte & HOP_PHYS_ADDR_MASK) : ULLONG_MAX; in hl_mmu_get_next_hop_addr()
/linux-6.6.21/drivers/accel/habanalabs/include/hw_ip/mmu/
Dmmu_general.h32 #define HOP_PHYS_ADDR_MASK (~FLAGS_MASK) macro