Lines Matching +full:user +full:- +full:defined
1 /* SPDX-License-Identifier: GPL-2.0 */
8 #include <asm/asm-const.h>
36 #define PPC44x_TLB_U0 0x00008000 /* User 0 */
37 #define PPC44x_TLB_U1 0x00004000 /* User 1 */
38 #define PPC44x_TLB_U2 0x00002000 /* User 2 */
39 #define PPC44x_TLB_U3 0x00001000 /* User 3 */
40 #define PPC44x_TLB_W 0x00000800 /* Caching is write-through */
47 #define PPC44x_TLB_UX 0x00000020 /* User execution */
48 #define PPC44x_TLB_UW 0x00000010 /* User write */
49 #define PPC44x_TLB_UR 0x00000008 /* User read */
82 #define PPC47x_TLB2_U0 0x00008000 /* User 0 */
83 #define PPC47x_TLB2_U1 0x00004000 /* User 1 */
84 #define PPC47x_TLB2_U2 0x00002000 /* User 2 */
85 #define PPC47x_TLB2_U3 0x00001000 /* User 3 */
86 #define PPC47x_TLB2_W 0x00000800 /* Caching is write-through */
92 #define PPC47x_TLB2_UX 0x00000020 /* User execution */
93 #define PPC47x_TLB2_UW 0x00000010 /* User write */
94 #define PPC47x_TLB2_UR 0x00000008 /* User read */
130 #if defined(CONFIG_PPC_4K_PAGES)
134 #elif defined(CONFIG_PPC_16K_PAGES)
138 #elif defined(CONFIG_PPC_64K_PAGES)
142 #elif defined(CONFIG_PPC_256K_PAGES)
151 #define PPC44x_PGD_OFF_SHIFT (32 - PGDIR_SHIFT + PGD_T_LOG2)
152 #define PPC44x_PGD_OFF_MASK_BIT (PGDIR_SHIFT - PGD_T_LOG2)
153 #define PPC44x_PTE_ADD_SHIFT (32 - PGDIR_SHIFT + PTE_SHIFT + PTE_T_LOG2)
154 #define PPC44x_PTE_ADD_MASK_BIT (32 - PTE_T_LOG2 - PTE_SHIFT)