Searched refs:PAGE_SHIFT (Results 1 – 17 of 17) sorted by relevance
21 #ifndef PAGE_SHIFT22 #define PAGE_SHIFT 12 macro25 #define PAGE_SIZE (1UL << PAGE_SHIFT)26 #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1))
31 #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)34 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT))35 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
29 #define PGDIR_SHIFT (2 * PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2)32 #define __PGD_ORDER (32 - 3 * PAGE_SHIFT + PGD_T_LOG2 + PTE_T_LOG2)62 #define __pte_offset(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
37 #define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT))
59 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
64 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT)
57 #define __phys_to_pfn(paddr) ((paddr) >> PAGE_SHIFT)58 #define __pfn_to_phys(pfn) ((pfn) << PAGE_SHIFT)70 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)74 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)77 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)80 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
15 #define PAGE_SHIFT 12 macro16 #define PAGE_SIZE (1UL << PAGE_SHIFT)
21 #define CACHE_COLOUR(vaddr) ((vaddr & (SHMLBA - 1)) >> PAGE_SHIFT)
50 #define __FIXADDR_SIZE (__end_of_permanent_fixed_addresses << PAGE_SHIFT)51 #define __FIXADDR_BOOT_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)55 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT))56 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
21 #define PAGE_SHIFT 12 macro22 #define PAGE_SIZE (1UL << PAGE_SHIFT)
31 #define pmd_populate_kernel(mm, pmd, pte) do { paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT); …32 …BLE + ((unsigned long long)page_to_pfn(pte) << (unsigned long long) PAGE_SHIFT))); } while (0)
36 #define pte_pfn(x) (pte_val(x) >> PAGE_SHIFT)37 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))39 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
145 #define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT))171 #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))174 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT))
27 #define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT)
26 #define PAGE_CACHE_SHIFT PAGE_SHIFT
432 #define BLK_BOUNCE_HIGH ((u64)blk_max_low_pfn << PAGE_SHIFT)433 #define BLK_BOUNCE_ANY ((u64)blk_max_pfn << PAGE_SHIFT)