Home
last modified time | relevance | path

Searched refs:PAGE_SHIFT (Results 1 – 17 of 17) sorted by relevance

/development/ndk/platforms/android-9/arch-mips/include/asm/
Dpage.h21 #ifndef PAGE_SHIFT
22 #define PAGE_SHIFT 12 macro
25 #define PAGE_SIZE (1UL << PAGE_SHIFT)
26 #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1))
Dfixmap.h31 #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)
Dpgtable-32.h29 #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))
Ddma.h37 #define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT))
Dpgtable.h59 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
Dio.h64 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT)
/development/ndk/platforms/android-3/arch-arm/include/asm/
Dmemory.h57 #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)
Dpage.h15 #define PAGE_SHIFT 12 macro
16 #define PAGE_SIZE (1UL << PAGE_SHIFT)
Dcacheflush.h21 #define CACHE_COLOUR(vaddr) ((vaddr & (SHMLBA - 1)) >> PAGE_SHIFT)
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dfixmap_32.h50 #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)
Dpage_32.h21 #define PAGE_SHIFT 12 macro
22 #define PAGE_SIZE (1UL << PAGE_SHIFT)
Dpgalloc_32.h31 #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)
Dpgtable-2level.h36 #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))
Dpgtable_32.h145 #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))
/development/ndk/platforms/android-3/include/linux/
Dvmalloc.h27 #define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT)
Dpagemap.h26 #define PAGE_CACHE_SHIFT PAGE_SHIFT
Dblkdev.h432 #define BLK_BOUNCE_HIGH ((u64)blk_max_low_pfn << PAGE_SHIFT)
433 #define BLK_BOUNCE_ANY ((u64)blk_max_pfn << PAGE_SHIFT)