Home
last modified time | relevance | path

Searched refs:PTE_SHIFT (Results 1 – 6 of 6) sorted by relevance

/arch/sh/include/asm/
Dpgtable.h57 #define PTE_SHIFT PAGE_SHIFT macro
58 #define PTE_BITS (PTE_SHIFT - PTE_MAGNITUDE)
61 #define PGDIR_SHIFT (PTE_SHIFT + PTE_BITS)
/arch/powerpc/include/asm/
Dmmu-44x.h92 #define PPC44x_PTE_ADD_SHIFT (32 - PGDIR_SHIFT + PTE_SHIFT + PTE_T_LOG2)
93 #define PPC44x_PTE_ADD_MASK_BIT (32 - PTE_T_LOG2 - PTE_SHIFT)
Dpage_32.h22 #define PTE_SHIFT (PAGE_SHIFT - PTE_T_LOG2) /* full page */ macro
Dhighmem.h48 #define PKMAP_ORDER PTE_SHIFT
Dpgtable-ppc32.h81 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_SHIFT)
90 #define PTE_TABLE_SIZE (sizeof(pte_t) << PTE_SHIFT)
94 #define PTRS_PER_PTE (1 << PTE_SHIFT)
/arch/parisc/include/asm/
Dpgtable.h146 #define PTE_SHIFT xlate_pabit(_PAGE_USER_BIT) macro
153 #define PTE_FILE_MAX_BITS (BITS_PER_LONG - PTE_SHIFT)
155 #define pte_to_pgoff(pte) (pte_val(pte) >> PTE_SHIFT)
156 #define pgoff_to_pte(off) ((pte_t) { ((off) << PTE_SHIFT) | _PAGE_FILE })