Home
last modified time | relevance | path

Searched refs:PTE_T_LOG2 (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/include/asm/
Dpage_32.h22 #define PTE_SHIFT (PAGE_SHIFT - PTE_T_LOG2) /* full page */
43 #define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) macro
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)
/arch/mips/include/asm/
Dpgtable-32.h46 #define PGDIR_SHIFT (2 * PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2)
54 #define __PGD_ORDER (32 - 3 * PAGE_SHIFT + PGD_T_LOG2 + PTE_T_LOG2)
Dpgtable.h180 #define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) macro
/arch/mips/mm/
Dtlbex.c566 unsigned int shift = 4 - (PTE_T_LOG2 + 1) + PAGE_SHIFT - 12; in build_adjust_context()
567 unsigned int mask = (PTRS_PER_PTE / 2 - 1) << (PTE_T_LOG2 + 1); in build_adjust_context()
1098 UASM_i_SRL(p, pte, pte, PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2); in build_r4000_tlbchange_handler_head()
1099 uasm_i_andi(p, pte, pte, (PTRS_PER_PTE - 1) << PTE_T_LOG2); in build_r4000_tlbchange_handler_head()
/arch/powerpc/kernel/
Dasm-offsets.c387 DEFINE(PTE_T_LOG2, PTE_T_LOG2); in main()
/arch/mips/kernel/
Dasm-offsets.c194 DEFINE(_PTE_T_LOG2, PTE_T_LOG2); in output_mm_defines()