Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/misc/habanalabs/common/mmu/
Dmmu_v1.c270 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()
280 PAGE_PRESENT_MASK; in dram_default_mapping_init()
287 LAST_MASK | PAGE_PRESENT_MASK; in dram_default_mapping_init()
534 PAGE_PRESENT_MASK; in hl_mmu_v1_unmap()
542 if (!(curr_pte & PAGE_PRESENT_MASK)) { in hl_mmu_v1_unmap()
553 if (!(curr_pte & PAGE_PRESENT_MASK)) in hl_mmu_v1_unmap()
636 PAGE_PRESENT_MASK; in hl_mmu_v1_map()
653 } else if (curr_pte & PAGE_PRESENT_MASK) { in hl_mmu_v1_map()
668 | PAGE_PRESENT_MASK; in hl_mmu_v1_map()
[all …]
Dmmu_v2_hr.c167 if (!(curr_pte & PAGE_PRESENT_MASK)) in _hl_mmu_v2_hr_unmap()
261 if (curr_pte & PAGE_PRESENT_MASK) { in _hl_mmu_v2_hr_map()
278 | PAGE_PRESENT_MASK; in _hl_mmu_v2_hr_map()
288 PAGE_PRESENT_MASK; in _hl_mmu_v2_hr_map()
Dmmu.c751 return (curr_pte & PAGE_PRESENT_MASK) ? (curr_pte & HOP_PHYS_ADDR_MASK) : ULLONG_MAX; in hl_mmu_get_next_hop_addr()
1225 if (!(hops->hop_info[i].hop_pte_val & PAGE_PRESENT_MASK)) in hl_mmu_hr_get_tlb_info()
/Linux-v6.1/drivers/misc/habanalabs/include/hw_ip/mmu/
Dmmu_general.h24 #define PAGE_PRESENT_MASK 0x0000000000001ull macro