Lines Matching refs:PAGE_SHIFT
23 #define PAGE_SHIFT 12 macro
24 #define PAGE_SIZE (__XTENSA_UL_CONST(1) << PAGE_SHIFT)
67 # define DCACHE_ALIAS_ORDER (DCACHE_WAY_SHIFT - PAGE_SHIFT)
69 # define DCACHE_ALIAS(a) (((a) & DCACHE_ALIAS_MASK) >> PAGE_SHIFT)
78 # define ICACHE_ALIAS_ORDER (ICACHE_WAY_SHIFT - PAGE_SHIFT)
80 # define ICACHE_ALIAS(a) (((a) & ICACHE_ALIAS_MASK) >> PAGE_SHIFT)
120 asm ("nsau %0, %1" : "=r" (lz) : "r" ((size - 1) >> PAGE_SHIFT)); in get_order()
162 #define ARCH_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
195 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
196 #define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT)
197 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
198 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)