Lines Matching defs:x
28 #define S_008008_ME0PIPE1_CMDFIFO_AVAIL(x) (((unsigned)(x) & 0x0F) << 0) argument
29 #define G_008008_ME0PIPE1_CMDFIFO_AVAIL(x) (((x) >> 0) & 0x0F) argument
31 #define S_008008_ME0PIPE1_CF_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 4) argument
32 #define G_008008_ME0PIPE1_CF_RQ_PENDING(x) (((x) >> 4) & 0x1) argument
34 #define S_008008_ME0PIPE1_PF_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 5) argument
35 #define G_008008_ME0PIPE1_PF_RQ_PENDING(x) (((x) >> 5) & 0x1) argument
37 #define S_008008_ME1PIPE0_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 6) argument
38 #define G_008008_ME1PIPE0_RQ_PENDING(x) (((x) >> 6) & 0x1) argument
40 #define S_008008_ME1PIPE1_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 7) argument
41 #define G_008008_ME1PIPE1_RQ_PENDING(x) (((x) >> 7) & 0x1) argument
43 #define S_008008_ME1PIPE2_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 8) argument
44 #define G_008008_ME1PIPE2_RQ_PENDING(x) (((x) >> 8) & 0x1) argument
46 #define S_008008_ME1PIPE3_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 9) argument
47 #define G_008008_ME1PIPE3_RQ_PENDING(x) (((x) >> 9) & 0x1) argument
49 #define S_008008_ME2PIPE0_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 10) argument
50 #define G_008008_ME2PIPE0_RQ_PENDING(x) (((x) >> 10) & 0x1) argument
52 #define S_008008_ME2PIPE1_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 11) argument
53 #define G_008008_ME2PIPE1_RQ_PENDING(x) (((x) >> 11) & 0x1) argument
55 #define S_008008_ME2PIPE2_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 12) argument
56 #define G_008008_ME2PIPE2_RQ_PENDING(x) (((x) >> 12) & 0x1) argument
58 #define S_008008_ME2PIPE3_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 13) argument
59 #define G_008008_ME2PIPE3_RQ_PENDING(x) (((x) >> 13) & 0x1) argument
61 #define S_008008_RLC_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 14) argument
62 #define G_008008_RLC_RQ_PENDING(x) (((x) >> 14) & 0x1) argument
64 #define S_008008_UTCL2_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
65 #define G_008008_UTCL2_BUSY(x) (((x) >> 15) & 0x1) argument
67 #define S_008008_EA_BUSY(x) (((unsigned)(x) & 0x1) << 16) argument
68 #define G_008008_EA_BUSY(x) (((x) >> 16) & 0x1) argument
70 #define S_008008_RMI_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
71 #define G_008008_RMI_BUSY(x) (((x) >> 17) & 0x1) argument
73 #define S_008008_UTCL2_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 18) argument
74 #define G_008008_UTCL2_RQ_PENDING(x) (((x) >> 18) & 0x1) argument
76 #define S_008008_CPF_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 19) argument
77 #define G_008008_CPF_RQ_PENDING(x) (((x) >> 19) & 0x1) argument
79 #define S_008008_EA_LINK_BUSY(x) (((unsigned)(x) & 0x1) << 20) argument
80 #define G_008008_EA_LINK_BUSY(x) (((x) >> 20) & 0x1) argument
82 #define S_008008_RLC_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
83 #define G_008008_RLC_BUSY(x) (((x) >> 24) & 0x1) argument
85 #define S_008008_TC_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
86 #define G_008008_TC_BUSY(x) (((x) >> 25) & 0x1) argument
88 #define S_008008_TCC_CC_RESIDENT(x) (((unsigned)(x) & 0x1) << 26) argument
89 #define G_008008_TCC_CC_RESIDENT(x) (((x) >> 26) & 0x1) argument
91 #define S_008008_CPF_BUSY(x) (((unsigned)(x) & 0x1) << 28) argument
92 #define G_008008_CPF_BUSY(x) (((x) >> 28) & 0x1) argument
94 #define S_008008_CPC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
95 #define G_008008_CPC_BUSY(x) (((x) >> 29) & 0x1) argument
97 #define S_008008_CPG_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
98 #define G_008008_CPG_BUSY(x) (((x) >> 30) & 0x1) argument
100 #define S_008008_CPAXI_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
101 #define G_008008_CPAXI_BUSY(x) (((x) >> 31) & 0x1) argument
104 #define S_008010_ME0PIPE0_CMDFIFO_AVAIL(x) (((unsigned)(x) & 0x0F) << 0) argument
105 #define G_008010_ME0PIPE0_CMDFIFO_AVAIL(x) (((x) >> 0) & 0x0F) argument
107 #define S_008010_RSMU_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 5) argument
108 #define G_008010_RSMU_RQ_PENDING(x) (((x) >> 5) & 0x1) argument
110 #define S_008010_ME0PIPE0_CF_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 7) argument
111 #define G_008010_ME0PIPE0_CF_RQ_PENDING(x) (((x) >> 7) & 0x1) argument
113 #define S_008010_ME0PIPE0_PF_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 8) argument
114 #define G_008010_ME0PIPE0_PF_RQ_PENDING(x) (((x) >> 8) & 0x1) argument
116 #define S_008010_GDS_DMA_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 9) argument
117 #define G_008010_GDS_DMA_RQ_PENDING(x) (((x) >> 9) & 0x1) argument
119 #define S_008010_DB_CLEAN(x) (((unsigned)(x) & 0x1) << 12) argument
120 #define G_008010_DB_CLEAN(x) (((x) >> 12) & 0x1) argument
122 #define S_008010_CB_CLEAN(x) (((unsigned)(x) & 0x1) << 13) argument
123 #define G_008010_CB_CLEAN(x) (((x) >> 13) & 0x1) argument
125 #define S_008010_TA_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
126 #define G_008010_TA_BUSY(x) (((x) >> 14) & 0x1) argument
128 #define S_008010_GDS_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
129 #define G_008010_GDS_BUSY(x) (((x) >> 15) & 0x1) argument
131 #define S_008010_WD_BUSY_NO_DMA(x) (((unsigned)(x) & 0x1) << 16) argument
132 #define G_008010_WD_BUSY_NO_DMA(x) (((x) >> 16) & 0x1) argument
134 #define S_008010_VGT_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
135 #define G_008010_VGT_BUSY(x) (((x) >> 17) & 0x1) argument
137 #define S_008010_IA_BUSY_NO_DMA(x) (((unsigned)(x) & 0x1) << 18) argument
138 #define G_008010_IA_BUSY_NO_DMA(x) (((x) >> 18) & 0x1) argument
140 #define S_008010_IA_BUSY(x) (((unsigned)(x) & 0x1) << 19) argument
141 #define G_008010_IA_BUSY(x) (((x) >> 19) & 0x1) argument
143 #define S_008010_SX_BUSY(x) (((unsigned)(x) & 0x1) << 20) argument
144 #define G_008010_SX_BUSY(x) (((x) >> 20) & 0x1) argument
146 #define S_008010_WD_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
147 #define G_008010_WD_BUSY(x) (((x) >> 21) & 0x1) argument
149 #define S_008010_SPI_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
150 #define G_008010_SPI_BUSY(x) (((x) >> 22) & 0x1) argument
152 #define S_008010_BCI_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
153 #define G_008010_BCI_BUSY(x) (((x) >> 23) & 0x1) argument
155 #define S_008010_SC_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
156 #define G_008010_SC_BUSY(x) (((x) >> 24) & 0x1) argument
158 #define S_008010_PA_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
159 #define G_008010_PA_BUSY(x) (((x) >> 25) & 0x1) argument
161 #define S_008010_DB_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
162 #define G_008010_DB_BUSY(x) (((x) >> 26) & 0x1) argument
164 #define S_008010_CP_COHERENCY_BUSY(x) (((unsigned)(x) & 0x1) << 28) argument
165 #define G_008010_CP_COHERENCY_BUSY(x) (((x) >> 28) & 0x1) argument
167 #define S_008010_CP_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
168 #define G_008010_CP_BUSY(x) (((x) >> 29) & 0x1) argument
170 #define S_008010_CB_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
171 #define G_008010_CB_BUSY(x) (((x) >> 30) & 0x1) argument
173 #define S_008010_GUI_ACTIVE(x) (((unsigned)(x) & 0x1) << 31) argument
174 #define G_008010_GUI_ACTIVE(x) (((x) >> 31) & 0x1) argument
177 #define S_008014_DB_CLEAN(x) (((unsigned)(x) & 0x1) << 1) argument
178 #define G_008014_DB_CLEAN(x) (((x) >> 1) & 0x1) argument
180 #define S_008014_CB_CLEAN(x) (((unsigned)(x) & 0x1) << 2) argument
181 #define G_008014_CB_CLEAN(x) (((x) >> 2) & 0x1) argument
183 #define S_008014_RMI_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
184 #define G_008014_RMI_BUSY(x) (((x) >> 21) & 0x1) argument
186 #define S_008014_BCI_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
187 #define G_008014_BCI_BUSY(x) (((x) >> 22) & 0x1) argument
189 #define S_008014_VGT_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
190 #define G_008014_VGT_BUSY(x) (((x) >> 23) & 0x1) argument
192 #define S_008014_PA_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
193 #define G_008014_PA_BUSY(x) (((x) >> 24) & 0x1) argument
195 #define S_008014_TA_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
196 #define G_008014_TA_BUSY(x) (((x) >> 25) & 0x1) argument
198 #define S_008014_SX_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
199 #define G_008014_SX_BUSY(x) (((x) >> 26) & 0x1) argument
201 #define S_008014_SPI_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
202 #define G_008014_SPI_BUSY(x) (((x) >> 27) & 0x1) argument
204 #define S_008014_SC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
205 #define G_008014_SC_BUSY(x) (((x) >> 29) & 0x1) argument
207 #define S_008014_DB_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
208 #define G_008014_DB_BUSY(x) (((x) >> 30) & 0x1) argument
210 #define S_008014_CB_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
211 #define G_008014_CB_BUSY(x) (((x) >> 31) & 0x1) argument
214 #define S_008018_DB_CLEAN(x) (((unsigned)(x) & 0x1) << 1) argument
215 #define G_008018_DB_CLEAN(x) (((x) >> 1) & 0x1) argument
217 #define S_008018_CB_CLEAN(x) (((unsigned)(x) & 0x1) << 2) argument
218 #define G_008018_CB_CLEAN(x) (((x) >> 2) & 0x1) argument
220 #define S_008018_RMI_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
221 #define G_008018_RMI_BUSY(x) (((x) >> 21) & 0x1) argument
223 #define S_008018_BCI_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
224 #define G_008018_BCI_BUSY(x) (((x) >> 22) & 0x1) argument
226 #define S_008018_VGT_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
227 #define G_008018_VGT_BUSY(x) (((x) >> 23) & 0x1) argument
229 #define S_008018_PA_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
230 #define G_008018_PA_BUSY(x) (((x) >> 24) & 0x1) argument
232 #define S_008018_TA_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
233 #define G_008018_TA_BUSY(x) (((x) >> 25) & 0x1) argument
235 #define S_008018_SX_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
236 #define G_008018_SX_BUSY(x) (((x) >> 26) & 0x1) argument
238 #define S_008018_SPI_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
239 #define G_008018_SPI_BUSY(x) (((x) >> 27) & 0x1) argument
241 #define S_008018_SC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
242 #define G_008018_SC_BUSY(x) (((x) >> 29) & 0x1) argument
244 #define S_008018_DB_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
245 #define G_008018_DB_BUSY(x) (((x) >> 30) & 0x1) argument
247 #define S_008018_CB_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
248 #define G_008018_CB_BUSY(x) (((x) >> 31) & 0x1) argument
251 #define S_008038_DB_CLEAN(x) (((unsigned)(x) & 0x1) << 1) argument
252 #define G_008038_DB_CLEAN(x) (((x) >> 1) & 0x1) argument
254 #define S_008038_CB_CLEAN(x) (((unsigned)(x) & 0x1) << 2) argument
255 #define G_008038_CB_CLEAN(x) (((x) >> 2) & 0x1) argument
257 #define S_008038_RMI_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
258 #define G_008038_RMI_BUSY(x) (((x) >> 21) & 0x1) argument
260 #define S_008038_BCI_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
261 #define G_008038_BCI_BUSY(x) (((x) >> 22) & 0x1) argument
263 #define S_008038_VGT_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
264 #define G_008038_VGT_BUSY(x) (((x) >> 23) & 0x1) argument
266 #define S_008038_PA_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
267 #define G_008038_PA_BUSY(x) (((x) >> 24) & 0x1) argument
269 #define S_008038_TA_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
270 #define G_008038_TA_BUSY(x) (((x) >> 25) & 0x1) argument
272 #define S_008038_SX_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
273 #define G_008038_SX_BUSY(x) (((x) >> 26) & 0x1) argument
275 #define S_008038_SPI_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
276 #define G_008038_SPI_BUSY(x) (((x) >> 27) & 0x1) argument
278 #define S_008038_SC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
279 #define G_008038_SC_BUSY(x) (((x) >> 29) & 0x1) argument
281 #define S_008038_DB_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
282 #define G_008038_DB_BUSY(x) (((x) >> 30) & 0x1) argument
284 #define S_008038_CB_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
285 #define G_008038_CB_BUSY(x) (((x) >> 31) & 0x1) argument
288 #define S_00803C_DB_CLEAN(x) (((unsigned)(x) & 0x1) << 1) argument
289 #define G_00803C_DB_CLEAN(x) (((x) >> 1) & 0x1) argument
291 #define S_00803C_CB_CLEAN(x) (((unsigned)(x) & 0x1) << 2) argument
292 #define G_00803C_CB_CLEAN(x) (((x) >> 2) & 0x1) argument
294 #define S_00803C_RMI_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
295 #define G_00803C_RMI_BUSY(x) (((x) >> 21) & 0x1) argument
297 #define S_00803C_BCI_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
298 #define G_00803C_BCI_BUSY(x) (((x) >> 22) & 0x1) argument
300 #define S_00803C_VGT_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
301 #define G_00803C_VGT_BUSY(x) (((x) >> 23) & 0x1) argument
303 #define S_00803C_PA_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
304 #define G_00803C_PA_BUSY(x) (((x) >> 24) & 0x1) argument
306 #define S_00803C_TA_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
307 #define G_00803C_TA_BUSY(x) (((x) >> 25) & 0x1) argument
309 #define S_00803C_SX_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
310 #define G_00803C_SX_BUSY(x) (((x) >> 26) & 0x1) argument
312 #define S_00803C_SPI_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
313 #define G_00803C_SPI_BUSY(x) (((x) >> 27) & 0x1) argument
315 #define S_00803C_SC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
316 #define G_00803C_SC_BUSY(x) (((x) >> 29) & 0x1) argument
318 #define S_00803C_DB_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
319 #define G_00803C_DB_BUSY(x) (((x) >> 30) & 0x1) argument
321 #define S_00803C_CB_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
322 #define G_00803C_CB_BUSY(x) (((x) >> 31) & 0x1) argument
325 #define S_0300FC_OFFSET_UPDATE_DONE(x) (((unsigned)(x) & 0x1) << 0) argument
326 #define G_0300FC_OFFSET_UPDATE_DONE(x) (((x) >> 0) & 0x1) argument
329 #define S_0301E4_COHER_BASE_HI_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
330 #define G_0301E4_COHER_BASE_HI_256B(x) (((x) >> 0) & 0xFF) argument
333 #define S_0301EC_START_DELAY_COUNT(x) (((unsigned)(x) & 0x3F) << 0) argument
334 #define G_0301EC_START_DELAY_COUNT(x) (((x) >> 0) & 0x3F) argument
337 #define S_0301F0_TC_NC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
338 #define G_0301F0_TC_NC_ACTION_ENA(x) (((x) >> 3) & 0x1) argument
340 #define S_0301F0_TC_WC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
341 #define G_0301F0_TC_WC_ACTION_ENA(x) (((x) >> 4) & 0x1) argument
343 #define S_0301F0_TC_INV_METADATA_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
344 #define G_0301F0_TC_INV_METADATA_ACTION_ENA(x) (((x) >> 5) & 0x1) argument
346 #define S_0301F0_TCL1_VOL_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
347 #define G_0301F0_TCL1_VOL_ACTION_ENA(x) (((x) >> 15) & 0x1) argument
349 #define S_0301F0_TC_WB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
350 #define G_0301F0_TC_WB_ACTION_ENA(x) (((x) >> 18) & 0x1) argument
352 #define S_0301F0_TCL1_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 22) argument
353 #define G_0301F0_TCL1_ACTION_ENA(x) (((x) >> 22) & 0x1) argument
355 #define S_0301F0_TC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
356 #define G_0301F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1) argument
358 #define S_0301F0_CB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 25) argument
359 #define G_0301F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1) argument
361 #define S_0301F0_DB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 26) argument
362 #define G_0301F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1) argument
364 #define S_0301F0_SH_KCACHE_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 27) argument
365 #define G_0301F0_SH_KCACHE_ACTION_ENA(x) (((x) >> 27) & 0x1) argument
367 #define S_0301F0_SH_KCACHE_VOL_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
368 #define G_0301F0_SH_KCACHE_VOL_ACTION_ENA(x) (((x) >> 28) & 0x1) argument
370 #define S_0301F0_SH_ICACHE_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
371 #define G_0301F0_SH_ICACHE_ACTION_ENA(x) (((x) >> 29) & 0x1) argument
373 #define S_0301F0_SH_KCACHE_WB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 30) argument
374 #define G_0301F0_SH_KCACHE_WB_ACTION_ENA(x) (((x) >> 30) & 0x1) argument
379 #define S_0301FC_MEID(x) (((unsigned)(x) & 0x03) << 24) argument
380 #define G_0301FC_MEID(x) (((x) >> 24) & 0x03) argument
382 #define S_0301FC_STATUS(x) (((unsigned)(x) & 0x1) << 31) argument
383 #define G_0301FC_STATUS(x) (((x) >> 31) & 0x1) argument
386 #define S_008210_MEC1_BUSY(x) (((unsigned)(x) & 0x1) << 0) argument
387 #define G_008210_MEC1_BUSY(x) (((x) >> 0) & 0x1) argument
389 #define S_008210_MEC2_BUSY(x) (((unsigned)(x) & 0x1) << 1) argument
390 #define G_008210_MEC2_BUSY(x) (((x) >> 1) & 0x1) argument
392 #define S_008210_DC0_BUSY(x) (((unsigned)(x) & 0x1) << 2) argument
393 #define G_008210_DC0_BUSY(x) (((x) >> 2) & 0x1) argument
395 #define S_008210_DC1_BUSY(x) (((unsigned)(x) & 0x1) << 3) argument
396 #define G_008210_DC1_BUSY(x) (((x) >> 3) & 0x1) argument
398 #define S_008210_RCIU1_BUSY(x) (((unsigned)(x) & 0x1) << 4) argument
399 #define G_008210_RCIU1_BUSY(x) (((x) >> 4) & 0x1) argument
401 #define S_008210_RCIU2_BUSY(x) (((unsigned)(x) & 0x1) << 5) argument
402 #define G_008210_RCIU2_BUSY(x) (((x) >> 5) & 0x1) argument
404 #define S_008210_ROQ1_BUSY(x) (((unsigned)(x) & 0x1) << 6) argument
405 #define G_008210_ROQ1_BUSY(x) (((x) >> 6) & 0x1) argument
407 #define S_008210_ROQ2_BUSY(x) (((unsigned)(x) & 0x1) << 7) argument
408 #define G_008210_ROQ2_BUSY(x) (((x) >> 7) & 0x1) argument
410 #define S_008210_TCIU_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
411 #define G_008210_TCIU_BUSY(x) (((x) >> 10) & 0x1) argument
413 #define S_008210_SCRATCH_RAM_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
414 #define G_008210_SCRATCH_RAM_BUSY(x) (((x) >> 11) & 0x1) argument
416 #define S_008210_QU_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
417 #define G_008210_QU_BUSY(x) (((x) >> 12) & 0x1) argument
419 #define S_008210_UTCL2IU_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
420 #define G_008210_UTCL2IU_BUSY(x) (((x) >> 13) & 0x1) argument
422 #define S_008210_SAVE_RESTORE_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
423 #define G_008210_SAVE_RESTORE_BUSY(x) (((x) >> 14) & 0x1) argument
425 #define S_008210_CPG_CPC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
426 #define G_008210_CPG_CPC_BUSY(x) (((x) >> 29) & 0x1) argument
428 #define S_008210_CPF_CPC_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
429 #define G_008210_CPF_CPC_BUSY(x) (((x) >> 30) & 0x1) argument
431 #define S_008210_CPC_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
432 #define G_008210_CPC_BUSY(x) (((x) >> 31) & 0x1) argument
435 #define S_008214_MEC1_LOAD_BUSY(x) (((unsigned)(x) & 0x1) << 0) argument
436 #define G_008214_MEC1_LOAD_BUSY(x) (((x) >> 0) & 0x1) argument
438 #define S_008214_MEC1_SEMAPOHRE_BUSY(x) (((unsigned)(x) & 0x1) << 1) argument
439 #define G_008214_MEC1_SEMAPOHRE_BUSY(x) (((x) >> 1) & 0x1) argument
441 #define S_008214_MEC1_MUTEX_BUSY(x) (((unsigned)(x) & 0x1) << 2) argument
442 #define G_008214_MEC1_MUTEX_BUSY(x) (((x) >> 2) & 0x1) argument
444 #define S_008214_MEC1_MESSAGE_BUSY(x) (((unsigned)(x) & 0x1) << 3) argument
445 #define G_008214_MEC1_MESSAGE_BUSY(x) (((x) >> 3) & 0x1) argument
447 #define S_008214_MEC1_EOP_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 4) argument
448 #define G_008214_MEC1_EOP_QUEUE_BUSY(x) (((x) >> 4) & 0x1) argument
450 #define S_008214_MEC1_IQ_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 5) argument
451 #define G_008214_MEC1_IQ_QUEUE_BUSY(x) (((x) >> 5) & 0x1) argument
453 #define S_008214_MEC1_IB_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 6) argument
454 #define G_008214_MEC1_IB_QUEUE_BUSY(x) (((x) >> 6) & 0x1) argument
456 #define S_008214_MEC1_TC_BUSY(x) (((unsigned)(x) & 0x1) << 7) argument
457 #define G_008214_MEC1_TC_BUSY(x) (((x) >> 7) & 0x1) argument
459 #define S_008214_MEC1_DMA_BUSY(x) (((unsigned)(x) & 0x1) << 8) argument
460 #define G_008214_MEC1_DMA_BUSY(x) (((x) >> 8) & 0x1) argument
462 #define S_008214_MEC1_PARTIAL_FLUSH_BUSY(x) (((unsigned)(x) & 0x1) << 9) argument
463 #define G_008214_MEC1_PARTIAL_FLUSH_BUSY(x) (((x) >> 9) & 0x1) argument
465 #define S_008214_MEC1_PIPE0_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
466 #define G_008214_MEC1_PIPE0_BUSY(x) (((x) >> 10) & 0x1) argument
468 #define S_008214_MEC1_PIPE1_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
469 #define G_008214_MEC1_PIPE1_BUSY(x) (((x) >> 11) & 0x1) argument
471 #define S_008214_MEC1_PIPE2_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
472 #define G_008214_MEC1_PIPE2_BUSY(x) (((x) >> 12) & 0x1) argument
474 #define S_008214_MEC1_PIPE3_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
475 #define G_008214_MEC1_PIPE3_BUSY(x) (((x) >> 13) & 0x1) argument
477 #define S_008214_MEC2_LOAD_BUSY(x) (((unsigned)(x) & 0x1) << 16) argument
478 #define G_008214_MEC2_LOAD_BUSY(x) (((x) >> 16) & 0x1) argument
480 #define S_008214_MEC2_SEMAPOHRE_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
481 #define G_008214_MEC2_SEMAPOHRE_BUSY(x) (((x) >> 17) & 0x1) argument
483 #define S_008214_MEC2_MUTEX_BUSY(x) (((unsigned)(x) & 0x1) << 18) argument
484 #define G_008214_MEC2_MUTEX_BUSY(x) (((x) >> 18) & 0x1) argument
486 #define S_008214_MEC2_MESSAGE_BUSY(x) (((unsigned)(x) & 0x1) << 19) argument
487 #define G_008214_MEC2_MESSAGE_BUSY(x) (((x) >> 19) & 0x1) argument
489 #define S_008214_MEC2_EOP_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 20) argument
490 #define G_008214_MEC2_EOP_QUEUE_BUSY(x) (((x) >> 20) & 0x1) argument
492 #define S_008214_MEC2_IQ_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
493 #define G_008214_MEC2_IQ_QUEUE_BUSY(x) (((x) >> 21) & 0x1) argument
495 #define S_008214_MEC2_IB_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
496 #define G_008214_MEC2_IB_QUEUE_BUSY(x) (((x) >> 22) & 0x1) argument
498 #define S_008214_MEC2_TC_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
499 #define G_008214_MEC2_TC_BUSY(x) (((x) >> 23) & 0x1) argument
501 #define S_008214_MEC2_DMA_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
502 #define G_008214_MEC2_DMA_BUSY(x) (((x) >> 24) & 0x1) argument
504 #define S_008214_MEC2_PARTIAL_FLUSH_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
505 #define G_008214_MEC2_PARTIAL_FLUSH_BUSY(x) (((x) >> 25) & 0x1) argument
507 #define S_008214_MEC2_PIPE0_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
508 #define G_008214_MEC2_PIPE0_BUSY(x) (((x) >> 26) & 0x1) argument
510 #define S_008214_MEC2_PIPE1_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
511 #define G_008214_MEC2_PIPE1_BUSY(x) (((x) >> 27) & 0x1) argument
513 #define S_008214_MEC2_PIPE2_BUSY(x) (((unsigned)(x) & 0x1) << 28) argument
514 #define G_008214_MEC2_PIPE2_BUSY(x) (((x) >> 28) & 0x1) argument
516 #define S_008214_MEC2_PIPE3_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
517 #define G_008214_MEC2_PIPE3_BUSY(x) (((x) >> 29) & 0x1) argument
520 #define S_008218_RCIU_TX_FREE_STALL(x) (((unsigned)(x) & 0x1) << 3) argument
521 #define G_008218_RCIU_TX_FREE_STALL(x) (((x) >> 3) & 0x1) argument
523 #define S_008218_RCIU_PRIV_VIOLATION(x) (((unsigned)(x) & 0x1) << 4) argument
524 #define G_008218_RCIU_PRIV_VIOLATION(x) (((x) >> 4) & 0x1) argument
526 #define S_008218_TCIU_TX_FREE_STALL(x) (((unsigned)(x) & 0x1) << 6) argument
527 #define G_008218_TCIU_TX_FREE_STALL(x) (((x) >> 6) & 0x1) argument
529 #define S_008218_MEC1_DECODING_PACKET(x) (((unsigned)(x) & 0x1) << 8) argument
530 #define G_008218_MEC1_DECODING_PACKET(x) (((x) >> 8) & 0x1) argument
532 #define S_008218_MEC1_WAIT_ON_RCIU(x) (((unsigned)(x) & 0x1) << 9) argument
533 #define G_008218_MEC1_WAIT_ON_RCIU(x) (((x) >> 9) & 0x1) argument
535 #define S_008218_MEC1_WAIT_ON_RCIU_READ(x) (((unsigned)(x) & 0x1) << 10) argument
536 #define G_008218_MEC1_WAIT_ON_RCIU_READ(x) (((x) >> 10) & 0x1) argument
538 #define S_008218_MEC1_WAIT_ON_ROQ_DATA(x) (((unsigned)(x) & 0x1) << 13) argument
539 #define G_008218_MEC1_WAIT_ON_ROQ_DATA(x) (((x) >> 13) & 0x1) argument
541 #define S_008218_MEC2_DECODING_PACKET(x) (((unsigned)(x) & 0x1) << 16) argument
542 #define G_008218_MEC2_DECODING_PACKET(x) (((x) >> 16) & 0x1) argument
544 #define S_008218_MEC2_WAIT_ON_RCIU(x) (((unsigned)(x) & 0x1) << 17) argument
545 #define G_008218_MEC2_WAIT_ON_RCIU(x) (((x) >> 17) & 0x1) argument
547 #define S_008218_MEC2_WAIT_ON_RCIU_READ(x) (((unsigned)(x) & 0x1) << 18) argument
548 #define G_008218_MEC2_WAIT_ON_RCIU_READ(x) (((x) >> 18) & 0x1) argument
550 #define S_008218_MEC2_WAIT_ON_ROQ_DATA(x) (((unsigned)(x) & 0x1) << 21) argument
551 #define G_008218_MEC2_WAIT_ON_ROQ_DATA(x) (((x) >> 21) & 0x1) argument
553 #define S_008218_UTCL2IU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 22) argument
554 #define G_008218_UTCL2IU_WAITING_ON_FREE(x) (((x) >> 22) & 0x1) argument
556 #define S_008218_UTCL2IU_WAITING_ON_TAGS(x) (((unsigned)(x) & 0x1) << 23) argument
557 #define G_008218_UTCL2IU_WAITING_ON_TAGS(x) (((x) >> 23) & 0x1) argument
559 #define S_008218_UTCL1_WAITING_ON_TRANS(x) (((unsigned)(x) & 0x1) << 24) argument
560 #define G_008218_UTCL1_WAITING_ON_TRANS(x) (((x) >> 24) & 0x1) argument
563 #define S_00821C_POST_WPTR_GFX_BUSY(x) (((unsigned)(x) & 0x1) << 0) argument
564 #define G_00821C_POST_WPTR_GFX_BUSY(x) (((x) >> 0) & 0x1) argument
566 #define S_00821C_CSF_BUSY(x) (((unsigned)(x) & 0x1) << 1) argument
567 #define G_00821C_CSF_BUSY(x) (((x) >> 1) & 0x1) argument
569 #define S_00821C_ROQ_ALIGN_BUSY(x) (((unsigned)(x) & 0x1) << 4) argument
570 #define G_00821C_ROQ_ALIGN_BUSY(x) (((x) >> 4) & 0x1) argument
572 #define S_00821C_ROQ_RING_BUSY(x) (((unsigned)(x) & 0x1) << 5) argument
573 #define G_00821C_ROQ_RING_BUSY(x) (((x) >> 5) & 0x1) argument
575 #define S_00821C_ROQ_INDIRECT1_BUSY(x) (((unsigned)(x) & 0x1) << 6) argument
576 #define G_00821C_ROQ_INDIRECT1_BUSY(x) (((x) >> 6) & 0x1) argument
578 #define S_00821C_ROQ_INDIRECT2_BUSY(x) (((unsigned)(x) & 0x1) << 7) argument
579 #define G_00821C_ROQ_INDIRECT2_BUSY(x) (((x) >> 7) & 0x1) argument
581 #define S_00821C_ROQ_STATE_BUSY(x) (((unsigned)(x) & 0x1) << 8) argument
582 #define G_00821C_ROQ_STATE_BUSY(x) (((x) >> 8) & 0x1) argument
584 #define S_00821C_ROQ_CE_RING_BUSY(x) (((unsigned)(x) & 0x1) << 9) argument
585 #define G_00821C_ROQ_CE_RING_BUSY(x) (((x) >> 9) & 0x1) argument
587 #define S_00821C_ROQ_CE_INDIRECT1_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
588 #define G_00821C_ROQ_CE_INDIRECT1_BUSY(x) (((x) >> 10) & 0x1) argument
590 #define S_00821C_ROQ_CE_INDIRECT2_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
591 #define G_00821C_ROQ_CE_INDIRECT2_BUSY(x) (((x) >> 11) & 0x1) argument
593 #define S_00821C_SEMAPHORE_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
594 #define G_00821C_SEMAPHORE_BUSY(x) (((x) >> 12) & 0x1) argument
596 #define S_00821C_INTERRUPT_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
597 #define G_00821C_INTERRUPT_BUSY(x) (((x) >> 13) & 0x1) argument
599 #define S_00821C_TCIU_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
600 #define G_00821C_TCIU_BUSY(x) (((x) >> 14) & 0x1) argument
602 #define S_00821C_HQD_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
603 #define G_00821C_HQD_BUSY(x) (((x) >> 15) & 0x1) argument
605 #define S_00821C_PRT_BUSY(x) (((unsigned)(x) & 0x1) << 16) argument
606 #define G_00821C_PRT_BUSY(x) (((x) >> 16) & 0x1) argument
608 #define S_00821C_UTCL2IU_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
609 #define G_00821C_UTCL2IU_BUSY(x) (((x) >> 17) & 0x1) argument
611 #define S_00821C_CPF_GFX_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
612 #define G_00821C_CPF_GFX_BUSY(x) (((x) >> 26) & 0x1) argument
614 #define S_00821C_CPF_CMP_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
615 #define G_00821C_CPF_CMP_BUSY(x) (((x) >> 27) & 0x1) argument
617 #define S_00821C_GRBM_CPF_STAT_BUSY(x) (((unsigned)(x) & 0x03) << 28) argument
618 #define G_00821C_GRBM_CPF_STAT_BUSY(x) (((x) >> 28) & 0x03) argument
620 #define S_00821C_CPC_CPF_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
621 #define G_00821C_CPC_CPF_BUSY(x) (((x) >> 30) & 0x1) argument
623 #define S_00821C_CPF_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
624 #define G_00821C_CPF_BUSY(x) (((x) >> 31) & 0x1) argument
627 #define S_008220_REG_BUS_FIFO_BUSY(x) (((unsigned)(x) & 0x1) << 0) argument
628 #define G_008220_REG_BUS_FIFO_BUSY(x) (((x) >> 0) & 0x1) argument
630 #define S_008220_CSF_RING_BUSY(x) (((unsigned)(x) & 0x1) << 1) argument
631 #define G_008220_CSF_RING_BUSY(x) (((x) >> 1) & 0x1) argument
633 #define S_008220_CSF_INDIRECT1_BUSY(x) (((unsigned)(x) & 0x1) << 2) argument
634 #define G_008220_CSF_INDIRECT1_BUSY(x) (((x) >> 2) & 0x1) argument
636 #define S_008220_CSF_INDIRECT2_BUSY(x) (((unsigned)(x) & 0x1) << 3) argument
637 #define G_008220_CSF_INDIRECT2_BUSY(x) (((x) >> 3) & 0x1) argument
639 #define S_008220_CSF_STATE_BUSY(x) (((unsigned)(x) & 0x1) << 4) argument
640 #define G_008220_CSF_STATE_BUSY(x) (((x) >> 4) & 0x1) argument
642 #define S_008220_CSF_CE_INDR1_BUSY(x) (((unsigned)(x) & 0x1) << 5) argument
643 #define G_008220_CSF_CE_INDR1_BUSY(x) (((x) >> 5) & 0x1) argument
645 #define S_008220_CSF_CE_INDR2_BUSY(x) (((unsigned)(x) & 0x1) << 6) argument
646 #define G_008220_CSF_CE_INDR2_BUSY(x) (((x) >> 6) & 0x1) argument
648 #define S_008220_CSF_ARBITER_BUSY(x) (((unsigned)(x) & 0x1) << 7) argument
649 #define G_008220_CSF_ARBITER_BUSY(x) (((x) >> 7) & 0x1) argument
651 #define S_008220_CSF_INPUT_BUSY(x) (((unsigned)(x) & 0x1) << 8) argument
652 #define G_008220_CSF_INPUT_BUSY(x) (((x) >> 8) & 0x1) argument
654 #define S_008220_OUTSTANDING_READ_TAGS(x) (((unsigned)(x) & 0x1) << 9) argument
655 #define G_008220_OUTSTANDING_READ_TAGS(x) (((x) >> 9) & 0x1) argument
657 #define S_008220_HPD_PROCESSING_EOP_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
658 #define G_008220_HPD_PROCESSING_EOP_BUSY(x) (((x) >> 11) & 0x1) argument
660 #define S_008220_HQD_DISPATCH_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
661 #define G_008220_HQD_DISPATCH_BUSY(x) (((x) >> 12) & 0x1) argument
663 #define S_008220_HQD_IQ_TIMER_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
664 #define G_008220_HQD_IQ_TIMER_BUSY(x) (((x) >> 13) & 0x1) argument
666 #define S_008220_HQD_DMA_OFFLOAD_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
667 #define G_008220_HQD_DMA_OFFLOAD_BUSY(x) (((x) >> 14) & 0x1) argument
669 #define S_008220_HQD_WAIT_SEMAPHORE_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
670 #define G_008220_HQD_WAIT_SEMAPHORE_BUSY(x) (((x) >> 15) & 0x1) argument
672 #define S_008220_HQD_SIGNAL_SEMAPHORE_BUSY(x) (((unsigned)(x) & 0x1) << 16) argument
673 #define G_008220_HQD_SIGNAL_SEMAPHORE_BUSY(x) (((x) >> 16) & 0x1) argument
675 #define S_008220_HQD_MESSAGE_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
676 #define G_008220_HQD_MESSAGE_BUSY(x) (((x) >> 17) & 0x1) argument
678 #define S_008220_HQD_PQ_FETCHER_BUSY(x) (((unsigned)(x) & 0x1) << 18) argument
679 #define G_008220_HQD_PQ_FETCHER_BUSY(x) (((x) >> 18) & 0x1) argument
681 #define S_008220_HQD_IB_FETCHER_BUSY(x) (((unsigned)(x) & 0x1) << 19) argument
682 #define G_008220_HQD_IB_FETCHER_BUSY(x) (((x) >> 19) & 0x1) argument
684 #define S_008220_HQD_IQ_FETCHER_BUSY(x) (((unsigned)(x) & 0x1) << 20) argument
685 #define G_008220_HQD_IQ_FETCHER_BUSY(x) (((x) >> 20) & 0x1) argument
687 #define S_008220_HQD_EOP_FETCHER_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
688 #define G_008220_HQD_EOP_FETCHER_BUSY(x) (((x) >> 21) & 0x1) argument
690 #define S_008220_HQD_CONSUMED_RPTR_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
691 #define G_008220_HQD_CONSUMED_RPTR_BUSY(x) (((x) >> 22) & 0x1) argument
693 #define S_008220_HQD_FETCHER_ARB_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
694 #define G_008220_HQD_FETCHER_ARB_BUSY(x) (((x) >> 23) & 0x1) argument
696 #define S_008220_HQD_ROQ_ALIGN_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
697 #define G_008220_HQD_ROQ_ALIGN_BUSY(x) (((x) >> 24) & 0x1) argument
699 #define S_008220_HQD_ROQ_EOP_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
700 #define G_008220_HQD_ROQ_EOP_BUSY(x) (((x) >> 25) & 0x1) argument
702 #define S_008220_HQD_ROQ_IQ_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
703 #define G_008220_HQD_ROQ_IQ_BUSY(x) (((x) >> 26) & 0x1) argument
705 #define S_008220_HQD_ROQ_PQ_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
706 #define G_008220_HQD_ROQ_PQ_BUSY(x) (((x) >> 27) & 0x1) argument
708 #define S_008220_HQD_ROQ_IB_BUSY(x) (((unsigned)(x) & 0x1) << 28) argument
709 #define G_008220_HQD_ROQ_IB_BUSY(x) (((x) >> 28) & 0x1) argument
711 #define S_008220_HQD_WPTR_POLL_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
712 #define G_008220_HQD_WPTR_POLL_BUSY(x) (((x) >> 29) & 0x1) argument
714 #define S_008220_HQD_PQ_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
715 #define G_008220_HQD_PQ_BUSY(x) (((x) >> 30) & 0x1) argument
717 #define S_008220_HQD_IB_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
718 #define G_008220_HQD_IB_BUSY(x) (((x) >> 31) & 0x1) argument
721 #define S_008224_RING_FETCHING_DATA(x) (((unsigned)(x) & 0x1) << 0) argument
722 #define G_008224_RING_FETCHING_DATA(x) (((x) >> 0) & 0x1) argument
724 #define S_008224_INDR1_FETCHING_DATA(x) (((unsigned)(x) & 0x1) << 1) argument
725 #define G_008224_INDR1_FETCHING_DATA(x) (((x) >> 1) & 0x1) argument
727 #define S_008224_INDR2_FETCHING_DATA(x) (((unsigned)(x) & 0x1) << 2) argument
728 #define G_008224_INDR2_FETCHING_DATA(x) (((x) >> 2) & 0x1) argument
730 #define S_008224_STATE_FETCHING_DATA(x) (((unsigned)(x) & 0x1) << 3) argument
731 #define G_008224_STATE_FETCHING_DATA(x) (((x) >> 3) & 0x1) argument
733 #define S_008224_TCIU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 5) argument
734 #define G_008224_TCIU_WAITING_ON_FREE(x) (((x) >> 5) & 0x1) argument
736 #define S_008224_TCIU_WAITING_ON_TAGS(x) (((unsigned)(x) & 0x1) << 6) argument
737 #define G_008224_TCIU_WAITING_ON_TAGS(x) (((x) >> 6) & 0x1) argument
739 #define S_008224_UTCL2IU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 7) argument
740 #define G_008224_UTCL2IU_WAITING_ON_FREE(x) (((x) >> 7) & 0x1) argument
742 #define S_008224_UTCL2IU_WAITING_ON_TAGS(x) (((unsigned)(x) & 0x1) << 8) argument
743 #define G_008224_UTCL2IU_WAITING_ON_TAGS(x) (((x) >> 8) & 0x1) argument
745 #define S_008224_GFX_UTCL1_WAITING_ON_TRANS(x) (((unsigned)(x) & 0x1) << 9) argument
746 #define G_008224_GFX_UTCL1_WAITING_ON_TRANS(x) (((x) >> 9) & 0x1) argument
748 #define S_008224_CMP_UTCL1_WAITING_ON_TRANS(x) (((unsigned)(x) & 0x1) << 10) argument
749 #define G_008224_CMP_UTCL1_WAITING_ON_TRANS(x) (((x) >> 10) & 0x1) argument
751 #define S_008224_RCIU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 11) argument
752 #define G_008224_RCIU_WAITING_ON_FREE(x) (((x) >> 11) & 0x1) argument
755 #define S_030230_COHER_SIZE_HI_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
756 #define G_030230_COHER_SIZE_HI_256B(x) (((x) >> 0) & 0xFF) argument
759 #define S_008670_CE_TO_CSF_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 0) argument
760 #define G_008670_CE_TO_CSF_NOT_RDY_TO_RCV(x) (((x) >> 0) & 0x1) argument
762 #define S_008670_CE_TO_RAM_INIT_FETCHER_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 1) argument
763 #define G_008670_CE_TO_RAM_INIT_FETCHER_NOT_RDY_TO_RCV(x) (((x) >> 1) & 0x1) argument
765 #define S_008670_CE_WAITING_ON_DATA_FROM_RAM_INIT_FETCHER(x) (((unsigned)(x) & 0x1) << 2) argument
766 #define G_008670_CE_WAITING_ON_DATA_FROM_RAM_INIT_FETCHER(x) (((x) >> 2) & 0x1) argument
768 #define S_008670_CE_TO_RAM_INIT_NOT_RDY(x) (((unsigned)(x) & 0x1) << 3) argument
769 #define G_008670_CE_TO_RAM_INIT_NOT_RDY(x) (((x) >> 3) & 0x1) argument
771 #define S_008670_CE_TO_RAM_DUMP_NOT_RDY(x) (((unsigned)(x) & 0x1) << 4) argument
772 #define G_008670_CE_TO_RAM_DUMP_NOT_RDY(x) (((x) >> 4) & 0x1) argument
774 #define S_008670_CE_TO_RAM_WRITE_NOT_RDY(x) (((unsigned)(x) & 0x1) << 5) argument
775 #define G_008670_CE_TO_RAM_WRITE_NOT_RDY(x) (((x) >> 5) & 0x1) argument
777 #define S_008670_CE_TO_INC_FIFO_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 6) argument
778 #define G_008670_CE_TO_INC_FIFO_NOT_RDY_TO_RCV(x) (((x) >> 6) & 0x1) argument
780 #define S_008670_CE_TO_WR_FIFO_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 7) argument
781 #define G_008670_CE_TO_WR_FIFO_NOT_RDY_TO_RCV(x) (((x) >> 7) & 0x1) argument
783 #define S_008670_CE_WAITING_ON_BUFFER_DATA(x) (((unsigned)(x) & 0x1) << 10) argument
784 #define G_008670_CE_WAITING_ON_BUFFER_DATA(x) (((x) >> 10) & 0x1) argument
786 #define S_008670_CE_WAITING_ON_CE_BUFFER_FLAG(x) (((unsigned)(x) & 0x1) << 11) argument
787 #define G_008670_CE_WAITING_ON_CE_BUFFER_FLAG(x) (((x) >> 11) & 0x1) argument
789 #define S_008670_CE_WAITING_ON_DE_COUNTER(x) (((unsigned)(x) & 0x1) << 12) argument
790 #define G_008670_CE_WAITING_ON_DE_COUNTER(x) (((x) >> 12) & 0x1) argument
792 #define S_008670_CE_WAITING_ON_DE_COUNTER_UNDERFLOW(x) (((unsigned)(x) & 0x1) << 13) argument
793 #define G_008670_CE_WAITING_ON_DE_COUNTER_UNDERFLOW(x) (((x) >> 13) & 0x1) argument
795 #define S_008670_TCIU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 14) argument
796 #define G_008670_TCIU_WAITING_ON_FREE(x) (((x) >> 14) & 0x1) argument
798 #define S_008670_TCIU_WAITING_ON_TAGS(x) (((unsigned)(x) & 0x1) << 15) argument
799 #define G_008670_TCIU_WAITING_ON_TAGS(x) (((x) >> 15) & 0x1) argument
801 #define S_008670_CE_STALLED_ON_TC_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 16) argument
802 #define G_008670_CE_STALLED_ON_TC_WR_CONFIRM(x) (((x) >> 16) & 0x1) argument
804 #define S_008670_CE_STALLED_ON_ATOMIC_RTN_DATA(x) (((unsigned)(x) & 0x1) << 17) argument
805 #define G_008670_CE_STALLED_ON_ATOMIC_RTN_DATA(x) (((x) >> 17) & 0x1) argument
807 #define S_008670_UTCL2IU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 18) argument
808 #define G_008670_UTCL2IU_WAITING_ON_FREE(x) (((x) >> 18) & 0x1) argument
810 #define S_008670_UTCL2IU_WAITING_ON_TAGS(x) (((unsigned)(x) & 0x1) << 19) argument
811 #define G_008670_UTCL2IU_WAITING_ON_TAGS(x) (((x) >> 19) & 0x1) argument
813 #define S_008670_UTCL1_WAITING_ON_TRANS(x) (((unsigned)(x) & 0x1) << 20) argument
814 #define G_008670_UTCL1_WAITING_ON_TRANS(x) (((x) >> 20) & 0x1) argument
817 #define S_008674_RBIU_TO_DMA_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 0) argument
818 #define G_008674_RBIU_TO_DMA_NOT_RDY_TO_RCV(x) (((x) >> 0) & 0x1) argument
820 #define S_008674_RBIU_TO_SEM_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 2) argument
821 #define G_008674_RBIU_TO_SEM_NOT_RDY_TO_RCV(x) (((x) >> 2) & 0x1) argument
823 #define S_008674_RBIU_TO_MEMWR_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 4) argument
824 #define G_008674_RBIU_TO_MEMWR_NOT_RDY_TO_RCV(x) (((x) >> 4) & 0x1) argument
826 #define S_008674_ME_HAS_ACTIVE_CE_BUFFER_FLAG(x) (((unsigned)(x) & 0x1) << 10) argument
827 #define G_008674_ME_HAS_ACTIVE_CE_BUFFER_FLAG(x) (((x) >> 10) & 0x1) argument
829 #define S_008674_ME_HAS_ACTIVE_DE_BUFFER_FLAG(x) (((unsigned)(x) & 0x1) << 11) argument
830 #define G_008674_ME_HAS_ACTIVE_DE_BUFFER_FLAG(x) (((x) >> 11) & 0x1) argument
832 #define S_008674_ME_STALLED_ON_TC_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 12) argument
833 #define G_008674_ME_STALLED_ON_TC_WR_CONFIRM(x) (((x) >> 12) & 0x1) argument
835 #define S_008674_ME_STALLED_ON_ATOMIC_RTN_DATA(x) (((unsigned)(x) & 0x1) << 13) argument
836 #define G_008674_ME_STALLED_ON_ATOMIC_RTN_DATA(x) (((x) >> 13) & 0x1) argument
838 #define S_008674_ME_WAITING_ON_TC_READ_DATA(x) (((unsigned)(x) & 0x1) << 14) argument
839 #define G_008674_ME_WAITING_ON_TC_READ_DATA(x) (((x) >> 14) & 0x1) argument
841 #define S_008674_ME_WAITING_ON_REG_READ_DATA(x) (((unsigned)(x) & 0x1) << 15) argument
842 #define G_008674_ME_WAITING_ON_REG_READ_DATA(x) (((x) >> 15) & 0x1) argument
844 #define S_008674_RCIU_WAITING_ON_GDS_FREE(x) (((unsigned)(x) & 0x1) << 23) argument
845 #define G_008674_RCIU_WAITING_ON_GDS_FREE(x) (((x) >> 23) & 0x1) argument
847 #define S_008674_RCIU_WAITING_ON_GRBM_FREE(x) (((unsigned)(x) & 0x1) << 24) argument
848 #define G_008674_RCIU_WAITING_ON_GRBM_FREE(x) (((x) >> 24) & 0x1) argument
850 #define S_008674_RCIU_WAITING_ON_VGT_FREE(x) (((unsigned)(x) & 0x1) << 25) argument
851 #define G_008674_RCIU_WAITING_ON_VGT_FREE(x) (((x) >> 25) & 0x1) argument
853 #define S_008674_RCIU_STALLED_ON_ME_READ(x) (((unsigned)(x) & 0x1) << 26) argument
854 #define G_008674_RCIU_STALLED_ON_ME_READ(x) (((x) >> 26) & 0x1) argument
856 #define S_008674_RCIU_STALLED_ON_DMA_READ(x) (((unsigned)(x) & 0x1) << 27) argument
857 #define G_008674_RCIU_STALLED_ON_DMA_READ(x) (((x) >> 27) & 0x1) argument
859 #define S_008674_RCIU_STALLED_ON_APPEND_READ(x) (((unsigned)(x) & 0x1) << 28) argument
860 #define G_008674_RCIU_STALLED_ON_APPEND_READ(x) (((x) >> 28) & 0x1) argument
862 #define S_008674_RCIU_HALTED_BY_REG_VIOLATION(x) (((unsigned)(x) & 0x1) << 29) argument
863 #define G_008674_RCIU_HALTED_BY_REG_VIOLATION(x) (((x) >> 29) & 0x1) argument
866 #define S_008678_PFP_TO_CSF_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 0) argument
867 #define G_008678_PFP_TO_CSF_NOT_RDY_TO_RCV(x) (((x) >> 0) & 0x1) argument
869 #define S_008678_PFP_TO_MEQ_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 1) argument
870 #define G_008678_PFP_TO_MEQ_NOT_RDY_TO_RCV(x) (((x) >> 1) & 0x1) argument
872 #define S_008678_PFP_TO_RCIU_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 2) argument
873 #define G_008678_PFP_TO_RCIU_NOT_RDY_TO_RCV(x) (((x) >> 2) & 0x1) argument
875 #define S_008678_PFP_TO_VGT_WRITES_PENDING(x) (((unsigned)(x) & 0x1) << 4) argument
876 #define G_008678_PFP_TO_VGT_WRITES_PENDING(x) (((x) >> 4) & 0x1) argument
878 #define S_008678_PFP_RCIU_READ_PENDING(x) (((unsigned)(x) & 0x1) << 5) argument
879 #define G_008678_PFP_RCIU_READ_PENDING(x) (((x) >> 5) & 0x1) argument
881 #define S_008678_PFP_WAITING_ON_BUFFER_DATA(x) (((unsigned)(x) & 0x1) << 8) argument
882 #define G_008678_PFP_WAITING_ON_BUFFER_DATA(x) (((x) >> 8) & 0x1) argument
884 #define S_008678_ME_WAIT_ON_CE_COUNTER(x) (((unsigned)(x) & 0x1) << 9) argument
885 #define G_008678_ME_WAIT_ON_CE_COUNTER(x) (((x) >> 9) & 0x1) argument
887 #define S_008678_ME_WAIT_ON_AVAIL_BUFFER(x) (((unsigned)(x) & 0x1) << 10) argument
888 #define G_008678_ME_WAIT_ON_AVAIL_BUFFER(x) (((x) >> 10) & 0x1) argument
890 #define S_008678_GFX_CNTX_NOT_AVAIL_TO_ME(x) (((unsigned)(x) & 0x1) << 11) argument
891 #define G_008678_GFX_CNTX_NOT_AVAIL_TO_ME(x) (((x) >> 11) & 0x1) argument
893 #define S_008678_ME_RCIU_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 12) argument
894 #define G_008678_ME_RCIU_NOT_RDY_TO_RCV(x) (((x) >> 12) & 0x1) argument
896 #define S_008678_ME_TO_CONST_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 13) argument
897 #define G_008678_ME_TO_CONST_NOT_RDY_TO_RCV(x) (((x) >> 13) & 0x1) argument
899 #define S_008678_ME_WAITING_DATA_FROM_PFP(x) (((unsigned)(x) & 0x1) << 14) argument
900 #define G_008678_ME_WAITING_DATA_FROM_PFP(x) (((x) >> 14) & 0x1) argument
902 #define S_008678_ME_WAITING_ON_PARTIAL_FLUSH(x) (((unsigned)(x) & 0x1) << 15) argument
903 #define G_008678_ME_WAITING_ON_PARTIAL_FLUSH(x) (((x) >> 15) & 0x1) argument
905 #define S_008678_MEQ_TO_ME_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 16) argument
906 #define G_008678_MEQ_TO_ME_NOT_RDY_TO_RCV(x) (((x) >> 16) & 0x1) argument
908 #define S_008678_STQ_TO_ME_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 17) argument
909 #define G_008678_STQ_TO_ME_NOT_RDY_TO_RCV(x) (((x) >> 17) & 0x1) argument
911 #define S_008678_ME_WAITING_DATA_FROM_STQ(x) (((unsigned)(x) & 0x1) << 18) argument
912 #define G_008678_ME_WAITING_DATA_FROM_STQ(x) (((x) >> 18) & 0x1) argument
914 #define S_008678_PFP_STALLED_ON_TC_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 19) argument
915 #define G_008678_PFP_STALLED_ON_TC_WR_CONFIRM(x) (((x) >> 19) & 0x1) argument
917 #define S_008678_PFP_STALLED_ON_ATOMIC_RTN_DATA(x) (((unsigned)(x) & 0x1) << 20) argument
918 #define G_008678_PFP_STALLED_ON_ATOMIC_RTN_DATA(x) (((x) >> 20) & 0x1) argument
920 #define S_008678_EOPD_FIFO_NEEDS_SC_EOP_DONE(x) (((unsigned)(x) & 0x1) << 21) argument
921 #define G_008678_EOPD_FIFO_NEEDS_SC_EOP_DONE(x) (((x) >> 21) & 0x1) argument
923 #define S_008678_EOPD_FIFO_NEEDS_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 22) argument
924 #define G_008678_EOPD_FIFO_NEEDS_WR_CONFIRM(x) (((x) >> 22) & 0x1) argument
926 #define S_008678_STRMO_WR_OF_PRIM_DATA_PENDING(x) (((unsigned)(x) & 0x1) << 23) argument
927 #define G_008678_STRMO_WR_OF_PRIM_DATA_PENDING(x) (((x) >> 23) & 0x1) argument
929 #define S_008678_PIPE_STATS_WR_DATA_PENDING(x) (((unsigned)(x) & 0x1) << 24) argument
930 #define G_008678_PIPE_STATS_WR_DATA_PENDING(x) (((x) >> 24) & 0x1) argument
932 #define S_008678_APPEND_RDY_WAIT_ON_CS_DONE(x) (((unsigned)(x) & 0x1) << 25) argument
933 #define G_008678_APPEND_RDY_WAIT_ON_CS_DONE(x) (((x) >> 25) & 0x1) argument
935 #define S_008678_APPEND_RDY_WAIT_ON_PS_DONE(x) (((unsigned)(x) & 0x1) << 26) argument
936 #define G_008678_APPEND_RDY_WAIT_ON_PS_DONE(x) (((x) >> 26) & 0x1) argument
938 #define S_008678_APPEND_WAIT_ON_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 27) argument
939 #define G_008678_APPEND_WAIT_ON_WR_CONFIRM(x) (((x) >> 27) & 0x1) argument
941 #define S_008678_APPEND_ACTIVE_PARTITION(x) (((unsigned)(x) & 0x1) << 28) argument
942 #define G_008678_APPEND_ACTIVE_PARTITION(x) (((x) >> 28) & 0x1) argument
944 #define S_008678_APPEND_WAITING_TO_SEND_MEMWRITE(x) (((unsigned)(x) & 0x1) << 29) argument
945 #define G_008678_APPEND_WAITING_TO_SEND_MEMWRITE(x) (((x) >> 29) & 0x1) argument
947 #define S_008678_SURF_SYNC_NEEDS_IDLE_CNTXS(x) (((unsigned)(x) & 0x1) << 30) argument
948 #define G_008678_SURF_SYNC_NEEDS_IDLE_CNTXS(x) (((x) >> 30) & 0x1) argument
950 #define S_008678_SURF_SYNC_NEEDS_ALL_CLEAN(x) (((unsigned)(x) & 0x1) << 31) argument
951 #define G_008678_SURF_SYNC_NEEDS_ALL_CLEAN(x) (((x) >> 31) & 0x1) argument
954 #define S_008680_ROQ_RING_BUSY(x) (((unsigned)(x) & 0x1) << 9) argument
955 #define G_008680_ROQ_RING_BUSY(x) (((x) >> 9) & 0x1) argument
957 #define S_008680_ROQ_INDIRECT1_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
958 #define G_008680_ROQ_INDIRECT1_BUSY(x) (((x) >> 10) & 0x1) argument
960 #define S_008680_ROQ_INDIRECT2_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
961 #define G_008680_ROQ_INDIRECT2_BUSY(x) (((x) >> 11) & 0x1) argument
963 #define S_008680_ROQ_STATE_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
964 #define G_008680_ROQ_STATE_BUSY(x) (((x) >> 12) & 0x1) argument
966 #define S_008680_DC_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
967 #define G_008680_DC_BUSY(x) (((x) >> 13) & 0x1) argument
969 #define S_008680_UTCL2IU_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
970 #define G_008680_UTCL2IU_BUSY(x) (((x) >> 14) & 0x1) argument
972 #define S_008680_PFP_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
973 #define G_008680_PFP_BUSY(x) (((x) >> 15) & 0x1) argument
975 #define S_008680_MEQ_BUSY(x) (((unsigned)(x) & 0x1) << 16) argument
976 #define G_008680_MEQ_BUSY(x) (((x) >> 16) & 0x1) argument
978 #define S_008680_ME_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
979 #define G_008680_ME_BUSY(x) (((x) >> 17) & 0x1) argument
981 #define S_008680_QUERY_BUSY(x) (((unsigned)(x) & 0x1) << 18) argument
982 #define G_008680_QUERY_BUSY(x) (((x) >> 18) & 0x1) argument
984 #define S_008680_SEMAPHORE_BUSY(x) (((unsigned)(x) & 0x1) << 19) argument
985 #define G_008680_SEMAPHORE_BUSY(x) (((x) >> 19) & 0x1) argument
987 #define S_008680_INTERRUPT_BUSY(x) (((unsigned)(x) & 0x1) << 20) argument
988 #define G_008680_INTERRUPT_BUSY(x) (((x) >> 20) & 0x1) argument
990 #define S_008680_SURFACE_SYNC_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
991 #define G_008680_SURFACE_SYNC_BUSY(x) (((x) >> 21) & 0x1) argument
993 #define S_008680_DMA_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
994 #define G_008680_DMA_BUSY(x) (((x) >> 22) & 0x1) argument
996 #define S_008680_RCIU_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
997 #define G_008680_RCIU_BUSY(x) (((x) >> 23) & 0x1) argument
999 #define S_008680_SCRATCH_RAM_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
1000 #define G_008680_SCRATCH_RAM_BUSY(x) (((x) >> 24) & 0x1) argument
1002 #define S_008680_CE_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
1003 #define G_008680_CE_BUSY(x) (((x) >> 26) & 0x1) argument
1005 #define S_008680_TCIU_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
1006 #define G_008680_TCIU_BUSY(x) (((x) >> 27) & 0x1) argument
1008 #define S_008680_ROQ_CE_RING_BUSY(x) (((unsigned)(x) & 0x1) << 28) argument
1009 #define G_008680_ROQ_CE_RING_BUSY(x) (((x) >> 28) & 0x1) argument
1011 #define S_008680_ROQ_CE_INDIRECT1_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
1012 #define G_008680_ROQ_CE_INDIRECT1_BUSY(x) (((x) >> 29) & 0x1) argument
1014 #define S_008680_ROQ_CE_INDIRECT2_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
1015 #define G_008680_ROQ_CE_INDIRECT2_BUSY(x) (((x) >> 30) & 0x1) argument
1017 #define S_008680_CP_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
1018 #define G_008680_CP_BUSY(x) (((x) >> 31) & 0x1) argument
1021 #define S_030800_INSTANCE_INDEX(x) (((unsigned)(x) & 0xFF) << 0) argument
1022 #define G_030800_INSTANCE_INDEX(x) (((x) >> 0) & 0xFF) argument
1024 #define S_030800_SH_INDEX(x) (((unsigned)(x) & 0xFF) << 8) argument
1025 #define G_030800_SH_INDEX(x) (((x) >> 8) & 0xFF) argument
1027 #define S_030800_SE_INDEX(x) (((unsigned)(x) & 0xFF) << 16) argument
1028 #define G_030800_SE_INDEX(x) (((x) >> 16) & 0xFF) argument
1030 #define S_030800_SH_BROADCAST_WRITES(x) (((unsigned)(x) & 0x1) << 29) argument
1031 #define G_030800_SH_BROADCAST_WRITES(x) (((x) >> 29) & 0x1) argument
1033 #define S_030800_INSTANCE_BROADCAST_WRITES(x) (((unsigned)(x) & 0x1) << 30) argument
1034 #define G_030800_INSTANCE_BROADCAST_WRITES(x) (((x) >> 30) & 0x1) argument
1036 #define S_030800_SE_BROADCAST_WRITES(x) (((unsigned)(x) & 0x1) << 31) argument
1037 #define G_030800_SE_BROADCAST_WRITES(x) (((x) >> 31) & 0x1) argument
1041 #define S_030908_PRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
1042 #define G_030908_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
1045 #define S_03090C_INDEX_TYPE(x) (((unsigned)(x) & 0x03) << 0) argument
1046 #define G_03090C_INDEX_TYPE(x) (((x) >> 0) & 0x03) argument
1048 #define S_03090C_PRIMGEN_EN(x) (((unsigned)(x) & 0x1) << 8) argument
1049 #define G_03090C_PRIMGEN_EN(x) (((x) >> 8) & 0x1) argument
1059 #define S_03092C_RESET_EN(x) (((unsigned)(x) & 0x1) << 0) argument
1060 #define G_03092C_RESET_EN(x) (((x) >> 0) & 0x1) argument
1062 #define S_03092C_MATCH_ALL_BITS(x) (((unsigned)(x) & 0x1) << 1) argument
1063 #define G_03092C_MATCH_ALL_BITS(x) (((x) >> 1) & 0x1) argument
1068 #define S_030938_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
1069 #define G_030938_SIZE(x) (((x) >> 0) & 0xFFFF) argument
1072 #define S_03093C_OFFCHIP_BUFFERING(x) (((unsigned)(x) & 0x1FF) << 0) argument
1073 #define G_03093C_OFFCHIP_BUFFERING(x) (((x) >> 0) & 0x1FF) argument
1075 #define S_03093C_OFFCHIP_GRANULARITY(x) (((unsigned)(x) & 0x03) << 9) argument
1076 #define G_03093C_OFFCHIP_GRANULARITY(x) (((x) >> 9) & 0x03) argument
1080 #define S_030944_BASE_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
1081 #define G_030944_BASE_HI(x) (((x) >> 0) & 0xFF) argument
1085 #define S_03094C_BASE_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
1086 #define G_03094C_BASE_HI(x) (((x) >> 0) & 0xFF) argument
1090 #define S_030954_BASE_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
1091 #define G_030954_BASE_HI(x) (((x) >> 0) & 0xFF) argument
1095 #define S_03095C_BASE_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
1096 #define G_03095C_BASE_HI(x) (((x) >> 0) & 0xFF) argument
1099 #define S_030960_PRIMGROUP_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
1100 #define G_030960_PRIMGROUP_SIZE(x) (((x) >> 0) & 0xFFFF) argument
1102 #define S_030960_PARTIAL_VS_WAVE_ON(x) (((unsigned)(x) & 0x1) << 16) argument
1103 #define G_030960_PARTIAL_VS_WAVE_ON(x) (((x) >> 16) & 0x1) argument
1105 #define S_030960_SWITCH_ON_EOP(x) (((unsigned)(x) & 0x1) << 17) argument
1106 #define G_030960_SWITCH_ON_EOP(x) (((x) >> 17) & 0x1) argument
1108 #define S_030960_PARTIAL_ES_WAVE_ON(x) (((unsigned)(x) & 0x1) << 18) argument
1109 #define G_030960_PARTIAL_ES_WAVE_ON(x) (((x) >> 18) & 0x1) argument
1111 #define S_030960_SWITCH_ON_EOI(x) (((unsigned)(x) & 0x1) << 19) argument
1112 #define G_030960_SWITCH_ON_EOI(x) (((x) >> 19) & 0x1) argument
1114 #define S_030960_WD_SWITCH_ON_EOP(x) (((unsigned)(x) & 0x1) << 20) argument
1115 #define G_030960_WD_SWITCH_ON_EOP(x) (((x) >> 20) & 0x1) argument
1117 #define S_030960_EN_INST_OPT_BASIC(x) (((unsigned)(x) & 0x1) << 21) argument
1118 #define G_030960_EN_INST_OPT_BASIC(x) (((x) >> 21) & 0x1) argument
1120 #define S_030960_EN_INST_OPT_ADV(x) (((unsigned)(x) & 0x1) << 22) argument
1121 #define G_030960_EN_INST_OPT_ADV(x) (((x) >> 22) & 0x1) argument
1123 #define S_030960_HW_USE_ONLY(x) (((unsigned)(x) & 0x1) << 23) argument
1124 #define G_030960_HW_USE_ONLY(x) (((x) >> 23) & 0x1) argument
1129 #define S_030A00_LINE_STIPPLE_VALUE(x) (((unsigned)(x) & 0xFFFFFF) <… argument
1130 #define G_030A00_LINE_STIPPLE_VALUE(x) (((x) >> 0) & 0xFFFFFF) argument
1133 #define S_030A04_CURRENT_PTR(x) (((unsigned)(x) & 0x0F) << 0) argument
1134 #define G_030A04_CURRENT_PTR(x) (((x) >> 0) & 0x0F) argument
1136 #define S_030A04_CURRENT_COUNT(x) (((unsigned)(x) & 0xFF) << 8) argument
1137 #define G_030A04_CURRENT_COUNT(x) (((x) >> 8) & 0xFF) argument
1140 #define S_030A10_X(x) (((unsigned)(x) & 0xFFFF) << … argument
1141 #define G_030A10_X(x) (((x) >> 0) & 0xFFFF) argument
1143 #define S_030A10_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
1144 #define G_030A10_Y(x) (((x) >> 16) & 0xFFFF) argument
1147 #define S_030A14_X(x) (((unsigned)(x) & 0xFFFF) << … argument
1148 #define G_030A14_X(x) (((x) >> 0) & 0xFFFF) argument
1150 #define S_030A14_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
1151 #define G_030A14_Y(x) (((x) >> 16) & 0xFFFF) argument
1154 #define S_030A18_X(x) (((unsigned)(x) & 0xFFFF) << … argument
1155 #define G_030A18_X(x) (((x) >> 0) & 0xFFFF) argument
1157 #define S_030A18_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
1158 #define G_030A18_Y(x) (((x) >> 16) & 0xFFFF) argument
1161 #define S_030A2C_X(x) (((unsigned)(x) & 0xFFFF) << … argument
1162 #define G_030A2C_X(x) (((x) >> 0) & 0xFFFF) argument
1164 #define S_030A2C_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
1165 #define G_030A2C_Y(x) (((x) >> 16) & 0xFFFF) argument
1168 #define S_030D20_TARGET_INST(x) (((unsigned)(x) & 0x1) << 0) argument
1169 #define G_030D20_TARGET_INST(x) (((x) >> 0) & 0x1) argument
1171 #define S_030D20_TARGET_DATA(x) (((unsigned)(x) & 0x1) << 1) argument
1172 #define G_030D20_TARGET_DATA(x) (((x) >> 1) & 0x1) argument
1174 #define S_030D20_INVALIDATE(x) (((unsigned)(x) & 0x1) << 2) argument
1175 #define G_030D20_INVALIDATE(x) (((x) >> 2) & 0x1) argument
1177 #define S_030D20_WRITEBACK(x) (((unsigned)(x) & 0x1) << 3) argument
1178 #define G_030D20_WRITEBACK(x) (((x) >> 3) & 0x1) argument
1180 #define S_030D20_VOL(x) (((unsigned)(x) & 0x1) << 4) argument
1181 #define G_030D20_VOL(x) (((x) >> 4) & 0x1) argument
1183 #define S_030D20_COMPLETE(x) (((unsigned)(x) & 0x1) << 16) argument
1184 #define G_030D20_COMPLETE(x) (((x) >> 16) & 0x1) argument
1187 #define S_030D24_DWB(x) (((unsigned)(x) & 0x1) << 0) argument
1188 #define G_030D24_DWB(x) (((x) >> 0) & 0x1) argument
1190 #define S_030D24_DIRTY(x) (((unsigned)(x) & 0x1) << 1) argument
1191 #define G_030D24_DIRTY(x) (((x) >> 1) & 0x1) argument
1195 #define S_030E04_ADDRESS(x) (((unsigned)(x) & 0xFF) << 0) argument
1196 #define G_030E04_ADDRESS(x) (((x) >> 0) & 0xFF) argument
1199 #define S_030E08_GRAD_ADJ_0(x) (((unsigned)(x) & 0xFF) << 0) argument
1200 #define G_030E08_GRAD_ADJ_0(x) (((x) >> 0) & 0xFF) argument
1202 #define S_030E08_GRAD_ADJ_1(x) (((unsigned)(x) & 0xFF) << 8) argument
1203 #define G_030E08_GRAD_ADJ_1(x) (((x) >> 8) & 0xFF) argument
1205 #define S_030E08_GRAD_ADJ_2(x) (((unsigned)(x) & 0xFF) << 16) argument
1206 #define G_030E08_GRAD_ADJ_2(x) (((x) >> 16) & 0xFF) argument
1208 #define S_030E08_GRAD_ADJ_3(x) (((unsigned)(x) & 0xFF) << 24) argument
1209 #define G_030E08_GRAD_ADJ_3(x) (((x) >> 24) & 0xFF) argument
1214 #define S_030F04_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF)… argument
1215 #define G_030F04_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF) argument
1218 #define S_008F04_BASE_ADDRESS_HI(x) (((unsigned)(x) & 0xFFFF) << … argument
1219 #define G_008F04_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFFFF) argument
1221 #define S_008F04_STRIDE(x) (((unsigned)(x) & 0x3FFF) << … argument
1222 #define G_008F04_STRIDE(x) (((x) >> 16) & 0x3FFF) argument
1224 #define S_008F04_CACHE_SWIZZLE(x) (((unsigned)(x) & 0x1) << 30) argument
1225 #define G_008F04_CACHE_SWIZZLE(x) (((x) >> 30) & 0x1) argument
1227 #define S_008F04_SWIZZLE_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1228 #define G_008F04_SWIZZLE_ENABLE(x) (((x) >> 31) & 0x1) argument
1233 #define S_030F0C_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF)… argument
1234 #define G_030F0C_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF) argument
1237 #define S_008F0C_DST_SEL_X(x) (((unsigned)(x) & 0x07) << 0) argument
1238 #define G_008F0C_DST_SEL_X(x) (((x) >> 0) & 0x07) argument
1240 #define S_008F0C_DST_SEL_Y(x) (((unsigned)(x) & 0x07) << 3) argument
1241 #define G_008F0C_DST_SEL_Y(x) (((x) >> 3) & 0x07) argument
1243 #define S_008F0C_DST_SEL_Z(x) (((unsigned)(x) & 0x07) << 6) argument
1244 #define G_008F0C_DST_SEL_Z(x) (((x) >> 6) & 0x07) argument
1246 #define S_008F0C_DST_SEL_W(x) (((unsigned)(x) & 0x07) << 9) argument
1247 #define G_008F0C_DST_SEL_W(x) (((x) >> 9) & 0x07) argument
1249 #define S_008F0C_NUM_FORMAT(x) (((unsigned)(x) & 0x07) << 12) argument
1250 #define G_008F0C_NUM_FORMAT(x) (((x) >> 12) & 0x07) argument
1252 #define S_008F0C_DATA_FORMAT(x) (((unsigned)(x) & 0x0F) << 15) argument
1253 #define G_008F0C_DATA_FORMAT(x) (((x) >> 15) & 0x0F) argument
1255 #define S_008F0C_USER_VM_ENABLE(x) (((unsigned)(x) & 0x1) << 19) argument
1256 #define G_008F0C_USER_VM_ENABLE(x) (((x) >> 19) & 0x1) argument
1258 #define S_008F0C_USER_VM_MODE(x) (((unsigned)(x) & 0x1) << 20) argument
1259 #define G_008F0C_USER_VM_MODE(x) (((x) >> 20) & 0x1) argument
1261 #define S_008F0C_INDEX_STRIDE(x) (((unsigned)(x) & 0x03) << 21) argument
1262 #define G_008F0C_INDEX_STRIDE(x) (((x) >> 21) & 0x03) argument
1264 #define S_008F0C_ADD_TID_ENABLE(x) (((unsigned)(x) & 0x1) << 23) argument
1265 #define G_008F0C_ADD_TID_ENABLE(x) (((x) >> 23) & 0x1) argument
1267 #define S_008F0C_NV(x) (((unsigned)(x) & 0x1) << 27) argument
1268 #define G_008F0C_NV(x) (((x) >> 27) & 0x1) argument
1270 #define S_008F0C_TYPE(x) (((unsigned)(x) & 0x03) << 30) argument
1271 #define G_008F0C_TYPE(x) (((x) >> 30) & 0x03) argument
1276 #define S_030F14_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF)… argument
1277 #define G_030F14_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF) argument
1280 #define S_008F14_BASE_ADDRESS_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
1281 #define G_008F14_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFF) argument
1283 #define S_008F14_MIN_LOD(x) (((unsigned)(x) & 0xFFF) << 8) argument
1284 #define G_008F14_MIN_LOD(x) (((x) >> 8) & 0xFFF) argument
1286 #define S_008F14_DATA_FORMAT_GFX9(x) (((unsigned)(x) & 0x3F) << 20) argument
1287 #define G_008F14_DATA_FORMAT_GFX9(x) (((x) >> 20) & 0x3F) argument
1353 #define S_008F14_NUM_FORMAT_GFX9(x) (((unsigned)(x) & 0x0F) << 26) argument
1354 #define G_008F14_NUM_FORMAT_GFX9(x) (((x) >> 26) & 0x0F) argument
1367 #define S_008F14_NUM_FORMAT_FMASK(x) (((unsigned)(x) & 0x0F) << 26) argument
1368 #define G_008F14_NUM_FORMAT_FMASK(x) (((x) >> 26) & 0x0F) argument
1383 #define S_008F14_NUM_FORMAT_ASTC_2D(x) (((unsigned)(x) & 0x0F) << 26) argument
1384 #define G_008F14_NUM_FORMAT_ASTC_2D(x) (((x) >> 26) & 0x0F) argument
1400 #define S_008F14_NUM_FORMAT_ASTC_3D(x) (((unsigned)(x) & 0x0F) << 26) argument
1401 #define G_008F14_NUM_FORMAT_ASTC_3D(x) (((x) >> 26) & 0x0F) argument
1413 #define S_008F14_NV(x) (((unsigned)(x) & 0x1) << 30) argument
1414 #define G_008F14_NV(x) (((x) >> 30) & 0x1) argument
1416 #define S_008F14_META_DIRECT(x) (((unsigned)(x) & 0x1) << 31) argument
1417 #define G_008F14_META_DIRECT(x) (((x) >> 31) & 0x1) argument
1421 #define S_008F18_WIDTH(x) (((unsigned)(x) & 0x3FFF) << … argument
1422 #define G_008F18_WIDTH(x) (((x) >> 0) & 0x3FFF) argument
1424 #define S_008F18_HEIGHT(x) (((unsigned)(x) & 0x3FFF) << … argument
1425 #define G_008F18_HEIGHT(x) (((x) >> 14) & 0x3FFF) argument
1427 #define S_008F18_PERF_MOD(x) (((unsigned)(x) & 0x07) << 28) argument
1428 #define G_008F18_PERF_MOD(x) (((x) >> 28) & 0x07) argument
1431 #define S_030F1C_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF)… argument
1432 #define G_030F1C_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF) argument
1435 #define S_008F1C_DST_SEL_X(x) (((unsigned)(x) & 0x07) << 0) argument
1436 #define G_008F1C_DST_SEL_X(x) (((x) >> 0) & 0x07) argument
1438 #define S_008F1C_DST_SEL_Y(x) (((unsigned)(x) & 0x07) << 3) argument
1439 #define G_008F1C_DST_SEL_Y(x) (((x) >> 3) & 0x07) argument
1441 #define S_008F1C_DST_SEL_Z(x) (((unsigned)(x) & 0x07) << 6) argument
1442 #define G_008F1C_DST_SEL_Z(x) (((x) >> 6) & 0x07) argument
1444 #define S_008F1C_DST_SEL_W(x) (((unsigned)(x) & 0x07) << 9) argument
1445 #define G_008F1C_DST_SEL_W(x) (((x) >> 9) & 0x07) argument
1447 #define S_008F1C_BASE_LEVEL(x) (((unsigned)(x) & 0x0F) << 12) argument
1448 #define G_008F1C_BASE_LEVEL(x) (((x) >> 12) & 0x0F) argument
1450 #define S_008F1C_LAST_LEVEL(x) (((unsigned)(x) & 0x0F) << 16) argument
1451 #define G_008F1C_LAST_LEVEL(x) (((x) >> 16) & 0x0F) argument
1453 #define S_008F1C_SW_MODE(x) (((unsigned)(x) & 0x1F) << 20) argument
1454 #define G_008F1C_SW_MODE(x) (((x) >> 20) & 0x1F) argument
1456 #define S_008F1C_TYPE(x) (((unsigned)(x) & 0x0F) << 28) argument
1457 #define G_008F1C_TYPE(x) (((x) >> 28) & 0x0F) argument
1460 #define S_008F20_DEPTH(x) (((unsigned)(x) & 0x1FFF) << … argument
1461 #define G_008F20_DEPTH(x) (((x) >> 0) & 0x1FFF) argument
1463 #define S_008F20_PITCH_GFX9(x) (((unsigned)(x) & 0xFFFF) << … argument
1464 #define G_008F20_PITCH_GFX9(x) (((x) >> 13) & 0xFFFF) argument
1466 #define S_008F20_BC_SWIZZLE(x) (((unsigned)(x) & 0x07) << 29) argument
1467 #define G_008F20_BC_SWIZZLE(x) (((x) >> 29) & 0x07) argument
1476 #define S_008F24_BASE_ARRAY(x) (((unsigned)(x) & 0x1FFF) << … argument
1477 #define G_008F24_BASE_ARRAY(x) (((x) >> 0) & 0x1FFF) argument
1479 #define S_008F24_ARRAY_PITCH(x) (((unsigned)(x) & 0x0F) << 13) argument
1480 #define G_008F24_ARRAY_PITCH(x) (((x) >> 13) & 0x0F) argument
1482 #define S_008F24_META_DATA_ADDRESS(x) (((unsigned)(x) & 0xFF) << 17) argument
1483 #define G_008F24_META_DATA_ADDRESS(x) (((x) >> 17) & 0xFF) argument
1485 #define S_008F24_META_LINEAR(x) (((unsigned)(x) & 0x1) << 25) argument
1486 #define G_008F24_META_LINEAR(x) (((x) >> 25) & 0x1) argument
1488 #define S_008F24_META_PIPE_ALIGNED(x) (((unsigned)(x) & 0x1) << 26) argument
1489 #define G_008F24_META_PIPE_ALIGNED(x) (((x) >> 26) & 0x1) argument
1491 #define S_008F24_META_RB_ALIGNED(x) (((unsigned)(x) & 0x1) << 27) argument
1492 #define G_008F24_META_RB_ALIGNED(x) (((x) >> 27) & 0x1) argument
1494 #define S_008F24_MAX_MIP(x) (((unsigned)(x) & 0x0F) << 28) argument
1495 #define G_008F24_MAX_MIP(x) (((x) >> 28) & 0x0F) argument
1498 #define S_008F28_MIN_LOD_WARN(x) (((unsigned)(x) & 0xFFF) << 0) argument
1499 #define G_008F28_MIN_LOD_WARN(x) (((x) >> 0) & 0xFFF) argument
1501 #define S_008F28_COUNTER_BANK_ID(x) (((unsigned)(x) & 0xFF) << 12) argument
1502 #define G_008F28_COUNTER_BANK_ID(x) (((x) >> 12) & 0xFF) argument
1504 #define S_008F28_LOD_HDW_CNT_EN(x) (((unsigned)(x) & 0x1) << 20) argument
1505 #define G_008F28_LOD_HDW_CNT_EN(x) (((x) >> 20) & 0x1) argument
1507 #define S_008F28_COMPRESSION_EN(x) (((unsigned)(x) & 0x1) << 21) argument
1508 #define G_008F28_COMPRESSION_EN(x) (((x) >> 21) & 0x1) argument
1510 #define S_008F28_ALPHA_IS_ON_MSB(x) (((unsigned)(x) & 0x1) << 22) argument
1511 #define G_008F28_ALPHA_IS_ON_MSB(x) (((x) >> 22) & 0x1) argument
1513 #define S_008F28_COLOR_TRANSFORM(x) (((unsigned)(x) & 0x1) << 23) argument
1514 #define G_008F28_COLOR_TRANSFORM(x) (((x) >> 23) & 0x1) argument
1516 #define S_008F28_LOST_ALPHA_BITS(x) (((unsigned)(x) & 0x0F) << 24) argument
1517 #define G_008F28_LOST_ALPHA_BITS(x) (((x) >> 24) & 0x0F) argument
1519 #define S_008F28_LOST_COLOR_BITS(x) (((unsigned)(x) & 0x0F) << 28) argument
1520 #define G_008F28_LOST_COLOR_BITS(x) (((x) >> 28) & 0x0F) argument
1524 #define S_008F30_CLAMP_X(x) (((unsigned)(x) & 0x07) << 0) argument
1525 #define G_008F30_CLAMP_X(x) (((x) >> 0) & 0x07) argument
1527 #define S_008F30_CLAMP_Y(x) (((unsigned)(x) & 0x07) << 3) argument
1528 #define G_008F30_CLAMP_Y(x) (((x) >> 3) & 0x07) argument
1530 #define S_008F30_CLAMP_Z(x) (((unsigned)(x) & 0x07) << 6) argument
1531 #define G_008F30_CLAMP_Z(x) (((x) >> 6) & 0x07) argument
1533 #define S_008F30_MAX_ANISO_RATIO(x) (((unsigned)(x) & 0x07) << 9) argument
1534 #define G_008F30_MAX_ANISO_RATIO(x) (((x) >> 9) & 0x07) argument
1536 #define S_008F30_DEPTH_COMPARE_FUNC(x) (((unsigned)(x) & 0x07) << 12) argument
1537 #define G_008F30_DEPTH_COMPARE_FUNC(x) (((x) >> 12) & 0x07) argument
1539 #define S_008F30_FORCE_UNNORMALIZED(x) (((unsigned)(x) & 0x1) << 15) argument
1540 #define G_008F30_FORCE_UNNORMALIZED(x) (((x) >> 15) & 0x1) argument
1542 #define S_008F30_ANISO_THRESHOLD(x) (((unsigned)(x) & 0x07) << 16) argument
1543 #define G_008F30_ANISO_THRESHOLD(x) (((x) >> 16) & 0x07) argument
1545 #define S_008F30_MC_COORD_TRUNC(x) (((unsigned)(x) & 0x1) << 19) argument
1546 #define G_008F30_MC_COORD_TRUNC(x) (((x) >> 19) & 0x1) argument
1548 #define S_008F30_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 20) argument
1549 #define G_008F30_FORCE_DEGAMMA(x) (((x) >> 20) & 0x1) argument
1551 #define S_008F30_ANISO_BIAS(x) (((unsigned)(x) & 0x3F) << 21) argument
1552 #define G_008F30_ANISO_BIAS(x) (((x) >> 21) & 0x3F) argument
1554 #define S_008F30_TRUNC_COORD(x) (((unsigned)(x) & 0x1) << 27) argument
1555 #define G_008F30_TRUNC_COORD(x) (((x) >> 27) & 0x1) argument
1557 #define S_008F30_DISABLE_CUBE_WRAP(x) (((unsigned)(x) & 0x1) << 28) argument
1558 #define G_008F30_DISABLE_CUBE_WRAP(x) (((x) >> 28) & 0x1) argument
1560 #define S_008F30_FILTER_MODE(x) (((unsigned)(x) & 0x03) << 29) argument
1561 #define G_008F30_FILTER_MODE(x) (((x) >> 29) & 0x03) argument
1563 #define S_008F30_COMPAT_MODE(x) (((unsigned)(x) & 0x1) << 31) argument
1564 #define G_008F30_COMPAT_MODE(x) (((x) >> 31) & 0x1) argument
1567 #define S_008F34_MIN_LOD(x) (((unsigned)(x) & 0xFFF) << 0) argument
1568 #define G_008F34_MIN_LOD(x) (((x) >> 0) & 0xFFF) argument
1570 #define S_008F34_MAX_LOD(x) (((unsigned)(x) & 0xFFF) << 1… argument
1571 #define G_008F34_MAX_LOD(x) (((x) >> 12) & 0xFFF) argument
1573 #define S_008F34_PERF_MIP(x) (((unsigned)(x) & 0x0F) << 24) argument
1574 #define G_008F34_PERF_MIP(x) (((x) >> 24) & 0x0F) argument
1576 #define S_008F34_PERF_Z(x) (((unsigned)(x) & 0x0F) << 28) argument
1577 #define G_008F34_PERF_Z(x) (((x) >> 28) & 0x0F) argument
1580 #define S_008F38_LOD_BIAS(x) (((unsigned)(x) & 0x3FFF) << … argument
1581 #define G_008F38_LOD_BIAS(x) (((x) >> 0) & 0x3FFF) argument
1583 #define S_008F38_LOD_BIAS_SEC(x) (((unsigned)(x) & 0x3F) << 14) argument
1584 #define G_008F38_LOD_BIAS_SEC(x) (((x) >> 14) & 0x3F) argument
1586 #define S_008F38_XY_MAG_FILTER(x) (((unsigned)(x) & 0x03) << 20) argument
1587 #define G_008F38_XY_MAG_FILTER(x) (((x) >> 20) & 0x03) argument
1589 #define S_008F38_XY_MIN_FILTER(x) (((unsigned)(x) & 0x03) << 22) argument
1590 #define G_008F38_XY_MIN_FILTER(x) (((x) >> 22) & 0x03) argument
1592 #define S_008F38_Z_FILTER(x) (((unsigned)(x) & 0x03) << 24) argument
1593 #define G_008F38_Z_FILTER(x) (((x) >> 24) & 0x03) argument
1595 #define S_008F38_MIP_FILTER(x) (((unsigned)(x) & 0x03) << 26) argument
1596 #define G_008F38_MIP_FILTER(x) (((x) >> 26) & 0x03) argument
1598 #define S_008F38_MIP_POINT_PRECLAMP(x) (((unsigned)(x) & 0x1) << 28) argument
1599 #define G_008F38_MIP_POINT_PRECLAMP(x) (((x) >> 28) & 0x1) argument
1601 #define S_008F38_BLEND_ZERO_PRT(x) (((unsigned)(x) & 0x1) << 29) argument
1602 #define G_008F38_BLEND_ZERO_PRT(x) (((x) >> 29) & 0x1) argument
1604 #define S_008F38_FILTER_PREC_FIX(x) (((unsigned)(x) & 0x1) << 30) argument
1605 #define G_008F38_FILTER_PREC_FIX(x) (((x) >> 30) & 0x1) argument
1607 #define S_008F38_ANISO_OVERRIDE(x) (((unsigned)(x) & 0x1) << 31) argument
1608 #define G_008F38_ANISO_OVERRIDE(x) (((x) >> 31) & 0x1) argument
1611 #define S_008F3C_BORDER_COLOR_PTR(x) (((unsigned)(x) & 0xFFF) << 0) argument
1612 #define G_008F3C_BORDER_COLOR_PTR(x) (((x) >> 0) & 0xFFF) argument
1614 #define S_008F3C_SKIP_DEGAMMA(x) (((unsigned)(x) & 0x1) << 12) argument
1615 #define G_008F3C_SKIP_DEGAMMA(x) (((x) >> 12) & 0x1) argument
1617 #define S_008F3C_BORDER_COLOR_TYPE(x) (((unsigned)(x) & 0x03) << 30) argument
1618 #define G_008F3C_BORDER_COLOR_TYPE(x) (((x) >> 30) & 0x03) argument
1622 #define S_030FFC_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF)… argument
1623 #define G_030FFC_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF) argument
1626 #define S_031100_GPR_WRITE_PRIORITY(x) (((unsigned)(x) & 0x1FFFFF) <… argument
1627 #define G_031100_GPR_WRITE_PRIORITY(x) (((x) >> 0) & 0x1FFFFF) argument
1629 #define S_031100_EXP_PRIORITY_ORDER(x) (((unsigned)(x) & 0x07) << 21) argument
1630 #define G_031100_EXP_PRIORITY_ORDER(x) (((x) >> 21) & 0x07) argument
1632 #define S_031100_ENABLE_SQG_TOP_EVENTS(x) (((unsigned)(x) & 0x1) << 24) argument
1633 #define G_031100_ENABLE_SQG_TOP_EVENTS(x) (((x) >> 24) & 0x1) argument
1635 #define S_031100_ENABLE_SQG_BOP_EVENTS(x) (((unsigned)(x) & 0x1) << 25) argument
1636 #define G_031100_ENABLE_SQG_BOP_EVENTS(x) (((x) >> 25) & 0x1) argument
1638 #define S_031100_RSRC_MGMT_RESET(x) (((unsigned)(x) & 0x1) << 26) argument
1639 #define G_031100_RSRC_MGMT_RESET(x) (((x) >> 26) & 0x1) argument
1641 #define S_031100_TTRACE_STALL_ALL(x) (((unsigned)(x) & 0x1) << 27) argument
1642 #define G_031100_TTRACE_STALL_ALL(x) (((x) >> 27) & 0x1) argument
1644 #define S_031100_ALLOC_ARB_LRU_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
1645 #define G_031100_ALLOC_ARB_LRU_ENA(x) (((x) >> 28) & 0x1) argument
1647 #define S_031100_EXP_ARB_LRU_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
1648 #define G_031100_EXP_ARB_LRU_ENA(x) (((x) >> 29) & 0x1) argument
1650 #define S_031100_PS_PKR_PRIORITY_CNTL(x) (((unsigned)(x) & 0x03) << 30) argument
1651 #define G_031100_PS_PKR_PRIORITY_CNTL(x) (((x) >> 30) & 0x03) argument
1654 #define S_031104_VTX_DONE_DELAY(x) (((unsigned)(x) & 0x0F) << 0) argument
1655 #define G_031104_VTX_DONE_DELAY(x) (((x) >> 0) & 0x0F) argument
1657 #define S_031104_INTERP_ONE_PRIM_PER_ROW(x) (((unsigned)(x) & 0x1) << 4) argument
1658 #define G_031104_INTERP_ONE_PRIM_PER_ROW(x) (((x) >> 4) & 0x1) argument
1660 #define S_031104_BATON_RESET_DISABLE(x) (((unsigned)(x) & 0x1) << 5) argument
1661 #define G_031104_BATON_RESET_DISABLE(x) (((x) >> 5) & 0x1) argument
1663 #define S_031104_PC_LIMIT_ENABLE(x) (((unsigned)(x) & 0x1) << 6) argument
1664 #define G_031104_PC_LIMIT_ENABLE(x) (((x) >> 6) & 0x1) argument
1666 #define S_031104_PC_LIMIT_STRICT(x) (((unsigned)(x) & 0x1) << 7) argument
1667 #define G_031104_PC_LIMIT_STRICT(x) (((x) >> 7) & 0x1) argument
1669 #define S_031104_CRC_SIMD_ID_WADDR_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
1670 #define G_031104_CRC_SIMD_ID_WADDR_DISABLE(x) (((x) >> 8) & 0x1) argument
1672 #define S_031104_LBPW_CU_CHK_MODE(x) (((unsigned)(x) & 0x1) << 9) argument
1673 #define G_031104_LBPW_CU_CHK_MODE(x) (((x) >> 9) & 0x1) argument
1675 #define S_031104_LBPW_CU_CHK_CNT(x) (((unsigned)(x) & 0x0F) << 10) argument
1676 #define G_031104_LBPW_CU_CHK_CNT(x) (((x) >> 10) & 0x0F) argument
1678 #define S_031104_CSC_PWR_SAVE_DISABLE(x) (((unsigned)(x) & 0x1) << 14) argument
1679 #define G_031104_CSC_PWR_SAVE_DISABLE(x) (((x) >> 14) & 0x1) argument
1681 #define S_031104_CSG_PWR_SAVE_DISABLE(x) (((unsigned)(x) & 0x1) << 15) argument
1682 #define G_031104_CSG_PWR_SAVE_DISABLE(x) (((x) >> 15) & 0x1) argument
1684 #define S_031104_PC_LIMIT_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
1685 #define G_031104_PC_LIMIT_SIZE(x) (((x) >> 16) & 0xFFFF) argument
1688 #define S_031108_CONTEXT_SAVE_WAIT_GDS_REQUEST_CYCLE_OVHD(x) (((unsigned)(x) & 0x0F) << 0) argument
1689 #define G_031108_CONTEXT_SAVE_WAIT_GDS_REQUEST_CYCLE_OVHD(x) (((x) >> 0) & 0x0F) argument
1691 #define S_031108_CONTEXT_SAVE_WAIT_GDS_GRANT_CYCLE_OVHD(x) (((unsigned)(x) & 0x0F) << 4) argument
1692 #define G_031108_CONTEXT_SAVE_WAIT_GDS_GRANT_CYCLE_OVHD(x) (((x) >> 4) & 0x0F) argument
1695 #define S_0098F8_NUM_PIPES(x) (((unsigned)(x) & 0x07) << 0) argument
1696 #define G_0098F8_NUM_PIPES(x) (((x) >> 0) & 0x07) argument
1698 #define S_0098F8_PIPE_INTERLEAVE_SIZE_GFX9(x) (((unsigned)(x) & 0x07) << 3) argument
1699 #define G_0098F8_PIPE_INTERLEAVE_SIZE_GFX9(x) (((x) >> 3) & 0x07) argument
1701 #define S_0098F8_MAX_COMPRESSED_FRAGS(x) (((unsigned)(x) & 0x03) << 6) argument
1702 #define G_0098F8_MAX_COMPRESSED_FRAGS(x) (((x) >> 6) & 0x03) argument
1704 #define S_0098F8_BANK_INTERLEAVE_SIZE(x) (((unsigned)(x) & 0x07) << 8) argument
1705 #define G_0098F8_BANK_INTERLEAVE_SIZE(x) (((x) >> 8) & 0x07) argument
1707 #define S_0098F8_NUM_BANKS(x) (((unsigned)(x) & 0x07) << 12) argument
1708 #define G_0098F8_NUM_BANKS(x) (((x) >> 12) & 0x07) argument
1710 #define S_0098F8_SHADER_ENGINE_TILE_SIZE(x) (((unsigned)(x) & 0x07) << 16) argument
1711 #define G_0098F8_SHADER_ENGINE_TILE_SIZE(x) (((x) >> 16) & 0x07) argument
1713 #define S_0098F8_NUM_SHADER_ENGINES_GFX9(x) (((unsigned)(x) & 0x03) << 19) argument
1714 #define G_0098F8_NUM_SHADER_ENGINES_GFX9(x) (((x) >> 19) & 0x03) argument
1716 #define S_0098F8_NUM_GPUS_GFX9(x) (((unsigned)(x) & 0x07) << 21) argument
1717 #define G_0098F8_NUM_GPUS_GFX9(x) (((x) >> 21) & 0x07) argument
1719 #define S_0098F8_MULTI_GPU_TILE_SIZE(x) (((unsigned)(x) & 0x03) << 24) argument
1720 #define G_0098F8_MULTI_GPU_TILE_SIZE(x) (((x) >> 24) & 0x03) argument
1722 #define S_0098F8_NUM_RB_PER_SE(x) (((unsigned)(x) & 0x03) << 26) argument
1723 #define G_0098F8_NUM_RB_PER_SE(x) (((x) >> 26) & 0x03) argument
1725 #define S_0098F8_ROW_SIZE(x) (((unsigned)(x) & 0x03) << 28) argument
1726 #define G_0098F8_ROW_SIZE(x) (((x) >> 28) & 0x03) argument
1728 #define S_0098F8_NUM_LOWER_PIPES(x) (((unsigned)(x) & 0x1) << 30) argument
1729 #define G_0098F8_NUM_LOWER_PIPES(x) (((x) >> 30) & 0x1) argument
1731 #define S_0098F8_SE_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1732 #define G_0098F8_SE_ENABLE(x) (((x) >> 31) & 0x1) argument
1735 #define S_009910_ARRAY_MODE(x) (((unsigned)(x) & 0x0F) << 2) argument
1736 #define G_009910_ARRAY_MODE(x) (((x) >> 2) & 0x0F) argument
1738 #define S_009910_PIPE_CONFIG(x) (((unsigned)(x) & 0x1F) << 6) argument
1739 #define G_009910_PIPE_CONFIG(x) (((x) >> 6) & 0x1F) argument
1741 #define S_009910_TILE_SPLIT(x) (((unsigned)(x) & 0x07) << 11) argument
1742 #define G_009910_TILE_SPLIT(x) (((x) >> 11) & 0x07) argument
1744 #define S_009910_MICRO_TILE_MODE_NEW(x) (((unsigned)(x) & 0x07) << 22) argument
1745 #define G_009910_MICRO_TILE_MODE_NEW(x) (((x) >> 22) & 0x07) argument
1747 #define S_009910_SAMPLE_SPLIT(x) (((unsigned)(x) & 0x03) << 25) argument
1748 #define G_009910_SAMPLE_SPLIT(x) (((x) >> 25) & 0x03) argument
1782 #define S_009990_BANK_WIDTH(x) (((unsigned)(x) & 0x03) << 0) argument
1783 #define G_009990_BANK_WIDTH(x) (((x) >> 0) & 0x03) argument
1785 #define S_009990_BANK_HEIGHT(x) (((unsigned)(x) & 0x03) << 2) argument
1786 #define G_009990_BANK_HEIGHT(x) (((x) >> 2) & 0x03) argument
1788 #define S_009990_MACRO_TILE_ASPECT(x) (((unsigned)(x) & 0x03) << 4) argument
1789 #define G_009990_MACRO_TILE_ASPECT(x) (((x) >> 4) & 0x03) argument
1791 #define S_009990_NUM_BANKS(x) (((unsigned)(x) & 0x03) << 6) argument
1792 #define G_009990_NUM_BANKS(x) (((x) >> 6) & 0x03) argument
1810 #define S_00B01C_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
1811 #define G_00B01C_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
1813 #define S_00B01C_WAVE_LIMIT(x) (((unsigned)(x) & 0x3F) << 16) argument
1814 #define G_00B01C_WAVE_LIMIT(x) (((x) >> 16) & 0x3F) argument
1816 #define S_00B01C_LOCK_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 22) argument
1817 #define G_00B01C_LOCK_LOW_THRESHOLD(x) (((x) >> 22) & 0x0F) argument
1819 #define S_00B01C_SIMD_DISABLE(x) (((unsigned)(x) & 0x0F) << 26) argument
1820 #define G_00B01C_SIMD_DISABLE(x) (((x) >> 26) & 0x0F) argument
1824 #define S_00B024_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
1825 #define G_00B024_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
1828 #define S_00B028_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
1829 #define G_00B028_VGPRS(x) (((x) >> 0) & 0x3F) argument
1831 #define S_00B028_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
1832 #define G_00B028_SGPRS(x) (((x) >> 6) & 0x0F) argument
1834 #define S_00B028_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
1835 #define G_00B028_PRIORITY(x) (((x) >> 10) & 0x03) argument
1837 #define S_00B028_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
1838 #define G_00B028_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
1840 #define S_00B028_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
1841 #define G_00B028_PRIV(x) (((x) >> 20) & 0x1) argument
1843 #define S_00B028_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1844 #define G_00B028_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1846 #define S_00B028_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
1847 #define G_00B028_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
1849 #define S_00B028_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
1850 #define G_00B028_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
1852 #define S_00B028_CU_GROUP_DISABLE(x) (((unsigned)(x) & 0x1) << 24) argument
1853 #define G_00B028_CU_GROUP_DISABLE(x) (((x) >> 24) & 0x1) argument
1855 #define S_00B028_CDBG_USER(x) (((unsigned)(x) & 0x1) << 28) argument
1856 #define G_00B028_CDBG_USER(x) (((x) >> 28) & 0x1) argument
1858 #define S_00B028_FP16_OVFL(x) (((unsigned)(x) & 0x1) << 29) argument
1859 #define G_00B028_FP16_OVFL(x) (((x) >> 29) & 0x1) argument
1862 #define S_00B02C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
1863 #define G_00B02C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
1865 #define S_00B02C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
1866 #define G_00B02C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
1868 #define S_00B02C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
1869 #define G_00B02C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
1871 #define S_00B02C_WAVE_CNT_EN(x) (((unsigned)(x) & 0x1) << 7) argument
1872 #define G_00B02C_WAVE_CNT_EN(x) (((x) >> 7) & 0x1) argument
1874 #define S_00B02C_EXTRA_LDS_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1875 #define G_00B02C_EXTRA_LDS_SIZE(x) (((x) >> 8) & 0xFF) argument
1877 #define S_00B02C_EXCP_EN(x) (((unsigned)(x) & 0x1FF) << 1… argument
1878 #define G_00B02C_EXCP_EN(x) (((x) >> 16) & 0x1FF) argument
1880 #define S_00B02C_LOAD_COLLISION_WAVEID(x) (((unsigned)(x) & 0x1) << 25) argument
1881 #define G_00B02C_LOAD_COLLISION_WAVEID(x) (((x) >> 25) & 0x1) argument
1883 #define S_00B02C_LOAD_INTRAWAVE_COLLISION(x) (((unsigned)(x) & 0x1) << 26) argument
1884 #define G_00B02C_LOAD_INTRAWAVE_COLLISION(x) (((x) >> 26) & 0x1) argument
1886 #define S_00B02C_SKIP_USGPR0(x) (((unsigned)(x) & 0x1) << 27) argument
1887 #define G_00B02C_SKIP_USGPR0(x) (((x) >> 27) & 0x1) argument
1889 #define S_00B02C_USER_SGPR_MSB(x) (((unsigned)(x) & 0x1) << 28) argument
1890 #define G_00B02C_USER_SGPR_MSB(x) (((x) >> 28) & 0x1) argument
1925 #define S_00B118_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
1926 #define G_00B118_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
1928 #define S_00B118_WAVE_LIMIT(x) (((unsigned)(x) & 0x3F) << 16) argument
1929 #define G_00B118_WAVE_LIMIT(x) (((x) >> 16) & 0x3F) argument
1931 #define S_00B118_LOCK_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 22) argument
1932 #define G_00B118_LOCK_LOW_THRESHOLD(x) (((x) >> 22) & 0x0F) argument
1934 #define S_00B118_SIMD_DISABLE(x) (((unsigned)(x) & 0x0F) << 26) argument
1935 #define G_00B118_SIMD_DISABLE(x) (((x) >> 26) & 0x0F) argument
1938 #define S_00B11C_LIMIT(x) (((unsigned)(x) & 0x3F) << 0) argument
1939 #define G_00B11C_LIMIT(x) (((x) >> 0) & 0x3F) argument
1943 #define S_00B124_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
1944 #define G_00B124_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
1947 #define S_00B128_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
1948 #define G_00B128_VGPRS(x) (((x) >> 0) & 0x3F) argument
1950 #define S_00B128_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
1951 #define G_00B128_SGPRS(x) (((x) >> 6) & 0x0F) argument
1953 #define S_00B128_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
1954 #define G_00B128_PRIORITY(x) (((x) >> 10) & 0x03) argument
1956 #define S_00B128_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
1957 #define G_00B128_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
1959 #define S_00B128_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
1960 #define G_00B128_PRIV(x) (((x) >> 20) & 0x1) argument
1962 #define S_00B128_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1963 #define G_00B128_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1965 #define S_00B128_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
1966 #define G_00B128_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
1968 #define S_00B128_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
1969 #define G_00B128_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
1971 #define S_00B128_VGPR_COMP_CNT(x) (((unsigned)(x) & 0x03) << 24) argument
1972 #define G_00B128_VGPR_COMP_CNT(x) (((x) >> 24) & 0x03) argument
1974 #define S_00B128_CU_GROUP_ENABLE(x) (((unsigned)(x) & 0x1) << 26) argument
1975 #define G_00B128_CU_GROUP_ENABLE(x) (((x) >> 26) & 0x1) argument
1977 #define S_00B128_CDBG_USER(x) (((unsigned)(x) & 0x1) << 30) argument
1978 #define G_00B128_CDBG_USER(x) (((x) >> 30) & 0x1) argument
1980 #define S_00B128_FP16_OVFL(x) (((unsigned)(x) & 0x1) << 31) argument
1981 #define G_00B128_FP16_OVFL(x) (((x) >> 31) & 0x1) argument
1984 #define S_00B12C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
1985 #define G_00B12C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
1987 #define S_00B12C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
1988 #define G_00B12C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
1990 #define S_00B12C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
1991 #define G_00B12C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
1993 #define S_00B12C_OC_LDS_EN(x) (((unsigned)(x) & 0x1) << 7) argument
1994 #define G_00B12C_OC_LDS_EN(x) (((x) >> 7) & 0x1) argument
1996 #define S_00B12C_SO_BASE0_EN(x) (((unsigned)(x) & 0x1) << 8) argument
1997 #define G_00B12C_SO_BASE0_EN(x) (((x) >> 8) & 0x1) argument
1999 #define S_00B12C_SO_BASE1_EN(x) (((unsigned)(x) & 0x1) << 9) argument
2000 #define G_00B12C_SO_BASE1_EN(x) (((x) >> 9) & 0x1) argument
2002 #define S_00B12C_SO_BASE2_EN(x) (((unsigned)(x) & 0x1) << 10) argument
2003 #define G_00B12C_SO_BASE2_EN(x) (((x) >> 10) & 0x1) argument
2005 #define S_00B12C_SO_BASE3_EN(x) (((unsigned)(x) & 0x1) << 11) argument
2006 #define G_00B12C_SO_BASE3_EN(x) (((x) >> 11) & 0x1) argument
2008 #define S_00B12C_SO_EN(x) (((unsigned)(x) & 0x1) << 12) argument
2009 #define G_00B12C_SO_EN(x) (((x) >> 12) & 0x1) argument
2011 #define S_00B12C_EXCP_EN(x) (((unsigned)(x) & 0x1FF) << 1… argument
2012 #define G_00B12C_EXCP_EN(x) (((x) >> 13) & 0x1FF) argument
2014 #define S_00B12C_PC_BASE_EN(x) (((unsigned)(x) & 0x1) << 22) argument
2015 #define G_00B12C_PC_BASE_EN(x) (((x) >> 22) & 0x1) argument
2017 #define S_00B12C_DISPATCH_DRAW_EN(x) (((unsigned)(x) & 0x1) << 24) argument
2018 #define G_00B12C_DISPATCH_DRAW_EN(x) (((x) >> 24) & 0x1) argument
2020 #define S_00B12C_SKIP_USGPR0(x) (((unsigned)(x) & 0x1) << 27) argument
2021 #define G_00B12C_SKIP_USGPR0(x) (((x) >> 27) & 0x1) argument
2023 #define S_00B12C_USER_SGPR_MSB(x) (((unsigned)(x) & 0x1) << 28) argument
2024 #define G_00B12C_USER_SGPR_MSB(x) (((x) >> 28) & 0x1) argument
2059 #define S_00B1F0_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
2060 #define G_00B1F0_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
2062 #define S_00B1F0_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
2063 #define G_00B1F0_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
2065 #define S_00B1F0_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
2066 #define G_00B1F0_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
2068 #define S_00B1F0_EXCP_EN(x) (((unsigned)(x) & 0x1FF) << 7) argument
2069 #define G_00B1F0_EXCP_EN(x) (((x) >> 7) & 0x1FF) argument
2071 #define S_00B1F0_VGPR_COMP_CNT(x) (((unsigned)(x) & 0x03) << 16) argument
2072 #define G_00B1F0_VGPR_COMP_CNT(x) (((x) >> 16) & 0x03) argument
2074 #define S_00B1F0_OC_LDS_EN(x) (((unsigned)(x) & 0x1) << 18) argument
2075 #define G_00B1F0_OC_LDS_EN(x) (((x) >> 18) & 0x1) argument
2077 #define S_00B1F0_LDS_SIZE(x) (((unsigned)(x) & 0xFF) << 19) argument
2078 #define G_00B1F0_LDS_SIZE(x) (((x) >> 19) & 0xFF) argument
2080 #define S_00B1F0_SKIP_USGPR0(x) (((unsigned)(x) & 0x1) << 27) argument
2081 #define G_00B1F0_SKIP_USGPR0(x) (((x) >> 27) & 0x1) argument
2083 #define S_00B1F0_USER_SGPR_MSB(x) (((unsigned)(x) & 0x1) << 28) argument
2084 #define G_00B1F0_USER_SGPR_MSB(x) (((x) >> 28) & 0x1) argument
2087 #define S_00B204_GROUP_FIFO_DEPTH(x) (((unsigned)(x) & 0x7F) << 0) argument
2088 #define G_00B204_GROUP_FIFO_DEPTH(x) (((x) >> 0) & 0x7F) argument
2090 #define S_00B204_SPI_SHADER_LATE_ALLOC_GS(x) (((unsigned)(x) & 0x7F) << 7) argument
2091 #define G_00B204_SPI_SHADER_LATE_ALLOC_GS(x) (((x) >> 7) & 0x7F) argument
2097 #define S_00B214_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
2098 #define G_00B214_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
2101 #define S_00B21C_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2102 #define G_00B21C_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
2104 #define S_00B21C_WAVE_LIMIT(x) (((unsigned)(x) & 0x3F) << 16) argument
2105 #define G_00B21C_WAVE_LIMIT(x) (((x) >> 16) & 0x3F) argument
2107 #define S_00B21C_LOCK_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 22) argument
2108 #define G_00B21C_LOCK_LOW_THRESHOLD(x) (((x) >> 22) & 0x0F) argument
2110 #define S_00B21C_SIMD_DISABLE(x) (((unsigned)(x) & 0x0F) << 26) argument
2111 #define G_00B21C_SIMD_DISABLE(x) (((x) >> 26) & 0x0F) argument
2115 #define S_00B224_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
2116 #define G_00B224_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
2119 #define S_00B228_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
2120 #define G_00B228_VGPRS(x) (((x) >> 0) & 0x3F) argument
2122 #define S_00B228_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
2123 #define G_00B228_SGPRS(x) (((x) >> 6) & 0x0F) argument
2125 #define S_00B228_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
2126 #define G_00B228_PRIORITY(x) (((x) >> 10) & 0x03) argument
2128 #define S_00B228_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
2129 #define G_00B228_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
2131 #define S_00B228_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
2132 #define G_00B228_PRIV(x) (((x) >> 20) & 0x1) argument
2134 #define S_00B228_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
2135 #define G_00B228_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
2137 #define S_00B228_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
2138 #define G_00B228_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
2140 #define S_00B228_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
2141 #define G_00B228_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
2143 #define S_00B228_CU_GROUP_ENABLE(x) (((unsigned)(x) & 0x1) << 24) argument
2144 #define G_00B228_CU_GROUP_ENABLE(x) (((x) >> 24) & 0x1) argument
2146 #define S_00B228_CDBG_USER(x) (((unsigned)(x) & 0x1) << 28) argument
2147 #define G_00B228_CDBG_USER(x) (((x) >> 28) & 0x1) argument
2149 #define S_00B228_GS_VGPR_COMP_CNT(x) (((unsigned)(x) & 0x03) << 29) argument
2150 #define G_00B228_GS_VGPR_COMP_CNT(x) (((x) >> 29) & 0x03) argument
2152 #define S_00B228_FP16_OVFL(x) (((unsigned)(x) & 0x1) << 31) argument
2153 #define G_00B228_FP16_OVFL(x) (((x) >> 31) & 0x1) argument
2156 #define S_00B22C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
2157 #define G_00B22C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
2159 #define S_00B22C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
2160 #define G_00B22C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
2162 #define S_00B22C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
2163 #define G_00B22C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
2165 #define S_00B22C_EXCP_EN(x) (((unsigned)(x) & 0x1FF) << 7) argument
2166 #define G_00B22C_EXCP_EN(x) (((x) >> 7) & 0x1FF) argument
2168 #define S_00B22C_ES_VGPR_COMP_CNT(x) (((unsigned)(x) & 0x03) << 16) argument
2169 #define G_00B22C_ES_VGPR_COMP_CNT(x) (((x) >> 16) & 0x03) argument
2171 #define S_00B22C_OC_LDS_EN(x) (((unsigned)(x) & 0x1) << 18) argument
2172 #define G_00B22C_OC_LDS_EN(x) (((x) >> 18) & 0x1) argument
2174 #define S_00B22C_LDS_SIZE(x) (((unsigned)(x) & 0xFF) << 19) argument
2175 #define G_00B22C_LDS_SIZE(x) (((x) >> 19) & 0xFF) argument
2177 #define S_00B22C_SKIP_USGPR0(x) (((unsigned)(x) & 0x1) << 27) argument
2178 #define G_00B22C_SKIP_USGPR0(x) (((x) >> 27) & 0x1) argument
2180 #define S_00B22C_USER_SGPR_MSB(x) (((unsigned)(x) & 0x1) << 28) argument
2181 #define G_00B22C_USER_SGPR_MSB(x) (((x) >> 28) & 0x1) argument
2216 #define S_00B404_GROUP_FIFO_DEPTH(x) (((unsigned)(x) & 0x7F) << 0) argument
2217 #define G_00B404_GROUP_FIFO_DEPTH(x) (((x) >> 0) & 0x7F) argument
2223 #define S_00B414_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
2224 #define G_00B414_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
2227 #define S_00B41C_WAVE_LIMIT(x) (((unsigned)(x) & 0x3F) << 0) argument
2228 #define G_00B41C_WAVE_LIMIT(x) (((x) >> 0) & 0x3F) argument
2230 #define S_00B41C_LOCK_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 6) argument
2231 #define G_00B41C_LOCK_LOW_THRESHOLD(x) (((x) >> 6) & 0x0F) argument
2233 #define S_00B41C_SIMD_DISABLE(x) (((unsigned)(x) & 0x0F) << 10) argument
2234 #define G_00B41C_SIMD_DISABLE(x) (((x) >> 10) & 0x0F) argument
2236 #define S_00B41C_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2237 #define G_00B41C_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
2241 #define S_00B424_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
2242 #define G_00B424_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
2245 #define S_00B428_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
2246 #define G_00B428_VGPRS(x) (((x) >> 0) & 0x3F) argument
2248 #define S_00B428_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
2249 #define G_00B428_SGPRS(x) (((x) >> 6) & 0x0F) argument
2251 #define S_00B428_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
2252 #define G_00B428_PRIORITY(x) (((x) >> 10) & 0x03) argument
2254 #define S_00B428_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
2255 #define G_00B428_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
2257 #define S_00B428_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
2258 #define G_00B428_PRIV(x) (((x) >> 20) & 0x1) argument
2260 #define S_00B428_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
2261 #define G_00B428_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
2263 #define S_00B428_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
2264 #define G_00B428_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
2266 #define S_00B428_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
2267 #define G_00B428_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
2269 #define S_00B428_CDBG_USER(x) (((unsigned)(x) & 0x1) << 27) argument
2270 #define G_00B428_CDBG_USER(x) (((x) >> 27) & 0x1) argument
2272 #define S_00B428_LS_VGPR_COMP_CNT(x) (((unsigned)(x) & 0x03) << 28) argument
2273 #define G_00B428_LS_VGPR_COMP_CNT(x) (((x) >> 28) & 0x03) argument
2275 #define S_00B428_FP16_OVFL(x) (((unsigned)(x) & 0x1) << 30) argument
2276 #define G_00B428_FP16_OVFL(x) (((x) >> 30) & 0x1) argument
2279 #define S_00B42C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
2280 #define G_00B42C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
2282 #define S_00B42C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
2283 #define G_00B42C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
2285 #define S_00B42C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
2286 #define G_00B42C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
2288 #define S_00B42C_EXCP_EN(x) (((unsigned)(x) & 0x1FF) << 7) argument
2289 #define G_00B42C_EXCP_EN(x) (((x) >> 7) & 0x1FF) argument
2291 #define S_00B42C_LDS_SIZE(x) (((unsigned)(x) & 0x1FF) << 1… argument
2292 #define G_00B42C_LDS_SIZE(x) (((x) >> 16) & 0x1FF) argument
2294 #define S_00B42C_SKIP_USGPR0(x) (((unsigned)(x) & 0x1) << 27) argument
2295 #define G_00B42C_SKIP_USGPR0(x) (((x) >> 27) & 0x1) argument
2297 #define S_00B42C_USER_SGPR_MSB(x) (((unsigned)(x) & 0x1) << 28) argument
2298 #define G_00B42C_USER_SGPR_MSB(x) (((x) >> 28) & 0x1) argument
2365 #define S_00B800_COMPUTE_SHADER_EN(x) (((unsigned)(x) & 0x1) << 0) argument
2366 #define G_00B800_COMPUTE_SHADER_EN(x) (((x) >> 0) & 0x1) argument
2368 #define S_00B800_PARTIAL_TG_EN(x) (((unsigned)(x) & 0x1) << 1) argument
2369 #define G_00B800_PARTIAL_TG_EN(x) (((x) >> 1) & 0x1) argument
2371 #define S_00B800_FORCE_START_AT_000(x) (((unsigned)(x) & 0x1) << 2) argument
2372 #define G_00B800_FORCE_START_AT_000(x) (((x) >> 2) & 0x1) argument
2374 #define S_00B800_ORDERED_APPEND_ENBL(x) (((unsigned)(x) & 0x1) << 3) argument
2375 #define G_00B800_ORDERED_APPEND_ENBL(x) (((x) >> 3) & 0x1) argument
2377 #define S_00B800_ORDERED_APPEND_MODE(x) (((unsigned)(x) & 0x1) << 4) argument
2378 #define G_00B800_ORDERED_APPEND_MODE(x) (((x) >> 4) & 0x1) argument
2380 #define S_00B800_USE_THREAD_DIMENSIONS(x) (((unsigned)(x) & 0x1) << 5) argument
2381 #define G_00B800_USE_THREAD_DIMENSIONS(x) (((x) >> 5) & 0x1) argument
2383 #define S_00B800_ORDER_MODE(x) (((unsigned)(x) & 0x1) << 6) argument
2384 #define G_00B800_ORDER_MODE(x) (((x) >> 6) & 0x1) argument
2386 #define S_00B800_SCALAR_L1_INV_VOL(x) (((unsigned)(x) & 0x1) << 10) argument
2387 #define G_00B800_SCALAR_L1_INV_VOL(x) (((x) >> 10) & 0x1) argument
2389 #define S_00B800_VECTOR_L1_INV_VOL(x) (((unsigned)(x) & 0x1) << 11) argument
2390 #define G_00B800_VECTOR_L1_INV_VOL(x) (((x) >> 11) & 0x1) argument
2392 #define S_00B800_RESERVED(x) (((unsigned)(x) & 0x1) << 12) argument
2393 #define G_00B800_RESERVED(x) (((x) >> 12) & 0x1) argument
2395 #define S_00B800_RESTORE(x) (((unsigned)(x) & 0x1) << 14) argument
2396 #define G_00B800_RESTORE(x) (((x) >> 14) & 0x1) argument
2405 #define S_00B81C_NUM_THREAD_FULL(x) (((unsigned)(x) & 0xFFFF) << … argument
2406 #define G_00B81C_NUM_THREAD_FULL(x) (((x) >> 0) & 0xFFFF) argument
2408 #define S_00B81C_NUM_THREAD_PARTIAL(x) (((unsigned)(x) & 0xFFFF) << … argument
2409 #define G_00B81C_NUM_THREAD_PARTIAL(x) (((x) >> 16) & 0xFFFF) argument
2412 #define S_00B820_NUM_THREAD_FULL(x) (((unsigned)(x) & 0xFFFF) << … argument
2413 #define G_00B820_NUM_THREAD_FULL(x) (((x) >> 0) & 0xFFFF) argument
2415 #define S_00B820_NUM_THREAD_PARTIAL(x) (((unsigned)(x) & 0xFFFF) << … argument
2416 #define G_00B820_NUM_THREAD_PARTIAL(x) (((x) >> 16) & 0xFFFF) argument
2419 #define S_00B824_NUM_THREAD_FULL(x) (((unsigned)(x) & 0xFFFF) << … argument
2420 #define G_00B824_NUM_THREAD_FULL(x) (((x) >> 0) & 0xFFFF) argument
2422 #define S_00B824_NUM_THREAD_PARTIAL(x) (((unsigned)(x) & 0xFFFF) << … argument
2423 #define G_00B824_NUM_THREAD_PARTIAL(x) (((x) >> 16) & 0xFFFF) argument
2426 #define S_00B828_PIPELINESTAT_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
2427 #define G_00B828_PIPELINESTAT_ENABLE(x) (((x) >> 0) & 0x1) argument
2430 #define S_00B82C_PERFCOUNT_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
2431 #define G_00B82C_PERFCOUNT_ENABLE(x) (((x) >> 0) & 0x1) argument
2435 #define S_00B834_DATA(x) (((unsigned)(x) & 0xFF) << 0) argument
2436 #define G_00B834_DATA(x) (((x) >> 0) & 0xFF) argument
2440 #define S_00B83C_DATA(x) (((unsigned)(x) & 0xFF) << 0) argument
2441 #define G_00B83C_DATA(x) (((x) >> 0) & 0xFF) argument
2445 #define S_00B844_DATA(x) (((unsigned)(x) & 0xFF) << 0) argument
2446 #define G_00B844_DATA(x) (((x) >> 0) & 0xFF) argument
2449 #define S_00B848_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
2450 #define G_00B848_VGPRS(x) (((x) >> 0) & 0x3F) argument
2452 #define S_00B848_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
2453 #define G_00B848_SGPRS(x) (((x) >> 6) & 0x0F) argument
2455 #define S_00B848_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
2456 #define G_00B848_PRIORITY(x) (((x) >> 10) & 0x03) argument
2458 #define S_00B848_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
2459 #define G_00B848_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
2461 #define S_00B848_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
2462 #define G_00B848_PRIV(x) (((x) >> 20) & 0x1) argument
2464 #define S_00B848_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
2465 #define G_00B848_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
2467 #define S_00B848_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
2468 #define G_00B848_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
2470 #define S_00B848_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
2471 #define G_00B848_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
2473 #define S_00B848_BULKY(x) (((unsigned)(x) & 0x1) << 24) argument
2474 #define G_00B848_BULKY(x) (((x) >> 24) & 0x1) argument
2476 #define S_00B848_CDBG_USER(x) (((unsigned)(x) & 0x1) << 25) argument
2477 #define G_00B848_CDBG_USER(x) (((x) >> 25) & 0x1) argument
2479 #define S_00B848_FP16_OVFL(x) (((unsigned)(x) & 0x1) << 26) argument
2480 #define G_00B848_FP16_OVFL(x) (((x) >> 26) & 0x1) argument
2483 #define S_00B84C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
2484 #define G_00B84C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
2486 #define S_00B84C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
2487 #define G_00B84C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
2489 #define S_00B84C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
2490 #define G_00B84C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
2492 #define S_00B84C_TGID_X_EN(x) (((unsigned)(x) & 0x1) << 7) argument
2493 #define G_00B84C_TGID_X_EN(x) (((x) >> 7) & 0x1) argument
2495 #define S_00B84C_TGID_Y_EN(x) (((unsigned)(x) & 0x1) << 8) argument
2496 #define G_00B84C_TGID_Y_EN(x) (((x) >> 8) & 0x1) argument
2498 #define S_00B84C_TGID_Z_EN(x) (((unsigned)(x) & 0x1) << 9) argument
2499 #define G_00B84C_TGID_Z_EN(x) (((x) >> 9) & 0x1) argument
2501 #define S_00B84C_TG_SIZE_EN(x) (((unsigned)(x) & 0x1) << 10) argument
2502 #define G_00B84C_TG_SIZE_EN(x) (((x) >> 10) & 0x1) argument
2504 #define S_00B84C_TIDIG_COMP_CNT(x) (((unsigned)(x) & 0x03) << 11) argument
2505 #define G_00B84C_TIDIG_COMP_CNT(x) (((x) >> 11) & 0x03) argument
2507 #define S_00B84C_EXCP_EN_MSB(x) (((unsigned)(x) & 0x03) << 13) argument
2508 #define G_00B84C_EXCP_EN_MSB(x) (((x) >> 13) & 0x03) argument
2510 #define S_00B84C_LDS_SIZE(x) (((unsigned)(x) & 0x1FF) << 1… argument
2511 #define G_00B84C_LDS_SIZE(x) (((x) >> 15) & 0x1FF) argument
2513 #define S_00B84C_EXCP_EN(x) (((unsigned)(x) & 0x7F) << 24) argument
2514 #define G_00B84C_EXCP_EN(x) (((x) >> 24) & 0x7F) argument
2516 #define S_00B84C_SKIP_USGPR0(x) (((unsigned)(x) & 0x1) << 31) argument
2517 #define G_00B84C_SKIP_USGPR0(x) (((x) >> 31) & 0x1) argument
2520 #define S_00B850_DATA(x) (((unsigned)(x) & 0x0F) << 0) argument
2521 #define G_00B850_DATA(x) (((x) >> 0) & 0x0F) argument
2524 #define S_00B854_WAVES_PER_SH(x) (((unsigned)(x) & 0x3FF) << 0) argument
2525 #define G_00B854_WAVES_PER_SH(x) (((x) >> 0) & 0x3FF) argument
2527 #define S_00B854_TG_PER_CU(x) (((unsigned)(x) & 0x0F) << 12) argument
2528 #define G_00B854_TG_PER_CU(x) (((x) >> 12) & 0x0F) argument
2530 #define S_00B854_LOCK_THRESHOLD(x) (((unsigned)(x) & 0x3F) << 16) argument
2531 #define G_00B854_LOCK_THRESHOLD(x) (((x) >> 16) & 0x3F) argument
2533 #define S_00B854_SIMD_DEST_CNTL(x) (((unsigned)(x) & 0x1) << 22) argument
2534 #define G_00B854_SIMD_DEST_CNTL(x) (((x) >> 22) & 0x1) argument
2536 #define S_00B854_FORCE_SIMD_DIST(x) (((unsigned)(x) & 0x1) << 23) argument
2537 #define G_00B854_FORCE_SIMD_DIST(x) (((x) >> 23) & 0x1) argument
2539 #define S_00B854_CU_GROUP_COUNT(x) (((unsigned)(x) & 0x07) << 24) argument
2540 #define G_00B854_CU_GROUP_COUNT(x) (((x) >> 24) & 0x07) argument
2542 #define S_00B854_SIMD_DISABLE(x) (((unsigned)(x) & 0x0F) << 27) argument
2543 #define G_00B854_SIMD_DISABLE(x) (((x) >> 27) & 0x0F) argument
2546 #define S_00B858_SH0_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2547 #define G_00B858_SH0_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
2549 #define S_00B858_SH1_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2550 #define G_00B858_SH1_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
2553 #define S_00B85C_SH0_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2554 #define G_00B85C_SH0_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
2556 #define S_00B85C_SH1_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2557 #define G_00B85C_SH1_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
2560 #define S_00B860_WAVES(x) (((unsigned)(x) & 0xFFF) << 0) argument
2561 #define G_00B860_WAVES(x) (((x) >> 0) & 0xFFF) argument
2563 #define S_00B860_WAVESIZE(x) (((unsigned)(x) & 0x1FFF) << … argument
2564 #define G_00B860_WAVESIZE(x) (((x) >> 12) & 0x1FFF) argument
2567 #define S_00B864_SH0_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2568 #define G_00B864_SH0_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
2570 #define S_00B864_SH1_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2571 #define G_00B864_SH1_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
2574 #define S_00B868_SH0_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2575 #define G_00B868_SH0_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
2577 #define S_00B868_SH1_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2578 #define G_00B868_SH1_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
2584 #define S_00B87C_SEND_SEID(x) (((unsigned)(x) & 0x03) << 0) argument
2585 #define G_00B87C_SEND_SEID(x) (((x) >> 0) & 0x03) argument
2587 #define S_00B87C_RESERVED2(x) (((unsigned)(x) & 0x1) << 2) argument
2588 #define G_00B87C_RESERVED2(x) (((x) >> 2) & 0x1) argument
2590 #define S_00B87C_RESERVED3(x) (((unsigned)(x) & 0x1) << 3) argument
2591 #define G_00B87C_RESERVED3(x) (((x) >> 3) & 0x1) argument
2593 #define S_00B87C_RESERVED4(x) (((unsigned)(x) & 0x1) << 4) argument
2594 #define G_00B87C_RESERVED4(x) (((x) >> 4) & 0x1) argument
2596 #define S_00B87C_WAVE_ID_BASE(x) (((unsigned)(x) & 0xFFF) << 5) argument
2597 #define G_00B87C_WAVE_ID_BASE(x) (((x) >> 5) & 0xFFF) argument
2602 #define S_00B888_PAYLOAD(x) (((unsigned)(x) & 0x3FFFFFFF)… argument
2603 #define G_00B888_PAYLOAD(x) (((x) >> 0) & 0x3FFFFFFF) argument
2605 #define S_00B888_IS_EVENT(x) (((unsigned)(x) & 0x1) << 30) argument
2606 #define G_00B888_IS_EVENT(x) (((x) >> 30) & 0x1) argument
2608 #define S_00B888_IS_STATE(x) (((unsigned)(x) & 0x1) << 31) argument
2609 #define G_00B888_IS_STATE(x) (((x) >> 31) & 0x1) argument
2613 #define S_00B890_ADDR(x) (((unsigned)(x) & 0xFFFF) << … argument
2614 #define G_00B890_ADDR(x) (((x) >> 0) & 0xFFFF) argument
2686 #define S_034404_PERFCOUNTER_HI(x) (((unsigned)(x) & 0xFFFF) << … argument
2687 #define G_034404_PERFCOUNTER_HI(x) (((x) >> 0) & 0xFFFF) argument
2821 #define S_036004_CNTR_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
2822 #define G_036004_CNTR_SEL2(x) (((x) >> 0) & 0x3FF) argument
2824 #define S_036004_CNTR_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
2825 #define G_036004_CNTR_SEL3(x) (((x) >> 10) & 0x3FF) argument
2827 #define S_036004_CNTR_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
2828 #define G_036004_CNTR_MODE3(x) (((x) >> 24) & 0x0F) argument
2830 #define S_036004_CNTR_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
2831 #define G_036004_CNTR_MODE2(x) (((x) >> 28) & 0x0F) argument
2834 #define S_036008_CNTR_SEL0(x) (((unsigned)(x) & 0x3FF) << 0) argument
2835 #define G_036008_CNTR_SEL0(x) (((x) >> 0) & 0x3FF) argument
2837 #define S_036008_CNTR_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
2838 #define G_036008_CNTR_SEL1(x) (((x) >> 10) & 0x3FF) argument
2840 #define S_036008_SPM_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
2841 #define G_036008_SPM_MODE(x) (((x) >> 20) & 0x0F) argument
2843 #define S_036008_CNTR_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
2844 #define G_036008_CNTR_MODE1(x) (((x) >> 24) & 0x0F) argument
2846 #define S_036008_CNTR_MODE0(x) (((unsigned)(x) & 0x0F) << 28) argument
2847 #define G_036008_CNTR_MODE0(x) (((x) >> 28) & 0x0F) argument
2851 #define S_036010_CNTR_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
2852 #define G_036010_CNTR_SEL2(x) (((x) >> 0) & 0x3FF) argument
2854 #define S_036010_CNTR_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
2855 #define G_036010_CNTR_SEL3(x) (((x) >> 10) & 0x3FF) argument
2857 #define S_036010_CNTR_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
2858 #define G_036010_CNTR_MODE3(x) (((x) >> 24) & 0x0F) argument
2860 #define S_036010_CNTR_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
2861 #define G_036010_CNTR_MODE2(x) (((x) >> 28) & 0x0F) argument
2865 #define S_036018_CNTR_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
2866 #define G_036018_CNTR_SEL2(x) (((x) >> 0) & 0x3FF) argument
2868 #define S_036018_CNTR_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
2869 #define G_036018_CNTR_SEL3(x) (((x) >> 10) & 0x3FF) argument
2871 #define S_036018_CNTR_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
2872 #define G_036018_CNTR_MODE3(x) (((x) >> 24) & 0x0F) argument
2874 #define S_036018_CNTR_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
2875 #define G_036018_CNTR_MODE2(x) (((x) >> 28) & 0x0F) argument
2878 #define S_03601C_CNTR_SEL0(x) (((unsigned)(x) & 0x3FF) << 0) argument
2879 #define G_03601C_CNTR_SEL0(x) (((x) >> 0) & 0x3FF) argument
2881 #define S_03601C_CNTR_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
2882 #define G_03601C_CNTR_SEL1(x) (((x) >> 10) & 0x3FF) argument
2884 #define S_03601C_SPM_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
2885 #define G_03601C_SPM_MODE(x) (((x) >> 20) & 0x0F) argument
2887 #define S_03601C_CNTR_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
2888 #define G_03601C_CNTR_MODE1(x) (((x) >> 24) & 0x0F) argument
2890 #define S_03601C_CNTR_MODE0(x) (((unsigned)(x) & 0x0F) << 28) argument
2891 #define G_03601C_CNTR_MODE0(x) (((x) >> 28) & 0x0F) argument
2894 #define S_036020_PERFMON_STATE(x) (((unsigned)(x) & 0x0F) << 0) argument
2895 #define G_036020_PERFMON_STATE(x) (((x) >> 0) & 0x0F) argument
2897 #define S_036020_SPM_PERFMON_STATE(x) (((unsigned)(x) & 0x0F) << 4) argument
2898 #define G_036020_SPM_PERFMON_STATE(x) (((x) >> 4) & 0x0F) argument
2900 #define S_036020_PERFMON_ENABLE_MODE(x) (((unsigned)(x) & 0x03) << 8) argument
2901 #define G_036020_PERFMON_ENABLE_MODE(x) (((x) >> 8) & 0x03) argument
2903 #define S_036020_PERFMON_SAMPLE_ENABLE(x) (((unsigned)(x) & 0x1) << 10) argument
2904 #define G_036020_PERFMON_SAMPLE_ENABLE(x) (((x) >> 10) & 0x1) argument
2907 #define S_036024_CNTR_SEL0(x) (((unsigned)(x) & 0x3FF) << 0) argument
2908 #define G_036024_CNTR_SEL0(x) (((x) >> 0) & 0x3FF) argument
2910 #define S_036024_CNTR_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
2911 #define G_036024_CNTR_SEL1(x) (((x) >> 10) & 0x3FF) argument
2913 #define S_036024_SPM_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
2914 #define G_036024_SPM_MODE(x) (((x) >> 20) & 0x0F) argument
2916 #define S_036024_CNTR_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
2917 #define G_036024_CNTR_MODE1(x) (((x) >> 24) & 0x0F) argument
2919 #define S_036024_CNTR_MODE0(x) (((unsigned)(x) & 0x0F) << 28) argument
2920 #define G_036024_CNTR_MODE0(x) (((x) >> 28) & 0x0F) argument
2923 #define S_036028_INDEX(x) (((unsigned)(x) & 0x07) << 0) argument
2924 #define G_036028_INDEX(x) (((x) >> 0) & 0x07) argument
2926 #define S_036028_ALWAYS(x) (((unsigned)(x) & 0x1) << 30) argument
2927 #define G_036028_ALWAYS(x) (((x) >> 30) & 0x1) argument
2929 #define S_036028_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2930 #define G_036028_ENABLE(x) (((x) >> 31) & 0x1) argument
2933 #define S_03602C_INDEX(x) (((unsigned)(x) & 0x1F) << 0) argument
2934 #define G_03602C_INDEX(x) (((x) >> 0) & 0x1F) argument
2936 #define S_03602C_ALWAYS(x) (((unsigned)(x) & 0x1) << 30) argument
2937 #define G_03602C_ALWAYS(x) (((x) >> 30) & 0x1) argument
2939 #define S_03602C_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2940 #define G_03602C_ENABLE(x) (((x) >> 31) & 0x1) argument
2943 #define S_036030_INDEX(x) (((unsigned)(x) & 0x0F) << 0) argument
2944 #define G_036030_INDEX(x) (((x) >> 0) & 0x0F) argument
2946 #define S_036030_CLEAR(x) (((unsigned)(x) & 0x1) << 30) argument
2947 #define G_036030_CLEAR(x) (((x) >> 30) & 0x1) argument
2949 #define S_036030_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2950 #define G_036030_ENABLE(x) (((x) >> 31) & 0x1) argument
2953 #define S_036034_INDEX(x) (((unsigned)(x) & 0x1F) << 0) argument
2954 #define G_036034_INDEX(x) (((x) >> 0) & 0x1F) argument
2956 #define S_036034_CLEAR(x) (((unsigned)(x) & 0x1) << 30) argument
2957 #define G_036034_CLEAR(x) (((x) >> 30) & 0x1) argument
2959 #define S_036034_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2960 #define G_036034_ENABLE(x) (((x) >> 31) & 0x1) argument
2963 #define S_036038_INDEX(x) (((unsigned)(x) & 0x07) << 0) argument
2964 #define G_036038_INDEX(x) (((x) >> 0) & 0x07) argument
2966 #define S_036038_CLEAR(x) (((unsigned)(x) & 0x1) << 30) argument
2967 #define G_036038_CLEAR(x) (((x) >> 30) & 0x1) argument
2969 #define S_036038_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2970 #define G_036038_ENABLE(x) (((x) >> 31) & 0x1) argument
2973 #define S_036100_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
2974 #define G_036100_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
2976 #define S_036100_DB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 10) argument
2977 #define G_036100_DB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 10) & 0x1) argument
2979 #define S_036100_CB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
2980 #define G_036100_CB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 11) & 0x1) argument
2982 #define S_036100_VGT_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 12) argument
2983 #define G_036100_VGT_BUSY_USER_DEFINED_MASK(x) (((x) >> 12) & 0x1) argument
2985 #define S_036100_TA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 13) argument
2986 #define G_036100_TA_BUSY_USER_DEFINED_MASK(x) (((x) >> 13) & 0x1) argument
2988 #define S_036100_SX_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 14) argument
2989 #define G_036100_SX_BUSY_USER_DEFINED_MASK(x) (((x) >> 14) & 0x1) argument
2991 #define S_036100_SPI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 16) argument
2992 #define G_036100_SPI_BUSY_USER_DEFINED_MASK(x) (((x) >> 16) & 0x1) argument
2994 #define S_036100_SC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 17) argument
2995 #define G_036100_SC_BUSY_USER_DEFINED_MASK(x) (((x) >> 17) & 0x1) argument
2997 #define S_036100_PA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 18) argument
2998 #define G_036100_PA_BUSY_USER_DEFINED_MASK(x) (((x) >> 18) & 0x1) argument
3000 #define S_036100_GRBM_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 19) argument
3001 #define G_036100_GRBM_BUSY_USER_DEFINED_MASK(x) (((x) >> 19) & 0x1) argument
3003 #define S_036100_DB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 20) argument
3004 #define G_036100_DB_BUSY_USER_DEFINED_MASK(x) (((x) >> 20) & 0x1) argument
3006 #define S_036100_CB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 21) argument
3007 #define G_036100_CB_BUSY_USER_DEFINED_MASK(x) (((x) >> 21) & 0x1) argument
3009 #define S_036100_CP_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 22) argument
3010 #define G_036100_CP_BUSY_USER_DEFINED_MASK(x) (((x) >> 22) & 0x1) argument
3012 #define S_036100_IA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 23) argument
3013 #define G_036100_IA_BUSY_USER_DEFINED_MASK(x) (((x) >> 23) & 0x1) argument
3015 #define S_036100_GDS_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 24) argument
3016 #define G_036100_GDS_BUSY_USER_DEFINED_MASK(x) (((x) >> 24) & 0x1) argument
3018 #define S_036100_BCI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 25) argument
3019 #define G_036100_BCI_BUSY_USER_DEFINED_MASK(x) (((x) >> 25) & 0x1) argument
3021 #define S_036100_RLC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 26) argument
3022 #define G_036100_RLC_BUSY_USER_DEFINED_MASK(x) (((x) >> 26) & 0x1) argument
3024 #define S_036100_TC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 27) argument
3025 #define G_036100_TC_BUSY_USER_DEFINED_MASK(x) (((x) >> 27) & 0x1) argument
3027 #define S_036100_WD_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 28) argument
3028 #define G_036100_WD_BUSY_USER_DEFINED_MASK(x) (((x) >> 28) & 0x1) argument
3030 #define S_036100_UTCL2_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 29) argument
3031 #define G_036100_UTCL2_BUSY_USER_DEFINED_MASK(x) (((x) >> 29) & 0x1) argument
3033 #define S_036100_EA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 30) argument
3034 #define G_036100_EA_BUSY_USER_DEFINED_MASK(x) (((x) >> 30) & 0x1) argument
3036 #define S_036100_RMI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 31) argument
3037 #define G_036100_RMI_BUSY_USER_DEFINED_MASK(x) (((x) >> 31) & 0x1) argument
3041 #define S_036108_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
3042 #define G_036108_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
3044 #define S_036108_DB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 10) argument
3045 #define G_036108_DB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 10) & 0x1) argument
3047 #define S_036108_CB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
3048 #define G_036108_CB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 11) & 0x1) argument
3050 #define S_036108_TA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 12) argument
3051 #define G_036108_TA_BUSY_USER_DEFINED_MASK(x) (((x) >> 12) & 0x1) argument
3053 #define S_036108_SX_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 13) argument
3054 #define G_036108_SX_BUSY_USER_DEFINED_MASK(x) (((x) >> 13) & 0x1) argument
3056 #define S_036108_SPI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 15) argument
3057 #define G_036108_SPI_BUSY_USER_DEFINED_MASK(x) (((x) >> 15) & 0x1) argument
3059 #define S_036108_SC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 16) argument
3060 #define G_036108_SC_BUSY_USER_DEFINED_MASK(x) (((x) >> 16) & 0x1) argument
3062 #define S_036108_DB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 17) argument
3063 #define G_036108_DB_BUSY_USER_DEFINED_MASK(x) (((x) >> 17) & 0x1) argument
3065 #define S_036108_CB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 18) argument
3066 #define G_036108_CB_BUSY_USER_DEFINED_MASK(x) (((x) >> 18) & 0x1) argument
3068 #define S_036108_VGT_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 19) argument
3069 #define G_036108_VGT_BUSY_USER_DEFINED_MASK(x) (((x) >> 19) & 0x1) argument
3071 #define S_036108_PA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 20) argument
3072 #define G_036108_PA_BUSY_USER_DEFINED_MASK(x) (((x) >> 20) & 0x1) argument
3074 #define S_036108_BCI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 21) argument
3075 #define G_036108_BCI_BUSY_USER_DEFINED_MASK(x) (((x) >> 21) & 0x1) argument
3077 #define S_036108_RMI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 22) argument
3078 #define G_036108_RMI_BUSY_USER_DEFINED_MASK(x) (((x) >> 22) & 0x1) argument
3081 #define S_03610C_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
3082 #define G_03610C_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
3084 #define S_03610C_DB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 10) argument
3085 #define G_03610C_DB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 10) & 0x1) argument
3087 #define S_03610C_CB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
3088 #define G_03610C_CB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 11) & 0x1) argument
3090 #define S_03610C_TA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 12) argument
3091 #define G_03610C_TA_BUSY_USER_DEFINED_MASK(x) (((x) >> 12) & 0x1) argument
3093 #define S_03610C_SX_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 13) argument
3094 #define G_03610C_SX_BUSY_USER_DEFINED_MASK(x) (((x) >> 13) & 0x1) argument
3096 #define S_03610C_SPI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 15) argument
3097 #define G_03610C_SPI_BUSY_USER_DEFINED_MASK(x) (((x) >> 15) & 0x1) argument
3099 #define S_03610C_SC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 16) argument
3100 #define G_03610C_SC_BUSY_USER_DEFINED_MASK(x) (((x) >> 16) & 0x1) argument
3102 #define S_03610C_DB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 17) argument
3103 #define G_03610C_DB_BUSY_USER_DEFINED_MASK(x) (((x) >> 17) & 0x1) argument
3105 #define S_03610C_CB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 18) argument
3106 #define G_03610C_CB_BUSY_USER_DEFINED_MASK(x) (((x) >> 18) & 0x1) argument
3108 #define S_03610C_VGT_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 19) argument
3109 #define G_03610C_VGT_BUSY_USER_DEFINED_MASK(x) (((x) >> 19) & 0x1) argument
3111 #define S_03610C_PA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 20) argument
3112 #define G_03610C_PA_BUSY_USER_DEFINED_MASK(x) (((x) >> 20) & 0x1) argument
3114 #define S_03610C_BCI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 21) argument
3115 #define G_03610C_BCI_BUSY_USER_DEFINED_MASK(x) (((x) >> 21) & 0x1) argument
3117 #define S_03610C_RMI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 22) argument
3118 #define G_03610C_RMI_BUSY_USER_DEFINED_MASK(x) (((x) >> 22) & 0x1) argument
3121 #define S_036110_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
3122 #define G_036110_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
3124 #define S_036110_DB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 10) argument
3125 #define G_036110_DB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 10) & 0x1) argument
3127 #define S_036110_CB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
3128 #define G_036110_CB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 11) & 0x1) argument
3130 #define S_036110_TA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 12) argument
3131 #define G_036110_TA_BUSY_USER_DEFINED_MASK(x) (((x) >> 12) & 0x1) argument
3133 #define S_036110_SX_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 13) argument
3134 #define G_036110_SX_BUSY_USER_DEFINED_MASK(x) (((x) >> 13) & 0x1) argument
3136 #define S_036110_SPI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 15) argument
3137 #define G_036110_SPI_BUSY_USER_DEFINED_MASK(x) (((x) >> 15) & 0x1) argument
3139 #define S_036110_SC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 16) argument
3140 #define G_036110_SC_BUSY_USER_DEFINED_MASK(x) (((x) >> 16) & 0x1) argument
3142 #define S_036110_DB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 17) argument
3143 #define G_036110_DB_BUSY_USER_DEFINED_MASK(x) (((x) >> 17) & 0x1) argument
3145 #define S_036110_CB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 18) argument
3146 #define G_036110_CB_BUSY_USER_DEFINED_MASK(x) (((x) >> 18) & 0x1) argument
3148 #define S_036110_VGT_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 19) argument
3149 #define G_036110_VGT_BUSY_USER_DEFINED_MASK(x) (((x) >> 19) & 0x1) argument
3151 #define S_036110_PA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 20) argument
3152 #define G_036110_PA_BUSY_USER_DEFINED_MASK(x) (((x) >> 20) & 0x1) argument
3154 #define S_036110_BCI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 21) argument
3155 #define G_036110_BCI_BUSY_USER_DEFINED_MASK(x) (((x) >> 21) & 0x1) argument
3157 #define S_036110_RMI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 22) argument
3158 #define G_036110_RMI_BUSY_USER_DEFINED_MASK(x) (((x) >> 22) & 0x1) argument
3161 #define S_036114_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
3162 #define G_036114_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
3164 #define S_036114_DB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 10) argument
3165 #define G_036114_DB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 10) & 0x1) argument
3167 #define S_036114_CB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
3168 #define G_036114_CB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 11) & 0x1) argument
3170 #define S_036114_TA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 12) argument
3171 #define G_036114_TA_BUSY_USER_DEFINED_MASK(x) (((x) >> 12) & 0x1) argument
3173 #define S_036114_SX_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 13) argument
3174 #define G_036114_SX_BUSY_USER_DEFINED_MASK(x) (((x) >> 13) & 0x1) argument
3176 #define S_036114_SPI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 15) argument
3177 #define G_036114_SPI_BUSY_USER_DEFINED_MASK(x) (((x) >> 15) & 0x1) argument
3179 #define S_036114_SC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 16) argument
3180 #define G_036114_SC_BUSY_USER_DEFINED_MASK(x) (((x) >> 16) & 0x1) argument
3182 #define S_036114_DB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 17) argument
3183 #define G_036114_DB_BUSY_USER_DEFINED_MASK(x) (((x) >> 17) & 0x1) argument
3185 #define S_036114_CB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 18) argument
3186 #define G_036114_CB_BUSY_USER_DEFINED_MASK(x) (((x) >> 18) & 0x1) argument
3188 #define S_036114_VGT_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 19) argument
3189 #define G_036114_VGT_BUSY_USER_DEFINED_MASK(x) (((x) >> 19) & 0x1) argument
3191 #define S_036114_PA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 20) argument
3192 #define G_036114_PA_BUSY_USER_DEFINED_MASK(x) (((x) >> 20) & 0x1) argument
3194 #define S_036114_BCI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 21) argument
3195 #define G_036114_BCI_BUSY_USER_DEFINED_MASK(x) (((x) >> 21) & 0x1) argument
3197 #define S_036114_RMI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 22) argument
3198 #define G_036114_RMI_BUSY_USER_DEFINED_MASK(x) (((x) >> 22) & 0x1) argument
3201 #define S_036200_PERF_SEL(x) (((unsigned)(x) & 0xFF) << 0) argument
3202 #define G_036200_PERF_SEL(x) (((x) >> 0) & 0xFF) argument
3204 #define S_036200_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3205 #define G_036200_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3211 #define S_036210_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
3212 #define G_036210_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
3214 #define S_036210_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3215 #define G_036210_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
3217 #define S_036210_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3218 #define G_036210_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3220 #define S_036210_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
3221 #define G_036210_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
3223 #define S_036210_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3224 #define G_036210_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3230 #define S_036220_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3231 #define G_036220_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
3233 #define S_036220_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3234 #define G_036220_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
3236 #define S_036220_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
3237 #define G_036220_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
3239 #define S_036220_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
3240 #define G_036220_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
3243 #define S_036230_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
3244 #define G_036230_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
3246 #define S_036230_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3247 #define G_036230_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
3249 #define S_036230_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3250 #define G_036230_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3252 #define S_036230_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
3253 #define G_036230_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
3255 #define S_036230_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3256 #define G_036230_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3262 #define S_036240_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3263 #define G_036240_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
3265 #define S_036240_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3266 #define G_036240_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
3268 #define S_036240_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
3269 #define G_036240_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
3271 #define S_036240_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
3272 #define G_036240_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
3276 #define S_036250_PERF_SEID_IGNORE_MASK(x) (((unsigned)(x) & 0xFF) << 0) argument
3277 #define G_036250_PERF_SEID_IGNORE_MASK(x) (((x) >> 0) & 0xFF) argument
3280 #define S_036400_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
3281 #define G_036400_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
3283 #define S_036400_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3284 #define G_036400_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
3286 #define S_036400_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3287 #define G_036400_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3290 #define S_036404_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3291 #define G_036404_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
3293 #define S_036404_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3294 #define G_036404_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
3301 #define S_036500_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
3302 #define G_036500_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
3304 #define S_036500_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3305 #define G_036500_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
3307 #define S_036500_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3308 #define G_036500_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3311 #define S_036504_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3312 #define G_036504_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
3314 #define S_036504_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3315 #define G_036504_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
3325 #define S_036600_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
3326 #define G_036600_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
3328 #define S_036600_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3329 #define G_036600_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
3331 #define S_036600_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3332 #define G_036600_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3334 #define S_036600_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
3335 #define G_036600_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
3337 #define S_036600_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3338 #define G_036600_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3344 #define S_036610_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3345 #define G_036610_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
3347 #define S_036610_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3348 #define G_036610_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
3350 #define S_036610_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
3351 #define G_036610_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
3353 #define S_036610_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
3354 #define G_036610_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
3362 #define S_036628_BIN0_MIN(x) (((unsigned)(x) & 0x0F) << 0) argument
3363 #define G_036628_BIN0_MIN(x) (((x) >> 0) & 0x0F) argument
3365 #define S_036628_BIN0_MAX(x) (((unsigned)(x) & 0x0F) << 4) argument
3366 #define G_036628_BIN0_MAX(x) (((x) >> 4) & 0x0F) argument
3368 #define S_036628_BIN1_MIN(x) (((unsigned)(x) & 0x0F) << 8) argument
3369 #define G_036628_BIN1_MIN(x) (((x) >> 8) & 0x0F) argument
3371 #define S_036628_BIN1_MAX(x) (((unsigned)(x) & 0x0F) << 12) argument
3372 #define G_036628_BIN1_MAX(x) (((x) >> 12) & 0x0F) argument
3374 #define S_036628_BIN2_MIN(x) (((unsigned)(x) & 0x0F) << 16) argument
3375 #define G_036628_BIN2_MIN(x) (((x) >> 16) & 0x0F) argument
3377 #define S_036628_BIN2_MAX(x) (((unsigned)(x) & 0x0F) << 20) argument
3378 #define G_036628_BIN2_MAX(x) (((x) >> 20) & 0x0F) argument
3380 #define S_036628_BIN3_MIN(x) (((unsigned)(x) & 0x0F) << 24) argument
3381 #define G_036628_BIN3_MIN(x) (((x) >> 24) & 0x0F) argument
3383 #define S_036628_BIN3_MAX(x) (((unsigned)(x) & 0x0F) << 28) argument
3384 #define G_036628_BIN3_MAX(x) (((x) >> 28) & 0x0F) argument
3387 #define S_036700_PERF_SEL(x) (((unsigned)(x) & 0x1FF) << 0) argument
3388 #define G_036700_PERF_SEL(x) (((x) >> 0) & 0x1FF) argument
3390 #define S_036700_SQC_BANK_MASK(x) (((unsigned)(x) & 0x0F) << 12) argument
3391 #define G_036700_SQC_BANK_MASK(x) (((x) >> 12) & 0x0F) argument
3393 #define S_036700_SQC_CLIENT_MASK(x) (((unsigned)(x) & 0x0F) << 16) argument
3394 #define G_036700_SQC_CLIENT_MASK(x) (((x) >> 16) & 0x0F) argument
3396 #define S_036700_SPM_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3397 #define G_036700_SPM_MODE(x) (((x) >> 20) & 0x0F) argument
3399 #define S_036700_SIMD_MASK(x) (((unsigned)(x) & 0x0F) << 24) argument
3400 #define G_036700_SIMD_MASK(x) (((x) >> 24) & 0x0F) argument
3402 #define S_036700_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3403 #define G_036700_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3421 #define S_036780_PS_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3422 #define G_036780_PS_EN(x) (((x) >> 0) & 0x1) argument
3424 #define S_036780_VS_EN(x) (((unsigned)(x) & 0x1) << 1) argument
3425 #define G_036780_VS_EN(x) (((x) >> 1) & 0x1) argument
3427 #define S_036780_GS_EN(x) (((unsigned)(x) & 0x1) << 2) argument
3428 #define G_036780_GS_EN(x) (((x) >> 2) & 0x1) argument
3430 #define S_036780_ES_EN(x) (((unsigned)(x) & 0x1) << 3) argument
3431 #define G_036780_ES_EN(x) (((x) >> 3) & 0x1) argument
3433 #define S_036780_HS_EN(x) (((unsigned)(x) & 0x1) << 4) argument
3434 #define G_036780_HS_EN(x) (((x) >> 4) & 0x1) argument
3436 #define S_036780_LS_EN(x) (((unsigned)(x) & 0x1) << 5) argument
3437 #define G_036780_LS_EN(x) (((x) >> 5) & 0x1) argument
3439 #define S_036780_CS_EN(x) (((unsigned)(x) & 0x1) << 6) argument
3440 #define G_036780_CS_EN(x) (((x) >> 6) & 0x1) argument
3442 #define S_036780_CNTR_RATE(x) (((unsigned)(x) & 0x1F) << 8) argument
3443 #define G_036780_CNTR_RATE(x) (((x) >> 8) & 0x1F) argument
3445 #define S_036780_DISABLE_FLUSH(x) (((unsigned)(x) & 0x1) << 13) argument
3446 #define G_036780_DISABLE_FLUSH(x) (((x) >> 13) & 0x1) argument
3449 #define S_036784_SH0_MASK(x) (((unsigned)(x) & 0xFFFF) << … argument
3450 #define G_036784_SH0_MASK(x) (((x) >> 0) & 0xFFFF) argument
3452 #define S_036784_SH1_MASK(x) (((unsigned)(x) & 0xFFFF) << … argument
3453 #define G_036784_SH1_MASK(x) (((x) >> 16) & 0xFFFF) argument
3456 #define S_036788_FORCE_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3457 #define G_036788_FORCE_EN(x) (((x) >> 0) & 0x1) argument
3460 #define S_036900_PERFCOUNTER_SELECT(x) (((unsigned)(x) & 0x3FF) << 0) argument
3461 #define G_036900_PERFCOUNTER_SELECT(x) (((x) >> 0) & 0x3FF) argument
3463 #define S_036900_PERFCOUNTER_SELECT1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3464 #define G_036900_PERFCOUNTER_SELECT1(x) (((x) >> 10) & 0x3FF) argument
3466 #define S_036900_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3467 #define G_036900_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3473 #define S_036910_PERFCOUNTER_SELECT2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3474 #define G_036910_PERFCOUNTER_SELECT2(x) (((x) >> 0) & 0x3FF) argument
3476 #define S_036910_PERFCOUNTER_SELECT3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3477 #define G_036910_PERFCOUNTER_SELECT3(x) (((x) >> 10) & 0x3FF) argument
3481 #define S_036A00_PERFCOUNTER_SELECT(x) (((unsigned)(x) & 0x3FF) << 0) argument
3482 #define G_036A00_PERFCOUNTER_SELECT(x) (((x) >> 0) & 0x3FF) argument
3484 #define S_036A00_PERFCOUNTER_SELECT1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3485 #define G_036A00_PERFCOUNTER_SELECT1(x) (((x) >> 10) & 0x3FF) argument
3487 #define S_036A00_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3488 #define G_036A00_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3494 #define S_036A10_PERFCOUNTER_SELECT2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3495 #define G_036A10_PERFCOUNTER_SELECT2(x) (((x) >> 0) & 0x3FF) argument
3497 #define S_036A10_PERFCOUNTER_SELECT3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3498 #define G_036A10_PERFCOUNTER_SELECT3(x) (((x) >> 10) & 0x3FF) argument
3501 #define S_036B00_PERF_SEL(x) (((unsigned)(x) & 0xFF) << 0) argument
3502 #define G_036B00_PERF_SEL(x) (((x) >> 0) & 0xFF) argument
3504 #define S_036B00_PERF_SEL1(x) (((unsigned)(x) & 0xFF) << 10) argument
3505 #define G_036B00_PERF_SEL1(x) (((x) >> 10) & 0xFF) argument
3507 #define S_036B00_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3508 #define G_036B00_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3510 #define S_036B00_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
3511 #define G_036B00_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
3513 #define S_036B00_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3514 #define G_036B00_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3517 #define S_036B04_PERF_SEL2(x) (((unsigned)(x) & 0xFF) << 0) argument
3518 #define G_036B04_PERF_SEL2(x) (((x) >> 0) & 0xFF) argument
3520 #define S_036B04_PERF_SEL3(x) (((unsigned)(x) & 0xFF) << 10) argument
3521 #define G_036B04_PERF_SEL3(x) (((x) >> 10) & 0xFF) argument
3523 #define S_036B04_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
3524 #define G_036B04_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
3526 #define S_036B04_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
3527 #define G_036B04_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
3531 #define S_036C00_PERF_SEL(x) (((unsigned)(x) & 0xFF) << 0) argument
3532 #define G_036C00_PERF_SEL(x) (((x) >> 0) & 0xFF) argument
3534 #define S_036C00_PERF_SEL1(x) (((unsigned)(x) & 0xFF) << 10) argument
3535 #define G_036C00_PERF_SEL1(x) (((x) >> 10) & 0xFF) argument
3537 #define S_036C00_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3538 #define G_036C00_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3540 #define S_036C00_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
3541 #define G_036C00_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
3543 #define S_036C00_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3544 #define G_036C00_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3547 #define S_036C04_PERF_SEL2(x) (((unsigned)(x) & 0xFF) << 0) argument
3548 #define G_036C04_PERF_SEL2(x) (((x) >> 0) & 0xFF) argument
3550 #define S_036C04_PERF_SEL3(x) (((unsigned)(x) & 0xFF) << 10) argument
3551 #define G_036C04_PERF_SEL3(x) (((x) >> 10) & 0xFF) argument
3553 #define S_036C04_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
3554 #define G_036C04_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
3556 #define S_036C04_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
3557 #define G_036C04_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
3561 #define S_036D00_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
3562 #define G_036D00_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
3564 #define S_036D00_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3565 #define G_036D00_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
3567 #define S_036D00_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3568 #define G_036D00_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3570 #define S_036D00_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
3571 #define G_036D00_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
3573 #define S_036D00_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3574 #define G_036D00_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3577 #define S_036D04_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3578 #define G_036D04_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
3580 #define S_036D04_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3581 #define G_036D04_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
3583 #define S_036D04_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
3584 #define G_036D04_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
3586 #define S_036D04_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
3587 #define G_036D04_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
3594 #define S_036E00_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
3595 #define G_036E00_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
3597 #define S_036E00_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3598 #define G_036E00_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
3600 #define S_036E00_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3601 #define G_036E00_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3603 #define S_036E00_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
3604 #define G_036E00_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
3606 #define S_036E00_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3607 #define G_036E00_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3610 #define S_036E04_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3611 #define G_036E04_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
3613 #define S_036E04_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3614 #define G_036E04_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
3616 #define S_036E04_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 24) argument
3617 #define G_036E04_PERF_MODE2(x) (((x) >> 24) & 0x0F) argument
3619 #define S_036E04_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 28) argument
3620 #define G_036E04_PERF_MODE3(x) (((x) >> 28) & 0x0F) argument
3627 #define S_036E40_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
3628 #define G_036E40_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
3630 #define S_036E40_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3631 #define G_036E40_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
3633 #define S_036E40_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3634 #define G_036E40_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3636 #define S_036E40_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
3637 #define G_036E40_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
3639 #define S_036E40_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3640 #define G_036E40_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3643 #define S_036E44_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3644 #define G_036E44_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
3646 #define S_036E44_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3647 #define G_036E44_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
3649 #define S_036E44_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 24) argument
3650 #define G_036E44_PERF_MODE2(x) (((x) >> 24) & 0x0F) argument
3652 #define S_036E44_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 28) argument
3653 #define G_036E44_PERF_MODE3(x) (((x) >> 28) & 0x0F) argument
3660 #define S_037000_OP_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
3661 #define G_037000_OP_FILTER_ENABLE(x) (((x) >> 0) & 0x1) argument
3663 #define S_037000_OP_FILTER_SEL(x) (((unsigned)(x) & 0x07) << 1) argument
3664 #define G_037000_OP_FILTER_SEL(x) (((x) >> 1) & 0x07) argument
3666 #define S_037000_FORMAT_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
3667 #define G_037000_FORMAT_FILTER_ENABLE(x) (((x) >> 4) & 0x1) argument
3669 #define S_037000_FORMAT_FILTER_SEL(x) (((unsigned)(x) & 0x1F) << 5) argument
3670 #define G_037000_FORMAT_FILTER_SEL(x) (((x) >> 5) & 0x1F) argument
3672 #define S_037000_CLEAR_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 10) argument
3673 #define G_037000_CLEAR_FILTER_ENABLE(x) (((x) >> 10) & 0x1) argument
3675 #define S_037000_CLEAR_FILTER_SEL(x) (((unsigned)(x) & 0x1) << 11) argument
3676 #define G_037000_CLEAR_FILTER_SEL(x) (((x) >> 11) & 0x1) argument
3678 #define S_037000_MRT_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
3679 #define G_037000_MRT_FILTER_ENABLE(x) (((x) >> 12) & 0x1) argument
3681 #define S_037000_MRT_FILTER_SEL(x) (((unsigned)(x) & 0x07) << 13) argument
3682 #define G_037000_MRT_FILTER_SEL(x) (((x) >> 13) & 0x07) argument
3684 #define S_037000_NUM_SAMPLES_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 17) argument
3685 #define G_037000_NUM_SAMPLES_FILTER_ENABLE(x) (((x) >> 17) & 0x1) argument
3687 #define S_037000_NUM_SAMPLES_FILTER_SEL(x) (((unsigned)(x) & 0x07) << 18) argument
3688 #define G_037000_NUM_SAMPLES_FILTER_SEL(x) (((x) >> 18) & 0x07) argument
3690 #define S_037000_NUM_FRAGMENTS_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 21) argument
3691 #define G_037000_NUM_FRAGMENTS_FILTER_ENABLE(x) (((x) >> 21) & 0x1) argument
3693 #define S_037000_NUM_FRAGMENTS_FILTER_SEL(x) (((unsigned)(x) & 0x03) << 22) argument
3694 #define G_037000_NUM_FRAGMENTS_FILTER_SEL(x) (((x) >> 22) & 0x03) argument
3697 #define S_037004_PERF_SEL(x) (((unsigned)(x) & 0x1FF) << 0) argument
3698 #define G_037004_PERF_SEL(x) (((x) >> 0) & 0x1FF) argument
3700 #define S_037004_PERF_SEL1(x) (((unsigned)(x) & 0x1FF) << 1… argument
3701 #define G_037004_PERF_SEL1(x) (((x) >> 10) & 0x1FF) argument
3703 #define S_037004_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3704 #define G_037004_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3706 #define S_037004_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
3707 #define G_037004_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
3709 #define S_037004_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3710 #define G_037004_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3713 #define S_037008_PERF_SEL2(x) (((unsigned)(x) & 0x1FF) << 0) argument
3714 #define G_037008_PERF_SEL2(x) (((x) >> 0) & 0x1FF) argument
3716 #define S_037008_PERF_SEL3(x) (((unsigned)(x) & 0x1FF) << 1… argument
3717 #define G_037008_PERF_SEL3(x) (((x) >> 10) & 0x1FF) argument
3719 #define S_037008_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
3720 #define G_037008_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
3722 #define S_037008_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
3723 #define G_037008_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
3729 #define S_037100_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
3730 #define G_037100_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
3732 #define S_037100_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
3733 #define G_037100_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
3735 #define S_037100_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
3736 #define G_037100_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
3738 #define S_037100_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
3739 #define G_037100_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
3741 #define S_037100_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
3742 #define G_037100_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
3745 #define S_037104_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
3746 #define G_037104_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
3748 #define S_037104_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
3749 #define G_037104_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
3751 #define S_037104_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
3752 #define G_037104_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
3754 #define S_037104_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
3755 #define G_037104_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
3762 #define S_028000_DEPTH_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
3763 #define G_028000_DEPTH_CLEAR_ENABLE(x) (((x) >> 0) & 0x1) argument
3765 #define S_028000_STENCIL_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
3766 #define G_028000_STENCIL_CLEAR_ENABLE(x) (((x) >> 1) & 0x1) argument
3768 #define S_028000_DEPTH_COPY(x) (((unsigned)(x) & 0x1) << 2) argument
3769 #define G_028000_DEPTH_COPY(x) (((x) >> 2) & 0x1) argument
3771 #define S_028000_STENCIL_COPY(x) (((unsigned)(x) & 0x1) << 3) argument
3772 #define G_028000_STENCIL_COPY(x) (((x) >> 3) & 0x1) argument
3774 #define S_028000_RESUMMARIZE_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
3775 #define G_028000_RESUMMARIZE_ENABLE(x) (((x) >> 4) & 0x1) argument
3777 #define S_028000_STENCIL_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 5) argument
3778 #define G_028000_STENCIL_COMPRESS_DISABLE(x) (((x) >> 5) & 0x1) argument
3780 #define S_028000_DEPTH_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 6) argument
3781 #define G_028000_DEPTH_COMPRESS_DISABLE(x) (((x) >> 6) & 0x1) argument
3783 #define S_028000_COPY_CENTROID(x) (((unsigned)(x) & 0x1) << 7) argument
3784 #define G_028000_COPY_CENTROID(x) (((x) >> 7) & 0x1) argument
3786 #define S_028000_COPY_SAMPLE(x) (((unsigned)(x) & 0x0F) << 8) argument
3787 #define G_028000_COPY_SAMPLE(x) (((x) >> 8) & 0x0F) argument
3789 #define S_028000_DECOMPRESS_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
3790 #define G_028000_DECOMPRESS_ENABLE(x) (((x) >> 12) & 0x1) argument
3793 #define S_028004_ZPASS_INCREMENT_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
3794 #define G_028004_ZPASS_INCREMENT_DISABLE(x) (((x) >> 0) & 0x1) argument
3796 #define S_028004_PERFECT_ZPASS_COUNTS(x) (((unsigned)(x) & 0x1) << 1) argument
3797 #define G_028004_PERFECT_ZPASS_COUNTS(x) (((x) >> 1) & 0x1) argument
3799 #define S_028004_SAMPLE_RATE(x) (((unsigned)(x) & 0x07) << 4) argument
3800 #define G_028004_SAMPLE_RATE(x) (((x) >> 4) & 0x07) argument
3802 #define S_028004_ZPASS_ENABLE(x) (((unsigned)(x) & 0x0F) << 8) argument
3803 #define G_028004_ZPASS_ENABLE(x) (((x) >> 8) & 0x0F) argument
3805 #define S_028004_ZFAIL_ENABLE(x) (((unsigned)(x) & 0x0F) << 12) argument
3806 #define G_028004_ZFAIL_ENABLE(x) (((x) >> 12) & 0x0F) argument
3808 #define S_028004_SFAIL_ENABLE(x) (((unsigned)(x) & 0x0F) << 16) argument
3809 #define G_028004_SFAIL_ENABLE(x) (((x) >> 16) & 0x0F) argument
3811 #define S_028004_DBFAIL_ENABLE(x) (((unsigned)(x) & 0x0F) << 20) argument
3812 #define G_028004_DBFAIL_ENABLE(x) (((x) >> 20) & 0x0F) argument
3814 #define S_028004_SLICE_EVEN_ENABLE(x) (((unsigned)(x) & 0x0F) << 24) argument
3815 #define G_028004_SLICE_EVEN_ENABLE(x) (((x) >> 24) & 0x0F) argument
3817 #define S_028004_SLICE_ODD_ENABLE(x) (((unsigned)(x) & 0x0F) << 28) argument
3818 #define G_028004_SLICE_ODD_ENABLE(x) (((x) >> 28) & 0x0F) argument
3821 #define S_028008_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
3822 #define G_028008_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
3824 #define S_028008_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 1… argument
3825 #define G_028008_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
3827 #define S_028008_Z_READ_ONLY(x) (((unsigned)(x) & 0x1) << 24) argument
3828 #define G_028008_Z_READ_ONLY(x) (((x) >> 24) & 0x1) argument
3830 #define S_028008_STENCIL_READ_ONLY(x) (((unsigned)(x) & 0x1) << 25) argument
3831 #define G_028008_STENCIL_READ_ONLY(x) (((x) >> 25) & 0x1) argument
3833 #define S_028008_MIPID(x) (((unsigned)(x) & 0x0F) << 26) argument
3834 #define G_028008_MIPID(x) (((x) >> 26) & 0x0F) argument
3837 #define S_02800C_FORCE_HIZ_ENABLE(x) (((unsigned)(x) & 0x03) << 0) argument
3838 #define G_02800C_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x03) argument
3840 #define S_02800C_FORCE_HIS_ENABLE0(x) (((unsigned)(x) & 0x03) << 2) argument
3841 #define G_02800C_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x03) argument
3843 #define S_02800C_FORCE_HIS_ENABLE1(x) (((unsigned)(x) & 0x03) << 4) argument
3844 #define G_02800C_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x03) argument
3846 #define S_02800C_FORCE_SHADER_Z_ORDER(x) (((unsigned)(x) & 0x1) << 6) argument
3847 #define G_02800C_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
3849 #define S_02800C_FAST_Z_DISABLE(x) (((unsigned)(x) & 0x1) << 7) argument
3850 #define G_02800C_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
3852 #define S_02800C_FAST_STENCIL_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
3853 #define G_02800C_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
3855 #define S_02800C_NOOP_CULL_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
3856 #define G_02800C_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
3858 #define S_02800C_FORCE_COLOR_KILL(x) (((unsigned)(x) & 0x1) << 10) argument
3859 #define G_02800C_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
3861 #define S_02800C_FORCE_Z_READ(x) (((unsigned)(x) & 0x1) << 11) argument
3862 #define G_02800C_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
3864 #define S_02800C_FORCE_STENCIL_READ(x) (((unsigned)(x) & 0x1) << 12) argument
3865 #define G_02800C_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
3867 #define S_02800C_FORCE_FULL_Z_RANGE(x) (((unsigned)(x) & 0x03) << 13) argument
3868 #define G_02800C_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x03) argument
3870 #define S_02800C_FORCE_QC_SMASK_CONFLICT(x) (((unsigned)(x) & 0x1) << 15) argument
3871 #define G_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
3873 #define S_02800C_DISABLE_VIEWPORT_CLAMP(x) (((unsigned)(x) & 0x1) << 16) argument
3874 #define G_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
3876 #define S_02800C_IGNORE_SC_ZRANGE(x) (((unsigned)(x) & 0x1) << 17) argument
3877 #define G_02800C_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
3879 #define S_02800C_DISABLE_FULLY_COVERED(x) (((unsigned)(x) & 0x1) << 18) argument
3880 #define G_02800C_DISABLE_FULLY_COVERED(x) (((x) >> 18) & 0x1) argument
3882 #define S_02800C_FORCE_Z_LIMIT_SUMM(x) (((unsigned)(x) & 0x03) << 19) argument
3883 #define G_02800C_FORCE_Z_LIMIT_SUMM(x) (((x) >> 19) & 0x03) argument
3885 #define S_02800C_MAX_TILES_IN_DTT(x) (((unsigned)(x) & 0x1F) << 21) argument
3886 #define G_02800C_MAX_TILES_IN_DTT(x) (((x) >> 21) & 0x1F) argument
3888 #define S_02800C_DISABLE_TILE_RATE_TILES(x) (((unsigned)(x) & 0x1) << 26) argument
3889 #define G_02800C_DISABLE_TILE_RATE_TILES(x) (((x) >> 26) & 0x1) argument
3891 #define S_02800C_FORCE_Z_DIRTY(x) (((unsigned)(x) & 0x1) << 27) argument
3892 #define G_02800C_FORCE_Z_DIRTY(x) (((x) >> 27) & 0x1) argument
3894 #define S_02800C_FORCE_STENCIL_DIRTY(x) (((unsigned)(x) & 0x1) << 28) argument
3895 #define G_02800C_FORCE_STENCIL_DIRTY(x) (((x) >> 28) & 0x1) argument
3897 #define S_02800C_FORCE_Z_VALID(x) (((unsigned)(x) & 0x1) << 29) argument
3898 #define G_02800C_FORCE_Z_VALID(x) (((x) >> 29) & 0x1) argument
3900 #define S_02800C_FORCE_STENCIL_VALID(x) (((unsigned)(x) & 0x1) << 30) argument
3901 #define G_02800C_FORCE_STENCIL_VALID(x) (((x) >> 30) & 0x1) argument
3903 #define S_02800C_PRESERVE_COMPRESSION(x) (((unsigned)(x) & 0x1) << 31) argument
3904 #define G_02800C_PRESERVE_COMPRESSION(x) (((x) >> 31) & 0x1) argument
3907 #define S_028010_PARTIAL_SQUAD_LAUNCH_CONTROL(x) (((unsigned)(x) & 0x03) << 0) argument
3908 #define G_028010_PARTIAL_SQUAD_LAUNCH_CONTROL(x) (((x) >> 0) & 0x03) argument
3910 #define S_028010_PARTIAL_SQUAD_LAUNCH_COUNTDOWN(x) (((unsigned)(x) & 0x07) << 2) argument
3911 #define G_028010_PARTIAL_SQUAD_LAUNCH_COUNTDOWN(x) (((x) >> 2) & 0x07) argument
3913 #define S_028010_DISABLE_ZMASK_EXPCLEAR_OPTIMIZATION(x) (((unsigned)(x) & 0x1) << 5) argument
3914 #define G_028010_DISABLE_ZMASK_EXPCLEAR_OPTIMIZATION(x) (((x) >> 5) & 0x1) argument
3916 #define S_028010_DISABLE_SMEM_EXPCLEAR_OPTIMIZATION(x) (((unsigned)(x) & 0x1) << 6) argument
3917 #define G_028010_DISABLE_SMEM_EXPCLEAR_OPTIMIZATION(x) (((x) >> 6) & 0x1) argument
3919 #define S_028010_DISABLE_COLOR_ON_VALIDATION(x) (((unsigned)(x) & 0x1) << 7) argument
3920 #define G_028010_DISABLE_COLOR_ON_VALIDATION(x) (((x) >> 7) & 0x1) argument
3922 #define S_028010_DECOMPRESS_Z_ON_FLUSH(x) (((unsigned)(x) & 0x1) << 8) argument
3923 #define G_028010_DECOMPRESS_Z_ON_FLUSH(x) (((x) >> 8) & 0x1) argument
3925 #define S_028010_DISABLE_REG_SNOOP(x) (((unsigned)(x) & 0x1) << 9) argument
3926 #define G_028010_DISABLE_REG_SNOOP(x) (((x) >> 9) & 0x1) argument
3928 #define S_028010_DEPTH_BOUNDS_HIER_DEPTH_DISABLE(x) (((unsigned)(x) & 0x1) << 10) argument
3929 #define G_028010_DEPTH_BOUNDS_HIER_DEPTH_DISABLE(x) (((x) >> 10) & 0x1) argument
3931 #define S_028010_SEPARATE_HIZS_FUNC_ENABLE(x) (((unsigned)(x) & 0x1) << 11) argument
3932 #define G_028010_SEPARATE_HIZS_FUNC_ENABLE(x) (((x) >> 11) & 0x1) argument
3934 #define S_028010_HIZ_ZFUNC(x) (((unsigned)(x) & 0x07) << 12) argument
3935 #define G_028010_HIZ_ZFUNC(x) (((x) >> 12) & 0x07) argument
3937 #define S_028010_HIS_SFUNC_FF(x) (((unsigned)(x) & 0x07) << 15) argument
3938 #define G_028010_HIS_SFUNC_FF(x) (((x) >> 15) & 0x07) argument
3940 #define S_028010_HIS_SFUNC_BF(x) (((unsigned)(x) & 0x07) << 18) argument
3941 #define G_028010_HIS_SFUNC_BF(x) (((x) >> 18) & 0x07) argument
3943 #define S_028010_PRESERVE_ZRANGE(x) (((unsigned)(x) & 0x1) << 21) argument
3944 #define G_028010_PRESERVE_ZRANGE(x) (((x) >> 21) & 0x1) argument
3946 #define S_028010_PRESERVE_SRESULTS(x) (((unsigned)(x) & 0x1) << 22) argument
3947 #define G_028010_PRESERVE_SRESULTS(x) (((x) >> 22) & 0x1) argument
3949 #define S_028010_DISABLE_FAST_PASS(x) (((unsigned)(x) & 0x1) << 23) argument
3950 #define G_028010_DISABLE_FAST_PASS(x) (((x) >> 23) & 0x1) argument
3952 #define S_028010_ALLOW_PARTIAL_RES_HIER_KILL(x) (((unsigned)(x) & 0x1) << 25) argument
3953 #define G_028010_ALLOW_PARTIAL_RES_HIER_KILL(x) (((x) >> 25) & 0x1) argument
3957 #define S_028018_BASE_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
3958 #define G_028018_BASE_HI(x) (((x) >> 0) & 0xFF) argument
3961 #define S_02801C_X_MAX(x) (((unsigned)(x) & 0x3FFF) << … argument
3962 #define G_02801C_X_MAX(x) (((x) >> 0) & 0x3FFF) argument
3964 #define S_02801C_Y_MAX(x) (((unsigned)(x) & 0x3FFF) << … argument
3965 #define G_02801C_Y_MAX(x) (((x) >> 16) & 0x3FFF) argument
3970 #define S_028028_CLEAR(x) (((unsigned)(x) & 0xFF) << 0) argument
3971 #define G_028028_CLEAR(x) (((x) >> 0) & 0xFF) argument
3975 #define S_028030_TL_X(x) (((unsigned)(x) & 0xFFFF) << … argument
3976 #define G_028030_TL_X(x) (((x) >> 0) & 0xFFFF) argument
3978 #define S_028030_TL_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
3979 #define G_028030_TL_Y(x) (((x) >> 16) & 0xFFFF) argument
3982 #define S_028034_BR_X(x) (((unsigned)(x) & 0xFFFF) << … argument
3983 #define G_028034_BR_X(x) (((x) >> 0) & 0xFFFF) argument
3985 #define S_028034_BR_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
3986 #define G_028034_BR_Y(x) (((x) >> 16) & 0xFFFF) argument
3989 #define S_028038_FORMAT(x) (((unsigned)(x) & 0x03) << 0) argument
3990 #define G_028038_FORMAT(x) (((x) >> 0) & 0x03) argument
3992 #define S_028038_NUM_SAMPLES(x) (((unsigned)(x) & 0x03) << 2) argument
3993 #define G_028038_NUM_SAMPLES(x) (((x) >> 2) & 0x03) argument
3995 #define S_028038_SW_MODE(x) (((unsigned)(x) & 0x1F) << 4) argument
3996 #define G_028038_SW_MODE(x) (((x) >> 4) & 0x1F) argument
3998 #define S_028038_PARTIALLY_RESIDENT(x) (((unsigned)(x) & 0x1) << 12) argument
3999 #define G_028038_PARTIALLY_RESIDENT(x) (((x) >> 12) & 0x1) argument
4001 #define S_028038_FAULT_BEHAVIOR(x) (((unsigned)(x) & 0x03) << 13) argument
4002 #define G_028038_FAULT_BEHAVIOR(x) (((x) >> 13) & 0x03) argument
4004 #define S_028038_ITERATE_FLUSH(x) (((unsigned)(x) & 0x1) << 15) argument
4005 #define G_028038_ITERATE_FLUSH(x) (((x) >> 15) & 0x1) argument
4007 #define S_028038_MAXMIP(x) (((unsigned)(x) & 0x0F) << 16) argument
4008 #define G_028038_MAXMIP(x) (((x) >> 16) & 0x0F) argument
4010 #define S_028038_DECOMPRESS_ON_N_ZPLANES(x) (((unsigned)(x) & 0x0F) << 23) argument
4011 #define G_028038_DECOMPRESS_ON_N_ZPLANES(x) (((x) >> 23) & 0x0F) argument
4013 #define S_028038_ALLOW_EXPCLEAR(x) (((unsigned)(x) & 0x1) << 27) argument
4014 #define G_028038_ALLOW_EXPCLEAR(x) (((x) >> 27) & 0x1) argument
4016 #define S_028038_READ_SIZE(x) (((unsigned)(x) & 0x1) << 28) argument
4017 #define G_028038_READ_SIZE(x) (((x) >> 28) & 0x1) argument
4019 #define S_028038_TILE_SURFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 29) argument
4020 #define G_028038_TILE_SURFACE_ENABLE(x) (((x) >> 29) & 0x1) argument
4022 #define S_028038_CLEAR_DISALLOWED(x) (((unsigned)(x) & 0x1) << 30) argument
4023 #define G_028038_CLEAR_DISALLOWED(x) (((x) >> 30) & 0x1) argument
4025 #define S_028038_ZRANGE_PRECISION(x) (((unsigned)(x) & 0x1) << 31) argument
4026 #define G_028038_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
4029 #define S_02803C_FORMAT(x) (((unsigned)(x) & 0x1) << 0) argument
4030 #define G_02803C_FORMAT(x) (((x) >> 0) & 0x1) argument
4032 #define S_02803C_SW_MODE(x) (((unsigned)(x) & 0x1F) << 4) argument
4033 #define G_02803C_SW_MODE(x) (((x) >> 4) & 0x1F) argument
4035 #define S_02803C_PARTIALLY_RESIDENT(x) (((unsigned)(x) & 0x1) << 12) argument
4036 #define G_02803C_PARTIALLY_RESIDENT(x) (((x) >> 12) & 0x1) argument
4038 #define S_02803C_FAULT_BEHAVIOR(x) (((unsigned)(x) & 0x03) << 13) argument
4039 #define G_02803C_FAULT_BEHAVIOR(x) (((x) >> 13) & 0x03) argument
4041 #define S_02803C_ITERATE_FLUSH(x) (((unsigned)(x) & 0x1) << 15) argument
4042 #define G_02803C_ITERATE_FLUSH(x) (((x) >> 15) & 0x1) argument
4044 #define S_02803C_ALLOW_EXPCLEAR(x) (((unsigned)(x) & 0x1) << 27) argument
4045 #define G_02803C_ALLOW_EXPCLEAR(x) (((x) >> 27) & 0x1) argument
4047 #define S_02803C_TILE_STENCIL_DISABLE(x) (((unsigned)(x) & 0x1) << 29) argument
4048 #define G_02803C_TILE_STENCIL_DISABLE(x) (((x) >> 29) & 0x1) argument
4050 #define S_02803C_CLEAR_DISALLOWED(x) (((unsigned)(x) & 0x1) << 30) argument
4051 #define G_02803C_CLEAR_DISALLOWED(x) (((x) >> 30) & 0x1) argument
4055 #define S_028044_BASE_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
4056 #define G_028044_BASE_HI(x) (((x) >> 0) & 0xFF) argument
4060 #define S_02804C_BASE_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
4061 #define G_02804C_BASE_HI(x) (((x) >> 0) & 0xFF) argument
4065 #define S_028054_BASE_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
4066 #define G_028054_BASE_HI(x) (((x) >> 0) & 0xFF) argument
4070 #define S_02805C_BASE_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
4071 #define G_02805C_BASE_HI(x) (((x) >> 0) & 0xFF) argument
4074 #define S_028060_PUNCHOUT_MODE(x) (((unsigned)(x) & 0x03) << 0) argument
4075 #define G_028060_PUNCHOUT_MODE(x) (((x) >> 0) & 0x03) argument
4081 #define S_028060_POPS_DRAIN_PS_ON_OVERLAP(x) (((unsigned)(x) & 0x1) << 2) argument
4082 #define G_028060_POPS_DRAIN_PS_ON_OVERLAP(x) (((x) >> 2) & 0x1) argument
4084 #define S_028060_DISALLOW_OVERFLOW(x) (((unsigned)(x) & 0x1) << 3) argument
4085 #define G_028060_DISALLOW_OVERFLOW(x) (((x) >> 3) & 0x1) argument
4088 #define S_028064_PS_INVOKE_MASK(x) (((unsigned)(x) & 0xFFFF) << … argument
4089 #define G_028064_PS_INVOKE_MASK(x) (((x) >> 0) & 0xFFFF) argument
4092 #define S_028068_EPITCH(x) (((unsigned)(x) & 0xFFFF) << … argument
4093 #define G_028068_EPITCH(x) (((x) >> 0) & 0xFFFF) argument
4096 #define S_02806C_EPITCH(x) (((unsigned)(x) & 0xFFFF) << … argument
4097 #define G_02806C_EPITCH(x) (((x) >> 0) & 0xFFFF) argument
4101 #define S_028084_ADDRESS(x) (((unsigned)(x) & 0xFF) << 0) argument
4102 #define G_028084_ADDRESS(x) (((x) >> 0) & 0xFF) argument
4105 #define S_0281E8_DEST_BASE_HI_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
4106 #define G_0281E8_DEST_BASE_HI_256B(x) (((x) >> 0) & 0xFF) argument
4109 #define S_0281EC_DEST_BASE_HI_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
4110 #define G_0281EC_DEST_BASE_HI_256B(x) (((x) >> 0) & 0xFF) argument
4113 #define S_0281F0_DEST_BASE_HI_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
4114 #define G_0281F0_DEST_BASE_HI_256B(x) (((x) >> 0) & 0xFF) argument
4117 #define S_0281F4_DEST_BASE_HI_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
4118 #define G_0281F4_DEST_BASE_HI_256B(x) (((x) >> 0) & 0xFF) argument
4123 #define S_028200_WINDOW_X_OFFSET(x) (((unsigned)(x) & 0xFFFF) << … argument
4124 #define G_028200_WINDOW_X_OFFSET(x) (((x) >> 0) & 0xFFFF) argument
4126 #define S_028200_WINDOW_Y_OFFSET(x) (((unsigned)(x) & 0xFFFF) << … argument
4127 #define G_028200_WINDOW_Y_OFFSET(x) (((x) >> 16) & 0xFFFF) argument
4130 #define S_028204_TL_X(x) (((unsigned)(x) & 0x7FFF) << … argument
4131 #define G_028204_TL_X(x) (((x) >> 0) & 0x7FFF) argument
4133 #define S_028204_TL_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
4134 #define G_028204_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
4136 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
4137 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
4140 #define S_028208_BR_X(x) (((unsigned)(x) & 0x7FFF) << … argument
4141 #define G_028208_BR_X(x) (((x) >> 0) & 0x7FFF) argument
4143 #define S_028208_BR_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
4144 #define G_028208_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
4147 #define S_02820C_CLIP_RULE(x) (((unsigned)(x) & 0xFFFF) << … argument
4148 #define G_02820C_CLIP_RULE(x) (((x) >> 0) & 0xFFFF) argument
4151 #define S_028210_TL_X(x) (((unsigned)(x) & 0x7FFF) << … argument
4152 #define G_028210_TL_X(x) (((x) >> 0) & 0x7FFF) argument
4154 #define S_028210_TL_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
4155 #define G_028210_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
4158 #define S_028214_BR_X(x) (((unsigned)(x) & 0x7FFF) << … argument
4159 #define G_028214_BR_X(x) (((x) >> 0) & 0x7FFF) argument
4161 #define S_028214_BR_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
4162 #define G_028214_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
4171 #define S_028230_ER_TRI(x) (((unsigned)(x) & 0x0F) << 0) argument
4172 #define G_028230_ER_TRI(x) (((x) >> 0) & 0x0F) argument
4174 #define S_028230_ER_POINT(x) (((unsigned)(x) & 0x0F) << 4) argument
4175 #define G_028230_ER_POINT(x) (((x) >> 4) & 0x0F) argument
4177 #define S_028230_ER_RECT(x) (((unsigned)(x) & 0x0F) << 8) argument
4178 #define G_028230_ER_RECT(x) (((x) >> 8) & 0x0F) argument
4180 #define S_028230_ER_LINE_LR(x) (((unsigned)(x) & 0x3F) << 12) argument
4181 #define G_028230_ER_LINE_LR(x) (((x) >> 12) & 0x3F) argument
4183 #define S_028230_ER_LINE_RL(x) (((unsigned)(x) & 0x3F) << 18) argument
4184 #define G_028230_ER_LINE_RL(x) (((x) >> 18) & 0x3F) argument
4186 #define S_028230_ER_LINE_TB(x) (((unsigned)(x) & 0x0F) << 24) argument
4187 #define G_028230_ER_LINE_TB(x) (((x) >> 24) & 0x0F) argument
4189 #define S_028230_ER_LINE_BT(x) (((unsigned)(x) & 0x0F) << 28) argument
4190 #define G_028230_ER_LINE_BT(x) (((x) >> 28) & 0x0F) argument
4193 #define S_028234_HW_SCREEN_OFFSET_X(x) (((unsigned)(x) & 0x1FF) << 0) argument
4194 #define G_028234_HW_SCREEN_OFFSET_X(x) (((x) >> 0) & 0x1FF) argument
4196 #define S_028234_HW_SCREEN_OFFSET_Y(x) (((unsigned)(x) & 0x1FF) << 1… argument
4197 #define G_028234_HW_SCREEN_OFFSET_Y(x) (((x) >> 16) & 0x1FF) argument
4200 #define S_028238_TARGET0_ENABLE(x) (((unsigned)(x) & 0x0F) << 0) argument
4201 #define G_028238_TARGET0_ENABLE(x) (((x) >> 0) & 0x0F) argument
4203 #define S_028238_TARGET1_ENABLE(x) (((unsigned)(x) & 0x0F) << 4) argument
4204 #define G_028238_TARGET1_ENABLE(x) (((x) >> 4) & 0x0F) argument
4206 #define S_028238_TARGET2_ENABLE(x) (((unsigned)(x) & 0x0F) << 8) argument
4207 #define G_028238_TARGET2_ENABLE(x) (((x) >> 8) & 0x0F) argument
4209 #define S_028238_TARGET3_ENABLE(x) (((unsigned)(x) & 0x0F) << 12) argument
4210 #define G_028238_TARGET3_ENABLE(x) (((x) >> 12) & 0x0F) argument
4212 #define S_028238_TARGET4_ENABLE(x) (((unsigned)(x) & 0x0F) << 16) argument
4213 #define G_028238_TARGET4_ENABLE(x) (((x) >> 16) & 0x0F) argument
4215 #define S_028238_TARGET5_ENABLE(x) (((unsigned)(x) & 0x0F) << 20) argument
4216 #define G_028238_TARGET5_ENABLE(x) (((x) >> 20) & 0x0F) argument
4218 #define S_028238_TARGET6_ENABLE(x) (((unsigned)(x) & 0x0F) << 24) argument
4219 #define G_028238_TARGET6_ENABLE(x) (((x) >> 24) & 0x0F) argument
4221 #define S_028238_TARGET7_ENABLE(x) (((unsigned)(x) & 0x0F) << 28) argument
4222 #define G_028238_TARGET7_ENABLE(x) (((x) >> 28) & 0x0F) argument
4225 #define S_02823C_OUTPUT0_ENABLE(x) (((unsigned)(x) & 0x0F) << 0) argument
4226 #define G_02823C_OUTPUT0_ENABLE(x) (((x) >> 0) & 0x0F) argument
4228 #define S_02823C_OUTPUT1_ENABLE(x) (((unsigned)(x) & 0x0F) << 4) argument
4229 #define G_02823C_OUTPUT1_ENABLE(x) (((x) >> 4) & 0x0F) argument
4231 #define S_02823C_OUTPUT2_ENABLE(x) (((unsigned)(x) & 0x0F) << 8) argument
4232 #define G_02823C_OUTPUT2_ENABLE(x) (((x) >> 8) & 0x0F) argument
4234 #define S_02823C_OUTPUT3_ENABLE(x) (((unsigned)(x) & 0x0F) << 12) argument
4235 #define G_02823C_OUTPUT3_ENABLE(x) (((x) >> 12) & 0x0F) argument
4237 #define S_02823C_OUTPUT4_ENABLE(x) (((unsigned)(x) & 0x0F) << 16) argument
4238 #define G_02823C_OUTPUT4_ENABLE(x) (((x) >> 16) & 0x0F) argument
4240 #define S_02823C_OUTPUT5_ENABLE(x) (((unsigned)(x) & 0x0F) << 20) argument
4241 #define G_02823C_OUTPUT5_ENABLE(x) (((x) >> 20) & 0x0F) argument
4243 #define S_02823C_OUTPUT6_ENABLE(x) (((unsigned)(x) & 0x0F) << 24) argument
4244 #define G_02823C_OUTPUT6_ENABLE(x) (((x) >> 24) & 0x0F) argument
4246 #define S_02823C_OUTPUT7_ENABLE(x) (((unsigned)(x) & 0x0F) << 28) argument
4247 #define G_02823C_OUTPUT7_ENABLE(x) (((x) >> 28) & 0x0F) argument
4250 #define S_028240_TL_X(x) (((unsigned)(x) & 0x7FFF) << … argument
4251 #define G_028240_TL_X(x) (((x) >> 0) & 0x7FFF) argument
4253 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
4254 #define G_028240_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
4256 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
4257 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
4260 #define S_028244_BR_X(x) (((unsigned)(x) & 0x7FFF) << … argument
4261 #define G_028244_BR_X(x) (((x) >> 0) & 0x7FFF) argument
4263 #define S_028244_BR_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
4264 #define G_028244_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
4269 #define S_028250_TL_X(x) (((unsigned)(x) & 0x7FFF) << … argument
4270 #define G_028250_TL_X(x) (((x) >> 0) & 0x7FFF) argument
4272 #define S_028250_TL_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
4273 #define G_028250_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
4275 #define S_028250_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
4276 #define G_028250_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
4279 #define S_028254_BR_X(x) (((unsigned)(x) & 0x7FFF) << … argument
4280 #define G_028254_BR_X(x) (((x) >> 0) & 0x7FFF) argument
4282 #define S_028254_BR_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
4283 #define G_028254_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
4348 #define S_028350_RB_MAP_PKR0(x) (((unsigned)(x) & 0x03) << 0) argument
4349 #define G_028350_RB_MAP_PKR0(x) (((x) >> 0) & 0x03) argument
4351 #define S_028350_RB_MAP_PKR1(x) (((unsigned)(x) & 0x03) << 2) argument
4352 #define G_028350_RB_MAP_PKR1(x) (((x) >> 2) & 0x03) argument
4354 #define S_028350_RB_XSEL2(x) (((unsigned)(x) & 0x03) << 4) argument
4355 #define G_028350_RB_XSEL2(x) (((x) >> 4) & 0x03) argument
4357 #define S_028350_RB_XSEL(x) (((unsigned)(x) & 0x1) << 6) argument
4358 #define G_028350_RB_XSEL(x) (((x) >> 6) & 0x1) argument
4360 #define S_028350_RB_YSEL(x) (((unsigned)(x) & 0x1) << 7) argument
4361 #define G_028350_RB_YSEL(x) (((x) >> 7) & 0x1) argument
4363 #define S_028350_PKR_MAP(x) (((unsigned)(x) & 0x03) << 8) argument
4364 #define G_028350_PKR_MAP(x) (((x) >> 8) & 0x03) argument
4366 #define S_028350_PKR_XSEL(x) (((unsigned)(x) & 0x03) << 10) argument
4367 #define G_028350_PKR_XSEL(x) (((x) >> 10) & 0x03) argument
4369 #define S_028350_PKR_YSEL(x) (((unsigned)(x) & 0x03) << 12) argument
4370 #define G_028350_PKR_YSEL(x) (((x) >> 12) & 0x03) argument
4372 #define S_028350_PKR_XSEL2(x) (((unsigned)(x) & 0x03) << 14) argument
4373 #define G_028350_PKR_XSEL2(x) (((x) >> 14) & 0x03) argument
4375 #define S_028350_SC_MAP(x) (((unsigned)(x) & 0x03) << 16) argument
4376 #define G_028350_SC_MAP(x) (((x) >> 16) & 0x03) argument
4378 #define S_028350_SC_XSEL(x) (((unsigned)(x) & 0x03) << 18) argument
4379 #define G_028350_SC_XSEL(x) (((x) >> 18) & 0x03) argument
4381 #define S_028350_SC_YSEL(x) (((unsigned)(x) & 0x03) << 20) argument
4382 #define G_028350_SC_YSEL(x) (((x) >> 20) & 0x03) argument
4384 #define S_028350_SE_MAP(x) (((unsigned)(x) & 0x03) << 24) argument
4385 #define G_028350_SE_MAP(x) (((x) >> 24) & 0x03) argument
4387 #define S_028350_SE_XSEL_GFX9(x) (((unsigned)(x) & 0x07) << 26) argument
4388 #define G_028350_SE_XSEL_GFX9(x) (((x) >> 26) & 0x07) argument
4390 #define S_028350_SE_YSEL_GFX9(x) (((unsigned)(x) & 0x07) << 29) argument
4391 #define G_028350_SE_YSEL_GFX9(x) (((x) >> 29) & 0x07) argument
4394 #define S_028354_SE_PAIR_MAP(x) (((unsigned)(x) & 0x03) << 0) argument
4395 #define G_028354_SE_PAIR_MAP(x) (((x) >> 0) & 0x03) argument
4397 #define S_028354_SE_PAIR_XSEL_GFX9(x) (((unsigned)(x) & 0x07) << 2) argument
4398 #define G_028354_SE_PAIR_XSEL_GFX9(x) (((x) >> 2) & 0x07) argument
4400 #define S_028354_SE_PAIR_YSEL_GFX9(x) (((unsigned)(x) & 0x07) << 5) argument
4401 #define G_028354_SE_PAIR_YSEL_GFX9(x) (((x) >> 5) & 0x07) argument
4404 #define S_028358_SLICE_EVEN_ENABLE(x) (((unsigned)(x) & 0x03) << 0) argument
4405 #define G_028358_SLICE_EVEN_ENABLE(x) (((x) >> 0) & 0x03) argument
4407 #define S_028358_SLICE_ODD_ENABLE(x) (((unsigned)(x) & 0x03) << 2) argument
4408 #define G_028358_SLICE_ODD_ENABLE(x) (((x) >> 2) & 0x03) argument
4411 #define S_02835C_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
4412 #define G_02835C_ENABLE(x) (((x) >> 0) & 0x1) argument
4414 #define S_02835C_NUM_SE(x) (((unsigned)(x) & 0x03) << 1) argument
4415 #define G_02835C_NUM_SE(x) (((x) >> 1) & 0x03) argument
4417 #define S_02835C_NUM_RB_PER_SE(x) (((unsigned)(x) & 0x03) << 5) argument
4418 #define G_02835C_NUM_RB_PER_SE(x) (((x) >> 5) & 0x03) argument
4420 #define S_02835C_DISABLE_SRBSL_DB_OPTIMIZED_PACKING(x) (((unsigned)(x) & 0x1) << 8) argument
4421 #define G_02835C_DISABLE_SRBSL_DB_OPTIMIZED_PACKING(x) (((x) >> 8) & 0x1) argument
4424 #define S_028360_PERFMON_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
4425 #define G_028360_PERFMON_ENABLE(x) (((x) >> 31) & 0x1) argument
4428 #define S_0283A0_LEFT_QTR(x) (((unsigned)(x) & 0xFF) << 0) argument
4429 #define G_0283A0_LEFT_QTR(x) (((x) >> 0) & 0xFF) argument
4431 #define S_0283A0_LEFT_HALF(x) (((unsigned)(x) & 0xFF) << 8) argument
4432 #define G_0283A0_LEFT_HALF(x) (((x) >> 8) & 0xFF) argument
4434 #define S_0283A0_RIGHT_HALF(x) (((unsigned)(x) & 0xFF) << 16) argument
4435 #define G_0283A0_RIGHT_HALF(x) (((x) >> 16) & 0xFF) argument
4437 #define S_0283A0_RIGHT_QTR(x) (((unsigned)(x) & 0xFF) << 24) argument
4438 #define G_0283A0_RIGHT_QTR(x) (((x) >> 24) & 0xFF) argument
4441 #define S_0283A4_LEFT_QTR(x) (((unsigned)(x) & 0xFF) << 0) argument
4442 #define G_0283A4_LEFT_QTR(x) (((x) >> 0) & 0xFF) argument
4444 #define S_0283A4_LEFT_HALF(x) (((unsigned)(x) & 0xFF) << 8) argument
4445 #define G_0283A4_LEFT_HALF(x) (((x) >> 8) & 0xFF) argument
4447 #define S_0283A4_RIGHT_HALF(x) (((unsigned)(x) & 0xFF) << 16) argument
4448 #define G_0283A4_RIGHT_HALF(x) (((x) >> 16) & 0xFF) argument
4450 #define S_0283A4_RIGHT_QTR(x) (((unsigned)(x) & 0xFF) << 24) argument
4451 #define G_0283A4_RIGHT_QTR(x) (((x) >> 24) & 0xFF) argument
4454 #define S_0283A8_TOP_QTR(x) (((unsigned)(x) & 0xFF) << 0) argument
4455 #define G_0283A8_TOP_QTR(x) (((x) >> 0) & 0xFF) argument
4457 #define S_0283A8_TOP_HALF(x) (((unsigned)(x) & 0xFF) << 8) argument
4458 #define G_0283A8_TOP_HALF(x) (((x) >> 8) & 0xFF) argument
4460 #define S_0283A8_BOT_HALF(x) (((unsigned)(x) & 0xFF) << 16) argument
4461 #define G_0283A8_BOT_HALF(x) (((x) >> 16) & 0xFF) argument
4463 #define S_0283A8_BOT_QTR(x) (((unsigned)(x) & 0xFF) << 24) argument
4464 #define G_0283A8_BOT_QTR(x) (((x) >> 24) & 0xFF) argument
4467 #define S_0283AC_LEFT_EYE_FOV_LEFT(x) (((unsigned)(x) & 0xFF) << 0) argument
4468 #define G_0283AC_LEFT_EYE_FOV_LEFT(x) (((x) >> 0) & 0xFF) argument
4470 #define S_0283AC_LEFT_EYE_FOV_RIGHT(x) (((unsigned)(x) & 0xFF) << 8) argument
4471 #define G_0283AC_LEFT_EYE_FOV_RIGHT(x) (((x) >> 8) & 0xFF) argument
4473 #define S_0283AC_RIGHT_EYE_FOV_LEFT(x) (((unsigned)(x) & 0xFF) << 16) argument
4474 #define G_0283AC_RIGHT_EYE_FOV_LEFT(x) (((x) >> 16) & 0xFF) argument
4476 #define S_0283AC_RIGHT_EYE_FOV_RIGHT(x) (((unsigned)(x) & 0xFF) << 24) argument
4477 #define G_0283AC_RIGHT_EYE_FOV_RIGHT(x) (((x) >> 24) & 0xFF) argument
4480 #define S_0283B0_FOV_TOP(x) (((unsigned)(x) & 0xFF) << 0) argument
4481 #define G_0283B0_FOV_TOP(x) (((x) >> 0) & 0xFF) argument
4483 #define S_0283B0_FOV_BOT(x) (((unsigned)(x) & 0xFF) << 8) argument
4484 #define G_0283B0_FOV_BOT(x) (((x) >> 8) & 0xFF) argument
4492 #define S_028424_OVERWRITE_COMBINER_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
4493 #define G_028424_OVERWRITE_COMBINER_DISABLE(x) (((x) >> 0) & 0x1) argument
4495 #define S_028424_OVERWRITE_COMBINER_MRT_SHARING_DISABLE(x) (((unsigned)(x) & 0x1) << 1) argument
4496 #define G_028424_OVERWRITE_COMBINER_MRT_SHARING_DISABLE(x) (((x) >> 1) & 0x1) argument
4498 #define S_028424_OVERWRITE_COMBINER_WATERMARK(x) (((unsigned)(x) & 0x1F) << 2) argument
4499 #define G_028424_OVERWRITE_COMBINER_WATERMARK(x) (((x) >> 2) & 0x1F) argument
4502 #define S_02842C_STENCILFAIL(x) (((unsigned)(x) & 0x0F) << 0) argument
4503 #define G_02842C_STENCILFAIL(x) (((x) >> 0) & 0x0F) argument
4505 #define S_02842C_STENCILZPASS(x) (((unsigned)(x) & 0x0F) << 4) argument
4506 #define G_02842C_STENCILZPASS(x) (((x) >> 4) & 0x0F) argument
4508 #define S_02842C_STENCILZFAIL(x) (((unsigned)(x) & 0x0F) << 8) argument
4509 #define G_02842C_STENCILZFAIL(x) (((x) >> 8) & 0x0F) argument
4511 #define S_02842C_STENCILFAIL_BF(x) (((unsigned)(x) & 0x0F) << 12) argument
4512 #define G_02842C_STENCILFAIL_BF(x) (((x) >> 12) & 0x0F) argument
4514 #define S_02842C_STENCILZPASS_BF(x) (((unsigned)(x) & 0x0F) << 16) argument
4515 #define G_02842C_STENCILZPASS_BF(x) (((x) >> 16) & 0x0F) argument
4517 #define S_02842C_STENCILZFAIL_BF(x) (((unsigned)(x) & 0x0F) << 20) argument
4518 #define G_02842C_STENCILZFAIL_BF(x) (((x) >> 20) & 0x0F) argument
4521 #define S_028430_STENCILTESTVAL(x) (((unsigned)(x) & 0xFF) << 0) argument
4522 #define G_028430_STENCILTESTVAL(x) (((x) >> 0) & 0xFF) argument
4524 #define S_028430_STENCILMASK(x) (((unsigned)(x) & 0xFF) << 8) argument
4525 #define G_028430_STENCILMASK(x) (((x) >> 8) & 0xFF) argument
4527 #define S_028430_STENCILWRITEMASK(x) (((unsigned)(x) & 0xFF) << 16) argument
4528 #define G_028430_STENCILWRITEMASK(x) (((x) >> 16) & 0xFF) argument
4530 #define S_028430_STENCILOPVAL(x) (((unsigned)(x) & 0xFF) << 24) argument
4531 #define G_028430_STENCILOPVAL(x) (((x) >> 24) & 0xFF) argument
4534 #define S_028434_STENCILTESTVAL_BF(x) (((unsigned)(x) & 0xFF) << 0) argument
4535 #define G_028434_STENCILTESTVAL_BF(x) (((x) >> 0) & 0xFF) argument
4537 #define S_028434_STENCILMASK_BF(x) (((unsigned)(x) & 0xFF) << 8) argument
4538 #define G_028434_STENCILMASK_BF(x) (((x) >> 8) & 0xFF) argument
4540 #define S_028434_STENCILWRITEMASK_BF(x) (((unsigned)(x) & 0xFF) << 16) argument
4541 #define G_028434_STENCILWRITEMASK_BF(x) (((x) >> 16) & 0xFF) argument
4543 #define S_028434_STENCILOPVAL_BF(x) (((unsigned)(x) & 0xFF) << 24) argument
4544 #define G_028434_STENCILOPVAL_BF(x) (((x) >> 24) & 0xFF) argument
4667 #define S_028644_OFFSET(x) (((unsigned)(x) & 0x3F) << 0) argument
4668 #define G_028644_OFFSET(x) (((x) >> 0) & 0x3F) argument
4670 #define S_028644_DEFAULT_VAL(x) (((unsigned)(x) & 0x03) << 8) argument
4671 #define G_028644_DEFAULT_VAL(x) (((x) >> 8) & 0x03) argument
4673 #define S_028644_FLAT_SHADE(x) (((unsigned)(x) & 0x1) << 10) argument
4674 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1) argument
4676 #define S_028644_CYL_WRAP(x) (((unsigned)(x) & 0x0F) << 13) argument
4677 #define G_028644_CYL_WRAP(x) (((x) >> 13) & 0x0F) argument
4679 #define S_028644_PT_SPRITE_TEX(x) (((unsigned)(x) & 0x1) << 17) argument
4680 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1) argument
4682 #define S_028644_DUP(x) (((unsigned)(x) & 0x1) << 18) argument
4683 #define G_028644_DUP(x) (((x) >> 18) & 0x1) argument
4685 #define S_028644_FP16_INTERP_MODE(x) (((unsigned)(x) & 0x1) << 19) argument
4686 #define G_028644_FP16_INTERP_MODE(x) (((x) >> 19) & 0x1) argument
4688 #define S_028644_USE_DEFAULT_ATTR1(x) (((unsigned)(x) & 0x1) << 20) argument
4689 #define G_028644_USE_DEFAULT_ATTR1(x) (((x) >> 20) & 0x1) argument
4691 #define S_028644_DEFAULT_VAL_ATTR1(x) (((unsigned)(x) & 0x03) << 21) argument
4692 #define G_028644_DEFAULT_VAL_ATTR1(x) (((x) >> 21) & 0x03) argument
4694 #define S_028644_PT_SPRITE_TEX_ATTR1(x) (((unsigned)(x) & 0x1) << 23) argument
4695 #define G_028644_PT_SPRITE_TEX_ATTR1(x) (((x) >> 23) & 0x1) argument
4697 #define S_028644_ATTR0_VALID(x) (((unsigned)(x) & 0x1) << 24) argument
4698 #define G_028644_ATTR0_VALID(x) (((x) >> 24) & 0x1) argument
4700 #define S_028644_ATTR1_VALID(x) (((unsigned)(x) & 0x1) << 25) argument
4701 #define G_028644_ATTR1_VALID(x) (((x) >> 25) & 0x1) argument
4735 #define S_0286C4_VS_EXPORT_COUNT(x) (((unsigned)(x) & 0x1F) << 1) argument
4736 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
4738 #define S_0286C4_VS_HALF_PACK(x) (((unsigned)(x) & 0x1) << 6) argument
4739 #define G_0286C4_VS_HALF_PACK(x) (((x) >> 6) & 0x1) argument
4742 #define S_0286CC_PERSP_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
4743 #define G_0286CC_PERSP_SAMPLE_ENA(x) (((x) >> 0) & 0x1) argument
4745 #define S_0286CC_PERSP_CENTER_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
4746 #define G_0286CC_PERSP_CENTER_ENA(x) (((x) >> 1) & 0x1) argument
4748 #define S_0286CC_PERSP_CENTROID_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
4749 #define G_0286CC_PERSP_CENTROID_ENA(x) (((x) >> 2) & 0x1) argument
4751 #define S_0286CC_PERSP_PULL_MODEL_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
4752 #define G_0286CC_PERSP_PULL_MODEL_ENA(x) (((x) >> 3) & 0x1) argument
4754 #define S_0286CC_LINEAR_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
4755 #define G_0286CC_LINEAR_SAMPLE_ENA(x) (((x) >> 4) & 0x1) argument
4757 #define S_0286CC_LINEAR_CENTER_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
4758 #define G_0286CC_LINEAR_CENTER_ENA(x) (((x) >> 5) & 0x1) argument
4760 #define S_0286CC_LINEAR_CENTROID_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
4761 #define G_0286CC_LINEAR_CENTROID_ENA(x) (((x) >> 6) & 0x1) argument
4763 #define S_0286CC_LINE_STIPPLE_TEX_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
4764 #define G_0286CC_LINE_STIPPLE_TEX_ENA(x) (((x) >> 7) & 0x1) argument
4766 #define S_0286CC_POS_X_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
4767 #define G_0286CC_POS_X_FLOAT_ENA(x) (((x) >> 8) & 0x1) argument
4769 #define S_0286CC_POS_Y_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 9) argument
4770 #define G_0286CC_POS_Y_FLOAT_ENA(x) (((x) >> 9) & 0x1) argument
4772 #define S_0286CC_POS_Z_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 10) argument
4773 #define G_0286CC_POS_Z_FLOAT_ENA(x) (((x) >> 10) & 0x1) argument
4775 #define S_0286CC_POS_W_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
4776 #define G_0286CC_POS_W_FLOAT_ENA(x) (((x) >> 11) & 0x1) argument
4778 #define S_0286CC_FRONT_FACE_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
4779 #define G_0286CC_FRONT_FACE_ENA(x) (((x) >> 12) & 0x1) argument
4781 #define S_0286CC_ANCILLARY_ENA(x) (((unsigned)(x) & 0x1) << 13) argument
4782 #define G_0286CC_ANCILLARY_ENA(x) (((x) >> 13) & 0x1) argument
4784 #define S_0286CC_SAMPLE_COVERAGE_ENA(x) (((unsigned)(x) & 0x1) << 14) argument
4785 #define G_0286CC_SAMPLE_COVERAGE_ENA(x) (((x) >> 14) & 0x1) argument
4787 #define S_0286CC_POS_FIXED_PT_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
4788 #define G_0286CC_POS_FIXED_PT_ENA(x) (((x) >> 15) & 0x1) argument
4791 #define S_0286D0_PERSP_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
4792 #define G_0286D0_PERSP_SAMPLE_ENA(x) (((x) >> 0) & 0x1) argument
4794 #define S_0286D0_PERSP_CENTER_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
4795 #define G_0286D0_PERSP_CENTER_ENA(x) (((x) >> 1) & 0x1) argument
4797 #define S_0286D0_PERSP_CENTROID_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
4798 #define G_0286D0_PERSP_CENTROID_ENA(x) (((x) >> 2) & 0x1) argument
4800 #define S_0286D0_PERSP_PULL_MODEL_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
4801 #define G_0286D0_PERSP_PULL_MODEL_ENA(x) (((x) >> 3) & 0x1) argument
4803 #define S_0286D0_LINEAR_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
4804 #define G_0286D0_LINEAR_SAMPLE_ENA(x) (((x) >> 4) & 0x1) argument
4806 #define S_0286D0_LINEAR_CENTER_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
4807 #define G_0286D0_LINEAR_CENTER_ENA(x) (((x) >> 5) & 0x1) argument
4809 #define S_0286D0_LINEAR_CENTROID_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
4810 #define G_0286D0_LINEAR_CENTROID_ENA(x) (((x) >> 6) & 0x1) argument
4812 #define S_0286D0_LINE_STIPPLE_TEX_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
4813 #define G_0286D0_LINE_STIPPLE_TEX_ENA(x) (((x) >> 7) & 0x1) argument
4815 #define S_0286D0_POS_X_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
4816 #define G_0286D0_POS_X_FLOAT_ENA(x) (((x) >> 8) & 0x1) argument
4818 #define S_0286D0_POS_Y_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 9) argument
4819 #define G_0286D0_POS_Y_FLOAT_ENA(x) (((x) >> 9) & 0x1) argument
4821 #define S_0286D0_POS_Z_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 10) argument
4822 #define G_0286D0_POS_Z_FLOAT_ENA(x) (((x) >> 10) & 0x1) argument
4824 #define S_0286D0_POS_W_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
4825 #define G_0286D0_POS_W_FLOAT_ENA(x) (((x) >> 11) & 0x1) argument
4827 #define S_0286D0_FRONT_FACE_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
4828 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 12) & 0x1) argument
4830 #define S_0286D0_ANCILLARY_ENA(x) (((unsigned)(x) & 0x1) << 13) argument
4831 #define G_0286D0_ANCILLARY_ENA(x) (((x) >> 13) & 0x1) argument
4833 #define S_0286D0_SAMPLE_COVERAGE_ENA(x) (((unsigned)(x) & 0x1) << 14) argument
4834 #define G_0286D0_SAMPLE_COVERAGE_ENA(x) (((x) >> 14) & 0x1) argument
4836 #define S_0286D0_POS_FIXED_PT_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
4837 #define G_0286D0_POS_FIXED_PT_ENA(x) (((x) >> 15) & 0x1) argument
4840 #define S_0286D4_FLAT_SHADE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
4841 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1) argument
4843 #define S_0286D4_PNT_SPRITE_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
4844 #define G_0286D4_PNT_SPRITE_ENA(x) (((x) >> 1) & 0x1) argument
4846 #define S_0286D4_PNT_SPRITE_OVRD_X(x) (((unsigned)(x) & 0x07) << 2) argument
4847 #define G_0286D4_PNT_SPRITE_OVRD_X(x) (((x) >> 2) & 0x07) argument
4849 #define S_0286D4_PNT_SPRITE_OVRD_Y(x) (((unsigned)(x) & 0x07) << 5) argument
4850 #define G_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) >> 5) & 0x07) argument
4852 #define S_0286D4_PNT_SPRITE_OVRD_Z(x) (((unsigned)(x) & 0x07) << 8) argument
4853 #define G_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) >> 8) & 0x07) argument
4855 #define S_0286D4_PNT_SPRITE_OVRD_W(x) (((unsigned)(x) & 0x07) << 11) argument
4856 #define G_0286D4_PNT_SPRITE_OVRD_W(x) (((x) >> 11) & 0x07) argument
4858 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((unsigned)(x) & 0x1) << 14) argument
4859 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1) argument
4862 #define S_0286D8_NUM_INTERP(x) (((unsigned)(x) & 0x3F) << 0) argument
4863 #define G_0286D8_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
4865 #define S_0286D8_PARAM_GEN(x) (((unsigned)(x) & 0x1) << 6) argument
4866 #define G_0286D8_PARAM_GEN(x) (((x) >> 6) & 0x1) argument
4868 #define S_0286D8_OFFCHIP_PARAM_EN(x) (((unsigned)(x) & 0x1) << 7) argument
4869 #define G_0286D8_OFFCHIP_PARAM_EN(x) (((x) >> 7) & 0x1) argument
4871 #define S_0286D8_LATE_PC_DEALLOC(x) (((unsigned)(x) & 0x1) << 8) argument
4872 #define G_0286D8_LATE_PC_DEALLOC(x) (((x) >> 8) & 0x1) argument
4874 #define S_0286D8_BC_OPTIMIZE_DISABLE(x) (((unsigned)(x) & 0x1) << 14) argument
4875 #define G_0286D8_BC_OPTIMIZE_DISABLE(x) (((x) >> 14) & 0x1) argument
4878 #define S_0286E0_PERSP_CENTER_CNTL(x) (((unsigned)(x) & 0x1) << 0) argument
4879 #define G_0286E0_PERSP_CENTER_CNTL(x) (((x) >> 0) & 0x1) argument
4881 #define S_0286E0_PERSP_CENTROID_CNTL(x) (((unsigned)(x) & 0x1) << 4) argument
4882 #define G_0286E0_PERSP_CENTROID_CNTL(x) (((x) >> 4) & 0x1) argument
4884 #define S_0286E0_LINEAR_CENTER_CNTL(x) (((unsigned)(x) & 0x1) << 8) argument
4885 #define G_0286E0_LINEAR_CENTER_CNTL(x) (((x) >> 8) & 0x1) argument
4887 #define S_0286E0_LINEAR_CENTROID_CNTL(x) (((unsigned)(x) & 0x1) << 12) argument
4888 #define G_0286E0_LINEAR_CENTROID_CNTL(x) (((x) >> 12) & 0x1) argument
4890 #define S_0286E0_POS_FLOAT_LOCATION(x) (((unsigned)(x) & 0x03) << 16) argument
4891 #define G_0286E0_POS_FLOAT_LOCATION(x) (((x) >> 16) & 0x03) argument
4893 #define S_0286E0_POS_FLOAT_ULC(x) (((unsigned)(x) & 0x1) << 20) argument
4894 #define G_0286E0_POS_FLOAT_ULC(x) (((x) >> 20) & 0x1) argument
4896 #define S_0286E0_FRONT_FACE_ALL_BITS(x) (((unsigned)(x) & 0x1) << 24) argument
4897 #define G_0286E0_FRONT_FACE_ALL_BITS(x) (((x) >> 24) & 0x1) argument
4900 #define S_0286E8_WAVES(x) (((unsigned)(x) & 0xFFF) << 0) argument
4901 #define G_0286E8_WAVES(x) (((x) >> 0) & 0xFFF) argument
4903 #define S_0286E8_WAVESIZE(x) (((unsigned)(x) & 0x1FFF) << … argument
4904 #define G_0286E8_WAVESIZE(x) (((x) >> 12) & 0x1FFF) argument
4907 #define S_02870C_POS0_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 0) argument
4908 #define G_02870C_POS0_EXPORT_FORMAT(x) (((x) >> 0) & 0x0F) argument
4910 #define S_02870C_POS1_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 4) argument
4911 #define G_02870C_POS1_EXPORT_FORMAT(x) (((x) >> 4) & 0x0F) argument
4913 #define S_02870C_POS2_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 8) argument
4914 #define G_02870C_POS2_EXPORT_FORMAT(x) (((x) >> 8) & 0x0F) argument
4916 #define S_02870C_POS3_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 12) argument
4917 #define G_02870C_POS3_EXPORT_FORMAT(x) (((x) >> 12) & 0x0F) argument
4920 #define S_028710_Z_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 0) argument
4921 #define G_028710_Z_EXPORT_FORMAT(x) (((x) >> 0) & 0x0F) argument
4924 #define S_028714_COL0_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 0) argument
4925 #define G_028714_COL0_EXPORT_FORMAT(x) (((x) >> 0) & 0x0F) argument
4927 #define S_028714_COL1_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 4) argument
4928 #define G_028714_COL1_EXPORT_FORMAT(x) (((x) >> 4) & 0x0F) argument
4930 #define S_028714_COL2_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 8) argument
4931 #define G_028714_COL2_EXPORT_FORMAT(x) (((x) >> 8) & 0x0F) argument
4933 #define S_028714_COL3_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 12) argument
4934 #define G_028714_COL3_EXPORT_FORMAT(x) (((x) >> 12) & 0x0F) argument
4936 #define S_028714_COL4_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 16) argument
4937 #define G_028714_COL4_EXPORT_FORMAT(x) (((x) >> 16) & 0x0F) argument
4939 #define S_028714_COL5_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 20) argument
4940 #define G_028714_COL5_EXPORT_FORMAT(x) (((x) >> 20) & 0x0F) argument
4942 #define S_028714_COL6_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 24) argument
4943 #define G_028714_COL6_EXPORT_FORMAT(x) (((x) >> 24) & 0x0F) argument
4945 #define S_028714_COL7_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 28) argument
4946 #define G_028714_COL7_EXPORT_FORMAT(x) (((x) >> 28) & 0x0F) argument
4949 #define S_028754_MRT0(x) (((unsigned)(x) & 0x0F) << 0) argument
4950 #define G_028754_MRT0(x) (((x) >> 0) & 0x0F) argument
4952 #define S_028754_MRT1(x) (((unsigned)(x) & 0x0F) << 4) argument
4953 #define G_028754_MRT1(x) (((x) >> 4) & 0x0F) argument
4955 #define S_028754_MRT2(x) (((unsigned)(x) & 0x0F) << 8) argument
4956 #define G_028754_MRT2(x) (((x) >> 8) & 0x0F) argument
4958 #define S_028754_MRT3(x) (((unsigned)(x) & 0x0F) << 12) argument
4959 #define G_028754_MRT3(x) (((x) >> 12) & 0x0F) argument
4961 #define S_028754_MRT4(x) (((unsigned)(x) & 0x0F) << 16) argument
4962 #define G_028754_MRT4(x) (((x) >> 16) & 0x0F) argument
4964 #define S_028754_MRT5(x) (((unsigned)(x) & 0x0F) << 20) argument
4965 #define G_028754_MRT5(x) (((x) >> 20) & 0x0F) argument
4967 #define S_028754_MRT6(x) (((unsigned)(x) & 0x0F) << 24) argument
4968 #define G_028754_MRT6(x) (((x) >> 24) & 0x0F) argument
4970 #define S_028754_MRT7(x) (((unsigned)(x) & 0x0F) << 28) argument
4971 #define G_028754_MRT7(x) (((x) >> 28) & 0x0F) argument
4974 #define S_028758_MRT0_EPSILON(x) (((unsigned)(x) & 0x0F) << 0) argument
4975 #define G_028758_MRT0_EPSILON(x) (((x) >> 0) & 0x0F) argument
4977 #define S_028758_MRT1_EPSILON(x) (((unsigned)(x) & 0x0F) << 4) argument
4978 #define G_028758_MRT1_EPSILON(x) (((x) >> 4) & 0x0F) argument
4980 #define S_028758_MRT2_EPSILON(x) (((unsigned)(x) & 0x0F) << 8) argument
4981 #define G_028758_MRT2_EPSILON(x) (((x) >> 8) & 0x0F) argument
4983 #define S_028758_MRT3_EPSILON(x) (((unsigned)(x) & 0x0F) << 12) argument
4984 #define G_028758_MRT3_EPSILON(x) (((x) >> 12) & 0x0F) argument
4986 #define S_028758_MRT4_EPSILON(x) (((unsigned)(x) & 0x0F) << 16) argument
4987 #define G_028758_MRT4_EPSILON(x) (((x) >> 16) & 0x0F) argument
4989 #define S_028758_MRT5_EPSILON(x) (((unsigned)(x) & 0x0F) << 20) argument
4990 #define G_028758_MRT5_EPSILON(x) (((x) >> 20) & 0x0F) argument
4992 #define S_028758_MRT6_EPSILON(x) (((unsigned)(x) & 0x0F) << 24) argument
4993 #define G_028758_MRT6_EPSILON(x) (((x) >> 24) & 0x0F) argument
4995 #define S_028758_MRT7_EPSILON(x) (((unsigned)(x) & 0x0F) << 28) argument
4996 #define G_028758_MRT7_EPSILON(x) (((x) >> 28) & 0x0F) argument
4999 #define S_02875C_MRT0_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
5000 #define G_02875C_MRT0_COLOR_OPT_DISABLE(x) (((x) >> 0) & 0x1) argument
5002 #define S_02875C_MRT0_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 1) argument
5003 #define G_02875C_MRT0_ALPHA_OPT_DISABLE(x) (((x) >> 1) & 0x1) argument
5005 #define S_02875C_MRT1_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 4) argument
5006 #define G_02875C_MRT1_COLOR_OPT_DISABLE(x) (((x) >> 4) & 0x1) argument
5008 #define S_02875C_MRT1_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 5) argument
5009 #define G_02875C_MRT1_ALPHA_OPT_DISABLE(x) (((x) >> 5) & 0x1) argument
5011 #define S_02875C_MRT2_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
5012 #define G_02875C_MRT2_COLOR_OPT_DISABLE(x) (((x) >> 8) & 0x1) argument
5014 #define S_02875C_MRT2_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
5015 #define G_02875C_MRT2_ALPHA_OPT_DISABLE(x) (((x) >> 9) & 0x1) argument
5017 #define S_02875C_MRT3_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 12) argument
5018 #define G_02875C_MRT3_COLOR_OPT_DISABLE(x) (((x) >> 12) & 0x1) argument
5020 #define S_02875C_MRT3_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 13) argument
5021 #define G_02875C_MRT3_ALPHA_OPT_DISABLE(x) (((x) >> 13) & 0x1) argument
5023 #define S_02875C_MRT4_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 16) argument
5024 #define G_02875C_MRT4_COLOR_OPT_DISABLE(x) (((x) >> 16) & 0x1) argument
5026 #define S_02875C_MRT4_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 17) argument
5027 #define G_02875C_MRT4_ALPHA_OPT_DISABLE(x) (((x) >> 17) & 0x1) argument
5029 #define S_02875C_MRT5_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 20) argument
5030 #define G_02875C_MRT5_COLOR_OPT_DISABLE(x) (((x) >> 20) & 0x1) argument
5032 #define S_02875C_MRT5_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 21) argument
5033 #define G_02875C_MRT5_ALPHA_OPT_DISABLE(x) (((x) >> 21) & 0x1) argument
5035 #define S_02875C_MRT6_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 24) argument
5036 #define G_02875C_MRT6_COLOR_OPT_DISABLE(x) (((x) >> 24) & 0x1) argument
5038 #define S_02875C_MRT6_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 25) argument
5039 #define G_02875C_MRT6_ALPHA_OPT_DISABLE(x) (((x) >> 25) & 0x1) argument
5041 #define S_02875C_MRT7_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 28) argument
5042 #define G_02875C_MRT7_COLOR_OPT_DISABLE(x) (((x) >> 28) & 0x1) argument
5044 #define S_02875C_MRT7_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 29) argument
5045 #define G_02875C_MRT7_ALPHA_OPT_DISABLE(x) (((x) >> 29) & 0x1) argument
5047 #define S_02875C_PIXEN_ZERO_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
5048 #define G_02875C_PIXEN_ZERO_OPT_DISABLE(x) (((x) >> 31) & 0x1) argument
5051 #define S_028760_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
5052 #define G_028760_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
5054 #define S_028760_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
5055 #define G_028760_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
5057 #define S_028760_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
5058 #define G_028760_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
5060 #define S_028760_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
5061 #define G_028760_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
5063 #define S_028760_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
5064 #define G_028760_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
5066 #define S_028760_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
5067 #define G_028760_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
5070 #define S_028764_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
5071 #define G_028764_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
5073 #define S_028764_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
5074 #define G_028764_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
5076 #define S_028764_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
5077 #define G_028764_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
5079 #define S_028764_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
5080 #define G_028764_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
5082 #define S_028764_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
5083 #define G_028764_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
5085 #define S_028764_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
5086 #define G_028764_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
5089 #define S_028768_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
5090 #define G_028768_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
5092 #define S_028768_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
5093 #define G_028768_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
5095 #define S_028768_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
5096 #define G_028768_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
5098 #define S_028768_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
5099 #define G_028768_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
5101 #define S_028768_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
5102 #define G_028768_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
5104 #define S_028768_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
5105 #define G_028768_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
5108 #define S_02876C_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
5109 #define G_02876C_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
5111 #define S_02876C_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
5112 #define G_02876C_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
5114 #define S_02876C_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
5115 #define G_02876C_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
5117 #define S_02876C_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
5118 #define G_02876C_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
5120 #define S_02876C_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
5121 #define G_02876C_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
5123 #define S_02876C_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
5124 #define G_02876C_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
5127 #define S_028770_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
5128 #define G_028770_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
5130 #define S_028770_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
5131 #define G_028770_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
5133 #define S_028770_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
5134 #define G_028770_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
5136 #define S_028770_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
5137 #define G_028770_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
5139 #define S_028770_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
5140 #define G_028770_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
5142 #define S_028770_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
5143 #define G_028770_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
5146 #define S_028774_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
5147 #define G_028774_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
5149 #define S_028774_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
5150 #define G_028774_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
5152 #define S_028774_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
5153 #define G_028774_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
5155 #define S_028774_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
5156 #define G_028774_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
5158 #define S_028774_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
5159 #define G_028774_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
5161 #define S_028774_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
5162 #define G_028774_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
5165 #define S_028778_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
5166 #define G_028778_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
5168 #define S_028778_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
5169 #define G_028778_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
5171 #define S_028778_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
5172 #define G_028778_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
5174 #define S_028778_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
5175 #define G_028778_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
5177 #define S_028778_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
5178 #define G_028778_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
5180 #define S_028778_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
5181 #define G_028778_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
5184 #define S_02877C_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
5185 #define G_02877C_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
5187 #define S_02877C_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
5188 #define G_02877C_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
5190 #define S_02877C_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
5191 #define G_02877C_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
5193 #define S_02877C_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
5194 #define G_02877C_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
5196 #define S_02877C_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
5197 #define G_02877C_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
5199 #define S_02877C_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
5200 #define G_02877C_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
5203 #define S_028780_COLOR_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 0) argument
5204 #define G_028780_COLOR_SRCBLEND(x) (((x) >> 0) & 0x1F) argument
5206 #define S_028780_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 5) argument
5207 #define G_028780_COLOR_COMB_FCN(x) (((x) >> 5) & 0x07) argument
5209 #define S_028780_COLOR_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 8) argument
5210 #define G_028780_COLOR_DESTBLEND(x) (((x) >> 8) & 0x1F) argument
5212 #define S_028780_ALPHA_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 16) argument
5213 #define G_028780_ALPHA_SRCBLEND(x) (((x) >> 16) & 0x1F) argument
5215 #define S_028780_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 21) argument
5216 #define G_028780_ALPHA_COMB_FCN(x) (((x) >> 21) & 0x07) argument
5218 #define S_028780_ALPHA_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 24) argument
5219 #define G_028780_ALPHA_DESTBLEND(x) (((x) >> 24) & 0x1F) argument
5221 #define S_028780_SEPARATE_ALPHA_BLEND(x) (((unsigned)(x) & 0x1) << 29) argument
5222 #define G_028780_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1) argument
5224 #define S_028780_ENABLE(x) (((unsigned)(x) & 0x1) << 30) argument
5225 #define G_028780_ENABLE(x) (((x) >> 30) & 0x1) argument
5227 #define S_028780_DISABLE_ROP3(x) (((unsigned)(x) & 0x1) << 31) argument
5228 #define G_028780_DISABLE_ROP3(x) (((x) >> 31) & 0x1) argument
5238 #define S_0287A0_EPITCH(x) (((unsigned)(x) & 0xFFFF) << … argument
5239 #define G_0287A0_EPITCH(x) (((x) >> 0) & 0xFFFF) argument
5242 #define S_0287A4_EPITCH(x) (((unsigned)(x) & 0xFFFF) << … argument
5243 #define G_0287A4_EPITCH(x) (((x) >> 0) & 0xFFFF) argument
5246 #define S_0287A8_EPITCH(x) (((unsigned)(x) & 0xFFFF) << … argument
5247 #define G_0287A8_EPITCH(x) (((x) >> 0) & 0xFFFF) argument
5250 #define S_0287AC_EPITCH(x) (((unsigned)(x) & 0xFFFF) << … argument
5251 #define G_0287AC_EPITCH(x) (((x) >> 0) & 0xFFFF) argument
5254 #define S_0287B0_EPITCH(x) (((unsigned)(x) & 0xFFFF) << … argument
5255 #define G_0287B0_EPITCH(x) (((x) >> 0) & 0xFFFF) argument
5258 #define S_0287B4_EPITCH(x) (((unsigned)(x) & 0xFFFF) << … argument
5259 #define G_0287B4_EPITCH(x) (((x) >> 0) & 0xFFFF) argument
5262 #define S_0287B8_EPITCH(x) (((unsigned)(x) & 0xFFFF) << … argument
5263 #define G_0287B8_EPITCH(x) (((x) >> 0) & 0xFFFF) argument
5266 #define S_0287BC_EPITCH(x) (((unsigned)(x) & 0xFFFF) << … argument
5267 #define G_0287BC_EPITCH(x) (((x) >> 0) & 0xFFFF) argument
5270 #define S_0287CC_SRC_STATE_ID(x) (((unsigned)(x) & 0x07) << 0) argument
5271 #define G_0287CC_SRC_STATE_ID(x) (((x) >> 0) & 0x07) argument
5278 #define S_0287E4_BASE_ADDR_GFX9(x) (((unsigned)(x) & 0xFFFF) << … argument
5279 #define G_0287E4_BASE_ADDR_GFX9(x) (((x) >> 0) & 0xFFFF) argument
5283 #define S_0287F0_SOURCE_SELECT(x) (((unsigned)(x) & 0x03) << 0) argument
5284 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x03) argument
5286 #define S_0287F0_MAJOR_MODE(x) (((unsigned)(x) & 0x03) << 2) argument
5287 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x03) argument
5289 #define S_0287F0_SPRITE_EN_R6XX(x) (((unsigned)(x) & 0x1) << 4) argument
5290 #define G_0287F0_SPRITE_EN_R6XX(x) (((x) >> 4) & 0x1) argument
5292 #define S_0287F0_NOT_EOP(x) (((unsigned)(x) & 0x1) << 5) argument
5293 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
5295 #define S_0287F0_USE_OPAQUE(x) (((unsigned)(x) & 0x1) << 6) argument
5296 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
5298 #define S_0287F0_UNROLLED_INST(x) (((unsigned)(x) & 0x1) << 7) argument
5299 #define G_0287F0_UNROLLED_INST(x) (((x) >> 7) & 0x1) argument
5301 #define S_0287F0_GRBM_SKEW_NO_DEC(x) (((unsigned)(x) & 0x1) << 8) argument
5302 #define G_0287F0_GRBM_SKEW_NO_DEC(x) (((x) >> 8) & 0x1) argument
5304 #define S_0287F0_REG_RT_INDEX(x) (((unsigned)(x) & 0x07) << 29) argument
5305 #define G_0287F0_REG_RT_INDEX(x) (((x) >> 29) & 0x07) argument
5309 #define S_0287F8_ADDRESS_LOW(x) (((unsigned)(x) & 0xFFFFFFF) … argument
5310 #define G_0287F8_ADDRESS_LOW(x) (((x) >> 0) & 0xFFFFFFF) argument
5313 #define S_028800_STENCIL_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
5314 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
5316 #define S_028800_Z_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
5317 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
5319 #define S_028800_Z_WRITE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
5320 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
5322 #define S_028800_DEPTH_BOUNDS_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
5323 #define G_028800_DEPTH_BOUNDS_ENABLE(x) (((x) >> 3) & 0x1) argument
5325 #define S_028800_ZFUNC(x) (((unsigned)(x) & 0x07) << 4) argument
5326 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x07) argument
5328 #define S_028800_BACKFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
5329 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
5331 #define S_028800_STENCILFUNC(x) (((unsigned)(x) & 0x07) << 8) argument
5332 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x07) argument
5334 #define S_028800_STENCILFUNC_BF(x) (((unsigned)(x) & 0x07) << 20) argument
5335 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x07) argument
5337 #define S_028800_ENABLE_COLOR_WRITES_ON_DEPTH_FAIL(x) (((unsigned)(x) & 0x1) << 30) argument
5338 #define G_028800_ENABLE_COLOR_WRITES_ON_DEPTH_FAIL(x) (((x) >> 30) & 0x1) argument
5340 #define S_028800_DISABLE_COLOR_WRITES_ON_DEPTH_PASS(x) (((unsigned)(x) & 0x1) << 31) argument
5341 #define G_028800_DISABLE_COLOR_WRITES_ON_DEPTH_PASS(x) (((x) >> 31) & 0x1) argument
5344 #define S_028804_MAX_ANCHOR_SAMPLES(x) (((unsigned)(x) & 0x07) << 0) argument
5345 #define G_028804_MAX_ANCHOR_SAMPLES(x) (((x) >> 0) & 0x07) argument
5347 #define S_028804_PS_ITER_SAMPLES(x) (((unsigned)(x) & 0x07) << 4) argument
5348 #define G_028804_PS_ITER_SAMPLES(x) (((x) >> 4) & 0x07) argument
5350 #define S_028804_MASK_EXPORT_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 8) argument
5351 #define G_028804_MASK_EXPORT_NUM_SAMPLES(x) (((x) >> 8) & 0x07) argument
5353 #define S_028804_ALPHA_TO_MASK_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 12) argument
5354 #define G_028804_ALPHA_TO_MASK_NUM_SAMPLES(x) (((x) >> 12) & 0x07) argument
5356 #define S_028804_HIGH_QUALITY_INTERSECTIONS(x) (((unsigned)(x) & 0x1) << 16) argument
5357 #define G_028804_HIGH_QUALITY_INTERSECTIONS(x) (((x) >> 16) & 0x1) argument
5359 #define S_028804_INCOHERENT_EQAA_READS(x) (((unsigned)(x) & 0x1) << 17) argument
5360 #define G_028804_INCOHERENT_EQAA_READS(x) (((x) >> 17) & 0x1) argument
5362 #define S_028804_INTERPOLATE_COMP_Z(x) (((unsigned)(x) & 0x1) << 18) argument
5363 #define G_028804_INTERPOLATE_COMP_Z(x) (((x) >> 18) & 0x1) argument
5365 #define S_028804_INTERPOLATE_SRC_Z(x) (((unsigned)(x) & 0x1) << 19) argument
5366 #define G_028804_INTERPOLATE_SRC_Z(x) (((x) >> 19) & 0x1) argument
5368 #define S_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((unsigned)(x) & 0x1) << 20) argument
5369 #define G_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((x) >> 20) & 0x1) argument
5371 #define S_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((unsigned)(x) & 0x1) << 21) argument
5372 #define G_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((x) >> 21) & 0x1) argument
5374 #define S_028804_OVERRASTERIZATION_AMOUNT(x) (((unsigned)(x) & 0x07) << 24) argument
5375 #define G_028804_OVERRASTERIZATION_AMOUNT(x) (((x) >> 24) & 0x07) argument
5377 #define S_028804_ENABLE_POSTZ_OVERRASTERIZATION(x) (((unsigned)(x) & 0x1) << 27) argument
5378 #define G_028804_ENABLE_POSTZ_OVERRASTERIZATION(x) (((x) >> 27) & 0x1) argument
5381 #define S_028808_DISABLE_DUAL_QUAD(x) (((unsigned)(x) & 0x1) << 0) argument
5382 #define G_028808_DISABLE_DUAL_QUAD(x) (((x) >> 0) & 0x1) argument
5384 #define S_028808_DEGAMMA_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
5385 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1) argument
5387 #define S_028808_MODE(x) (((unsigned)(x) & 0x07) << 4) argument
5388 #define G_028808_MODE(x) (((x) >> 4) & 0x07) argument
5390 #define S_028808_ROP3(x) (((unsigned)(x) & 0xFF) << 16) argument
5391 #define G_028808_ROP3(x) (((x) >> 16) & 0xFF) argument
5394 #define S_02880C_Z_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
5395 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1) argument
5397 #define S_02880C_STENCIL_TEST_VAL_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
5398 #define G_02880C_STENCIL_TEST_VAL_EXPORT_ENABLE(x) (((x) >> 1) & 0x1) argument
5400 #define S_02880C_STENCIL_OP_VAL_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
5401 #define G_02880C_STENCIL_OP_VAL_EXPORT_ENABLE(x) (((x) >> 2) & 0x1) argument
5403 #define S_02880C_Z_ORDER(x) (((unsigned)(x) & 0x03) << 4) argument
5404 #define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x03) argument
5406 #define S_02880C_KILL_ENABLE(x) (((unsigned)(x) & 0x1) << 6) argument
5407 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1) argument
5409 #define S_02880C_COVERAGE_TO_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
5410 #define G_02880C_COVERAGE_TO_MASK_ENABLE(x) (((x) >> 7) & 0x1) argument
5412 #define S_02880C_MASK_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 8) argument
5413 #define G_02880C_MASK_EXPORT_ENABLE(x) (((x) >> 8) & 0x1) argument
5415 #define S_02880C_EXEC_ON_HIER_FAIL(x) (((unsigned)(x) & 0x1) << 9) argument
5416 #define G_02880C_EXEC_ON_HIER_FAIL(x) (((x) >> 9) & 0x1) argument
5418 #define S_02880C_EXEC_ON_NOOP(x) (((unsigned)(x) & 0x1) << 10) argument
5419 #define G_02880C_EXEC_ON_NOOP(x) (((x) >> 10) & 0x1) argument
5421 #define S_02880C_ALPHA_TO_MASK_DISABLE(x) (((unsigned)(x) & 0x1) << 11) argument
5422 #define G_02880C_ALPHA_TO_MASK_DISABLE(x) (((x) >> 11) & 0x1) argument
5424 #define S_02880C_DEPTH_BEFORE_SHADER(x) (((unsigned)(x) & 0x1) << 12) argument
5425 #define G_02880C_DEPTH_BEFORE_SHADER(x) (((x) >> 12) & 0x1) argument
5427 #define S_02880C_CONSERVATIVE_Z_EXPORT(x) (((unsigned)(x) & 0x03) << 13) argument
5428 #define G_02880C_CONSERVATIVE_Z_EXPORT(x) (((x) >> 13) & 0x03) argument
5430 #define S_02880C_DUAL_QUAD_DISABLE(x) (((unsigned)(x) & 0x1) << 15) argument
5431 #define G_02880C_DUAL_QUAD_DISABLE(x) (((x) >> 15) & 0x1) argument
5433 #define S_02880C_PRIMITIVE_ORDERED_PIXEL_SHADER(x) (((unsigned)(x) & 0x1) << 16) argument
5434 #define G_02880C_PRIMITIVE_ORDERED_PIXEL_SHADER(x) (((x) >> 16) & 0x1) argument
5436 #define S_02880C_EXEC_IF_OVERLAPPED(x) (((unsigned)(x) & 0x1) << 17) argument
5437 #define G_02880C_EXEC_IF_OVERLAPPED(x) (((x) >> 17) & 0x1) argument
5439 #define S_02880C_POPS_OVERLAP_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 20) argument
5440 #define G_02880C_POPS_OVERLAP_NUM_SAMPLES(x) (((x) >> 20) & 0x07) argument
5443 #define S_028810_UCP_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
5444 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1) argument
5446 #define S_028810_UCP_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
5447 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1) argument
5449 #define S_028810_UCP_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
5450 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1) argument
5452 #define S_028810_UCP_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
5453 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1) argument
5455 #define S_028810_UCP_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
5456 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1) argument
5458 #define S_028810_UCP_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
5459 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1) argument
5461 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((unsigned)(x) & 0x1) << 13) argument
5462 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1) argument
5464 #define S_028810_PS_UCP_MODE(x) (((unsigned)(x) & 0x03) << 14) argument
5465 #define G_028810_PS_UCP_MODE(x) (((x) >> 14) & 0x03) argument
5467 #define S_028810_CLIP_DISABLE(x) (((unsigned)(x) & 0x1) << 16) argument
5468 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1) argument
5470 #define S_028810_UCP_CULL_ONLY_ENA(x) (((unsigned)(x) & 0x1) << 17) argument
5471 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1) argument
5473 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
5474 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1) argument
5476 #define S_028810_DX_CLIP_SPACE_DEF(x) (((unsigned)(x) & 0x1) << 19) argument
5477 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1) argument
5479 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((unsigned)(x) & 0x1) << 20) argument
5480 #define G_028810_DIS_CLIP_ERR_DETECT(x) (((x) >> 20) & 0x1) argument
5482 #define S_028810_VTX_KILL_OR(x) (((unsigned)(x) & 0x1) << 21) argument
5483 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1) argument
5485 #define S_028810_DX_RASTERIZATION_KILL(x) (((unsigned)(x) & 0x1) << 22) argument
5486 #define G_028810_DX_RASTERIZATION_KILL(x) (((x) >> 22) & 0x1) argument
5488 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
5489 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1) argument
5491 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((unsigned)(x) & 0x1) << 25) argument
5492 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1) argument
5494 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((unsigned)(x) & 0x1) << 26) argument
5495 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1) argument
5497 #define S_028810_ZCLIP_FAR_DISABLE(x) (((unsigned)(x) & 0x1) << 27) argument
5498 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1) argument
5501 #define S_028814_CULL_FRONT(x) (((unsigned)(x) & 0x1) << 0) argument
5502 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1) argument
5504 #define S_028814_CULL_BACK(x) (((unsigned)(x) & 0x1) << 1) argument
5505 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1) argument
5507 #define S_028814_FACE(x) (((unsigned)(x) & 0x1) << 2) argument
5508 #define G_028814_FACE(x) (((x) >> 2) & 0x1) argument
5510 #define S_028814_POLY_MODE(x) (((unsigned)(x) & 0x03) << 3) argument
5511 #define G_028814_POLY_MODE(x) (((x) >> 3) & 0x03) argument
5513 #define S_028814_POLYMODE_FRONT_PTYPE(x) (((unsigned)(x) & 0x07) << 5) argument
5514 #define G_028814_POLYMODE_FRONT_PTYPE(x) (((x) >> 5) & 0x07) argument
5516 #define S_028814_POLYMODE_BACK_PTYPE(x) (((unsigned)(x) & 0x07) << 8) argument
5517 #define G_028814_POLYMODE_BACK_PTYPE(x) (((x) >> 8) & 0x07) argument
5519 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((unsigned)(x) & 0x1) << 11) argument
5520 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1) argument
5522 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
5523 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1) argument
5525 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((unsigned)(x) & 0x1) << 13) argument
5526 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1) argument
5528 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((unsigned)(x) & 0x1) << 16) argument
5529 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1) argument
5531 #define S_028814_PROVOKING_VTX_LAST(x) (((unsigned)(x) & 0x1) << 19) argument
5532 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1) argument
5534 #define S_028814_PERSP_CORR_DIS(x) (((unsigned)(x) & 0x1) << 20) argument
5535 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1) argument
5537 #define S_028814_MULTI_PRIM_IB_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
5538 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1) argument
5540 #define S_028814_RIGHT_TRIANGLE_ALTERNATE_GRADIENT_REF(x) (((unsigned)(x) & 0x1) << 22) argument
5541 #define G_028814_RIGHT_TRIANGLE_ALTERNATE_GRADIENT_REF(x) (((x) >> 22) & 0x1) argument
5543 #define S_028814_NEW_QUAD_DECOMPOSITION(x) (((unsigned)(x) & 0x1) << 23) argument
5544 #define G_028814_NEW_QUAD_DECOMPOSITION(x) (((x) >> 23) & 0x1) argument
5547 #define S_028818_VPORT_X_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
5548 #define G_028818_VPORT_X_SCALE_ENA(x) (((x) >> 0) & 0x1) argument
5550 #define S_028818_VPORT_X_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
5551 #define G_028818_VPORT_X_OFFSET_ENA(x) (((x) >> 1) & 0x1) argument
5553 #define S_028818_VPORT_Y_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
5554 #define G_028818_VPORT_Y_SCALE_ENA(x) (((x) >> 2) & 0x1) argument
5556 #define S_028818_VPORT_Y_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
5557 #define G_028818_VPORT_Y_OFFSET_ENA(x) (((x) >> 3) & 0x1) argument
5559 #define S_028818_VPORT_Z_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
5560 #define G_028818_VPORT_Z_SCALE_ENA(x) (((x) >> 4) & 0x1) argument
5562 #define S_028818_VPORT_Z_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
5563 #define G_028818_VPORT_Z_OFFSET_ENA(x) (((x) >> 5) & 0x1) argument
5565 #define S_028818_VTX_XY_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
5566 #define G_028818_VTX_XY_FMT(x) (((x) >> 8) & 0x1) argument
5568 #define S_028818_VTX_Z_FMT(x) (((unsigned)(x) & 0x1) << 9) argument
5569 #define G_028818_VTX_Z_FMT(x) (((x) >> 9) & 0x1) argument
5571 #define S_028818_VTX_W0_FMT(x) (((unsigned)(x) & 0x1) << 10) argument
5572 #define G_028818_VTX_W0_FMT(x) (((x) >> 10) & 0x1) argument
5574 #define S_028818_PERFCOUNTER_REF(x) (((unsigned)(x) & 0x1) << 11) argument
5575 #define G_028818_PERFCOUNTER_REF(x) (((x) >> 11) & 0x1) argument
5578 #define S_02881C_CLIP_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
5579 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1) argument
5581 #define S_02881C_CLIP_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
5582 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1) argument
5584 #define S_02881C_CLIP_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
5585 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1) argument
5587 #define S_02881C_CLIP_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
5588 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1) argument
5590 #define S_02881C_CLIP_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
5591 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1) argument
5593 #define S_02881C_CLIP_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
5594 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1) argument
5596 #define S_02881C_CLIP_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 6) argument
5597 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1) argument
5599 #define S_02881C_CLIP_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 7) argument
5600 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1) argument
5602 #define S_02881C_CULL_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 8) argument
5603 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1) argument
5605 #define S_02881C_CULL_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 9) argument
5606 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1) argument
5608 #define S_02881C_CULL_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 10) argument
5609 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1) argument
5611 #define S_02881C_CULL_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 11) argument
5612 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1) argument
5614 #define S_02881C_CULL_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 12) argument
5615 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1) argument
5617 #define S_02881C_CULL_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 13) argument
5618 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1) argument
5620 #define S_02881C_CULL_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 14) argument
5621 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1) argument
5623 #define S_02881C_CULL_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 15) argument
5624 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1) argument
5626 #define S_02881C_USE_VTX_POINT_SIZE(x) (((unsigned)(x) & 0x1) << 16) argument
5627 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1) argument
5629 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((unsigned)(x) & 0x1) << 17) argument
5630 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1) argument
5632 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((unsigned)(x) & 0x1) << 18) argument
5633 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1) argument
5635 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((unsigned)(x) & 0x1) << 19) argument
5636 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1) argument
5638 #define S_02881C_USE_VTX_KILL_FLAG(x) (((unsigned)(x) & 0x1) << 20) argument
5639 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1) argument
5641 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
5642 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1) argument
5644 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((unsigned)(x) & 0x1) << 22) argument
5645 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1) argument
5647 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
5648 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1) argument
5650 #define S_02881C_VS_OUT_MISC_SIDE_BUS_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
5651 #define G_02881C_VS_OUT_MISC_SIDE_BUS_ENA(x) (((x) >> 24) & 0x1) argument
5653 #define S_02881C_USE_VTX_GS_CUT_FLAG(x) (((unsigned)(x) & 0x1) << 25) argument
5654 #define G_02881C_USE_VTX_GS_CUT_FLAG(x) (((x) >> 25) & 0x1) argument
5656 #define S_02881C_USE_VTX_LINE_WIDTH(x) (((unsigned)(x) & 0x1) << 26) argument
5657 #define G_02881C_USE_VTX_LINE_WIDTH(x) (((x) >> 26) & 0x1) argument
5659 #define S_02881C_USE_VTX_SHD_OBJPRIM_ID(x) (((unsigned)(x) & 0x1) << 27) argument
5660 #define G_02881C_USE_VTX_SHD_OBJPRIM_ID(x) (((x) >> 27) & 0x1) argument
5663 #define S_028820_VTE_XY_INF_DISCARD(x) (((unsigned)(x) & 0x1) << 0) argument
5664 #define G_028820_VTE_XY_INF_DISCARD(x) (((x) >> 0) & 0x1) argument
5666 #define S_028820_VTE_Z_INF_DISCARD(x) (((unsigned)(x) & 0x1) << 1) argument
5667 #define G_028820_VTE_Z_INF_DISCARD(x) (((x) >> 1) & 0x1) argument
5669 #define S_028820_VTE_W_INF_DISCARD(x) (((unsigned)(x) & 0x1) << 2) argument
5670 #define G_028820_VTE_W_INF_DISCARD(x) (((x) >> 2) & 0x1) argument
5672 #define S_028820_VTE_0XNANINF_IS_0(x) (((unsigned)(x) & 0x1) << 3) argument
5673 #define G_028820_VTE_0XNANINF_IS_0(x) (((x) >> 3) & 0x1) argument
5675 #define S_028820_VTE_XY_NAN_RETAIN(x) (((unsigned)(x) & 0x1) << 4) argument
5676 #define G_028820_VTE_XY_NAN_RETAIN(x) (((x) >> 4) & 0x1) argument
5678 #define S_028820_VTE_Z_NAN_RETAIN(x) (((unsigned)(x) & 0x1) << 5) argument
5679 #define G_028820_VTE_Z_NAN_RETAIN(x) (((x) >> 5) & 0x1) argument
5681 #define S_028820_VTE_W_NAN_RETAIN(x) (((unsigned)(x) & 0x1) << 6) argument
5682 #define G_028820_VTE_W_NAN_RETAIN(x) (((x) >> 6) & 0x1) argument
5684 #define S_028820_VTE_W_RECIP_NAN_IS_0(x) (((unsigned)(x) & 0x1) << 7) argument
5685 #define G_028820_VTE_W_RECIP_NAN_IS_0(x) (((x) >> 7) & 0x1) argument
5687 #define S_028820_VS_XY_NAN_TO_INF(x) (((unsigned)(x) & 0x1) << 8) argument
5688 #define G_028820_VS_XY_NAN_TO_INF(x) (((x) >> 8) & 0x1) argument
5690 #define S_028820_VS_XY_INF_RETAIN(x) (((unsigned)(x) & 0x1) << 9) argument
5691 #define G_028820_VS_XY_INF_RETAIN(x) (((x) >> 9) & 0x1) argument
5693 #define S_028820_VS_Z_NAN_TO_INF(x) (((unsigned)(x) & 0x1) << 10) argument
5694 #define G_028820_VS_Z_NAN_TO_INF(x) (((x) >> 10) & 0x1) argument
5696 #define S_028820_VS_Z_INF_RETAIN(x) (((unsigned)(x) & 0x1) << 11) argument
5697 #define G_028820_VS_Z_INF_RETAIN(x) (((x) >> 11) & 0x1) argument
5699 #define S_028820_VS_W_NAN_TO_INF(x) (((unsigned)(x) & 0x1) << 12) argument
5700 #define G_028820_VS_W_NAN_TO_INF(x) (((x) >> 12) & 0x1) argument
5702 #define S_028820_VS_W_INF_RETAIN(x) (((unsigned)(x) & 0x1) << 13) argument
5703 #define G_028820_VS_W_INF_RETAIN(x) (((x) >> 13) & 0x1) argument
5705 #define S_028820_VS_CLIP_DIST_INF_DISCARD(x) (((unsigned)(x) & 0x1) << 14) argument
5706 #define G_028820_VS_CLIP_DIST_INF_DISCARD(x) (((x) >> 14) & 0x1) argument
5708 #define S_028820_VTE_NO_OUTPUT_NEG_0(x) (((unsigned)(x) & 0x1) << 20) argument
5709 #define G_028820_VTE_NO_OUTPUT_NEG_0(x) (((x) >> 20) & 0x1) argument
5712 #define S_028824_LINE_STIPPLE_RESET(x) (((unsigned)(x) & 0x03) << 0) argument
5713 #define G_028824_LINE_STIPPLE_RESET(x) (((x) >> 0) & 0x03) argument
5715 #define S_028824_EXPAND_FULL_LENGTH(x) (((unsigned)(x) & 0x1) << 2) argument
5716 #define G_028824_EXPAND_FULL_LENGTH(x) (((x) >> 2) & 0x1) argument
5718 #define S_028824_FRACTIONAL_ACCUM(x) (((unsigned)(x) & 0x1) << 3) argument
5719 #define G_028824_FRACTIONAL_ACCUM(x) (((x) >> 3) & 0x1) argument
5721 #define S_028824_DIAMOND_ADJUST(x) (((unsigned)(x) & 0x1) << 4) argument
5722 #define G_028824_DIAMOND_ADJUST(x) (((x) >> 4) & 0x1) argument
5726 #define S_02882C_TRIANGLE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
5727 #define G_02882C_TRIANGLE_FILTER_DISABLE(x) (((x) >> 0) & 0x1) argument
5729 #define S_02882C_LINE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 1) argument
5730 #define G_02882C_LINE_FILTER_DISABLE(x) (((x) >> 1) & 0x1) argument
5732 #define S_02882C_POINT_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 2) argument
5733 #define G_02882C_POINT_FILTER_DISABLE(x) (((x) >> 2) & 0x1) argument
5735 #define S_02882C_RECTANGLE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 3) argument
5736 #define G_02882C_RECTANGLE_FILTER_DISABLE(x) (((x) >> 3) & 0x1) argument
5738 #define S_02882C_TRIANGLE_EXPAND_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
5739 #define G_02882C_TRIANGLE_EXPAND_ENA(x) (((x) >> 4) & 0x1) argument
5741 #define S_02882C_LINE_EXPAND_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
5742 #define G_02882C_LINE_EXPAND_ENA(x) (((x) >> 5) & 0x1) argument
5744 #define S_02882C_POINT_EXPAND_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
5745 #define G_02882C_POINT_EXPAND_ENA(x) (((x) >> 6) & 0x1) argument
5747 #define S_02882C_RECTANGLE_EXPAND_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
5748 #define G_02882C_RECTANGLE_EXPAND_ENA(x) (((x) >> 7) & 0x1) argument
5750 #define S_02882C_PRIM_EXPAND_CONSTANT(x) (((unsigned)(x) & 0xFF) << 8) argument
5751 #define G_02882C_PRIM_EXPAND_CONSTANT(x) (((x) >> 8) & 0xFF) argument
5753 #define S_02882C_XMAX_RIGHT_EXCLUSION(x) (((unsigned)(x) & 0x1) << 30) argument
5754 #define G_02882C_XMAX_RIGHT_EXCLUSION(x) (((x) >> 30) & 0x1) argument
5756 #define S_02882C_YMAX_BOTTOM_EXCLUSION(x) (((unsigned)(x) & 0x1) << 31) argument
5757 #define G_02882C_YMAX_BOTTOM_EXCLUSION(x) (((x) >> 31) & 0x1) argument
5760 #define S_028830_SMALL_PRIM_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
5761 #define G_028830_SMALL_PRIM_FILTER_ENABLE(x) (((x) >> 0) & 0x1) argument
5763 #define S_028830_TRIANGLE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 1) argument
5764 #define G_028830_TRIANGLE_FILTER_DISABLE(x) (((x) >> 1) & 0x1) argument
5766 #define S_028830_LINE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 2) argument
5767 #define G_028830_LINE_FILTER_DISABLE(x) (((x) >> 2) & 0x1) argument
5769 #define S_028830_POINT_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 3) argument
5770 #define G_028830_POINT_FILTER_DISABLE(x) (((x) >> 3) & 0x1) argument
5772 #define S_028830_RECTANGLE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 4) argument
5773 #define G_028830_RECTANGLE_FILTER_DISABLE(x) (((x) >> 4) & 0x1) argument
5775 #define S_028830_SRBSL_ENABLE(x) (((unsigned)(x) & 0x1) << 5) argument
5776 #define G_028830_SRBSL_ENABLE(x) (((x) >> 5) & 0x1) argument
5779 #define S_028834_OBJ_ID_SEL(x) (((unsigned)(x) & 0x1) << 0) argument
5780 #define G_028834_OBJ_ID_SEL(x) (((x) >> 0) & 0x1) argument
5782 #define S_028834_ADD_PIPED_PRIM_ID(x) (((unsigned)(x) & 0x1) << 1) argument
5783 #define G_028834_ADD_PIPED_PRIM_ID(x) (((x) >> 1) & 0x1) argument
5785 #define S_028834_EN_32BIT_OBJPRIMID(x) (((unsigned)(x) & 0x1) << 2) argument
5786 #define G_028834_EN_32BIT_OBJPRIMID(x) (((x) >> 2) & 0x1) argument
5789 #define S_028838_VERTEX_REUSE_OFF(x) (((unsigned)(x) & 0x1) << 0) argument
5790 #define G_028838_VERTEX_REUSE_OFF(x) (((x) >> 0) & 0x1) argument
5792 #define S_028838_INDEX_BUF_EDGE_FLAG_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
5793 #define G_028838_INDEX_BUF_EDGE_FLAG_ENA(x) (((x) >> 1) & 0x1) argument
5796 #define S_02883C_DISCARD_0_AREA_TRIANGLES(x) (((unsigned)(x) & 0x1) << 0) argument
5797 #define G_02883C_DISCARD_0_AREA_TRIANGLES(x) (((x) >> 0) & 0x1) argument
5799 #define S_02883C_DISCARD_0_AREA_LINES(x) (((unsigned)(x) & 0x1) << 1) argument
5800 #define G_02883C_DISCARD_0_AREA_LINES(x) (((x) >> 1) & 0x1) argument
5802 #define S_02883C_DISCARD_0_AREA_POINTS(x) (((unsigned)(x) & 0x1) << 2) argument
5803 #define G_02883C_DISCARD_0_AREA_POINTS(x) (((x) >> 2) & 0x1) argument
5805 #define S_02883C_DISCARD_0_AREA_RECTANGLES(x) (((unsigned)(x) & 0x1) << 3) argument
5806 #define G_02883C_DISCARD_0_AREA_RECTANGLES(x) (((x) >> 3) & 0x1) argument
5808 #define S_02883C_USE_PROVOKING_ZW(x) (((unsigned)(x) & 0x1) << 4) argument
5809 #define G_02883C_USE_PROVOKING_ZW(x) (((x) >> 4) & 0x1) argument
5812 #define S_028A00_HEIGHT(x) (((unsigned)(x) & 0xFFFF) << … argument
5813 #define G_028A00_HEIGHT(x) (((x) >> 0) & 0xFFFF) argument
5815 #define S_028A00_WIDTH(x) (((unsigned)(x) & 0xFFFF) << … argument
5816 #define G_028A00_WIDTH(x) (((x) >> 16) & 0xFFFF) argument
5819 #define S_028A04_MIN_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
5820 #define G_028A04_MIN_SIZE(x) (((x) >> 0) & 0xFFFF) argument
5822 #define S_028A04_MAX_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
5823 #define G_028A04_MAX_SIZE(x) (((x) >> 16) & 0xFFFF) argument
5826 #define S_028A08_WIDTH(x) (((unsigned)(x) & 0xFFFF) << … argument
5827 #define G_028A08_WIDTH(x) (((x) >> 0) & 0xFFFF) argument
5830 #define S_028A0C_LINE_PATTERN(x) (((unsigned)(x) & 0xFFFF) << … argument
5831 #define G_028A0C_LINE_PATTERN(x) (((x) >> 0) & 0xFFFF) argument
5833 #define S_028A0C_REPEAT_COUNT(x) (((unsigned)(x) & 0xFF) << 16) argument
5834 #define G_028A0C_REPEAT_COUNT(x) (((x) >> 16) & 0xFF) argument
5836 #define S_028A0C_PATTERN_BIT_ORDER(x) (((unsigned)(x) & 0x1) << 28) argument
5837 #define G_028A0C_PATTERN_BIT_ORDER(x) (((x) >> 28) & 0x1) argument
5839 #define S_028A0C_AUTO_RESET_CNTL(x) (((unsigned)(x) & 0x03) << 29) argument
5840 #define G_028A0C_AUTO_RESET_CNTL(x) (((x) >> 29) & 0x03) argument
5843 #define S_028A10_PATH_SELECT(x) (((unsigned)(x) & 0x07) << 0) argument
5844 #define G_028A10_PATH_SELECT(x) (((x) >> 0) & 0x07) argument
5847 #define S_028A14_TESS_MODE(x) (((unsigned)(x) & 0x03) << 0) argument
5848 #define G_028A14_TESS_MODE(x) (((x) >> 0) & 0x03) argument
5853 #define S_028A20_REUSE_DEPTH(x) (((unsigned)(x) & 0xFF) << 0) argument
5854 #define G_028A20_REUSE_DEPTH(x) (((x) >> 0) & 0xFF) argument
5857 #define S_028A24_PRIM_TYPE(x) (((unsigned)(x) & 0x1F) << 0) argument
5858 #define G_028A24_PRIM_TYPE(x) (((x) >> 0) & 0x1F) argument
5860 #define S_028A24_RETAIN_ORDER(x) (((unsigned)(x) & 0x1) << 14) argument
5861 #define G_028A24_RETAIN_ORDER(x) (((x) >> 14) & 0x1) argument
5863 #define S_028A24_RETAIN_QUADS(x) (((unsigned)(x) & 0x1) << 15) argument
5864 #define G_028A24_RETAIN_QUADS(x) (((x) >> 15) & 0x1) argument
5866 #define S_028A24_PRIM_ORDER(x) (((unsigned)(x) & 0x07) << 16) argument
5867 #define G_028A24_PRIM_ORDER(x) (((x) >> 16) & 0x07) argument
5870 #define S_028A28_FIRST_DECR(x) (((unsigned)(x) & 0x0F) << 0) argument
5871 #define G_028A28_FIRST_DECR(x) (((x) >> 0) & 0x0F) argument
5874 #define S_028A2C_DECR(x) (((unsigned)(x) & 0x0F) << 0) argument
5875 #define G_028A2C_DECR(x) (((x) >> 0) & 0x0F) argument
5878 #define S_028A30_COMP_X_EN(x) (((unsigned)(x) & 0x1) << 0) argument
5879 #define G_028A30_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
5881 #define S_028A30_COMP_Y_EN(x) (((unsigned)(x) & 0x1) << 1) argument
5882 #define G_028A30_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
5884 #define S_028A30_COMP_Z_EN(x) (((unsigned)(x) & 0x1) << 2) argument
5885 #define G_028A30_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
5887 #define S_028A30_COMP_W_EN(x) (((unsigned)(x) & 0x1) << 3) argument
5888 #define G_028A30_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
5890 #define S_028A30_STRIDE(x) (((unsigned)(x) & 0xFF) << 8) argument
5891 #define G_028A30_STRIDE(x) (((x) >> 8) & 0xFF) argument
5893 #define S_028A30_SHIFT(x) (((unsigned)(x) & 0xFF) << 16) argument
5894 #define G_028A30_SHIFT(x) (((x) >> 16) & 0xFF) argument
5897 #define S_028A34_COMP_X_EN(x) (((unsigned)(x) & 0x1) << 0) argument
5898 #define G_028A34_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
5900 #define S_028A34_COMP_Y_EN(x) (((unsigned)(x) & 0x1) << 1) argument
5901 #define G_028A34_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
5903 #define S_028A34_COMP_Z_EN(x) (((unsigned)(x) & 0x1) << 2) argument
5904 #define G_028A34_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
5906 #define S_028A34_COMP_W_EN(x) (((unsigned)(x) & 0x1) << 3) argument
5907 #define G_028A34_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
5909 #define S_028A34_STRIDE(x) (((unsigned)(x) & 0xFF) << 8) argument
5910 #define G_028A34_STRIDE(x) (((x) >> 8) & 0xFF) argument
5912 #define S_028A34_SHIFT(x) (((unsigned)(x) & 0xFF) << 16) argument
5913 #define G_028A34_SHIFT(x) (((x) >> 16) & 0xFF) argument
5916 #define S_028A38_X_CONV(x) (((unsigned)(x) & 0x0F) << 0) argument
5917 #define G_028A38_X_CONV(x) (((x) >> 0) & 0x0F) argument
5919 #define S_028A38_X_OFFSET(x) (((unsigned)(x) & 0x0F) << 4) argument
5920 #define G_028A38_X_OFFSET(x) (((x) >> 4) & 0x0F) argument
5922 #define S_028A38_Y_CONV(x) (((unsigned)(x) & 0x0F) << 8) argument
5923 #define G_028A38_Y_CONV(x) (((x) >> 8) & 0x0F) argument
5925 #define S_028A38_Y_OFFSET(x) (((unsigned)(x) & 0x0F) << 12) argument
5926 #define G_028A38_Y_OFFSET(x) (((x) >> 12) & 0x0F) argument
5928 #define S_028A38_Z_CONV(x) (((unsigned)(x) & 0x0F) << 16) argument
5929 #define G_028A38_Z_CONV(x) (((x) >> 16) & 0x0F) argument
5931 #define S_028A38_Z_OFFSET(x) (((unsigned)(x) & 0x0F) << 20) argument
5932 #define G_028A38_Z_OFFSET(x) (((x) >> 20) & 0x0F) argument
5934 #define S_028A38_W_CONV(x) (((unsigned)(x) & 0x0F) << 24) argument
5935 #define G_028A38_W_CONV(x) (((x) >> 24) & 0x0F) argument
5937 #define S_028A38_W_OFFSET(x) (((unsigned)(x) & 0x0F) << 28) argument
5938 #define G_028A38_W_OFFSET(x) (((x) >> 28) & 0x0F) argument
5941 #define S_028A3C_X_CONV(x) (((unsigned)(x) & 0x0F) << 0) argument
5942 #define G_028A3C_X_CONV(x) (((x) >> 0) & 0x0F) argument
5944 #define S_028A3C_X_OFFSET(x) (((unsigned)(x) & 0x0F) << 4) argument
5945 #define G_028A3C_X_OFFSET(x) (((x) >> 4) & 0x0F) argument
5947 #define S_028A3C_Y_CONV(x) (((unsigned)(x) & 0x0F) << 8) argument
5948 #define G_028A3C_Y_CONV(x) (((x) >> 8) & 0x0F) argument
5950 #define S_028A3C_Y_OFFSET(x) (((unsigned)(x) & 0x0F) << 12) argument
5951 #define G_028A3C_Y_OFFSET(x) (((x) >> 12) & 0x0F) argument
5953 #define S_028A3C_Z_CONV(x) (((unsigned)(x) & 0x0F) << 16) argument
5954 #define G_028A3C_Z_CONV(x) (((x) >> 16) & 0x0F) argument
5956 #define S_028A3C_Z_OFFSET(x) (((unsigned)(x) & 0x0F) << 20) argument
5957 #define G_028A3C_Z_OFFSET(x) (((x) >> 20) & 0x0F) argument
5959 #define S_028A3C_W_CONV(x) (((unsigned)(x) & 0x0F) << 24) argument
5960 #define G_028A3C_W_CONV(x) (((x) >> 24) & 0x0F) argument
5962 #define S_028A3C_W_OFFSET(x) (((unsigned)(x) & 0x0F) << 28) argument
5963 #define G_028A3C_W_OFFSET(x) (((x) >> 28) & 0x0F) argument
5966 #define S_028A40_MODE(x) (((unsigned)(x) & 0x07) << 0) argument
5967 #define G_028A40_MODE(x) (((x) >> 0) & 0x07) argument
5969 #define S_028A40_RESERVED_0(x) (((unsigned)(x) & 0x1) << 3) argument
5970 #define G_028A40_RESERVED_0(x) (((x) >> 3) & 0x1) argument
5972 #define S_028A40_CUT_MODE(x) (((unsigned)(x) & 0x03) << 4) argument
5973 #define G_028A40_CUT_MODE(x) (((x) >> 4) & 0x03) argument
5975 #define S_028A40_RESERVED_1(x) (((unsigned)(x) & 0x1F) << 6) argument
5976 #define G_028A40_RESERVED_1(x) (((x) >> 6) & 0x1F) argument
5978 #define S_028A40_GS_C_PACK_EN(x) (((unsigned)(x) & 0x1) << 11) argument
5979 #define G_028A40_GS_C_PACK_EN(x) (((x) >> 11) & 0x1) argument
5981 #define S_028A40_RESERVED_2(x) (((unsigned)(x) & 0x1) << 12) argument
5982 #define G_028A40_RESERVED_2(x) (((x) >> 12) & 0x1) argument
5984 #define S_028A40_ES_PASSTHRU(x) (((unsigned)(x) & 0x1) << 13) argument
5985 #define G_028A40_ES_PASSTHRU(x) (((x) >> 13) & 0x1) argument
5987 #define S_028A40_RESERVED_3(x) (((unsigned)(x) & 0x1) << 14) argument
5988 #define G_028A40_RESERVED_3(x) (((x) >> 14) & 0x1) argument
5990 #define S_028A40_RESERVED_4(x) (((unsigned)(x) & 0x1) << 15) argument
5991 #define G_028A40_RESERVED_4(x) (((x) >> 15) & 0x1) argument
5993 #define S_028A40_RESERVED_5(x) (((unsigned)(x) & 0x1) << 16) argument
5994 #define G_028A40_RESERVED_5(x) (((x) >> 16) & 0x1) argument
5996 #define S_028A40_PARTIAL_THD_AT_EOI(x) (((unsigned)(x) & 0x1) << 17) argument
5997 #define G_028A40_PARTIAL_THD_AT_EOI(x) (((x) >> 17) & 0x1) argument
5999 #define S_028A40_SUPPRESS_CUTS(x) (((unsigned)(x) & 0x1) << 18) argument
6000 #define G_028A40_SUPPRESS_CUTS(x) (((x) >> 18) & 0x1) argument
6002 #define S_028A40_ES_WRITE_OPTIMIZE(x) (((unsigned)(x) & 0x1) << 19) argument
6003 #define G_028A40_ES_WRITE_OPTIMIZE(x) (((x) >> 19) & 0x1) argument
6005 #define S_028A40_GS_WRITE_OPTIMIZE(x) (((unsigned)(x) & 0x1) << 20) argument
6006 #define G_028A40_GS_WRITE_OPTIMIZE(x) (((x) >> 20) & 0x1) argument
6008 #define S_028A40_ONCHIP(x) (((unsigned)(x) & 0x03) << 21) argument
6009 #define G_028A40_ONCHIP(x) (((x) >> 21) & 0x03) argument
6012 #define S_028A44_ES_VERTS_PER_SUBGRP(x) (((unsigned)(x) & 0x7FF) << 0) argument
6013 #define G_028A44_ES_VERTS_PER_SUBGRP(x) (((x) >> 0) & 0x7FF) argument
6015 #define S_028A44_GS_PRIMS_PER_SUBGRP(x) (((unsigned)(x) & 0x7FF) << 1… argument
6016 #define G_028A44_GS_PRIMS_PER_SUBGRP(x) (((x) >> 11) & 0x7FF) argument
6018 #define S_028A44_GS_INST_PRIMS_IN_SUBGRP(x) (((unsigned)(x) & 0x3FF) << 2… argument
6019 #define G_028A44_GS_INST_PRIMS_IN_SUBGRP(x) (((x) >> 22) & 0x3FF) argument
6022 #define S_028A48_MSAA_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
6023 #define G_028A48_MSAA_ENABLE(x) (((x) >> 0) & 0x1) argument
6025 #define S_028A48_VPORT_SCISSOR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
6026 #define G_028A48_VPORT_SCISSOR_ENABLE(x) (((x) >> 1) & 0x1) argument
6028 #define S_028A48_LINE_STIPPLE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
6029 #define G_028A48_LINE_STIPPLE_ENABLE(x) (((x) >> 2) & 0x1) argument
6031 #define S_028A48_SEND_UNLIT_STILES_TO_PKR(x) (((unsigned)(x) & 0x1) << 3) argument
6032 #define G_028A48_SEND_UNLIT_STILES_TO_PKR(x) (((x) >> 3) & 0x1) argument
6034 #define S_028A48_SCALE_LINE_WIDTH_PAD(x) (((unsigned)(x) & 0x1) << 4) argument
6035 #define G_028A48_SCALE_LINE_WIDTH_PAD(x) (((x) >> 4) & 0x1) argument
6037 #define S_028A48_ALTERNATE_RBS_PER_TILE(x) (((unsigned)(x) & 0x1) << 5) argument
6038 #define G_028A48_ALTERNATE_RBS_PER_TILE(x) (((x) >> 5) & 0x1) argument
6040 #define S_028A48_COARSE_TILE_STARTS_ON_EVEN_RB(x) (((unsigned)(x) & 0x1) << 6) argument
6041 #define G_028A48_COARSE_TILE_STARTS_ON_EVEN_RB(x) (((x) >> 6) & 0x1) argument
6044 #define S_028A4C_WALK_SIZE(x) (((unsigned)(x) & 0x1) << 0) argument
6045 #define G_028A4C_WALK_SIZE(x) (((x) >> 0) & 0x1) argument
6047 #define S_028A4C_WALK_ALIGNMENT(x) (((unsigned)(x) & 0x1) << 1) argument
6048 #define G_028A4C_WALK_ALIGNMENT(x) (((x) >> 1) & 0x1) argument
6050 #define S_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((unsigned)(x) & 0x1) << 2) argument
6051 #define G_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((x) >> 2) & 0x1) argument
6053 #define S_028A4C_WALK_FENCE_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
6054 #define G_028A4C_WALK_FENCE_ENABLE(x) (((x) >> 3) & 0x1) argument
6056 #define S_028A4C_WALK_FENCE_SIZE(x) (((unsigned)(x) & 0x07) << 4) argument
6057 #define G_028A4C_WALK_FENCE_SIZE(x) (((x) >> 4) & 0x07) argument
6059 #define S_028A4C_SUPERTILE_WALK_ORDER_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
6060 #define G_028A4C_SUPERTILE_WALK_ORDER_ENABLE(x) (((x) >> 7) & 0x1) argument
6062 #define S_028A4C_TILE_WALK_ORDER_ENABLE(x) (((unsigned)(x) & 0x1) << 8) argument
6063 #define G_028A4C_TILE_WALK_ORDER_ENABLE(x) (((x) >> 8) & 0x1) argument
6065 #define S_028A4C_TILE_COVER_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
6066 #define G_028A4C_TILE_COVER_DISABLE(x) (((x) >> 9) & 0x1) argument
6068 #define S_028A4C_TILE_COVER_NO_SCISSOR(x) (((unsigned)(x) & 0x1) << 10) argument
6069 #define G_028A4C_TILE_COVER_NO_SCISSOR(x) (((x) >> 10) & 0x1) argument
6071 #define S_028A4C_ZMM_LINE_EXTENT(x) (((unsigned)(x) & 0x1) << 11) argument
6072 #define G_028A4C_ZMM_LINE_EXTENT(x) (((x) >> 11) & 0x1) argument
6074 #define S_028A4C_ZMM_LINE_OFFSET(x) (((unsigned)(x) & 0x1) << 12) argument
6075 #define G_028A4C_ZMM_LINE_OFFSET(x) (((x) >> 12) & 0x1) argument
6077 #define S_028A4C_ZMM_RECT_EXTENT(x) (((unsigned)(x) & 0x1) << 13) argument
6078 #define G_028A4C_ZMM_RECT_EXTENT(x) (((x) >> 13) & 0x1) argument
6080 #define S_028A4C_KILL_PIX_POST_HI_Z(x) (((unsigned)(x) & 0x1) << 14) argument
6081 #define G_028A4C_KILL_PIX_POST_HI_Z(x) (((x) >> 14) & 0x1) argument
6083 #define S_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((unsigned)(x) & 0x1) << 15) argument
6084 #define G_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((x) >> 15) & 0x1) argument
6086 #define S_028A4C_PS_ITER_SAMPLE(x) (((unsigned)(x) & 0x1) << 16) argument
6087 #define G_028A4C_PS_ITER_SAMPLE(x) (((x) >> 16) & 0x1) argument
6089 #define S_028A4C_MULTI_SHADER_ENGINE_PRIM_DISCARD_ENABLE(x) (((unsigned)(x) & 0x1) << 17) argument
6090 #define G_028A4C_MULTI_SHADER_ENGINE_PRIM_DISCARD_ENABLE(x) (((x) >> 17) & 0x1) argument
6092 #define S_028A4C_MULTI_GPU_SUPERTILE_ENABLE(x) (((unsigned)(x) & 0x1) << 18) argument
6093 #define G_028A4C_MULTI_GPU_SUPERTILE_ENABLE(x) (((x) >> 18) & 0x1) argument
6095 #define S_028A4C_GPU_ID_OVERRIDE_ENABLE(x) (((unsigned)(x) & 0x1) << 19) argument
6096 #define G_028A4C_GPU_ID_OVERRIDE_ENABLE(x) (((x) >> 19) & 0x1) argument
6098 #define S_028A4C_GPU_ID_OVERRIDE(x) (((unsigned)(x) & 0x0F) << 20) argument
6099 #define G_028A4C_GPU_ID_OVERRIDE(x) (((x) >> 20) & 0x0F) argument
6101 #define S_028A4C_MULTI_GPU_PRIM_DISCARD_ENABLE(x) (((unsigned)(x) & 0x1) << 24) argument
6102 #define G_028A4C_MULTI_GPU_PRIM_DISCARD_ENABLE(x) (((x) >> 24) & 0x1) argument
6104 #define S_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((unsigned)(x) & 0x1) << 25) argument
6105 #define G_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((x) >> 25) & 0x1) argument
6107 #define S_028A4C_FORCE_EOV_REZ_ENABLE(x) (((unsigned)(x) & 0x1) << 26) argument
6108 #define G_028A4C_FORCE_EOV_REZ_ENABLE(x) (((x) >> 26) & 0x1) argument
6110 #define S_028A4C_OUT_OF_ORDER_PRIMITIVE_ENABLE(x) (((unsigned)(x) & 0x1) << 27) argument
6111 #define G_028A4C_OUT_OF_ORDER_PRIMITIVE_ENABLE(x) (((x) >> 27) & 0x1) argument
6113 #define S_028A4C_OUT_OF_ORDER_WATER_MARK(x) (((unsigned)(x) & 0x07) << 28) argument
6114 #define G_028A4C_OUT_OF_ORDER_WATER_MARK(x) (((x) >> 28) & 0x07) argument
6118 #define S_028A54_GS_PER_ES(x) (((unsigned)(x) & 0x7FF) << 0) argument
6119 #define G_028A54_GS_PER_ES(x) (((x) >> 0) & 0x7FF) argument
6122 #define S_028A58_ES_PER_GS(x) (((unsigned)(x) & 0x7FF) << 0) argument
6123 #define G_028A58_ES_PER_GS(x) (((x) >> 0) & 0x7FF) argument
6126 #define S_028A5C_GS_PER_VS(x) (((unsigned)(x) & 0x0F) << 0) argument
6127 #define G_028A5C_GS_PER_VS(x) (((x) >> 0) & 0x0F) argument
6130 #define S_028A60_OFFSET(x) (((unsigned)(x) & 0x7FFF) << … argument
6131 #define G_028A60_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
6134 #define S_028A64_OFFSET(x) (((unsigned)(x) & 0x7FFF) << … argument
6135 #define G_028A64_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
6138 #define S_028A68_OFFSET(x) (((unsigned)(x) & 0x7FFF) << … argument
6139 #define G_028A68_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
6142 #define S_028A6C_OUTPRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
6143 #define G_028A6C_OUTPRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
6145 #define S_028A6C_OUTPRIM_TYPE_1(x) (((unsigned)(x) & 0x3F) << 8) argument
6146 #define G_028A6C_OUTPRIM_TYPE_1(x) (((x) >> 8) & 0x3F) argument
6148 #define S_028A6C_OUTPRIM_TYPE_2(x) (((unsigned)(x) & 0x3F) << 16) argument
6149 #define G_028A6C_OUTPRIM_TYPE_2(x) (((x) >> 16) & 0x3F) argument
6151 #define S_028A6C_OUTPRIM_TYPE_3(x) (((unsigned)(x) & 0x3F) << 22) argument
6152 #define G_028A6C_OUTPRIM_TYPE_3(x) (((x) >> 22) & 0x3F) argument
6154 #define S_028A6C_UNIQUE_TYPE_PER_STREAM(x) (((unsigned)(x) & 0x1) << 31) argument
6155 #define G_028A6C_UNIQUE_TYPE_PER_STREAM(x) (((x) >> 31) & 0x1) argument
6161 #define S_028A7C_INDEX_TYPE(x) (((unsigned)(x) & 0x03) << 0) argument
6162 #define G_028A7C_INDEX_TYPE(x) (((x) >> 0) & 0x03) argument
6164 #define S_028A7C_SWAP_MODE(x) (((unsigned)(x) & 0x03) << 2) argument
6165 #define G_028A7C_SWAP_MODE(x) (((x) >> 2) & 0x03) argument
6167 #define S_028A7C_BUF_TYPE(x) (((unsigned)(x) & 0x03) << 4) argument
6168 #define G_028A7C_BUF_TYPE(x) (((x) >> 4) & 0x03) argument
6170 #define S_028A7C_RDREQ_POLICY(x) (((unsigned)(x) & 0x1) << 6) argument
6171 #define G_028A7C_RDREQ_POLICY(x) (((x) >> 6) & 0x1) argument
6173 #define S_028A7C_PRIMGEN_EN(x) (((unsigned)(x) & 0x1) << 8) argument
6174 #define G_028A7C_PRIMGEN_EN(x) (((x) >> 8) & 0x1) argument
6176 #define S_028A7C_NOT_EOP(x) (((unsigned)(x) & 0x1) << 9) argument
6177 #define G_028A7C_NOT_EOP(x) (((x) >> 9) & 0x1) argument
6179 #define S_028A7C_REQ_PATH(x) (((unsigned)(x) & 0x1) << 10) argument
6180 #define G_028A7C_REQ_PATH(x) (((x) >> 10) & 0x1) argument
6184 #define S_028A84_PRIMITIVEID_EN(x) (((unsigned)(x) & 0x1) << 0) argument
6185 #define G_028A84_PRIMITIVEID_EN(x) (((x) >> 0) & 0x1) argument
6187 #define S_028A84_DISABLE_RESET_ON_EOI(x) (((unsigned)(x) & 0x1) << 1) argument
6188 #define G_028A84_DISABLE_RESET_ON_EOI(x) (((x) >> 1) & 0x1) argument
6190 #define S_028A84_NGG_DISABLE_PROVOK_REUSE(x) (((unsigned)(x) & 0x1) << 2) argument
6191 #define G_028A84_NGG_DISABLE_PROVOK_REUSE(x) (((x) >> 2) & 0x1) argument
6196 #define S_028A90_EVENT_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
6197 #define G_028A90_EVENT_TYPE(x) (((x) >> 0) & 0x3F) argument
6253 #define S_028A90_ADDRESS_HI_GFX9(x) (((unsigned)(x) & 0x1FFFF) <<… argument
6254 #define G_028A90_ADDRESS_HI_GFX9(x) (((x) >> 10) & 0x1FFFF) argument
6256 #define S_028A90_EXTENDED_EVENT(x) (((unsigned)(x) & 0x1) << 27) argument
6257 #define G_028A90_EXTENDED_EVENT(x) (((x) >> 27) & 0x1) argument
6260 #define S_028A94_MAX_PRIMS_PER_SUBGROUP(x) (((unsigned)(x) & 0xFFFF) << … argument
6261 #define G_028A94_MAX_PRIMS_PER_SUBGROUP(x) (((x) >> 0) & 0xFFFF) argument
6264 #define S_028A98_OBJPRIM_ID_EN(x) (((unsigned)(x) & 0x1) << 0) argument
6265 #define G_028A98_OBJPRIM_ID_EN(x) (((x) >> 0) & 0x1) argument
6267 #define S_028A98_EN_REG_RT_INDEX(x) (((unsigned)(x) & 0x1) << 1) argument
6268 #define G_028A98_EN_REG_RT_INDEX(x) (((x) >> 1) & 0x1) argument
6270 #define S_028A98_EN_PIPELINE_PRIMID(x) (((unsigned)(x) & 0x1) << 2) argument
6271 #define G_028A98_EN_PIPELINE_PRIMID(x) (((x) >> 2) & 0x1) argument
6273 #define S_028A98_OBJECT_ID_INST_EN(x) (((unsigned)(x) & 0x1) << 3) argument
6274 #define G_028A98_OBJECT_ID_INST_EN(x) (((x) >> 3) & 0x1) argument
6277 #define S_028A9C_COMPOUND_INDEX_EN(x) (((unsigned)(x) & 0x1) << 0) argument
6278 #define G_028A9C_COMPOUND_INDEX_EN(x) (((x) >> 0) & 0x1) argument
6283 #define S_028AAC_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
6284 #define G_028AAC_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6287 #define S_028AB0_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
6288 #define G_028AB0_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6291 #define S_028AB4_REUSE_OFF(x) (((unsigned)(x) & 0x1) << 0) argument
6292 #define G_028AB4_REUSE_OFF(x) (((x) >> 0) & 0x1) argument
6295 #define S_028AB8_VTX_CNT_EN(x) (((unsigned)(x) & 0x1) << 0) argument
6296 #define G_028AB8_VTX_CNT_EN(x) (((x) >> 0) & 0x1) argument
6299 #define S_028ABC_FULL_CACHE(x) (((unsigned)(x) & 0x1) << 1) argument
6300 #define G_028ABC_FULL_CACHE(x) (((x) >> 1) & 0x1) argument
6302 #define S_028ABC_HTILE_USES_PRELOAD_WIN(x) (((unsigned)(x) & 0x1) << 2) argument
6303 #define G_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) >> 2) & 0x1) argument
6305 #define S_028ABC_PRELOAD(x) (((unsigned)(x) & 0x1) << 3) argument
6306 #define G_028ABC_PRELOAD(x) (((x) >> 3) & 0x1) argument
6308 #define S_028ABC_PREFETCH_WIDTH(x) (((unsigned)(x) & 0x3F) << 4) argument
6309 #define G_028ABC_PREFETCH_WIDTH(x) (((x) >> 4) & 0x3F) argument
6311 #define S_028ABC_PREFETCH_HEIGHT(x) (((unsigned)(x) & 0x3F) << 10) argument
6312 #define G_028ABC_PREFETCH_HEIGHT(x) (((x) >> 10) & 0x3F) argument
6314 #define S_028ABC_DST_OUTSIDE_ZERO_TO_ONE(x) (((unsigned)(x) & 0x1) << 16) argument
6315 #define G_028ABC_DST_OUTSIDE_ZERO_TO_ONE(x) (((x) >> 16) & 0x1) argument
6317 #define S_028ABC_PIPE_ALIGNED(x) (((unsigned)(x) & 0x1) << 18) argument
6318 #define G_028ABC_PIPE_ALIGNED(x) (((x) >> 18) & 0x1) argument
6320 #define S_028ABC_RB_ALIGNED(x) (((unsigned)(x) & 0x1) << 19) argument
6321 #define G_028ABC_RB_ALIGNED(x) (((x) >> 19) & 0x1) argument
6324 #define S_028AC0_COMPAREFUNC0(x) (((unsigned)(x) & 0x07) << 0) argument
6325 #define G_028AC0_COMPAREFUNC0(x) (((x) >> 0) & 0x07) argument
6327 #define S_028AC0_COMPAREVALUE0(x) (((unsigned)(x) & 0xFF) << 4) argument
6328 #define G_028AC0_COMPAREVALUE0(x) (((x) >> 4) & 0xFF) argument
6330 #define S_028AC0_COMPAREMASK0(x) (((unsigned)(x) & 0xFF) << 12) argument
6331 #define G_028AC0_COMPAREMASK0(x) (((x) >> 12) & 0xFF) argument
6333 #define S_028AC0_ENABLE0(x) (((unsigned)(x) & 0x1) << 24) argument
6334 #define G_028AC0_ENABLE0(x) (((x) >> 24) & 0x1) argument
6337 #define S_028AC4_COMPAREFUNC1(x) (((unsigned)(x) & 0x07) << 0) argument
6338 #define G_028AC4_COMPAREFUNC1(x) (((x) >> 0) & 0x07) argument
6340 #define S_028AC4_COMPAREVALUE1(x) (((unsigned)(x) & 0xFF) << 4) argument
6341 #define G_028AC4_COMPAREVALUE1(x) (((x) >> 4) & 0xFF) argument
6343 #define S_028AC4_COMPAREMASK1(x) (((unsigned)(x) & 0xFF) << 12) argument
6344 #define G_028AC4_COMPAREMASK1(x) (((x) >> 12) & 0xFF) argument
6346 #define S_028AC4_ENABLE1(x) (((unsigned)(x) & 0x1) << 24) argument
6347 #define G_028AC4_ENABLE1(x) (((x) >> 24) & 0x1) argument
6350 #define S_028AC8_START_X(x) (((unsigned)(x) & 0xFF) << 0) argument
6351 #define G_028AC8_START_X(x) (((x) >> 0) & 0xFF) argument
6353 #define S_028AC8_START_Y(x) (((unsigned)(x) & 0xFF) << 8) argument
6354 #define G_028AC8_START_Y(x) (((x) >> 8) & 0xFF) argument
6356 #define S_028AC8_MAX_X(x) (((unsigned)(x) & 0xFF) << 16) argument
6357 #define G_028AC8_MAX_X(x) (((x) >> 16) & 0xFF) argument
6359 #define S_028AC8_MAX_Y(x) (((unsigned)(x) & 0xFF) << 24) argument
6360 #define G_028AC8_MAX_Y(x) (((x) >> 24) & 0xFF) argument
6364 #define S_028AD4_STRIDE(x) (((unsigned)(x) & 0x3FF) << 0) argument
6365 #define G_028AD4_STRIDE(x) (((x) >> 0) & 0x3FF) argument
6370 #define S_028AE4_STRIDE(x) (((unsigned)(x) & 0x3FF) << 0) argument
6371 #define G_028AE4_STRIDE(x) (((x) >> 0) & 0x3FF) argument
6376 #define S_028AF4_STRIDE(x) (((unsigned)(x) & 0x3FF) << 0) argument
6377 #define G_028AF4_STRIDE(x) (((x) >> 0) & 0x3FF) argument
6382 #define S_028B04_STRIDE(x) (((unsigned)(x) & 0x3FF) << 0) argument
6383 #define G_028B04_STRIDE(x) (((x) >> 0) & 0x3FF) argument
6389 #define S_028B30_VERTEX_STRIDE(x) (((unsigned)(x) & 0x1FF) << 0) argument
6390 #define G_028B30_VERTEX_STRIDE(x) (((x) >> 0) & 0x1FF) argument
6393 #define S_028B38_MAX_VERT_OUT(x) (((unsigned)(x) & 0x7FF) << 0) argument
6394 #define G_028B38_MAX_VERT_OUT(x) (((x) >> 0) & 0x7FF) argument
6397 #define S_028B50_ACCUM_ISOLINE(x) (((unsigned)(x) & 0xFF) << 0) argument
6398 #define G_028B50_ACCUM_ISOLINE(x) (((x) >> 0) & 0xFF) argument
6400 #define S_028B50_ACCUM_TRI(x) (((unsigned)(x) & 0xFF) << 8) argument
6401 #define G_028B50_ACCUM_TRI(x) (((x) >> 8) & 0xFF) argument
6403 #define S_028B50_ACCUM_QUAD(x) (((unsigned)(x) & 0xFF) << 16) argument
6404 #define G_028B50_ACCUM_QUAD(x) (((x) >> 16) & 0xFF) argument
6406 #define S_028B50_DONUT_SPLIT(x) (((unsigned)(x) & 0x1F) << 24) argument
6407 #define G_028B50_DONUT_SPLIT(x) (((x) >> 24) & 0x1F) argument
6409 #define S_028B50_TRAP_SPLIT(x) (((unsigned)(x) & 0x07) << 29) argument
6410 #define G_028B50_TRAP_SPLIT(x) (((x) >> 29) & 0x07) argument
6413 #define S_028B54_LS_EN(x) (((unsigned)(x) & 0x03) << 0) argument
6414 #define G_028B54_LS_EN(x) (((x) >> 0) & 0x03) argument
6416 #define S_028B54_HS_EN(x) (((unsigned)(x) & 0x1) << 2) argument
6417 #define G_028B54_HS_EN(x) (((x) >> 2) & 0x1) argument
6419 #define S_028B54_ES_EN(x) (((unsigned)(x) & 0x03) << 3) argument
6420 #define G_028B54_ES_EN(x) (((x) >> 3) & 0x03) argument
6422 #define S_028B54_GS_EN(x) (((unsigned)(x) & 0x1) << 5) argument
6423 #define G_028B54_GS_EN(x) (((x) >> 5) & 0x1) argument
6425 #define S_028B54_VS_EN(x) (((unsigned)(x) & 0x03) << 6) argument
6426 #define G_028B54_VS_EN(x) (((x) >> 6) & 0x03) argument
6428 #define S_028B54_DISPATCH_DRAW_EN(x) (((unsigned)(x) & 0x1) << 9) argument
6429 #define G_028B54_DISPATCH_DRAW_EN(x) (((x) >> 9) & 0x1) argument
6431 #define S_028B54_DIS_DEALLOC_ACCUM_0(x) (((unsigned)(x) & 0x1) << 10) argument
6432 #define G_028B54_DIS_DEALLOC_ACCUM_0(x) (((x) >> 10) & 0x1) argument
6434 #define S_028B54_DIS_DEALLOC_ACCUM_1(x) (((unsigned)(x) & 0x1) << 11) argument
6435 #define G_028B54_DIS_DEALLOC_ACCUM_1(x) (((x) >> 11) & 0x1) argument
6437 #define S_028B54_VS_WAVE_ID_EN(x) (((unsigned)(x) & 0x1) << 12) argument
6438 #define G_028B54_VS_WAVE_ID_EN(x) (((x) >> 12) & 0x1) argument
6440 #define S_028B54_PRIMGEN_EN(x) (((unsigned)(x) & 0x1) << 13) argument
6441 #define G_028B54_PRIMGEN_EN(x) (((x) >> 13) & 0x1) argument
6443 #define S_028B54_ORDERED_ID_MODE(x) (((unsigned)(x) & 0x1) << 14) argument
6444 #define G_028B54_ORDERED_ID_MODE(x) (((x) >> 14) & 0x1) argument
6446 #define S_028B54_MAX_PRIMGRP_IN_WAVE(x) (((unsigned)(x) & 0x0F) << 15) argument
6447 #define G_028B54_MAX_PRIMGRP_IN_WAVE(x) (((x) >> 15) & 0x0F) argument
6449 #define S_028B54_GS_FAST_LAUNCH(x) (((unsigned)(x) & 0x1) << 19) argument
6450 #define G_028B54_GS_FAST_LAUNCH(x) (((x) >> 19) & 0x1) argument
6453 #define S_028B58_NUM_PATCHES(x) (((unsigned)(x) & 0xFF) << 0) argument
6454 #define G_028B58_NUM_PATCHES(x) (((x) >> 0) & 0xFF) argument
6456 #define S_028B58_HS_NUM_INPUT_CP(x) (((unsigned)(x) & 0x3F) << 8) argument
6457 #define G_028B58_HS_NUM_INPUT_CP(x) (((x) >> 8) & 0x3F) argument
6459 #define S_028B58_HS_NUM_OUTPUT_CP(x) (((unsigned)(x) & 0x3F) << 14) argument
6460 #define G_028B58_HS_NUM_OUTPUT_CP(x) (((x) >> 14) & 0x3F) argument
6463 #define S_028B5C_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
6464 #define G_028B5C_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6467 #define S_028B60_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
6468 #define G_028B60_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6471 #define S_028B64_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
6472 #define G_028B64_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6475 #define S_028B68_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
6476 #define G_028B68_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
6479 #define S_028B6C_TYPE(x) (((unsigned)(x) & 0x03) << 0) argument
6480 #define G_028B6C_TYPE(x) (((x) >> 0) & 0x03) argument
6482 #define S_028B6C_PARTITIONING(x) (((unsigned)(x) & 0x07) << 2) argument
6483 #define G_028B6C_PARTITIONING(x) (((x) >> 2) & 0x07) argument
6485 #define S_028B6C_TOPOLOGY(x) (((unsigned)(x) & 0x07) << 5) argument
6486 #define G_028B6C_TOPOLOGY(x) (((x) >> 5) & 0x07) argument
6488 #define S_028B6C_RESERVED_REDUC_AXIS(x) (((unsigned)(x) & 0x1) << 8) argument
6489 #define G_028B6C_RESERVED_REDUC_AXIS(x) (((x) >> 8) & 0x1) argument
6491 #define S_028B6C_DEPRECATED(x) (((unsigned)(x) & 0x1) << 9) argument
6492 #define G_028B6C_DEPRECATED(x) (((x) >> 9) & 0x1) argument
6494 #define S_028B6C_DISABLE_DONUTS(x) (((unsigned)(x) & 0x1) << 14) argument
6495 #define G_028B6C_DISABLE_DONUTS(x) (((x) >> 14) & 0x1) argument
6497 #define S_028B6C_RDREQ_POLICY(x) (((unsigned)(x) & 0x1) << 15) argument
6498 #define G_028B6C_RDREQ_POLICY(x) (((x) >> 15) & 0x1) argument
6500 #define S_028B6C_DISTRIBUTION_MODE(x) (((unsigned)(x) & 0x03) << 17) argument
6501 #define G_028B6C_DISTRIBUTION_MODE(x) (((x) >> 17) & 0x03) argument
6504 #define S_028B70_ALPHA_TO_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
6505 #define G_028B70_ALPHA_TO_MASK_ENABLE(x) (((x) >> 0) & 0x1) argument
6507 #define S_028B70_ALPHA_TO_MASK_OFFSET0(x) (((unsigned)(x) & 0x03) << 8) argument
6508 #define G_028B70_ALPHA_TO_MASK_OFFSET0(x) (((x) >> 8) & 0x03) argument
6510 #define S_028B70_ALPHA_TO_MASK_OFFSET1(x) (((unsigned)(x) & 0x03) << 10) argument
6511 #define G_028B70_ALPHA_TO_MASK_OFFSET1(x) (((x) >> 10) & 0x03) argument
6513 #define S_028B70_ALPHA_TO_MASK_OFFSET2(x) (((unsigned)(x) & 0x03) << 12) argument
6514 #define G_028B70_ALPHA_TO_MASK_OFFSET2(x) (((x) >> 12) & 0x03) argument
6516 #define S_028B70_ALPHA_TO_MASK_OFFSET3(x) (((unsigned)(x) & 0x03) << 14) argument
6517 #define G_028B70_ALPHA_TO_MASK_OFFSET3(x) (((x) >> 14) & 0x03) argument
6519 #define S_028B70_OFFSET_ROUND(x) (((unsigned)(x) & 0x1) << 16) argument
6520 #define G_028B70_OFFSET_ROUND(x) (((x) >> 16) & 0x1) argument
6524 #define S_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((unsigned)(x) & 0xFF) << 0) argument
6525 #define G_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) >> 0) & 0xFF) argument
6527 #define S_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
6528 #define G_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1) argument
6536 #define S_028B90_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
6537 #define G_028B90_ENABLE(x) (((x) >> 0) & 0x1) argument
6539 #define S_028B90_CNT(x) (((unsigned)(x) & 0x7F) << 2) argument
6540 #define G_028B90_CNT(x) (((x) >> 2) & 0x7F) argument
6543 #define S_028B94_STREAMOUT_0_EN(x) (((unsigned)(x) & 0x1) << 0) argument
6544 #define G_028B94_STREAMOUT_0_EN(x) (((x) >> 0) & 0x1) argument
6546 #define S_028B94_STREAMOUT_1_EN(x) (((unsigned)(x) & 0x1) << 1) argument
6547 #define G_028B94_STREAMOUT_1_EN(x) (((x) >> 1) & 0x1) argument
6549 #define S_028B94_STREAMOUT_2_EN(x) (((unsigned)(x) & 0x1) << 2) argument
6550 #define G_028B94_STREAMOUT_2_EN(x) (((x) >> 2) & 0x1) argument
6552 #define S_028B94_STREAMOUT_3_EN(x) (((unsigned)(x) & 0x1) << 3) argument
6553 #define G_028B94_STREAMOUT_3_EN(x) (((x) >> 3) & 0x1) argument
6555 #define S_028B94_RAST_STREAM(x) (((unsigned)(x) & 0x07) << 4) argument
6556 #define G_028B94_RAST_STREAM(x) (((x) >> 4) & 0x07) argument
6558 #define S_028B94_EN_PRIMS_NEEDED_CNT(x) (((unsigned)(x) & 0x1) << 7) argument
6559 #define G_028B94_EN_PRIMS_NEEDED_CNT(x) (((x) >> 7) & 0x1) argument
6561 #define S_028B94_RAST_STREAM_MASK(x) (((unsigned)(x) & 0x0F) << 8) argument
6562 #define G_028B94_RAST_STREAM_MASK(x) (((x) >> 8) & 0x0F) argument
6564 #define S_028B94_USE_RAST_STREAM_MASK(x) (((unsigned)(x) & 0x1) << 31) argument
6565 #define G_028B94_USE_RAST_STREAM_MASK(x) (((x) >> 31) & 0x1) argument
6568 #define S_028B98_STREAM_0_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 0) argument
6569 #define G_028B98_STREAM_0_BUFFER_EN(x) (((x) >> 0) & 0x0F) argument
6571 #define S_028B98_STREAM_1_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 4) argument
6572 #define G_028B98_STREAM_1_BUFFER_EN(x) (((x) >> 4) & 0x0F) argument
6574 #define S_028B98_STREAM_2_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 8) argument
6575 #define G_028B98_STREAM_2_BUFFER_EN(x) (((x) >> 8) & 0x0F) argument
6577 #define S_028B98_STREAM_3_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 12) argument
6578 #define G_028B98_STREAM_3_BUFFER_EN(x) (((x) >> 12) & 0x0F) argument
6581 #define S_028B9C_EVENT_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
6582 #define G_028B9C_EVENT_TYPE(x) (((x) >> 0) & 0x3F) argument
6584 #define S_028B9C_ADDRESS_HI(x) (((unsigned)(x) & 0x1FFFF) <<… argument
6585 #define G_028B9C_ADDRESS_HI(x) (((x) >> 10) & 0x1FFFF) argument
6587 #define S_028B9C_EXTENDED_EVENT(x) (((unsigned)(x) & 0x1) << 27) argument
6588 #define G_028B9C_EXTENDED_EVENT(x) (((x) >> 27) & 0x1) argument
6591 #define S_028BD4_DISTANCE_0(x) (((unsigned)(x) & 0x0F) << 0) argument
6592 #define G_028BD4_DISTANCE_0(x) (((x) >> 0) & 0x0F) argument
6594 #define S_028BD4_DISTANCE_1(x) (((unsigned)(x) & 0x0F) << 4) argument
6595 #define G_028BD4_DISTANCE_1(x) (((x) >> 4) & 0x0F) argument
6597 #define S_028BD4_DISTANCE_2(x) (((unsigned)(x) & 0x0F) << 8) argument
6598 #define G_028BD4_DISTANCE_2(x) (((x) >> 8) & 0x0F) argument
6600 #define S_028BD4_DISTANCE_3(x) (((unsigned)(x) & 0x0F) << 12) argument
6601 #define G_028BD4_DISTANCE_3(x) (((x) >> 12) & 0x0F) argument
6603 #define S_028BD4_DISTANCE_4(x) (((unsigned)(x) & 0x0F) << 16) argument
6604 #define G_028BD4_DISTANCE_4(x) (((x) >> 16) & 0x0F) argument
6606 #define S_028BD4_DISTANCE_5(x) (((unsigned)(x) & 0x0F) << 20) argument
6607 #define G_028BD4_DISTANCE_5(x) (((x) >> 20) & 0x0F) argument
6609 #define S_028BD4_DISTANCE_6(x) (((unsigned)(x) & 0x0F) << 24) argument
6610 #define G_028BD4_DISTANCE_6(x) (((x) >> 24) & 0x0F) argument
6612 #define S_028BD4_DISTANCE_7(x) (((unsigned)(x) & 0x0F) << 28) argument
6613 #define G_028BD4_DISTANCE_7(x) (((x) >> 28) & 0x0F) argument
6616 #define S_028BD8_DISTANCE_8(x) (((unsigned)(x) & 0x0F) << 0) argument
6617 #define G_028BD8_DISTANCE_8(x) (((x) >> 0) & 0x0F) argument
6619 #define S_028BD8_DISTANCE_9(x) (((unsigned)(x) & 0x0F) << 4) argument
6620 #define G_028BD8_DISTANCE_9(x) (((x) >> 4) & 0x0F) argument
6622 #define S_028BD8_DISTANCE_10(x) (((unsigned)(x) & 0x0F) << 8) argument
6623 #define G_028BD8_DISTANCE_10(x) (((x) >> 8) & 0x0F) argument
6625 #define S_028BD8_DISTANCE_11(x) (((unsigned)(x) & 0x0F) << 12) argument
6626 #define G_028BD8_DISTANCE_11(x) (((x) >> 12) & 0x0F) argument
6628 #define S_028BD8_DISTANCE_12(x) (((unsigned)(x) & 0x0F) << 16) argument
6629 #define G_028BD8_DISTANCE_12(x) (((x) >> 16) & 0x0F) argument
6631 #define S_028BD8_DISTANCE_13(x) (((unsigned)(x) & 0x0F) << 20) argument
6632 #define G_028BD8_DISTANCE_13(x) (((x) >> 20) & 0x0F) argument
6634 #define S_028BD8_DISTANCE_14(x) (((unsigned)(x) & 0x0F) << 24) argument
6635 #define G_028BD8_DISTANCE_14(x) (((x) >> 24) & 0x0F) argument
6637 #define S_028BD8_DISTANCE_15(x) (((unsigned)(x) & 0x0F) << 28) argument
6638 #define G_028BD8_DISTANCE_15(x) (((x) >> 28) & 0x0F) argument
6641 #define S_028BDC_EXPAND_LINE_WIDTH(x) (((unsigned)(x) & 0x1) << 9) argument
6642 #define G_028BDC_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1) argument
6644 #define S_028BDC_LAST_PIXEL(x) (((unsigned)(x) & 0x1) << 10) argument
6645 #define G_028BDC_LAST_PIXEL(x) (((x) >> 10) & 0x1) argument
6647 #define S_028BDC_PERPENDICULAR_ENDCAP_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
6648 #define G_028BDC_PERPENDICULAR_ENDCAP_ENA(x) (((x) >> 11) & 0x1) argument
6650 #define S_028BDC_DX10_DIAMOND_TEST_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
6651 #define G_028BDC_DX10_DIAMOND_TEST_ENA(x) (((x) >> 12) & 0x1) argument
6654 #define S_028BE0_MSAA_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 0) argument
6655 #define G_028BE0_MSAA_NUM_SAMPLES(x) (((x) >> 0) & 0x07) argument
6657 #define S_028BE0_AA_MASK_CENTROID_DTMN(x) (((unsigned)(x) & 0x1) << 4) argument
6658 #define G_028BE0_AA_MASK_CENTROID_DTMN(x) (((x) >> 4) & 0x1) argument
6660 #define S_028BE0_MAX_SAMPLE_DIST(x) (((unsigned)(x) & 0x0F) << 13) argument
6661 #define G_028BE0_MAX_SAMPLE_DIST(x) (((x) >> 13) & 0x0F) argument
6663 #define S_028BE0_MSAA_EXPOSED_SAMPLES(x) (((unsigned)(x) & 0x07) << 20) argument
6664 #define G_028BE0_MSAA_EXPOSED_SAMPLES(x) (((x) >> 20) & 0x07) argument
6666 #define S_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((unsigned)(x) & 0x03) << 24) argument
6667 #define G_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((x) >> 24) & 0x03) argument
6669 #define S_028BE0_COVERAGE_TO_SHADER_SELECT(x) (((unsigned)(x) & 0x03) << 26) argument
6670 #define G_028BE0_COVERAGE_TO_SHADER_SELECT(x) (((x) >> 26) & 0x03) argument
6673 #define S_028BE4_PIX_CENTER(x) (((unsigned)(x) & 0x1) << 0) argument
6674 #define G_028BE4_PIX_CENTER(x) (((x) >> 0) & 0x1) argument
6676 #define S_028BE4_ROUND_MODE(x) (((unsigned)(x) & 0x03) << 1) argument
6677 #define G_028BE4_ROUND_MODE(x) (((x) >> 1) & 0x03) argument
6679 #define S_028BE4_QUANT_MODE(x) (((unsigned)(x) & 0x07) << 3) argument
6680 #define G_028BE4_QUANT_MODE(x) (((x) >> 3) & 0x07) argument
6687 #define S_028BF8_S0_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6688 #define G_028BF8_S0_X(x) (((x) >> 0) & 0x0F) argument
6690 #define S_028BF8_S0_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6691 #define G_028BF8_S0_Y(x) (((x) >> 4) & 0x0F) argument
6693 #define S_028BF8_S1_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6694 #define G_028BF8_S1_X(x) (((x) >> 8) & 0x0F) argument
6696 #define S_028BF8_S1_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6697 #define G_028BF8_S1_Y(x) (((x) >> 12) & 0x0F) argument
6699 #define S_028BF8_S2_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6700 #define G_028BF8_S2_X(x) (((x) >> 16) & 0x0F) argument
6702 #define S_028BF8_S2_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6703 #define G_028BF8_S2_Y(x) (((x) >> 20) & 0x0F) argument
6705 #define S_028BF8_S3_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6706 #define G_028BF8_S3_X(x) (((x) >> 24) & 0x0F) argument
6708 #define S_028BF8_S3_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6709 #define G_028BF8_S3_Y(x) (((x) >> 28) & 0x0F) argument
6712 #define S_028BFC_S4_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6713 #define G_028BFC_S4_X(x) (((x) >> 0) & 0x0F) argument
6715 #define S_028BFC_S4_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6716 #define G_028BFC_S4_Y(x) (((x) >> 4) & 0x0F) argument
6718 #define S_028BFC_S5_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6719 #define G_028BFC_S5_X(x) (((x) >> 8) & 0x0F) argument
6721 #define S_028BFC_S5_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6722 #define G_028BFC_S5_Y(x) (((x) >> 12) & 0x0F) argument
6724 #define S_028BFC_S6_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6725 #define G_028BFC_S6_X(x) (((x) >> 16) & 0x0F) argument
6727 #define S_028BFC_S6_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6728 #define G_028BFC_S6_Y(x) (((x) >> 20) & 0x0F) argument
6730 #define S_028BFC_S7_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6731 #define G_028BFC_S7_X(x) (((x) >> 24) & 0x0F) argument
6733 #define S_028BFC_S7_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6734 #define G_028BFC_S7_Y(x) (((x) >> 28) & 0x0F) argument
6737 #define S_028C00_S8_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6738 #define G_028C00_S8_X(x) (((x) >> 0) & 0x0F) argument
6740 #define S_028C00_S8_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6741 #define G_028C00_S8_Y(x) (((x) >> 4) & 0x0F) argument
6743 #define S_028C00_S9_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6744 #define G_028C00_S9_X(x) (((x) >> 8) & 0x0F) argument
6746 #define S_028C00_S9_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6747 #define G_028C00_S9_Y(x) (((x) >> 12) & 0x0F) argument
6749 #define S_028C00_S10_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6750 #define G_028C00_S10_X(x) (((x) >> 16) & 0x0F) argument
6752 #define S_028C00_S10_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6753 #define G_028C00_S10_Y(x) (((x) >> 20) & 0x0F) argument
6755 #define S_028C00_S11_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6756 #define G_028C00_S11_X(x) (((x) >> 24) & 0x0F) argument
6758 #define S_028C00_S11_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6759 #define G_028C00_S11_Y(x) (((x) >> 28) & 0x0F) argument
6762 #define S_028C04_S12_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6763 #define G_028C04_S12_X(x) (((x) >> 0) & 0x0F) argument
6765 #define S_028C04_S12_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6766 #define G_028C04_S12_Y(x) (((x) >> 4) & 0x0F) argument
6768 #define S_028C04_S13_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6769 #define G_028C04_S13_X(x) (((x) >> 8) & 0x0F) argument
6771 #define S_028C04_S13_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6772 #define G_028C04_S13_Y(x) (((x) >> 12) & 0x0F) argument
6774 #define S_028C04_S14_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6775 #define G_028C04_S14_X(x) (((x) >> 16) & 0x0F) argument
6777 #define S_028C04_S14_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6778 #define G_028C04_S14_Y(x) (((x) >> 20) & 0x0F) argument
6780 #define S_028C04_S15_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6781 #define G_028C04_S15_X(x) (((x) >> 24) & 0x0F) argument
6783 #define S_028C04_S15_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6784 #define G_028C04_S15_Y(x) (((x) >> 28) & 0x0F) argument
6787 #define S_028C08_S0_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6788 #define G_028C08_S0_X(x) (((x) >> 0) & 0x0F) argument
6790 #define S_028C08_S0_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6791 #define G_028C08_S0_Y(x) (((x) >> 4) & 0x0F) argument
6793 #define S_028C08_S1_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6794 #define G_028C08_S1_X(x) (((x) >> 8) & 0x0F) argument
6796 #define S_028C08_S1_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6797 #define G_028C08_S1_Y(x) (((x) >> 12) & 0x0F) argument
6799 #define S_028C08_S2_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6800 #define G_028C08_S2_X(x) (((x) >> 16) & 0x0F) argument
6802 #define S_028C08_S2_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6803 #define G_028C08_S2_Y(x) (((x) >> 20) & 0x0F) argument
6805 #define S_028C08_S3_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6806 #define G_028C08_S3_X(x) (((x) >> 24) & 0x0F) argument
6808 #define S_028C08_S3_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6809 #define G_028C08_S3_Y(x) (((x) >> 28) & 0x0F) argument
6812 #define S_028C0C_S4_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6813 #define G_028C0C_S4_X(x) (((x) >> 0) & 0x0F) argument
6815 #define S_028C0C_S4_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6816 #define G_028C0C_S4_Y(x) (((x) >> 4) & 0x0F) argument
6818 #define S_028C0C_S5_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6819 #define G_028C0C_S5_X(x) (((x) >> 8) & 0x0F) argument
6821 #define S_028C0C_S5_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6822 #define G_028C0C_S5_Y(x) (((x) >> 12) & 0x0F) argument
6824 #define S_028C0C_S6_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6825 #define G_028C0C_S6_X(x) (((x) >> 16) & 0x0F) argument
6827 #define S_028C0C_S6_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6828 #define G_028C0C_S6_Y(x) (((x) >> 20) & 0x0F) argument
6830 #define S_028C0C_S7_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6831 #define G_028C0C_S7_X(x) (((x) >> 24) & 0x0F) argument
6833 #define S_028C0C_S7_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6834 #define G_028C0C_S7_Y(x) (((x) >> 28) & 0x0F) argument
6837 #define S_028C10_S8_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6838 #define G_028C10_S8_X(x) (((x) >> 0) & 0x0F) argument
6840 #define S_028C10_S8_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6841 #define G_028C10_S8_Y(x) (((x) >> 4) & 0x0F) argument
6843 #define S_028C10_S9_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6844 #define G_028C10_S9_X(x) (((x) >> 8) & 0x0F) argument
6846 #define S_028C10_S9_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6847 #define G_028C10_S9_Y(x) (((x) >> 12) & 0x0F) argument
6849 #define S_028C10_S10_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6850 #define G_028C10_S10_X(x) (((x) >> 16) & 0x0F) argument
6852 #define S_028C10_S10_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6853 #define G_028C10_S10_Y(x) (((x) >> 20) & 0x0F) argument
6855 #define S_028C10_S11_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6856 #define G_028C10_S11_X(x) (((x) >> 24) & 0x0F) argument
6858 #define S_028C10_S11_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6859 #define G_028C10_S11_Y(x) (((x) >> 28) & 0x0F) argument
6862 #define S_028C14_S12_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6863 #define G_028C14_S12_X(x) (((x) >> 0) & 0x0F) argument
6865 #define S_028C14_S12_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6866 #define G_028C14_S12_Y(x) (((x) >> 4) & 0x0F) argument
6868 #define S_028C14_S13_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6869 #define G_028C14_S13_X(x) (((x) >> 8) & 0x0F) argument
6871 #define S_028C14_S13_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6872 #define G_028C14_S13_Y(x) (((x) >> 12) & 0x0F) argument
6874 #define S_028C14_S14_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6875 #define G_028C14_S14_X(x) (((x) >> 16) & 0x0F) argument
6877 #define S_028C14_S14_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6878 #define G_028C14_S14_Y(x) (((x) >> 20) & 0x0F) argument
6880 #define S_028C14_S15_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6881 #define G_028C14_S15_X(x) (((x) >> 24) & 0x0F) argument
6883 #define S_028C14_S15_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6884 #define G_028C14_S15_Y(x) (((x) >> 28) & 0x0F) argument
6887 #define S_028C18_S0_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6888 #define G_028C18_S0_X(x) (((x) >> 0) & 0x0F) argument
6890 #define S_028C18_S0_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6891 #define G_028C18_S0_Y(x) (((x) >> 4) & 0x0F) argument
6893 #define S_028C18_S1_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6894 #define G_028C18_S1_X(x) (((x) >> 8) & 0x0F) argument
6896 #define S_028C18_S1_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6897 #define G_028C18_S1_Y(x) (((x) >> 12) & 0x0F) argument
6899 #define S_028C18_S2_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6900 #define G_028C18_S2_X(x) (((x) >> 16) & 0x0F) argument
6902 #define S_028C18_S2_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6903 #define G_028C18_S2_Y(x) (((x) >> 20) & 0x0F) argument
6905 #define S_028C18_S3_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6906 #define G_028C18_S3_X(x) (((x) >> 24) & 0x0F) argument
6908 #define S_028C18_S3_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6909 #define G_028C18_S3_Y(x) (((x) >> 28) & 0x0F) argument
6912 #define S_028C1C_S4_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6913 #define G_028C1C_S4_X(x) (((x) >> 0) & 0x0F) argument
6915 #define S_028C1C_S4_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6916 #define G_028C1C_S4_Y(x) (((x) >> 4) & 0x0F) argument
6918 #define S_028C1C_S5_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6919 #define G_028C1C_S5_X(x) (((x) >> 8) & 0x0F) argument
6921 #define S_028C1C_S5_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6922 #define G_028C1C_S5_Y(x) (((x) >> 12) & 0x0F) argument
6924 #define S_028C1C_S6_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6925 #define G_028C1C_S6_X(x) (((x) >> 16) & 0x0F) argument
6927 #define S_028C1C_S6_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6928 #define G_028C1C_S6_Y(x) (((x) >> 20) & 0x0F) argument
6930 #define S_028C1C_S7_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6931 #define G_028C1C_S7_X(x) (((x) >> 24) & 0x0F) argument
6933 #define S_028C1C_S7_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6934 #define G_028C1C_S7_Y(x) (((x) >> 28) & 0x0F) argument
6937 #define S_028C20_S8_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6938 #define G_028C20_S8_X(x) (((x) >> 0) & 0x0F) argument
6940 #define S_028C20_S8_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6941 #define G_028C20_S8_Y(x) (((x) >> 4) & 0x0F) argument
6943 #define S_028C20_S9_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6944 #define G_028C20_S9_X(x) (((x) >> 8) & 0x0F) argument
6946 #define S_028C20_S9_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6947 #define G_028C20_S9_Y(x) (((x) >> 12) & 0x0F) argument
6949 #define S_028C20_S10_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6950 #define G_028C20_S10_X(x) (((x) >> 16) & 0x0F) argument
6952 #define S_028C20_S10_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6953 #define G_028C20_S10_Y(x) (((x) >> 20) & 0x0F) argument
6955 #define S_028C20_S11_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6956 #define G_028C20_S11_X(x) (((x) >> 24) & 0x0F) argument
6958 #define S_028C20_S11_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6959 #define G_028C20_S11_Y(x) (((x) >> 28) & 0x0F) argument
6962 #define S_028C24_S12_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6963 #define G_028C24_S12_X(x) (((x) >> 0) & 0x0F) argument
6965 #define S_028C24_S12_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6966 #define G_028C24_S12_Y(x) (((x) >> 4) & 0x0F) argument
6968 #define S_028C24_S13_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6969 #define G_028C24_S13_X(x) (((x) >> 8) & 0x0F) argument
6971 #define S_028C24_S13_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6972 #define G_028C24_S13_Y(x) (((x) >> 12) & 0x0F) argument
6974 #define S_028C24_S14_X(x) (((unsigned)(x) & 0x0F) << 16) argument
6975 #define G_028C24_S14_X(x) (((x) >> 16) & 0x0F) argument
6977 #define S_028C24_S14_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
6978 #define G_028C24_S14_Y(x) (((x) >> 20) & 0x0F) argument
6980 #define S_028C24_S15_X(x) (((unsigned)(x) & 0x0F) << 24) argument
6981 #define G_028C24_S15_X(x) (((x) >> 24) & 0x0F) argument
6983 #define S_028C24_S15_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
6984 #define G_028C24_S15_Y(x) (((x) >> 28) & 0x0F) argument
6987 #define S_028C28_S0_X(x) (((unsigned)(x) & 0x0F) << 0) argument
6988 #define G_028C28_S0_X(x) (((x) >> 0) & 0x0F) argument
6990 #define S_028C28_S0_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
6991 #define G_028C28_S0_Y(x) (((x) >> 4) & 0x0F) argument
6993 #define S_028C28_S1_X(x) (((unsigned)(x) & 0x0F) << 8) argument
6994 #define G_028C28_S1_X(x) (((x) >> 8) & 0x0F) argument
6996 #define S_028C28_S1_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
6997 #define G_028C28_S1_Y(x) (((x) >> 12) & 0x0F) argument
6999 #define S_028C28_S2_X(x) (((unsigned)(x) & 0x0F) << 16) argument
7000 #define G_028C28_S2_X(x) (((x) >> 16) & 0x0F) argument
7002 #define S_028C28_S2_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
7003 #define G_028C28_S2_Y(x) (((x) >> 20) & 0x0F) argument
7005 #define S_028C28_S3_X(x) (((unsigned)(x) & 0x0F) << 24) argument
7006 #define G_028C28_S3_X(x) (((x) >> 24) & 0x0F) argument
7008 #define S_028C28_S3_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
7009 #define G_028C28_S3_Y(x) (((x) >> 28) & 0x0F) argument
7012 #define S_028C2C_S4_X(x) (((unsigned)(x) & 0x0F) << 0) argument
7013 #define G_028C2C_S4_X(x) (((x) >> 0) & 0x0F) argument
7015 #define S_028C2C_S4_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
7016 #define G_028C2C_S4_Y(x) (((x) >> 4) & 0x0F) argument
7018 #define S_028C2C_S5_X(x) (((unsigned)(x) & 0x0F) << 8) argument
7019 #define G_028C2C_S5_X(x) (((x) >> 8) & 0x0F) argument
7021 #define S_028C2C_S5_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
7022 #define G_028C2C_S5_Y(x) (((x) >> 12) & 0x0F) argument
7024 #define S_028C2C_S6_X(x) (((unsigned)(x) & 0x0F) << 16) argument
7025 #define G_028C2C_S6_X(x) (((x) >> 16) & 0x0F) argument
7027 #define S_028C2C_S6_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
7028 #define G_028C2C_S6_Y(x) (((x) >> 20) & 0x0F) argument
7030 #define S_028C2C_S7_X(x) (((unsigned)(x) & 0x0F) << 24) argument
7031 #define G_028C2C_S7_X(x) (((x) >> 24) & 0x0F) argument
7033 #define S_028C2C_S7_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
7034 #define G_028C2C_S7_Y(x) (((x) >> 28) & 0x0F) argument
7037 #define S_028C30_S8_X(x) (((unsigned)(x) & 0x0F) << 0) argument
7038 #define G_028C30_S8_X(x) (((x) >> 0) & 0x0F) argument
7040 #define S_028C30_S8_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
7041 #define G_028C30_S8_Y(x) (((x) >> 4) & 0x0F) argument
7043 #define S_028C30_S9_X(x) (((unsigned)(x) & 0x0F) << 8) argument
7044 #define G_028C30_S9_X(x) (((x) >> 8) & 0x0F) argument
7046 #define S_028C30_S9_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
7047 #define G_028C30_S9_Y(x) (((x) >> 12) & 0x0F) argument
7049 #define S_028C30_S10_X(x) (((unsigned)(x) & 0x0F) << 16) argument
7050 #define G_028C30_S10_X(x) (((x) >> 16) & 0x0F) argument
7052 #define S_028C30_S10_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
7053 #define G_028C30_S10_Y(x) (((x) >> 20) & 0x0F) argument
7055 #define S_028C30_S11_X(x) (((unsigned)(x) & 0x0F) << 24) argument
7056 #define G_028C30_S11_X(x) (((x) >> 24) & 0x0F) argument
7058 #define S_028C30_S11_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
7059 #define G_028C30_S11_Y(x) (((x) >> 28) & 0x0F) argument
7062 #define S_028C34_S12_X(x) (((unsigned)(x) & 0x0F) << 0) argument
7063 #define G_028C34_S12_X(x) (((x) >> 0) & 0x0F) argument
7065 #define S_028C34_S12_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
7066 #define G_028C34_S12_Y(x) (((x) >> 4) & 0x0F) argument
7068 #define S_028C34_S13_X(x) (((unsigned)(x) & 0x0F) << 8) argument
7069 #define G_028C34_S13_X(x) (((x) >> 8) & 0x0F) argument
7071 #define S_028C34_S13_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
7072 #define G_028C34_S13_Y(x) (((x) >> 12) & 0x0F) argument
7074 #define S_028C34_S14_X(x) (((unsigned)(x) & 0x0F) << 16) argument
7075 #define G_028C34_S14_X(x) (((x) >> 16) & 0x0F) argument
7077 #define S_028C34_S14_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
7078 #define G_028C34_S14_Y(x) (((x) >> 20) & 0x0F) argument
7080 #define S_028C34_S15_X(x) (((unsigned)(x) & 0x0F) << 24) argument
7081 #define G_028C34_S15_X(x) (((x) >> 24) & 0x0F) argument
7083 #define S_028C34_S15_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
7084 #define G_028C34_S15_Y(x) (((x) >> 28) & 0x0F) argument
7087 #define S_028C38_AA_MASK_X0Y0(x) (((unsigned)(x) & 0xFFFF) << … argument
7088 #define G_028C38_AA_MASK_X0Y0(x) (((x) >> 0) & 0xFFFF) argument
7090 #define S_028C38_AA_MASK_X1Y0(x) (((unsigned)(x) & 0xFFFF) << … argument
7091 #define G_028C38_AA_MASK_X1Y0(x) (((x) >> 16) & 0xFFFF) argument
7094 #define S_028C3C_AA_MASK_X0Y1(x) (((unsigned)(x) & 0xFFFF) << … argument
7095 #define G_028C3C_AA_MASK_X0Y1(x) (((x) >> 0) & 0xFFFF) argument
7097 #define S_028C3C_AA_MASK_X1Y1(x) (((unsigned)(x) & 0xFFFF) << … argument
7098 #define G_028C3C_AA_MASK_X1Y1(x) (((x) >> 16) & 0xFFFF) argument
7101 #define S_028C40_REALIGN_DQUADS_AFTER_N_WAVES(x) (((unsigned)(x) & 0x03) << 0) argument
7102 #define G_028C40_REALIGN_DQUADS_AFTER_N_WAVES(x) (((x) >> 0) & 0x03) argument
7104 #define S_028C40_LOAD_COLLISION_WAVEID(x) (((unsigned)(x) & 0x1) << 2) argument
7105 #define G_028C40_LOAD_COLLISION_WAVEID(x) (((x) >> 2) & 0x1) argument
7107 #define S_028C40_LOAD_INTRAWAVE_COLLISION(x) (((unsigned)(x) & 0x1) << 3) argument
7108 #define G_028C40_LOAD_INTRAWAVE_COLLISION(x) (((x) >> 3) & 0x1) argument
7111 #define S_028C44_BINNING_MODE(x) (((unsigned)(x) & 0x03) << 0) argument
7112 #define G_028C44_BINNING_MODE(x) (((x) >> 0) & 0x03) argument
7118 #define S_028C44_BIN_SIZE_X(x) (((unsigned)(x) & 0x1) << 2) argument
7119 #define G_028C44_BIN_SIZE_X(x) (((x) >> 2) & 0x1) argument
7121 #define S_028C44_BIN_SIZE_Y(x) (((unsigned)(x) & 0x1) << 3) argument
7122 #define G_028C44_BIN_SIZE_Y(x) (((x) >> 3) & 0x1) argument
7124 #define S_028C44_BIN_SIZE_X_EXTEND(x) (((unsigned)(x) & 0x07) << 4) argument
7125 #define G_028C44_BIN_SIZE_X_EXTEND(x) (((x) >> 4) & 0x07) argument
7127 #define S_028C44_BIN_SIZE_Y_EXTEND(x) (((unsigned)(x) & 0x07) << 7) argument
7128 #define G_028C44_BIN_SIZE_Y_EXTEND(x) (((x) >> 7) & 0x07) argument
7130 #define S_028C44_CONTEXT_STATES_PER_BIN(x) (((unsigned)(x) & 0x07) << 10) argument
7131 #define G_028C44_CONTEXT_STATES_PER_BIN(x) (((x) >> 10) & 0x07) argument
7133 #define S_028C44_PERSISTENT_STATES_PER_BIN(x) (((unsigned)(x) & 0x1F) << 13) argument
7134 #define G_028C44_PERSISTENT_STATES_PER_BIN(x) (((x) >> 13) & 0x1F) argument
7136 #define S_028C44_DISABLE_START_OF_PRIM(x) (((unsigned)(x) & 0x1) << 18) argument
7137 #define G_028C44_DISABLE_START_OF_PRIM(x) (((x) >> 18) & 0x1) argument
7139 #define S_028C44_FPOVS_PER_BATCH(x) (((unsigned)(x) & 0xFF) << 19) argument
7140 #define G_028C44_FPOVS_PER_BATCH(x) (((x) >> 19) & 0xFF) argument
7142 #define S_028C44_OPTIMAL_BIN_SELECTION(x) (((unsigned)(x) & 0x1) << 27) argument
7143 #define G_028C44_OPTIMAL_BIN_SELECTION(x) (((x) >> 27) & 0x1) argument
7146 #define S_028C48_MAX_ALLOC_COUNT(x) (((unsigned)(x) & 0xFFFF) << … argument
7147 #define G_028C48_MAX_ALLOC_COUNT(x) (((x) >> 0) & 0xFFFF) argument
7149 #define S_028C48_MAX_PRIM_PER_BATCH(x) (((unsigned)(x) & 0xFFFF) << … argument
7150 #define G_028C48_MAX_PRIM_PER_BATCH(x) (((x) >> 16) & 0xFFFF) argument
7153 #define S_028C4C_OVER_RAST_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
7154 #define G_028C4C_OVER_RAST_ENABLE(x) (((x) >> 0) & 0x1) argument
7156 #define S_028C4C_OVER_RAST_SAMPLE_SELECT(x) (((unsigned)(x) & 0x0F) << 1) argument
7157 #define G_028C4C_OVER_RAST_SAMPLE_SELECT(x) (((x) >> 1) & 0x0F) argument
7159 #define S_028C4C_UNDER_RAST_ENABLE(x) (((unsigned)(x) & 0x1) << 5) argument
7160 #define G_028C4C_UNDER_RAST_ENABLE(x) (((x) >> 5) & 0x1) argument
7162 #define S_028C4C_UNDER_RAST_SAMPLE_SELECT(x) (((unsigned)(x) & 0x0F) << 6) argument
7163 #define G_028C4C_UNDER_RAST_SAMPLE_SELECT(x) (((x) >> 6) & 0x0F) argument
7165 #define S_028C4C_PBB_UNCERTAINTY_REGION_ENABLE(x) (((unsigned)(x) & 0x1) << 10) argument
7166 #define G_028C4C_PBB_UNCERTAINTY_REGION_ENABLE(x) (((x) >> 10) & 0x1) argument
7168 #define S_028C4C_ZMM_TRI_EXTENT(x) (((unsigned)(x) & 0x1) << 11) argument
7169 #define G_028C4C_ZMM_TRI_EXTENT(x) (((x) >> 11) & 0x1) argument
7171 #define S_028C4C_ZMM_TRI_OFFSET(x) (((unsigned)(x) & 0x1) << 12) argument
7172 #define G_028C4C_ZMM_TRI_OFFSET(x) (((x) >> 12) & 0x1) argument
7174 #define S_028C4C_OVERRIDE_OVER_RAST_INNER_TO_NORMAL(x) (((unsigned)(x) & 0x1) << 13) argument
7175 #define G_028C4C_OVERRIDE_OVER_RAST_INNER_TO_NORMAL(x) (((x) >> 13) & 0x1) argument
7177 #define S_028C4C_OVERRIDE_UNDER_RAST_INNER_TO_NORMAL(x) (((unsigned)(x) & 0x1) << 14) argument
7178 #define G_028C4C_OVERRIDE_UNDER_RAST_INNER_TO_NORMAL(x) (((x) >> 14) & 0x1) argument
7180 #define S_028C4C_DEGENERATE_OVERRIDE_INNER_TO_NORMAL_DISABLE(x) (((unsigned)(x) & 0x1) << 15) argument
7181 #define G_028C4C_DEGENERATE_OVERRIDE_INNER_TO_NORMAL_DISABLE(x) (((x) >> 15) & 0x1) argument
7183 #define S_028C4C_UNCERTAINTY_REGION_MODE(x) (((unsigned)(x) & 0x03) << 16) argument
7184 #define G_028C4C_UNCERTAINTY_REGION_MODE(x) (((x) >> 16) & 0x03) argument
7186 #define S_028C4C_OUTER_UNCERTAINTY_EDGERULE_OVERRIDE(x) (((unsigned)(x) & 0x1) << 18) argument
7187 #define G_028C4C_OUTER_UNCERTAINTY_EDGERULE_OVERRIDE(x) (((x) >> 18) & 0x1) argument
7189 #define S_028C4C_INNER_UNCERTAINTY_EDGERULE_OVERRIDE(x) (((unsigned)(x) & 0x1) << 19) argument
7190 #define G_028C4C_INNER_UNCERTAINTY_EDGERULE_OVERRIDE(x) (((x) >> 19) & 0x1) argument
7192 #define S_028C4C_NULL_SQUAD_AA_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 20) argument
7193 #define G_028C4C_NULL_SQUAD_AA_MASK_ENABLE(x) (((x) >> 20) & 0x1) argument
7195 #define S_028C4C_COVERAGE_AA_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 21) argument
7196 #define G_028C4C_COVERAGE_AA_MASK_ENABLE(x) (((x) >> 21) & 0x1) argument
7198 #define S_028C4C_PREZ_AA_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 22) argument
7199 #define G_028C4C_PREZ_AA_MASK_ENABLE(x) (((x) >> 22) & 0x1) argument
7201 #define S_028C4C_POSTZ_AA_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 23) argument
7202 #define G_028C4C_POSTZ_AA_MASK_ENABLE(x) (((x) >> 23) & 0x1) argument
7204 #define S_028C4C_CENTROID_SAMPLE_OVERRIDE(x) (((unsigned)(x) & 0x1) << 24) argument
7205 #define G_028C4C_CENTROID_SAMPLE_OVERRIDE(x) (((x) >> 24) & 0x1) argument
7208 #define S_028C50_MAX_DEALLOCS_IN_WAVE(x) (((unsigned)(x) & 0x7FF) << 0) argument
7209 #define G_028C50_MAX_DEALLOCS_IN_WAVE(x) (((x) >> 0) & 0x7FF) argument
7212 #define S_028C58_VTX_REUSE_DEPTH(x) (((unsigned)(x) & 0xFF) << 0) argument
7213 #define G_028C58_VTX_REUSE_DEPTH(x) (((x) >> 0) & 0xFF) argument
7216 #define S_028C5C_DEALLOC_DIST(x) (((unsigned)(x) & 0x7F) << 0) argument
7217 #define G_028C5C_DEALLOC_DIST(x) (((x) >> 0) & 0x7F) argument
7221 #define S_028C64_BASE_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
7222 #define G_028C64_BASE_256B(x) (((x) >> 0) & 0xFF) argument
7225 #define S_028C68_MIP0_HEIGHT(x) (((unsigned)(x) & 0x3FFF) << … argument
7226 #define G_028C68_MIP0_HEIGHT(x) (((x) >> 0) & 0x3FFF) argument
7228 #define S_028C68_MIP0_WIDTH(x) (((unsigned)(x) & 0x3FFF) << … argument
7229 #define G_028C68_MIP0_WIDTH(x) (((x) >> 14) & 0x3FFF) argument
7231 #define S_028C68_MAX_MIP(x) (((unsigned)(x) & 0x0F) << 28) argument
7232 #define G_028C68_MAX_MIP(x) (((x) >> 28) & 0x0F) argument
7235 #define S_028C6C_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
7236 #define G_028C6C_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
7238 #define S_028C6C_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 1… argument
7239 #define G_028C6C_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
7241 #define S_028C6C_MIP_LEVEL(x) (((unsigned)(x) & 0x0F) << 24) argument
7242 #define G_028C6C_MIP_LEVEL(x) (((x) >> 24) & 0x0F) argument
7245 #define S_028C70_ENDIAN(x) (((unsigned)(x) & 0x03) << 0) argument
7246 #define G_028C70_ENDIAN(x) (((x) >> 0) & 0x03) argument
7248 #define S_028C70_FORMAT(x) (((unsigned)(x) & 0x1F) << 2) argument
7249 #define G_028C70_FORMAT(x) (((x) >> 2) & 0x1F) argument
7251 #define S_028C70_NUMBER_TYPE(x) (((unsigned)(x) & 0x07) << 8) argument
7252 #define G_028C70_NUMBER_TYPE(x) (((x) >> 8) & 0x07) argument
7254 #define S_028C70_COMP_SWAP(x) (((unsigned)(x) & 0x03) << 11) argument
7255 #define G_028C70_COMP_SWAP(x) (((x) >> 11) & 0x03) argument
7257 #define S_028C70_FAST_CLEAR(x) (((unsigned)(x) & 0x1) << 13) argument
7258 #define G_028C70_FAST_CLEAR(x) (((x) >> 13) & 0x1) argument
7260 #define S_028C70_COMPRESSION(x) (((unsigned)(x) & 0x1) << 14) argument
7261 #define G_028C70_COMPRESSION(x) (((x) >> 14) & 0x1) argument
7263 #define S_028C70_BLEND_CLAMP(x) (((unsigned)(x) & 0x1) << 15) argument
7264 #define G_028C70_BLEND_CLAMP(x) (((x) >> 15) & 0x1) argument
7266 #define S_028C70_BLEND_BYPASS(x) (((unsigned)(x) & 0x1) << 16) argument
7267 #define G_028C70_BLEND_BYPASS(x) (((x) >> 16) & 0x1) argument
7269 #define S_028C70_SIMPLE_FLOAT(x) (((unsigned)(x) & 0x1) << 17) argument
7270 #define G_028C70_SIMPLE_FLOAT(x) (((x) >> 17) & 0x1) argument
7272 #define S_028C70_ROUND_MODE(x) (((unsigned)(x) & 0x1) << 18) argument
7273 #define G_028C70_ROUND_MODE(x) (((x) >> 18) & 0x1) argument
7275 #define S_028C70_BLEND_OPT_DONT_RD_DST(x) (((unsigned)(x) & 0x07) << 20) argument
7276 #define G_028C70_BLEND_OPT_DONT_RD_DST(x) (((x) >> 20) & 0x07) argument
7278 #define S_028C70_BLEND_OPT_DISCARD_PIXEL(x) (((unsigned)(x) & 0x07) << 23) argument
7279 #define G_028C70_BLEND_OPT_DISCARD_PIXEL(x) (((x) >> 23) & 0x07) argument
7281 #define S_028C70_FMASK_COMPRESSION_DISABLE(x) (((unsigned)(x) & 0x1) << 26) argument
7282 #define G_028C70_FMASK_COMPRESSION_DISABLE(x) (((x) >> 26) & 0x1) argument
7284 #define S_028C70_FMASK_COMPRESS_1FRAG_ONLY(x) (((unsigned)(x) & 0x1) << 27) argument
7285 #define G_028C70_FMASK_COMPRESS_1FRAG_ONLY(x) (((x) >> 27) & 0x1) argument
7287 #define S_028C70_DCC_ENABLE(x) (((unsigned)(x) & 0x1) << 28) argument
7288 #define G_028C70_DCC_ENABLE(x) (((x) >> 28) & 0x1) argument
7290 #define S_028C70_CMASK_ADDR_TYPE(x) (((unsigned)(x) & 0x03) << 29) argument
7291 #define G_028C70_CMASK_ADDR_TYPE(x) (((x) >> 29) & 0x03) argument
7294 #define S_028C74_MIP0_DEPTH(x) (((unsigned)(x) & 0x7FF) << 0) argument
7295 #define G_028C74_MIP0_DEPTH(x) (((x) >> 0) & 0x7FF) argument
7297 #define S_028C74_META_LINEAR(x) (((unsigned)(x) & 0x1) << 11) argument
7298 #define G_028C74_META_LINEAR(x) (((x) >> 11) & 0x1) argument
7300 #define S_028C74_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 12) argument
7301 #define G_028C74_NUM_SAMPLES(x) (((x) >> 12) & 0x07) argument
7303 #define S_028C74_NUM_FRAGMENTS(x) (((unsigned)(x) & 0x03) << 15) argument
7304 #define G_028C74_NUM_FRAGMENTS(x) (((x) >> 15) & 0x03) argument
7306 #define S_028C74_FORCE_DST_ALPHA_1(x) (((unsigned)(x) & 0x1) << 17) argument
7307 #define G_028C74_FORCE_DST_ALPHA_1(x) (((x) >> 17) & 0x1) argument
7309 #define S_028C74_COLOR_SW_MODE(x) (((unsigned)(x) & 0x1F) << 18) argument
7310 #define G_028C74_COLOR_SW_MODE(x) (((x) >> 18) & 0x1F) argument
7312 #define S_028C74_FMASK_SW_MODE(x) (((unsigned)(x) & 0x1F) << 23) argument
7313 #define G_028C74_FMASK_SW_MODE(x) (((x) >> 23) & 0x1F) argument
7315 #define S_028C74_RESOURCE_TYPE(x) (((unsigned)(x) & 0x03) << 28) argument
7316 #define G_028C74_RESOURCE_TYPE(x) (((x) >> 28) & 0x03) argument
7322 #define S_028C74_RB_ALIGNED(x) (((unsigned)(x) & 0x1) << 30) argument
7323 #define G_028C74_RB_ALIGNED(x) (((x) >> 30) & 0x1) argument
7325 #define S_028C74_PIPE_ALIGNED(x) (((unsigned)(x) & 0x1) << 31) argument
7326 #define G_028C74_PIPE_ALIGNED(x) (((x) >> 31) & 0x1) argument
7329 #define S_028C78_OVERWRITE_COMBINER_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
7330 #define G_028C78_OVERWRITE_COMBINER_DISABLE(x) (((x) >> 0) & 0x1) argument
7332 #define S_028C78_KEY_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
7333 #define G_028C78_KEY_CLEAR_ENABLE(x) (((x) >> 1) & 0x1) argument
7335 #define S_028C78_MAX_UNCOMPRESSED_BLOCK_SIZE(x) (((unsigned)(x) & 0x03) << 2) argument
7336 #define G_028C78_MAX_UNCOMPRESSED_BLOCK_SIZE(x) (((x) >> 2) & 0x03) argument
7338 #define S_028C78_MIN_COMPRESSED_BLOCK_SIZE(x) (((unsigned)(x) & 0x1) << 4) argument
7339 #define G_028C78_MIN_COMPRESSED_BLOCK_SIZE(x) (((x) >> 4) & 0x1) argument
7341 #define S_028C78_MAX_COMPRESSED_BLOCK_SIZE(x) (((unsigned)(x) & 0x03) << 5) argument
7342 #define G_028C78_MAX_COMPRESSED_BLOCK_SIZE(x) (((x) >> 5) & 0x03) argument
7344 #define S_028C78_COLOR_TRANSFORM(x) (((unsigned)(x) & 0x03) << 7) argument
7345 #define G_028C78_COLOR_TRANSFORM(x) (((x) >> 7) & 0x03) argument
7347 #define S_028C78_INDEPENDENT_64B_BLOCKS(x) (((unsigned)(x) & 0x1) << 9) argument
7348 #define G_028C78_INDEPENDENT_64B_BLOCKS(x) (((x) >> 9) & 0x1) argument
7350 #define S_028C78_LOSSY_RGB_PRECISION(x) (((unsigned)(x) & 0x0F) << 10) argument
7351 #define G_028C78_LOSSY_RGB_PRECISION(x) (((x) >> 10) & 0x0F) argument
7353 #define S_028C78_LOSSY_ALPHA_PRECISION(x) (((unsigned)(x) & 0x0F) << 14) argument
7354 #define G_028C78_LOSSY_ALPHA_PRECISION(x) (((x) >> 14) & 0x0F) argument
7358 #define S_028C80_BASE_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
7359 #define G_028C80_BASE_256B(x) (((x) >> 0) & 0xFF) argument
7363 #define S_028C88_BASE_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
7364 #define G_028C88_BASE_256B(x) (((x) >> 0) & 0xFF) argument
7370 #define S_028C98_BASE_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
7371 #define G_028C98_BASE_256B(x) (((x) >> 0) & 0xFF) argument