Lines Matching refs:_AT
99 #define PGD_TYPE_TABLE (_AT(pgdval_t, 3) << 0)
100 #define PGD_TABLE_BIT (_AT(pgdval_t, 1) << 1)
101 #define PGD_TYPE_MASK (_AT(pgdval_t, 3) << 0)
102 #define PGD_TABLE_PXN (_AT(pgdval_t, 1) << 59)
103 #define PGD_TABLE_UXN (_AT(pgdval_t, 1) << 60)
108 #define P4D_TYPE_TABLE (_AT(p4dval_t, 3) << 0)
109 #define P4D_TABLE_BIT (_AT(p4dval_t, 1) << 1)
110 #define P4D_TYPE_MASK (_AT(p4dval_t, 3) << 0)
111 #define P4D_TYPE_SECT (_AT(p4dval_t, 1) << 0)
112 #define P4D_SECT_RDONLY (_AT(p4dval_t, 1) << 7) /* AP[2] */
113 #define P4D_TABLE_PXN (_AT(p4dval_t, 1) << 59)
114 #define P4D_TABLE_UXN (_AT(p4dval_t, 1) << 60)
119 #define PUD_TYPE_TABLE (_AT(pudval_t, 3) << 0)
120 #define PUD_TABLE_BIT (_AT(pudval_t, 1) << 1)
121 #define PUD_TYPE_MASK (_AT(pudval_t, 3) << 0)
122 #define PUD_TYPE_SECT (_AT(pudval_t, 1) << 0)
123 #define PUD_SECT_RDONLY (_AT(pudval_t, 1) << 7) /* AP[2] */
124 #define PUD_TABLE_PXN (_AT(pudval_t, 1) << 59)
125 #define PUD_TABLE_UXN (_AT(pudval_t, 1) << 60)
130 #define PMD_TYPE_MASK (_AT(pmdval_t, 3) << 0)
131 #define PMD_TYPE_TABLE (_AT(pmdval_t, 3) << 0)
132 #define PMD_TYPE_SECT (_AT(pmdval_t, 1) << 0)
133 #define PMD_TABLE_BIT (_AT(pmdval_t, 1) << 1)
138 #define PMD_SECT_USER (_AT(pmdval_t, 1) << 6) /* AP[1] */
139 #define PMD_SECT_RDONLY (_AT(pmdval_t, 1) << 7) /* AP[2] */
140 #define PMD_SECT_S (_AT(pmdval_t, 3) << 8)
141 #define PMD_SECT_AF (_AT(pmdval_t, 1) << 10)
142 #define PMD_SECT_NG (_AT(pmdval_t, 1) << 11)
143 #define PMD_SECT_CONT (_AT(pmdval_t, 1) << 52)
144 #define PMD_SECT_PXN (_AT(pmdval_t, 1) << 53)
145 #define PMD_SECT_UXN (_AT(pmdval_t, 1) << 54)
146 #define PMD_TABLE_PXN (_AT(pmdval_t, 1) << 59)
147 #define PMD_TABLE_UXN (_AT(pmdval_t, 1) << 60)
152 #define PMD_ATTRINDX(t) (_AT(pmdval_t, (t)) << 2)
153 #define PMD_ATTRINDX_MASK (_AT(pmdval_t, 7) << 2)
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)
219 #define S1_TABLE_AP (_AT(pmdval_t, 3) << 61)