Home
last modified time | relevance | path

Searched refs:PHYS_MASK (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/arch/arm/include/asm/
Dpgtable.h161 return __va(pmd_val(pmd) & PHYS_MASK & (s32)PAGE_MASK); in pmd_page_vaddr()
164 #define pmd_page(pmd) pfn_to_page(__phys_to_pfn(pmd_val(pmd) & PHYS_MASK))
166 #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT)
Dpgtable-3level.h135 return __va(pud_val(pud) & PHYS_MASK & (s32)PAGE_MASK); in pud_pgtable()
209 #define pmd_pfn(pmd) (((pmd_val(pmd) & PMD_MASK) & PHYS_MASK) >> PAGE_SHIFT)
Dpgtable-3level-hwdef.h75 #define PHYS_MASK ((1ULL << PHYS_MASK_SHIFT) - 1) macro
Dpgtable-2level-hwdef.h92 #define PHYS_MASK (~0UL) macro
Dpgtable-2level.h211 #define pmd_pfn(pmd) (__phys_to_pfn(pmd_val(pmd) & PHYS_MASK))
/Linux-v6.1/arch/arm64/mm/
Dioremap.c11 if (last_addr & ~PHYS_MASK) in ioremap_allowed()
Dmmap.c62 return !(((pfn << PAGE_SHIFT) + size) & ~PHYS_MASK); in valid_mmap_phys_addr_range()
Dinit.c90 phys_addr_t __ro_after_init arm64_dma_phys_limit = PHYS_MASK + 1;
97 #define CRASH_ADDR_HIGH_MAX (PHYS_MASK + 1)
/Linux-v6.1/arch/arm/mm/
Dmmap.c166 return (pfn + (size >> PAGE_SHIFT)) <= (1 + (PHYS_MASK >> PAGE_SHIFT)); in valid_mmap_phys_addr_range()
/Linux-v6.1/arch/arm64/include/asm/
Dpgtable-hwdef.h181 #define PHYS_MASK ((UL(1) << PHYS_MASK_SHIFT) - 1) macro