Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/include/asm/
Dpage_32.h26 #define PTE_SHIFT (PAGE_SHIFT - PTE_T_LOG2 - 2) /* 1/4 of a page */
28 #define PTE_SHIFT (PAGE_SHIFT - PTE_T_LOG2) /* full page */
59 #define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) macro
Dmmu-44x.h150 #define PPC44x_PTE_ADD_SHIFT (32 - PGDIR_SHIFT + PTE_SHIFT + PTE_T_LOG2)
151 #define PPC44x_PTE_ADD_MASK_BIT (32 - PTE_T_LOG2 - PTE_SHIFT)
/Linux-v4.19/arch/mips/include/asm/
Dpgtable-32.h47 #define PGDIR_SHIFT (2 * PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2)
55 #define __PGD_ORDER (32 - 3 * PAGE_SHIFT + PGD_T_LOG2 + PTE_T_LOG2)
Dpgtable.h302 #define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) macro
/Linux-v4.19/arch/mips/mm/
Dtlbex.c985 unsigned int shift = 4 - (PTE_T_LOG2 + 1) + PAGE_SHIFT - 12; in build_adjust_context()
986 unsigned int mask = (PTRS_PER_PTE / 2 - 1) << (PTE_T_LOG2 + 1); in build_adjust_context()
2045 UASM_i_SRL(p, wr.r1, wr.r1, PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2); in build_r4000_tlbchange_handler_head()
2046 uasm_i_andi(p, wr.r1, wr.r1, (PTRS_PER_PTE - 1) << PTE_T_LOG2); in build_r4000_tlbchange_handler_head()
2493 pwsize |= ((PTE_T_LOG2 - PGD_T_LOG2) << MIPS_PWSIZE_PTEW_SHIFT) in config_htw_params()
/Linux-v4.19/arch/powerpc/kernel/
Dasm-offsets.c723 DEFINE(PTE_T_LOG2, PTE_T_LOG2); in main()
/Linux-v4.19/arch/mips/kernel/
Dasm-offsets.c196 DEFINE(_PTE_T_LOG2, PTE_T_LOG2); in output_mm_defines()