Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm64/mm/
Dmmap.c48 return !(((pfn << PAGE_SHIFT) + size) & ~PHYS_MASK); in valid_mmap_phys_addr_range()
Dioremap.c41 if (!size || last_addr < phys_addr || (last_addr & ~PHYS_MASK)) in __ioremap_caller()
Dinit.c425 arm64_dma_phys_limit = PHYS_MASK + 1; in arm64_memblock_init()
/Linux-v5.4/arch/arm/include/asm/
Dpgtable.h191 return __va(pmd_val(pmd) & PHYS_MASK & (s32)PAGE_MASK); in pmd_page_vaddr()
194 #define pmd_page(pmd) pfn_to_page(__phys_to_pfn(pmd_val(pmd) & PHYS_MASK))
211 #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT)
Dpgtable-3level.h152 return __va(pud_val(pud) & PHYS_MASK & (s32)PAGE_MASK); in pud_page_vaddr()
235 #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
/Linux-v5.4/arch/arm/mm/
Dmmap.c166 return (pfn + (size >> PAGE_SHIFT)) <= (1 + (PHYS_MASK >> PAGE_SHIFT)); in valid_mmap_phys_addr_range()
/Linux-v5.4/arch/arm64/include/asm/
Dpgtable-hwdef.h204 #define PHYS_MASK ((UL(1) << PHYS_MASK_SHIFT) - 1) macro