Lines Matching refs:pteval_t
158 #define PTE_VALID (_AT(pteval_t, 1) << 0)
159 #define PTE_TYPE_MASK (_AT(pteval_t, 3) << 0)
160 #define PTE_TYPE_PAGE (_AT(pteval_t, 3) << 0)
161 #define PTE_TABLE_BIT (_AT(pteval_t, 1) << 1)
162 #define PTE_USER (_AT(pteval_t, 1) << 6) /* AP[1] */
163 #define PTE_RDONLY (_AT(pteval_t, 1) << 7) /* AP[2] */
164 #define PTE_SHARED (_AT(pteval_t, 3) << 8) /* SH[1:0], inner shareable */
165 #define PTE_AF (_AT(pteval_t, 1) << 10) /* Access Flag */
166 #define PTE_NG (_AT(pteval_t, 1) << 11) /* nG */
167 #define PTE_GP (_AT(pteval_t, 1) << 50) /* BTI guarded */
168 #define PTE_DBM (_AT(pteval_t, 1) << 51) /* Dirty Bit Management */
169 #define PTE_CONT (_AT(pteval_t, 1) << 52) /* Contiguous range */
170 #define PTE_PXN (_AT(pteval_t, 1) << 53) /* Privileged XN */
171 #define PTE_UXN (_AT(pteval_t, 1) << 54) /* User XN */
172 #define PTE_SWBITS_MASK _AT(pteval_t, (BIT(63) | GENMASK(58, 55)))
174 #define PTE_ADDR_LOW (((_AT(pteval_t, 1) << (50 - PAGE_SHIFT)) - 1) << PAGE_SHIFT)
177 #define PTE_ADDR_HIGH (_AT(pteval_t, 0xf) << 12)
181 #define PTE_ADDR_HIGH (_AT(pteval_t, 0x3) << 8)
190 #define PTE_ATTRINDX(t) (_AT(pteval_t, (t)) << 2)
191 #define PTE_ATTRINDX_MASK (_AT(pteval_t, 7) << 2)
204 #define PTE_PO_IDX_0 (_AT(pteval_t, 1) << 60)
205 #define PTE_PO_IDX_1 (_AT(pteval_t, 1) << 61)
206 #define PTE_PO_IDX_2 (_AT(pteval_t, 1) << 62)
214 #define PTE_S2_MEMATTR(t) (_AT(pteval_t, (t)) << 2)