Searched refs:PHYS_MASK (Results 1 – 10 of 10) sorted by relevance
161 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)
135 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)
75 #define PHYS_MASK ((1ULL << PHYS_MASK_SHIFT) - 1) macro
92 #define PHYS_MASK (~0UL) macro
211 #define pmd_pfn(pmd) (__phys_to_pfn(pmd_val(pmd) & PHYS_MASK))
11 if (last_addr & ~PHYS_MASK) in ioremap_allowed()
62 return !(((pfn << PAGE_SHIFT) + size) & ~PHYS_MASK); in valid_mmap_phys_addr_range()
90 phys_addr_t __ro_after_init arm64_dma_phys_limit = PHYS_MASK + 1;97 #define CRASH_ADDR_HIGH_MAX (PHYS_MASK + 1)
166 return (pfn + (size >> PAGE_SHIFT)) <= (1 + (PHYS_MASK >> PAGE_SHIFT)); in valid_mmap_phys_addr_range()
181 #define PHYS_MASK ((UL(1) << PHYS_MASK_SHIFT) - 1) macro