Lines Matching defs:x
51 #define EVENT_TYPE(x) ((x) << 0) argument
52 #define EVENT_INDEX(x) ((x) << 8) argument
104 #define PKT_TYPE_S(x) (((x) & 0x3) << 30) argument
105 #define PKT_TYPE_G(x) (((x) >> 30) & 0x3) argument
107 #define PKT_COUNT_S(x) (((x) & 0x3FFF) << 16) argument
108 #define PKT_COUNT_G(x) (((x) >> 16) & 0x3FFF) argument
110 #define PKT0_BASE_INDEX_S(x) (((x) & 0xFFFF) << 0) argument
111 #define PKT0_BASE_INDEX_G(x) (((x) >> 0) & 0xFFFF) argument
113 #define PKT3_IT_OPCODE_S(x) (((x) & 0xFF) << 8) argument
114 #define PKT3_IT_OPCODE_G(x) (((x) >> 8) & 0xFF) argument
116 #define PKT3_PREDICATE(x) (((x) >> 0) & 0x1) argument
121 #define S_0084FC_OFFSET_UPDATE_DONE(x) (((x) & 0x1) << 0) argument
127 #define S_008C00_VC_ENABLE(x) (((x) & 0x1) << 0) argument
128 #define G_008C00_VC_ENABLE(x) (((x) >> 0) & 0x1) argument
129 #define C_008C00_VC_ENABLE(x) 0xFFFFFFFE argument
130 #define S_008C00_EXPORT_SRC_C(x) (((x) & 0x1) << 1) argument
131 #define G_008C00_EXPORT_SRC_C(x) (((x) >> 1) & 0x1) argument
132 #define C_008C00_EXPORT_SRC_C(x) 0xFFFFFFFD argument
134 #define S_008C00_CS_PRIO(x) (((x) & 0x3) << 18) argument
135 #define G_008C00_CS_PRIO(x) (((x) >> 18) & 0x3) argument
136 #define C_008C00_CS_PRIO(x) 0xFFF3FFFF argument
137 #define S_008C00_LS_PRIO(x) (((x) & 0x3) << 20) argument
138 #define G_008C00_LS_PRIO(x) (((x) >> 20) & 0x3) argument
139 #define C_008C00_LS_PRIO(x) 0xFFCFFFFF argument
140 #define S_008C00_HS_PRIO(x) (((x) & 0x3) << 22) argument
141 #define G_008C00_HS_PRIO(x) (((x) >> 22) & 0x3) argument
142 #define C_008C00_HS_PRIO(x) 0xFF3FFFFF argument
143 #define S_008C00_PS_PRIO(x) (((x) & 0x3) << 24) argument
144 #define G_008C00_PS_PRIO(x) (((x) >> 24) & 0x3) argument
145 #define C_008C00_PS_PRIO(x) 0xFCFFFFFF argument
146 #define S_008C00_VS_PRIO(x) (((x) & 0x3) << 26) argument
147 #define G_008C00_VS_PRIO(x) (((x) >> 26) & 0x3) argument
148 #define C_008C00_VS_PRIO(x) 0xF3FFFFFF argument
149 #define S_008C00_GS_PRIO(x) (((x) & 0x3) << 28) argument
150 #define G_008C00_GS_PRIO(x) (((x) >> 28) & 0x3) argument
151 #define C_008C00_GS_PRIO(x) 0xCFFFFFFF argument
152 #define S_008C00_ES_PRIO(x) (((x) & 0x3) << 30) argument
153 #define G_008C00_ES_PRIO(x) (((x) >> 30) & 0x3) argument
154 #define C_008C00_ES_PRIO(x) 0x3FFFFFFF argument
156 #define S_008C04_NUM_PS_GPRS(x) (((x) & 0xFF) << 0) argument
157 #define G_008C04_NUM_PS_GPRS(x) (((x) >> 0) & 0xFF) argument
158 #define C_008C04_NUM_PS_GPRS(x) 0xFFFFFF00 argument
159 #define S_008C04_NUM_VS_GPRS(x) (((x) & 0xFF) << 16) argument
160 #define G_008C04_NUM_VS_GPRS(x) (((x) >> 16) & 0xFF) argument
161 #define C_008C04_NUM_VS_GPRS(x) 0xFF00FFFF argument
162 #define S_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((x) & 0xF) << 28) argument
163 #define G_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((x) >> 28) & 0xF) argument
164 #define C_008C04_NUM_CLAUSE_TEMP_GPRS(x) 0x0FFFFFFF argument
166 #define S_008C08_NUM_GS_GPRS(x) (((x) & 0xFF) << 0) argument
167 #define G_008C08_NUM_GS_GPRS(x) (((x) >> 0) & 0xFF) argument
168 #define C_008C08_NUM_GS_GPRS(x) 0xFFFFFF00 argument
169 #define S_008C08_NUM_ES_GPRS(x) (((x) & 0xFF) << 16) argument
170 #define G_008C08_NUM_ES_GPRS(x) (((x) >> 16) & 0xFF) argument
171 #define C_008C08_NUM_ES_GPRS(x) 0xFF00FFFF argument
173 #define S_008C0C_NUM_HS_GPRS(x) (((x) & 0xFF) << 0) argument
174 #define G_008C0C_NUM_HS_GPRS(x) (((x) >> 0) & 0xFF) argument
175 #define C_008C0C_NUM_HS_GPRS(x) 0xFFFFFF00 argument
176 #define S_008C0C_NUM_LS_GPRS(x) (((x) & 0xFF) << 16) argument
177 #define G_008C0C_NUM_LS_GPRS(x) (((x) >> 16) & 0xFF) argument
178 #define C_008C0C_NUM_LS_GPRS(x) 0xFF00FFFF argument
184 #define S_008C18_NUM_PS_THREADS(x) (((x) & 0xFF) << 0) argument
185 #define G_008C18_NUM_PS_THREADS(x) (((x) >> 0) & 0xFF) argument
186 #define C_008C18_NUM_PS_THREADS(x) 0xFFFFFF00 argument
187 #define S_008C18_NUM_VS_THREADS(x) (((x) & 0xFF) << 8) argument
188 #define G_008C18_NUM_VS_THREADS(x) (((x) >> 8) & 0xFF) argument
189 #define C_008C18_NUM_VS_THREADS(x) 0xFFFF00FF argument
190 #define S_008C18_NUM_GS_THREADS(x) (((x) & 0xFF) << 16) argument
191 #define G_008C18_NUM_GS_THREADS(x) (((x) >> 16) & 0xFF) argument
192 #define C_008C18_NUM_GS_THREADS(x) 0xFF00FFFF argument
193 #define S_008C18_NUM_ES_THREADS(x) (((x) & 0xFF) << 24) argument
194 #define G_008C18_NUM_ES_THREADS(x) (((x) >> 24) & 0xFF) argument
195 #define C_008C18_NUM_ES_THREADS(x) 0x00FFFFFF argument
197 #define S_008C1C_NUM_HS_THREADS(x) (((x) & 0xFF) << 0) argument
198 #define G_008C1C_NUM_HS_THREADS(x) (((x) >> 0) & 0xFF) argument
199 #define C_008C1C_NUM_HS_THREADS(x) 0xFFFFFF00 argument
200 #define S_008C1C_NUM_LS_THREADS(x) (((x) & 0xFF) << 8) argument
201 #define G_008C1C_NUM_LS_THREADS(x) (((x) >> 8) & 0xFF) argument
202 #define C_008C1C_NUM_LS_THREADS(x) 0xFFFF00FF argument
204 #define S_008C20_NUM_PS_STACK_ENTRIES(x) (((x) & 0xFFF) << 0) argument
205 #define G_008C20_NUM_PS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
206 #define C_008C20_NUM_PS_STACK_ENTRIES(x) 0xFFFFF000 argument
207 #define S_008C20_NUM_VS_STACK_ENTRIES(x) (((x) & 0xFFF) << 16) argument
208 #define G_008C20_NUM_VS_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
209 #define C_008C20_NUM_VS_STACK_ENTRIES(x) 0xF000FFFF argument
211 #define S_008C24_NUM_GS_STACK_ENTRIES(x) (((x) & 0xFFF) << 0) argument
212 #define G_008C24_NUM_GS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
213 #define C_008C24_NUM_GS_STACK_ENTRIES(x) 0xFFFFF000 argument
214 #define S_008C24_NUM_ES_STACK_ENTRIES(x) (((x) & 0xFFF) << 16) argument
215 #define G_008C24_NUM_ES_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
216 #define C_008C24_NUM_ES_STACK_ENTRIES(x) 0xF000FFFF argument
218 #define S_008C28_NUM_HS_STACK_ENTRIES(x) (((x) & 0xFFF) << 0) argument
219 #define G_008C28_NUM_HS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
220 #define C_008C28_NUM_HS_STACK_ENTRIES(x) 0xFFFFF000 argument
221 #define S_008C28_NUM_LS_STACK_ENTRIES(x) (((x) & 0xFFF) << 16) argument
222 #define G_008C28_NUM_LS_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
223 #define C_008C28_NUM_LS_STACK_ENTRIES(x) 0xF000FFFF argument
225 #define S_008E2C_NUM_PS_LDS(x) (((x) & 0xFFFF) << 0) argument
226 #define G_008E2C_NUM_PS_LDS(x) (((x) >> 0) & 0xFFFF) argument
227 #define C_008E2C_NUM_PS_LDS(x) 0x0000FFFF argument
228 #define S_008E2C_NUM_LS_LDS(x) (((x) & 0xFFFF) << 16) argument
229 #define G_008E2C_NUM_LS_LDS(x) (((x) >> 16) & 0xFFFF) argument
230 #define C_008E2C_NUM_LS_LDS(x) 0xFFFF0000 argument
233 #define S_008CF0_CACHE_FIFO_SIZE(x) (((x) & 0xFF) << 0) argument
234 #define G_008CF0_CACHE_FIFO_SIZE(x) (((x) >> 0) & 0xFF) argument
235 #define C_008CF0_CACHE_FIFO_SIZE(x) 0xFFFFFF00 argument
236 #define S_008CF0_FETCH_FIFO_HIWATER(x) (((x) & 0x1F) << 8) argument
237 #define G_008CF0_FETCH_FIFO_HIWATER(x) (((x) >> 8) & 0x1F) argument
238 #define C_008CF0_FETCH_FIFO_HIWATER(x) 0xFFFFE0FF argument
239 #define S_008CF0_DONE_FIFO_HIWATER(x) (((x) & 0xFF) << 16) argument
240 #define G_008CF0_DONE_FIFO_HIWATER(x) (((x) >> 16) & 0xFF) argument
241 #define C_008CF0_DONE_FIFO_HIWATER(x) 0xFF00FFFF argument
242 #define S_008CF0_ALU_UPDATE_FIFO_HIWATER(x) (((x) & 0x1F) << 24) argument
243 #define G_008CF0_ALU_UPDATE_FIFO_HIWATER(x) (((x) >> 24) & 0x1F) argument
244 #define C_008CF0_ALU_UPDATE_FIFO_HIWATER(x) 0xE0FFFFFF argument
257 #define S_00913C_VTX_DONE_DELAY(x) (((x) & 0xF) << 0) argument
258 #define G_00913C_VTX_DONE_DELAY(x) (((x) >> 0) & 0xF ) argument
259 #define C_00913C_VTX_DONE_DELAY(x) 0xFFFFFFF0 argument
263 #define S_028C64_PITCH_TILE_MAX(x) (((x) & 0x7FF) << 0) argument
264 #define G_028C64_PITCH_TILE_MAX(x) (((x) >> 0) & 0x7FF) argument
267 #define S_028C68_SLICE_TILE_MAX(x) (((x) & 0x3FFFFF) << 0) argument
268 #define G_028C68_SLICE_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument
271 #define S_028C70_ENDIAN(x) (((x) & 0x3) << 0) argument
272 #define G_028C70_ENDIAN(x) (((x) >> 0) & 0x3) argument
274 #define S_028C70_FORMAT(x) (((x) & 0x3F) << 2) argument
275 #define G_028C70_FORMAT(x) (((x) >> 2) & 0x3F) argument
312 #define S_028C70_ARRAY_MODE(x) (((x) & 0xF) << 8) argument
313 #define G_028C70_ARRAY_MODE(x) (((x) >> 8) & 0xF) argument
319 #define S_028C70_NUMBER_TYPE(x) (((x) & 0x7) << 12) argument
320 #define G_028C70_NUMBER_TYPE(x) (((x) >> 12) & 0x7) argument
330 #define S_028C70_COMP_SWAP(x) (((x) & 0x3) << 15) argument
331 #define G_028C70_COMP_SWAP(x) (((x) >> 15) & 0x3) argument
337 #define S_028C70_FAST_CLEAR(x) (((x) & 0x1) << 17) argument
338 #define G_028C70_FAST_CLEAR(x) (((x) >> 17) & 0x1) argument
340 #define S_028C70_COMPRESSION(x) (((x) & 0x3) << 18) argument
341 #define G_028C70_COMPRESSION(x) (((x) >> 18) & 0x3) argument
343 #define S_028C70_BLEND_CLAMP(x) (((x) & 0x1) << 19) argument
344 #define G_028C70_BLEND_CLAMP(x) (((x) >> 19) & 0x1) argument
346 #define S_028C70_BLEND_BYPASS(x) (((x) & 0x1) << 20) argument
347 #define G_028C70_BLEND_BYPASS(x) (((x) >> 20) & 0x1) argument
349 #define S_028C70_SIMPLE_FLOAT(x) (((x) & 0x1) << 21) argument
350 #define G_028C70_SIMPLE_FLOAT(x) (((x) >> 21) & 0x1) argument
352 #define S_028C70_ROUND_MODE(x) (((x) & 0x1) << 22) argument
353 #define G_028C70_ROUND_MODE(x) (((x) >> 22) & 0x1) argument
355 #define S_028C70_TILE_COMPACT(x) (((x) & 0x1) << 23) argument
356 #define G_028C70_TILE_COMPACT(x) (((x) >> 23) & 0x1) argument
358 #define S_028C70_SOURCE_FORMAT(x) (((x) & 0x3) << 24) argument
359 #define G_028C70_SOURCE_FORMAT(x) (((x) >> 24) & 0x3) argument
364 #define S_028C70_RAT(x) (((x) & 0x1) << 26) argument
365 #define G_028C70_RAT(x) (((x) >> 26) & 0x1) argument
367 #define S_028C70_RESOURCE_TYPE(x) (((x) & 0x7) << 27) argument
368 #define G_028C70_RESOURCE_TYPE(x) (((x) >> 27) & 0x7) argument
372 #define S_028C74_NON_DISP_TILING_ORDER(x) (((x) & 0x1) << 4) argument
373 #define G_028C74_NON_DISP_TILING_ORDER(x) (((x) >> 4) & 0x1) argument
375 #define S_028C74_TILE_SPLIT(x) (((x) & 0xf) << 5) argument
376 #define S_028C74_NUM_BANKS(x) (((x) & 0x3) << 10) argument
377 #define S_028C74_BANK_WIDTH(x) (((x) & 0x3) << 13) argument
378 #define S_028C74_BANK_HEIGHT(x) (((x) & 0x3) << 16) argument
379 #define S_028C74_MACRO_TILE_ASPECT(x) (((x) & 0x3) << 19) argument
380 #define S_028C74_FMASK_BANK_HEIGHT(x) (((x) & 0x3) << 22) argument
381 #define S_028C74_NUM_SAMPLES(x) (((x) & 0x7) << 24) /* cayman only */ argument
382 #define S_028C74_NUM_FRAGMENTS(x) (((x) & 0x3) << 27) /* cayman only */ argument
383 #define S_028C74_FORCE_DST_ALPHA_1(x) (((x) & 0x1) << 31) /* cayman only */ argument
386 #define S_028C78_WIDTH_MAX(x) (((x) & 0xFFFF) << 0) argument
387 #define G_028C78_WIDTH_MAX(x) (((x) >> 0) & 0xFFFF) argument
389 #define S_028C78_HEIGHT_MAX(x) (((x) & 0xFFFF) << 16) argument
390 #define G_028C78_HEIGHT_MAX(x) (((x) >> 16) & 0xFFFF) argument
396 #define S_028410_ALPHA_FUNC(x) (((x) & 0x7) << 0) argument
397 #define G_028410_ALPHA_FUNC(x) (((x) >> 0) & 0x7) argument
399 #define S_028410_ALPHA_TEST_ENABLE(x) (((x) & 0x1) << 3) argument
400 #define G_028410_ALPHA_TEST_ENABLE(x) (((x) >> 3) & 0x1) argument
402 #define S_028410_ALPHA_TEST_BYPASS(x) (((x) & 0x1) << 8) argument
403 #define G_028410_ALPHA_TEST_BYPASS(x) (((x) >> 8) & 0x1) argument
412 #define S_028800_STENCIL_ENABLE(x) (((x) & 0x1) << 0) argument
413 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
415 #define S_028800_Z_ENABLE(x) (((x) & 0x1) << 1) argument
416 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
418 #define S_028800_Z_WRITE_ENABLE(x) (((x) & 0x1) << 2) argument
419 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
421 #define S_028800_ZFUNC(x) (((x) & 0x7) << 4) argument
422 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x7) argument
424 #define S_028800_BACKFACE_ENABLE(x) (((x) & 0x1) << 7) argument
425 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
427 #define S_028800_STENCILFUNC(x) (((x) & 0x7) << 8) argument
428 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x7) argument
438 #define S_028800_STENCILFAIL(x) (((x) & 0x7) << 11) argument
439 #define G_028800_STENCILFAIL(x) (((x) >> 11) & 0x7) argument
449 #define S_028800_STENCILZPASS(x) (((x) & 0x7) << 14) argument
450 #define G_028800_STENCILZPASS(x) (((x) >> 14) & 0x7) argument
452 #define S_028800_STENCILZFAIL(x) (((x) & 0x7) << 17) argument
453 #define G_028800_STENCILZFAIL(x) (((x) >> 17) & 0x7) argument
455 #define S_028800_STENCILFUNC_BF(x) (((x) & 0x7) << 20) argument
456 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x7) argument
458 #define S_028800_STENCILFAIL_BF(x) (((x) & 0x7) << 23) argument
459 #define G_028800_STENCILFAIL_BF(x) (((x) >> 23) & 0x7) argument
461 #define S_028800_STENCILZPASS_BF(x) (((x) & 0x7) << 26) argument
462 #define G_028800_STENCILZPASS_BF(x) (((x) >> 26) & 0x7) argument
464 #define S_028800_STENCILZFAIL_BF(x) (((x) & 0x7) << 29) argument
465 #define G_028800_STENCILZFAIL_BF(x) (((x) >> 29) & 0x7) argument
469 #define S_028808_DEGAMMA_ENABLE(x) (((x) & 0x1) << 3) argument
470 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1) argument
472 #define S_028808_MODE(x) (((x) & 0x7) << 4) argument
473 #define G_028808_MODE(x) (((x) >> 4) & 0x7) argument
481 #define S_028808_ROP3(x) (((x) & 0xFF) << 16) argument
482 #define G_028808_ROP3(x) (((x) >> 16) & 0xFF) argument
485 #define S_028810_UCP_ENA_0(x) (((x) & 0x1) << 0) argument
486 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1) argument
488 #define S_028810_UCP_ENA_1(x) (((x) & 0x1) << 1) argument
489 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1) argument
491 #define S_028810_UCP_ENA_2(x) (((x) & 0x1) << 2) argument
492 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1) argument
494 #define S_028810_UCP_ENA_3(x) (((x) & 0x1) << 3) argument
495 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1) argument
497 #define S_028810_UCP_ENA_4(x) (((x) & 0x1) << 4) argument
498 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1) argument
500 #define S_028810_UCP_ENA_5(x) (((x) & 0x1) << 5) argument
501 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1) argument
503 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((x) & 0x1) << 13) argument
504 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1) argument
506 #define S_028810_PS_UCP_MODE(x) (((x) & 0x3) << 14) argument
507 #define G_028810_PS_UCP_MODE(x) (((x) >> 14) & 0x3) argument
509 #define S_028810_CLIP_DISABLE(x) (((x) & 0x1) << 16) argument
510 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1) argument
512 #define S_028810_UCP_CULL_ONLY_ENA(x) (((x) & 0x1) << 17) argument
513 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1) argument
515 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) & 0x1) << 18) argument
516 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1) argument
518 #define S_028810_DX_CLIP_SPACE_DEF(x) (((x) & 0x1) << 19) argument
519 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1) argument
521 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((x) & 0x1) << 20) argument
522 #define G_028810_DIS_CLIP_ERR_DETECT(x) (((x) >> 20) & 0x1) argument
524 #define S_028810_VTX_KILL_OR(x) (((x) & 0x1) << 21) argument
525 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1) argument
527 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) & 0x1) << 24) argument
528 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1) argument
530 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) & 0x1) << 25) argument
531 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1) argument
533 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((x) & 0x1) << 26) argument
534 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1) argument
536 #define S_028810_ZCLIP_FAR_DISABLE(x) (((x) & 0x1) << 27) argument
537 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1) argument
541 #define S_028040_FORMAT(x) (((x) & 0x3) << 0) argument
542 #define G_028040_FORMAT(x) (((x) >> 0) & 0x3) argument
548 #define S_028040_NUM_SAMPLES(x) (((x) & 0x3) << 2) /* cayman only */ argument
549 #define S_028040_ARRAY_MODE(x) (((x) & 0xF) << 4) argument
550 #define G_028040_ARRAY_MODE(x) (((x) >> 4) & 0xF) argument
552 #define S_028040_READ_SIZE(x) (((x) & 0x1) << 28) argument
553 #define G_028040_READ_SIZE(x) (((x) >> 28) & 0x1) argument
555 #define S_028040_TILE_SURFACE_ENABLE(x) (((x) & 0x1) << 29) argument
556 #define G_028040_TILE_SURFACE_ENABLE(x) (((x) >> 29) & 0x1) argument
558 #define S_028040_ZRANGE_PRECISION(x) (((x) & 0x1) << 31) argument
559 #define G_028040_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
561 #define S_028040_TILE_SPLIT(x) (((x) & 0x7) << 8) argument
562 #define S_028040_NUM_BANKS(x) (((x) & 0x3) << 12) argument
563 #define S_028040_BANK_WIDTH(x) (((x) & 0x3) << 16) argument
564 #define S_028040_BANK_HEIGHT(x) (((x) & 0x3) << 20) argument
565 #define S_028040_MACRO_TILE_ASPECT(x) (((x) & 0x3) << 24) argument
568 #define S_028044_FORMAT(x) (((x) & 0x1) << 0) argument
569 #define G_028044_FORMAT(x) (((x) >> 0) & 0x1) argument
571 #define S_028044_TILE_SPLIT(x) (((x) & 0x7) << 8) argument
574 #define S_028058_PITCH_TILE_MAX(x) (((x) & 0x7FF) << 0) argument
575 #define G_028058_PITCH_TILE_MAX(x) (((x) >> 0) & 0x7FF) argument
577 #define S_028058_HEIGHT_TILE_MAX(x) (((x) & 0x7FF) << 11) argument
578 #define G_028058_HEIGHT_TILE_MAX(x) (((x) >> 11) & 0x7FF) argument
582 #define S_02805C_SLICE_TILE_MAX(x) (((x) & 0x3FFFFF) << 0) argument
583 #define G_02805C_SLICE_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument
587 #define S_028430_STENCILREF(x) (((x) & 0xFF) << 0) argument
588 #define G_028430_STENCILREF(x) (((x) >> 0) & 0xFF) argument
590 #define S_028430_STENCILMASK(x) (((x) & 0xFF) << 8) argument
591 #define G_028430_STENCILMASK(x) (((x) >> 8) & 0xFF) argument
593 #define S_028430_STENCILWRITEMASK(x) (((x) & 0xFF) << 16) argument
594 #define G_028430_STENCILWRITEMASK(x) (((x) >> 16) & 0xFF) argument
597 #define S_028434_STENCILREF_BF(x) (((x) & 0xFF) << 0) argument
598 #define G_028434_STENCILREF_BF(x) (((x) >> 0) & 0xFF) argument
600 #define S_028434_STENCILMASK_BF(x) (((x) & 0xFF) << 8) argument
601 #define G_028434_STENCILMASK_BF(x) (((x) >> 8) & 0xFF) argument
603 #define S_028434_STENCILWRITEMASK_BF(x) (((x) & 0xFF) << 16) argument
604 #define G_028434_STENCILWRITEMASK_BF(x) (((x) >> 16) & 0xFF) argument
607 #define S_028780_COLOR_SRCBLEND(x) (((x) & 0x1F) << 0) argument
608 #define G_028780_COLOR_SRCBLEND(x) (((x) >> 0) & 0x1F) argument
631 #define S_028780_COLOR_COMB_FCN(x) (((x) & 0x7) << 5) argument
632 #define G_028780_COLOR_COMB_FCN(x) (((x) >> 5) & 0x7) argument
639 #define S_028780_COLOR_DESTBLEND(x) (((x) & 0x1F) << 8) argument
640 #define G_028780_COLOR_DESTBLEND(x) (((x) >> 8) & 0x1F) argument
642 #define S_028780_OPACITY_WEIGHT(x) (((x) & 0x1) << 13) argument
643 #define G_028780_OPACITY_WEIGHT(x) (((x) >> 13) & 0x1) argument
645 #define S_028780_ALPHA_SRCBLEND(x) (((x) & 0x1F) << 16) argument
646 #define G_028780_ALPHA_SRCBLEND(x) (((x) >> 16) & 0x1F) argument
648 #define S_028780_ALPHA_COMB_FCN(x) (((x) & 0x7) << 21) argument
649 #define G_028780_ALPHA_COMB_FCN(x) (((x) >> 21) & 0x7) argument
651 #define S_028780_ALPHA_DESTBLEND(x) (((x) & 0x1F) << 24) argument
652 #define G_028780_ALPHA_DESTBLEND(x) (((x) >> 24) & 0x1F) argument
654 #define S_028780_SEPARATE_ALPHA_BLEND(x) (((x) & 0x1) << 29) argument
655 #define G_028780_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1) argument
657 #define S_028780_BLEND_CONTROL_ENABLE(x) (((x) & 0x1) << 30) argument
658 #define G_028780_BLEND_CONTROL_ENABLE(x) (((x) >> 30) & 0x1) argument
661 #define S_028814_CULL_FRONT(x) (((x) & 0x1) << 0) argument
662 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1) argument
664 #define S_028814_CULL_BACK(x) (((x) & 0x1) << 1) argument
665 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1) argument
667 #define S_028814_FACE(x) (((x) & 0x1) << 2) argument
668 #define G_028814_FACE(x) (((x) >> 2) & 0x1) argument
670 #define S_028814_POLY_MODE(x) (((x) & 0x3) << 3) argument
671 #define G_028814_POLY_MODE(x) (((x) >> 3) & 0x3) argument
673 #define S_028814_POLYMODE_FRONT_PTYPE(x) (((x) & 0x7) << 5) argument
674 #define G_028814_POLYMODE_FRONT_PTYPE(x) (((x) >> 5) & 0x7) argument
676 #define S_028814_POLYMODE_BACK_PTYPE(x) (((x) & 0x7) << 8) argument
677 #define G_028814_POLYMODE_BACK_PTYPE(x) (((x) >> 8) & 0x7) argument
679 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) & 0x1) << 11) argument
680 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1) argument
682 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) & 0x1) << 12) argument
683 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1) argument
685 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) & 0x1) << 13) argument
686 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1) argument
688 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) & 0x1) << 16) argument
689 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1) argument
691 #define S_028814_PROVOKING_VTX_LAST(x) (((x) & 0x1) << 19) argument
692 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1) argument
694 #define S_028814_PERSP_CORR_DIS(x) (((x) & 0x1) << 20) argument
695 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1) argument
697 #define S_028814_MULTI_PRIM_IB_ENA(x) (((x) & 0x1) << 21) argument
698 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1) argument
702 #define S_028ABC_HTILE_WIDTH(x) (((x) & 0x1) << 0) argument
703 #define G_028ABC_HTILE_WIDTH(x) (((x) >> 0) & 0x1) argument
705 #define S_028ABC_HTILE_HEIGHT(x) (((x) & 0x1) << 1) argument
706 #define G_028ABC_HTILE_HEIGHT(x) (((x) >> 1) & 0x1) argument
708 #define S_028ABC_LINEAR(x) (((x) & 0x1) << 2) argument
709 #define G_028ABC_LINEAR(x) (((x) >> 2) & 0x1) argument
711 #define S_028ABC_FULL_CACHE(x) (((x) & 0x1) << 3) argument
712 #define G_028ABC_FULL_CACHE(x) (((x) >> 3) & 0x1) argument
714 #define S_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) & 0x1) << 4) argument
715 #define G_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) >> 4) & 0x1) argument
717 #define S_028ABC_PRELOAD(x) (((x) & 0x1) << 5) argument
718 #define G_028ABC_PRELOAD(x) (((x) >> 5) & 0x1) argument
720 #define S_028ABC_PREFETCH_WIDTH(x) (((x) & 0x3F) << 6) argument
721 #define G_028ABC_PREFETCH_WIDTH(x) (((x) >> 6) & 0x3F) argument
723 #define S_028ABC_PREFETCH_HEIGHT(x) (((x) & 0x3F) << 12) argument
724 #define G_028ABC_PREFETCH_HEIGHT(x) (((x) >> 12) & 0x3F) argument
727 #define S_02880C_Z_EXPORT_ENABLE(x) (((x) & 0x1) << 0) argument
728 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1) argument
730 #define S_02880C_STENCIL_EXPORT_ENABLE(x) (((x) & 0x1) << 1) argument
731 #define G_02880C_STENCIL_EXPORT_ENABLE(x) (((x) >> 1) & 0x1) argument
733 #define S_02880C_Z_ORDER(x) (((x) & 0x3) << 4) argument
734 #define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x3) argument
740 #define S_02880C_KILL_ENABLE(x) (((x) & 0x1) << 6) argument
741 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1) argument
743 #define S_02880C_DUAL_EXPORT_ENABLE(x) (((x) & 0x1) << 9) argument
744 #define G_02880C_DUAL_EXPORT_ENABLE(x) (((x) >> 9) & 0x1) argument
746 #define S_02880C_DB_SOURCE_FORMAT(x) (((x) & 0x3) << 13) argument
747 #define G_02880C_DB_SOURCE_FORMAT(x) (((x) >> 13) & 0x3) argument
752 #define S_02880C_ALPHA_TO_MASK_DISABLE(x) (((x) & 0x1) << 12) argument
755 #define S_028A00_HEIGHT(x) (((x) & 0xFFFF) << 0) argument
756 #define G_028A00_HEIGHT(x) (((x) >> 0) & 0xFFFF) argument
758 #define S_028A00_WIDTH(x) (((x) & 0xFFFF) << 16) argument
759 #define G_028A00_WIDTH(x) (((x) >> 16) & 0xFFFF) argument
762 #define S_028A0C_LINE_PATTERN(x) (((x) & 0xFFFF) << 0) argument
763 #define S_028A0C_REPEAT_COUNT(x) (((x) & 0xFF) << 16) argument
764 #define S_028A0C_PATTERN_BIT_ORDER(x) (((x) & 0x1) << 28) argument
765 #define S_028A0C_AUTO_RESET_CNTL(x) (((x) & 0x3) << 29) argument
767 #define S_028A40_MODE(x) (((x) & 0x3) << 0) argument
768 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
770 #define S_028A40_ES_PASSTHRU(x) (((x) & 0x1) << 2) argument
771 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
773 #define S_028A40_CUT_MODE(x) (((x) & 0x3) << 3) argument
774 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
776 #define S_028A40_COMPUTE_MODE(x) (x << 14) argument
777 #define S_028A40_PARTIAL_THD_AT_EOI(x) (x << 17) argument
779 #define S_028A6C_OUTPRIM_TYPE(x) (((x) & 0x3F) << 0) argument
784 #define S_008040_WAIT_CP_DMA_IDLE(x) (((x) & 0x1) << 8) argument
785 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
787 #define S_008040_WAIT_CMDFIFO(x) (((x) & 0x1) << 10) argument
788 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
790 #define S_008040_WAIT_2D_IDLE(x) (((x) & 0x1) << 14) argument
791 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
793 #define S_008040_WAIT_3D_IDLE(x) (((x) & 0x1) << 15) argument
794 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
796 #define S_008040_WAIT_2D_IDLECLEAN(x) (((x) & 0x1) << 16) argument
797 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
799 #define S_008040_WAIT_3D_IDLECLEAN(x) (((x) & 0x1) << 17) argument
800 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
802 #define S_008040_WAIT_EXTERN_SIG(x) (((x) & 0x1) << 19) argument
803 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
805 #define S_008040_CMDFIFO_ENTRIES(x) (((x) & 0x1F) << 20) argument
806 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
811 #define S_0286CC_NUM_INTERP(x) (((x) & 0x3F) << 0) argument
812 #define G_0286CC_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
814 #define S_0286CC_POSITION_ENA(x) (((x) & 0x1) << 8) argument
815 #define G_0286CC_POSITION_ENA(x) (((x) >> 8) & 0x1) argument
817 #define S_0286CC_POSITION_CENTROID(x) (((x) & 0x1) << 9) argument
818 #define G_0286CC_POSITION_CENTROID(x) (((x) >> 9) & 0x1) argument
820 #define S_0286CC_POSITION_ADDR(x) (((x) & 0x1F) << 10) argument
821 #define G_0286CC_POSITION_ADDR(x) (((x) >> 10) & 0x1F) argument
823 #define S_0286CC_PARAM_GEN(x) (((x) & 0xF) << 15) argument
824 #define G_0286CC_PARAM_GEN(x) (((x) >> 15) & 0xF) argument
826 #define S_0286CC_PERSP_GRADIENT_ENA(x) (((x) & 0x1) << 28) argument
827 #define G_0286CC_PERSP_GRADIENT_ENA(x) (((x) >> 28) & 0x1) argument
829 #define S_0286CC_LINEAR_GRADIENT_ENA(x) (((x) & 0x1) << 29) argument
830 #define G_0286CC_LINEAR_GRADIENT_ENA(x) (((x) >> 29) & 0x1) argument
832 #define S_0286CC_POSITION_SAMPLE(x) (((x) & 0x1) << 30) argument
833 #define G_0286CC_POSITION_SAMPLE(x) (((x) >> 30) & 0x1) argument
836 #define S_0286D0_FRONT_FACE_ENA(x) (((x) & 0x1) << 8) argument
837 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 8) & 0x1) argument
839 #define S_0286D0_FRONT_FACE_CHAN(x) (((x) & 0x3) << 9) argument
840 #define G_0286D0_FRONT_FACE_CHAN(x) (((x) >> 9) & 0x3) argument
842 #define S_0286D0_FRONT_FACE_ALL_BITS(x) (((x) & 0x1) << 11) argument
843 #define G_0286D0_FRONT_FACE_ALL_BITS(x) (((x) >> 11) & 0x1) argument
845 #define S_0286D0_FRONT_FACE_ADDR(x) (((x) & 0x1F) << 12) argument
846 #define G_0286D0_FRONT_FACE_ADDR(x) (((x) >> 12) & 0x1F) argument
848 #define S_0286D0_FOG_ADDR(x) (((x) & 0x7F) << 17) argument
849 #define G_0286D0_FOG_ADDR(x) (((x) >> 17) & 0x7F) argument
851 #define S_0286D0_FIXED_PT_POSITION_ENA(x) (((x) & 0x1) << 24) argument
852 #define G_0286D0_FIXED_PT_POSITION_ENA(x) (((x) >> 24) & 0x1) argument
854 #define S_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) & 0x1F) << 25) argument
855 #define G_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) >> 25) & 0x1F) argument
858 #define S_0286C4_VS_PER_COMPONENT(x) (((x) & 0x1) << 0) argument
859 #define G_0286C4_VS_PER_COMPONENT(x) (((x) >> 0) & 0x1) argument
861 #define S_0286C4_VS_EXPORT_COUNT(x) (((x) & 0x1F) << 1) argument
862 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
864 #define S_0286C4_VS_EXPORTS_FOG(x) (((x) & 0x1) << 8) argument
865 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 8) & 0x1) argument
867 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) & 0x1F) << 9) argument
868 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 9) & 0x1F) argument
872 #define S_0286E0_PERSP_CENTER_ENA(x) (((x) & 0x3) << 0) argument
873 #define G_0286E0_PERSP_CENTER_ENA(x) (((x) >> 0) & 0x3) argument
875 #define S_0286E0_PERSP_CENTROID_ENA(x) (((x) & 0x3) << 4) argument
876 #define G_0286E0_PERSP_CENTROID_ENA(x) (((x) >> 4) & 0x3) argument
878 #define S_0286E0_PERSP_SAMPLE_ENA(x) (((x) & 0x3) << 8) argument
879 #define G_0286E0_PERSP_SAMPLE_ENA(x) (((x) >> 8) & 0x3) argument
881 #define S_0286E0_PERSP_PULL_MODEL_ENA(x) (((x) & 0x3) << 12) argument
882 #define G_0286E0_PERSP_PULL_MODEL_ENA(x) (((x) >> 12) & 0x3) argument
884 #define S_0286E0_LINEAR_CENTER_ENA(x) (((x) & 0x3) << 16) argument
885 #define G_0286E0_LINEAR_CENTER_ENA(x) (((x) >> 16) & 0x3) argument
887 #define S_0286E0_LINEAR_CENTROID_ENA(x) (((x) & 0x3) << 20) argument
888 #define G_0286E0_LINEAR_CENTROID_ENA(x) (((x) >> 20) & 0x3) argument
890 #define S_0286E0_LINEAR_SAMPLE_ENA(x) (((x) & 0x3) << 24) argument
891 #define G_0286E0_LINEAR_SAMPLE_ENA(x) (((x) >> 24) & 0x3) argument
897 #define S_028250_TL_X(x) (((x) & 0x7FFF) << 0) argument
898 #define G_028250_TL_X(x) (((x) >> 0) & 0x7FFF) argument
900 #define S_028250_TL_Y(x) (((x) & 0x7FFF) << 16) argument
901 #define G_028250_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
903 #define S_028250_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
904 #define G_028250_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
907 #define S_028254_BR_X(x) (((x) & 0x7FFF) << 0) argument
908 #define G_028254_BR_X(x) (((x) >> 0) & 0x7FFF) argument
910 #define S_028254_BR_Y(x) (((x) & 0x7FFF) << 16) argument
911 #define G_028254_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
915 #define S_028240_TL_X(x) (((x) & 0x7FFF) << 0) argument
916 #define G_028240_TL_X(x) (((x) >> 0) & 0x7FFF) argument
918 #define S_028240_TL_Y(x) (((x) & 0x7FFF) << 16) argument
919 #define G_028240_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
921 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
922 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
925 #define S_028244_BR_X(x) (((x) & 0x7FFF) << 0) argument
926 #define G_028244_BR_X(x) (((x) >> 0) & 0x7FFF) argument
928 #define S_028244_BR_Y(x) (((x) & 0x7FFF) << 16) argument
929 #define G_028244_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
933 #define S_028030_TL_X(x) (((x) & 0xFFFF) << 0) argument
934 #define G_028030_TL_X(x) (((x) >> 0) & 0xFFFF) argument
936 #define S_028030_TL_Y(x) (((x) & 0xFFFF) << 16) argument
937 #define G_028030_TL_Y(x) (((x) >> 16) & 0xFFFF) argument
940 #define S_028034_BR_X(x) (((x) & 0xFFFF) << 0) argument
941 #define G_028034_BR_X(x) (((x) >> 0) & 0xFFFF) argument
943 #define S_028034_BR_Y(x) (((x) & 0xFFFF) << 16) argument
944 #define G_028034_BR_Y(x) (((x) >> 16) & 0xFFFF) argument
948 #define S_028204_TL_X(x) (((x) & 0x7FFF) << 0) argument
949 #define G_028204_TL_X(x) (((x) >> 0) & 0x7FFF) argument
951 #define S_028204_TL_Y(x) (((x) & 0x7FFF) << 16) argument
952 #define G_028204_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
954 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((x) & 0x1) << 31) argument
955 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
958 #define S_028208_BR_X(x) (((x) & 0x7FFF) << 0) argument
959 #define G_028208_BR_X(x) (((x) >> 0) & 0x7FFF) argument
961 #define S_028208_BR_Y(x) (((x) & 0x7FFF) << 16) argument
962 #define G_028208_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
966 #define S_0287F0_SOURCE_SELECT(x) (((x) & 0x3) << 0) argument
967 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x3) argument
969 #define S_0287F0_MAJOR_MODE(x) (((x) & 0x3) << 2) argument
970 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x3) argument
972 #define S_0287F0_SPRITE_EN(x) (((x) & 0x1) << 4) argument
973 #define G_0287F0_SPRITE_EN(x) (((x) >> 4) & 0x1) argument
975 #define S_0287F0_NOT_EOP(x) (((x) & 0x1) << 5) argument
976 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
978 #define S_0287F0_USE_OPAQUE(x) (((x) & 0x1) << 6) argument
979 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
983 #define S_030000_DIM(x) (((x) & 0x7) << 0) argument
984 #define G_030000_DIM(x) (((x) >> 0) & 0x7) argument
994 #define S_030000_NON_DISP_TILING_ORDER(x) (((x) & 0x1) << 5) argument
995 #define G_030000_NON_DISP_TILING_ORDER(x) (((x) >> 5) & 0x1) argument
997 #define CM_S_030000_NON_DISP_TILING_ORDER(x) (((x) & 0x3) << 4) argument
998 #define CM_G_030000_NON_DISP_TILING_ORDER(x) (((x) >> 4) & 0x3) argument
1000 #define S_030000_PITCH(x) (((x) & 0xFFF) << 6) argument
1001 #define G_030000_PITCH(x) (((x) >> 6) & 0xFFF) argument
1003 #define S_030000_TEX_WIDTH(x) (((x) & 0x3FFF) << 18) argument
1004 #define G_030000_TEX_WIDTH(x) (((x) >> 18) & 0x3FFF) argument
1007 #define S_030004_TEX_HEIGHT(x) (((x) & 0x3FFF) << 0) argument
1008 #define G_030004_TEX_HEIGHT(x) (((x) >> 0) & 0x3FFF) argument
1010 #define S_030004_TEX_DEPTH(x) (((x) & 0x1FFF) << 14) argument
1011 #define G_030004_TEX_DEPTH(x) (((x) >> 14) & 0x1FFF) argument
1013 #define S_030004_ARRAY_MODE(x) (((x) & 0xF) << 28) argument
1014 #define G_030004_ARRAY_MODE(x) (((x) >> 28) & 0xF) argument
1017 #define S_030008_BASE_ADDRESS(x) (((x) & 0xFFFFFFFF) << 0) argument
1018 #define G_030008_BASE_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1021 #define S_03000C_MIP_ADDRESS(x) (((x) & 0xFFFFFFFF) << 0) argument
1022 #define G_03000C_MIP_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1025 #define S_030010_FORMAT_COMP_X(x) (((x) & 0x3) << 0) argument
1026 #define G_030010_FORMAT_COMP_X(x) (((x) >> 0) & 0x3) argument
1031 #define S_030010_FORMAT_COMP_Y(x) (((x) & 0x3) << 2) argument
1032 #define G_030010_FORMAT_COMP_Y(x) (((x) >> 2) & 0x3) argument
1034 #define S_030010_FORMAT_COMP_Z(x) (((x) & 0x3) << 4) argument
1035 #define G_030010_FORMAT_COMP_Z(x) (((x) >> 4) & 0x3) argument
1037 #define S_030010_FORMAT_COMP_W(x) (((x) & 0x3) << 6) argument
1038 #define G_030010_FORMAT_COMP_W(x) (((x) >> 6) & 0x3) argument
1040 #define S_030010_NUM_FORMAT_ALL(x) (((x) & 0x3) << 8) argument
1041 #define G_030010_NUM_FORMAT_ALL(x) (((x) >> 8) & 0x3) argument
1046 #define S_030010_SRF_MODE_ALL(x) (((x) & 0x1) << 10) argument
1047 #define G_030010_SRF_MODE_ALL(x) (((x) >> 10) & 0x1) argument
1051 #define S_030010_FORCE_DEGAMMA(x) (((x) & 0x1) << 11) argument
1052 #define G_030010_FORCE_DEGAMMA(x) (((x) >> 11) & 0x1) argument
1054 #define S_030010_ENDIAN_SWAP(x) (((x) & 0x3) << 12) argument
1055 #define G_030010_ENDIAN_SWAP(x) (((x) >> 12) & 0x3) argument
1057 #define S_030010_LOG2_NUM_FRAGMENTS(x) (((x) & 0x3) << 14) /* cayman only */ argument
1058 #define S_030010_DST_SEL_X(x) (((x) & 0x7) << 16) argument
1059 #define G_030010_DST_SEL_X(x) (((x) >> 16) & 0x7) argument
1067 #define S_030010_DST_SEL_Y(x) (((x) & 0x7) << 19) argument
1068 #define G_030010_DST_SEL_Y(x) (((x) >> 19) & 0x7) argument
1070 #define S_030010_DST_SEL_Z(x) (((x) & 0x7) << 22) argument
1071 #define G_030010_DST_SEL_Z(x) (((x) >> 22) & 0x7) argument
1073 #define S_030010_DST_SEL_W(x) (((x) & 0x7) << 25) argument
1074 #define G_030010_DST_SEL_W(x) (((x) >> 25) & 0x7) argument
1076 #define S_030010_BASE_LEVEL(x) (((x) & 0xF) << 28) argument
1077 #define G_030010_BASE_LEVEL(x) (((x) >> 28) & 0xF) argument
1080 #define S_030014_LAST_LEVEL(x) (((x) & 0xF) << 0) argument
1081 #define G_030014_LAST_LEVEL(x) (((x) >> 0) & 0xF) argument
1083 #define S_030014_BASE_ARRAY(x) (((x) & 0x1FFF) << 4) argument
1084 #define G_030014_BASE_ARRAY(x) (((x) >> 4) & 0x1FFF) argument
1086 #define S_030014_LAST_ARRAY(x) (((x) & 0x1FFF) << 17) argument
1087 #define G_030014_LAST_ARRAY(x) (((x) >> 17) & 0x1FFF) argument
1090 #define S_030018_MAX_ANISO(x) (((x) & 0x7) << 0) argument
1091 #define G_030018_MAX_ANISO(x) (((x) >> 0) & 0x7) argument
1093 #define S_030018_PERF_MODULATION(x) (((x) & 0x7) << 3) argument
1094 #define G_030018_PERF_MODULATION(x) (((x) >> 3) & 0x7) argument
1096 #define S_030018_INTERLACED(x) (((x) & 0x1) << 6) argument
1097 #define G_030018_INTERLACED(x) (((x) >> 6) & 0x1) argument
1099 #define S_030018_TILE_SPLIT(x) (((x) & 0x7) << 29) argument
1101 #define S_03001C_MACRO_TILE_ASPECT(x) (((x) & 0x3) << 6) argument
1102 #define S_03001C_BANK_WIDTH(x) (((x) & 0x3) << 8) argument
1103 #define S_03001C_BANK_HEIGHT(x) (((x) & 0x3) << 10) argument
1104 #define S_03001C_NUM_BANKS(x) (((x) & 0x3) << 16) argument
1105 #define S_03001C_TYPE(x) (((x) & 0x3) << 30) argument
1106 #define G_03001C_TYPE(x) (((x) >> 30) & 0x3) argument
1112 #define S_03001C_DATA_FORMAT(x) (((x) & 0x3F) << 0) argument
1113 #define G_03001C_DATA_FORMAT(x) (((x) >> 0) & 0x3F) argument
1117 #define S_030008_BASE_ADDRESS_HI(x) (((x) & 0xFF) << 0) argument
1118 #define G_030008_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFF) argument
1120 #define S_030008_STRIDE(x) (((x) & 0x7FF) << 8) argument
1121 #define G_030008_STRIDE(x) (((x) >> 8) & 0x7FF) argument
1123 #define S_030008_CLAMP_X(x) (((x) & 0x1) << 19) argument
1124 #define G_030008_CLAMP_X(x) (((x) >> 19) & 0x1) argument
1126 #define S_030008_DATA_FORMAT(x) (((x) & 0x3F) << 20) argument
1127 #define G_030008_DATA_FORMAT(x) (((x) >> 20) & 0x3F) argument
1129 #define S_030008_NUM_FORMAT_ALL(x) (((x) & 0x3) << 26) argument
1130 #define G_030008_NUM_FORMAT_ALL(x) (((x) >> 26) & 0x3) argument
1135 #define S_030008_FORMAT_COMP_ALL(x) (((x) & 0x1) << 28) argument
1136 #define G_030008_FORMAT_COMP_ALL(x) (((x) >> 28) & 0x1) argument
1138 #define S_030008_SRF_MODE_ALL(x) (((x) & 0x1) << 29) argument
1139 #define G_030008_SRF_MODE_ALL(x) (((x) >> 29) & 0x1) argument
1141 #define S_030008_ENDIAN_SWAP(x) (((x) & 0x3) << 30) argument
1142 #define G_030008_ENDIAN_SWAP(x) (((x) >> 30) & 0x3) argument
1146 #define S_03000C_DST_SEL_X(x) (((x) & 0x7) << 3) argument
1147 #define G_03000C_DST_SEL_X(x) (((x) >> 3) & 0x7) argument
1154 #define S_03000C_DST_SEL_Y(x) (((x) & 0x7) << 6) argument
1155 #define G_03000C_DST_SEL_Y(x) (((x) >> 6) & 0x7) argument
1156 #define S_03000C_DST_SEL_Z(x) (((x) & 0x7) << 9) argument
1157 #define G_03000C_DST_SEL_Z(x) (((x) >> 9) & 0x7) argument
1158 #define S_03000C_DST_SEL_W(x) (((x) & 0x7) << 12) argument
1159 #define G_03000C_DST_SEL_W(x) (((x) >> 12) & 0x7) argument
1178 #define S_03C000_CLAMP_X(x) (((x) & 0x7) << 0) argument
1179 #define G_03C000_CLAMP_X(x) (((x) >> 0) & 0x7) argument
1189 #define S_03C000_CLAMP_Y(x) (((x) & 0x7) << 3) argument
1190 #define G_03C000_CLAMP_Y(x) (((x) >> 3) & 0x7) argument
1192 #define S_03C000_CLAMP_Z(x) (((x) & 0x7) << 6) argument
1193 #define G_03C000_CLAMP_Z(x) (((x) >> 6) & 0x7) argument
1195 #define S_03C000_XY_MAG_FILTER(x) (((x) & 0x3) << 9) argument
1196 #define G_03C000_XY_MAG_FILTER(x) (((x) >> 9) & 0x3) argument
1200 #define S_03C000_XY_MIN_FILTER(x) (((x) & 0x3) << 11) argument
1201 #define G_03C000_XY_MIN_FILTER(x) (((x) >> 11) & 0x3) argument
1203 #define S_03C000_Z_FILTER(x) (((x) & 0x3) << 13) argument
1204 #define G_03C000_Z_FILTER(x) (((x) >> 13) & 0x3) argument
1209 #define S_03C000_MIP_FILTER(x) (((x) & 0x3) << 15) argument
1210 #define G_03C000_MIP_FILTER(x) (((x) >> 15) & 0x3) argument
1212 #define S_03C000_MAX_ANISO(x) (((x) & 0x7) << 17) argument
1213 #define G_03C000_MAX_ANISO(x) (((x) >> 17) & 0x7) argument
1215 #define S_03C000_BORDER_COLOR_TYPE(x) (((x) & 0x3) << 20) argument
1216 #define G_03C000_BORDER_COLOR_TYPE(x) (((x) >> 20) & 0x3) argument
1222 #define S_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) & 0x7) << 22) argument
1223 #define G_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) >> 22) & 0x7) argument
1233 #define S_03C000_CHROMA_KEY(x) (((x) & 0x3) << 25) argument
1234 #define G_03C000_CHROMA_KEY(x) (((x) >> 25) & 0x3) argument
1241 #define S_03C004_MIN_LOD(x) (((x) & 0xFFF) << 0) argument
1242 #define G_03C004_MIN_LOD(x) (((x) >> 0) & 0xFFF) argument
1244 #define S_03C004_MAX_LOD(x) (((x) & 0xFFF) << 12) argument
1245 #define G_03C004_MAX_LOD(x) (((x) >> 12) & 0xFFF) argument
1248 #define S_03C004_PERF_MIP(x) (((x) & 0xF) << 24) argument
1249 #define G_03C004_PERF_MIP(x) (((x) >> 24) & 0xF) argument
1251 #define S_03C004_PERF_Z(x) (((x) & 0xF) << 28) argument
1252 #define G_03C004_PERF_Z(x) (((x) >> 24) & 0xF) argument
1256 #define S_03C008_LOD_BIAS(x) (((x) & 0x3FFF) << 0) argument
1257 #define G_03C008_LOD_BIAS(x) (((x) >> 0) & 0x3FFF) argument
1259 #define S_03C008_LOD_BIAS_SEC(x) (((x) & 0x3F) << 14) argument
1260 #define G_03C008_LOD_BIAS_SEC(x) (((x) >> 14) & 0x3F) argument
1262 #define S_03C008_MC_COORD_TRUNCATE(x) (((x) & 0x1) << 20) argument
1263 #define G_03C008_MC_COORD_TRUNCATE(x) (((x) >> 20) & 0x1) argument
1265 #define S_03C008_FORCE_DEGAMMA(x) (((x) & 0x1) << 21) argument
1266 #define G_03C008_FORCE_DEGAMMA(x) (((x) >> 21) & 0x1) argument
1268 #define S_03C008_ANISO_BIAS(x) (((x) & 0x3f) << 22) argument
1269 #define G_03C008_ANISO_BIAS(x) (((x) >> 22) & 0x3f) argument
1271 #define S_03C008_TRUNCATE_COORD(x) (((x) & 0x1) << 28) argument
1272 #define G_03C008_TRUNCATE_COORD(x) (((x) >> 28) & 0x1) argument
1274 #define S_03C008_DISABLE_CUBE_WRAP(x) (((x) & 0x1) << 29) argument
1275 #define G_03C008_DISABLE_CUBE_WRAP(x) (((x) >> 29) & 0x1) argument
1277 #define S_03C008_TYPE(x) (((x) & 0x1) << 31) argument
1278 #define G_03C008_TYPE(x) (((x) >> 31) & 0x1) argument
1282 #define S_008958_PRIM_TYPE(x) (((x) & 0x3F) << 0) argument
1283 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
1315 #define S_02881C_CLIP_DIST_ENA_0(x) (((x) & 0x1) << 0) argument
1316 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1) argument
1318 #define S_02881C_CLIP_DIST_ENA_1(x) (((x) & 0x1) << 1) argument
1319 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1) argument
1321 #define S_02881C_CLIP_DIST_ENA_2(x) (((x) & 0x1) << 2) argument
1322 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1) argument
1324 #define S_02881C_CLIP_DIST_ENA_3(x) (((x) & 0x1) << 3) argument
1325 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1) argument
1327 #define S_02881C_CLIP_DIST_ENA_4(x) (((x) & 0x1) << 4) argument
1328 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1) argument
1330 #define S_02881C_CLIP_DIST_ENA_5(x) (((x) & 0x1) << 5) argument
1331 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1) argument
1333 #define S_02881C_CLIP_DIST_ENA_6(x) (((x) & 0x1) << 6) argument
1334 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1) argument
1336 #define S_02881C_CLIP_DIST_ENA_7(x) (((x) & 0x1) << 7) argument
1337 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1) argument
1339 #define S_02881C_CULL_DIST_ENA_0(x) (((x) & 0x1) << 8) argument
1340 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1) argument
1342 #define S_02881C_CULL_DIST_ENA_1(x) (((x) & 0x1) << 9) argument
1343 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1) argument
1345 #define S_02881C_CULL_DIST_ENA_2(x) (((x) & 0x1) << 10) argument
1346 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1) argument
1348 #define S_02881C_CULL_DIST_ENA_3(x) (((x) & 0x1) << 11) argument
1349 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1) argument
1351 #define S_02881C_CULL_DIST_ENA_4(x) (((x) & 0x1) << 12) argument
1352 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1) argument
1354 #define S_02881C_CULL_DIST_ENA_5(x) (((x) & 0x1) << 13) argument
1355 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1) argument
1357 #define S_02881C_CULL_DIST_ENA_6(x) (((x) & 0x1) << 14) argument
1358 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1) argument
1360 #define S_02881C_CULL_DIST_ENA_7(x) (((x) & 0x1) << 15) argument
1361 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1) argument
1363 #define S_02881C_USE_VTX_POINT_SIZE(x) (((x) & 0x1) << 16) argument
1364 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1) argument
1366 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((x) & 0x1) << 17) argument
1367 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1) argument
1369 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) & 0x1) << 18) argument
1370 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1) argument
1372 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) & 0x1) << 19) argument
1373 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1) argument
1375 #define S_02881C_USE_VTX_KILL_FLAG(x) (((x) & 0x1) << 20) argument
1376 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1) argument
1378 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) & 0x1) << 21) argument
1379 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1) argument
1381 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) & 0x1) << 22) argument
1382 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1) argument
1384 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) & 0x1) << 23) argument
1385 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1) argument
1389 #define S_028860_NUM_GPRS(x) (((x) & 0xFF) << 0) argument
1390 #define G_028860_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1392 #define S_028860_STACK_SIZE(x) (((x) & 0xFF) << 8) argument
1393 #define G_028860_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1395 #define S_028860_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
1396 #define G_028860_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1398 #define S_028860_UNCACHED_FIRST_INST(x) (((x) & 0x1) << 28) argument
1399 #define G_028860_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1403 #define S_028864_SINGLE_ROUND(x) (((x) & 0x3) << 0) argument
1404 #define G_028864_SINGLE_ROUND(x) (((x) >> 0) & 0x3) argument
1410 #define S_028864_DOUBLE_ROUND(x) (((x) & 0x3) << 2) argument
1411 #define G_028864_DOUBLE_ROUND(x) (((x) >> 2) & 0x3) argument
1413 #define S_028864_ALLOW_SINGLE_DENORM_IN(x) (((x) & 0x1) << 4) argument
1414 #define G_028864_ALLOW_SINGLE_DENORM_IN(x) (((x) >> 4) & 0x1) argument
1416 #define S_028864_ALLOW_SINGLE_DENORM_OUT(x) (((x) & 0x1) << 5) argument
1417 #define G_028864_ALLOW_SINGLE_DENORM_OUT(x) (((x) >> 5) & 0x1) argument
1419 #define S_028864_ALLOW_DOUBLE_DENORM_IN(x) (((x) & 0x1) << 6) argument
1420 #define G_028864_ALLOW_DOUBLE_DENORM_IN(x) (((x) >> 6) & 0x1) argument
1422 #define S_028864_ALLOW_DOUBLE_DENORM_OUT(x) (((x) & 0x1) << 7) argument
1423 #define G_028864_ALLOW_DOUBLE_DENORM_OUT(x) (((x) >> 7) & 0x1) argument
1427 #define S_028844_NUM_GPRS(x) (((x) & 0xFF) << 0) argument
1428 #define G_028844_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1430 #define S_028844_STACK_SIZE(x) (((x) & 0xFF) << 8) argument
1431 #define G_028844_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1433 #define S_028844_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
1434 #define G_028844_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1436 #define S_028844_PRIME_CACHE_ON_DRAW(x) (((x) & 0x1) << 23) argument
1437 #define G_028844_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1) argument
1439 #define S_028844_UNCACHED_FIRST_INST(x) (((x) & 0x1) << 28) argument
1440 #define G_028844_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1442 #define S_028844_CLAMP_CONSTS(x) (((x) & 0x1) << 31) argument
1443 #define G_028844_CLAMP_CONSTS(x) (((x) >> 31) & 0x1) argument
1447 #define S_028848_SINGLE_ROUND(x) (((x) & 0x3) << 0) argument
1448 #define G_028848_SINGLE_ROUND(x) (((x) >> 0) & 0x3) argument
1450 #define S_028848_DOUBLE_ROUND(x) (((x) & 0x3) << 2) argument
1451 #define G_028848_DOUBLE_ROUND(x) (((x) >> 2) & 0x3) argument
1453 #define S_028848_ALLOW_SINGLE_DENORM_IN(x) (((x) & 0x1) << 4) argument
1454 #define G_028848_ALLOW_SINGLE_DENORM_IN(x) (((x) >> 4) & 0x1) argument
1456 #define S_028848_ALLOW_SINGLE_DENORM_OUT(x) (((x) & 0x1) << 5) argument
1457 #define G_028848_ALLOW_SINGLE_DENORM_OUT(x) (((x) >> 5) & 0x1) argument
1459 #define S_028848_ALLOW_DOUBLE_DENORM_IN(x) (((x) & 0x1) << 6) argument
1460 #define G_028848_ALLOW_DOUBLE_DENORM_IN(x) (((x) >> 6) & 0x1) argument
1462 #define S_028848_ALLOW_DOUBLE_DENORM_OUT(x) (((x) & 0x1) << 7) argument
1463 #define G_028848_ALLOW_DOUBLE_DENORM_OUT(x) (((x) >> 7) & 0x1) argument
1467 #define S_0288D4_NUM_GPRS(x) (((x) & 0xFF) << 0) argument
1468 #define G_0288D4_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1470 #define S_0288D4_STACK_SIZE(x) (((x) & 0xFF) << 8) argument
1471 #define G_0288D4_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1473 #define S_0288D4_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
1474 #define G_0288D4_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1476 #define S_0288D4_PRIME_CACHE_ON_DRAW(x) (((x) & 0x1) << 23) argument
1477 #define G_0288D4_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1) argument
1478 #define S_0288D4_UNCACHED_FIRST_INST(x) (((x) & 0x1) << 28) argument
1479 #define G_0288D4_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1481 #define S_0288D4_CLAMP_CONSTS(x) (((x) & 0x1) << 31) argument
1482 #define G_0288D4_CLAMP_CONSTS(x) (((x) >> 31) & 0x1) argument
1489 #define S_0288D4_NUM_GPRS(x) (((x) & 0xFF) << 0) argument
1490 #define G_0288D4_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1492 #define S_0288D4_STACK_SIZE(x) (((x) & 0xFF) << 8) argument
1493 #define G_0288D4_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1495 #define S_0288D4_DX10_CLAMP(x) (((x) & 0x1) << 21) argument
1496 #define G_0288D4_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1498 #define S_0288D4_PRIME_CACHE_ON_DRAW(x) (((x) & 0x1) << 23) argument
1499 #define G_0288D4_PRIME_CACHE_ON_DRAW(x) (((x) >> 23) & 0x1) argument
1500 #define S_0288D4_UNCACHED_FIRST_INST(x) (((x) & 0x1) << 28) argument
1501 #define G_0288D4_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1503 #define S_0288D4_CLAMP_CONSTS(x) (((x) & 0x1) << 31) argument
1504 #define G_0288D4_CLAMP_CONSTS(x) (((x) >> 31) & 0x1) argument
1511 #define S_028644_SEMANTIC(x) (((x) & 0xFF) << 0) argument
1512 #define G_028644_SEMANTIC(x) (((x) >> 0) & 0xFF) argument
1514 #define S_028644_DEFAULT_VAL(x) (((x) & 0x3) << 8) argument
1515 #define G_028644_DEFAULT_VAL(x) (((x) >> 8) & 0x3) argument
1517 #define S_028644_FLAT_SHADE(x) (((x) & 0x1) << 10) argument
1518 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1) argument
1520 #define S_028644_SEL_CENTROID(x) (((x) & 0x1) << 11) argument
1521 #define G_028644_SEL_CENTROID(x) (((x) >> 11) & 0x1) argument
1523 #define S_028644_SEL_LINEAR(x) (((x) & 0x1) << 12) argument
1524 #define G_028644_SEL_LINEAR(x) (((x) >> 12) & 0x1) argument
1526 #define S_028644_CYL_WRAP(x) (((x) & 0xF) << 13) argument
1527 #define G_028644_CYL_WRAP(x) (((x) >> 13) & 0xF) argument
1529 #define S_028644_PT_SPRITE_TEX(x) (((x) & 0x1) << 17) argument
1530 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1) argument
1532 #define S_028644_SEL_SAMPLE(x) (((x) & 0x1) << 18) argument
1533 #define G_028644_SEL_SAMPLE(x) (((x) >> 18) & 0x1) argument
1536 #define S_0286D4_FLAT_SHADE_ENA(x) (((x) & 0x1) << 0) argument
1537 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1) argument
1539 #define S_0286D4_PNT_SPRITE_ENA(x) (((x) & 0x1) << 1) argument
1540 #define G_0286D4_PNT_SPRITE_ENA(x) (((x) >> 1) & 0x1) argument
1542 #define S_0286D4_PNT_SPRITE_OVRD_X(x) (((x) & 0x7) << 2) argument
1543 #define G_0286D4_PNT_SPRITE_OVRD_X(x) (((x) >> 2) & 0x7) argument
1545 #define S_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) & 0x7) << 5) argument
1546 #define G_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) >> 5) & 0x7) argument
1548 #define S_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) & 0x7) << 8) argument
1549 #define G_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) >> 8) & 0x7) argument
1551 #define S_0286D4_PNT_SPRITE_OVRD_W(x) (((x) & 0x7) << 11) argument
1552 #define G_0286D4_PNT_SPRITE_OVRD_W(x) (((x) >> 11) & 0x7) argument
1554 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((x) & 0x1) << 14) argument
1555 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1) argument
1569 #define S_028000_DEPTH_CLEAR_ENABLE(x) (((x) & 0x1) << 0) argument
1570 #define S_028000_STENCIL_CLEAR_ENABLE(x) (((x) & 0x1) << 1) argument
1571 #define S_028000_DEPTH_COPY_ENABLE(x) (((x) & 0x1) << 2) argument
1572 #define S_028000_STENCIL_COPY_ENABLE(x) (((x) & 0x1) << 3) argument
1573 #define S_028000_RESUMMARIZE_ENABLE(x) (((x) & 0x1) << 4) argument
1574 #define S_028000_STENCIL_COMPRESS_DISABLE(x) (((x) & 0x1) << 5) argument
1575 #define S_028000_DEPTH_COMPRESS_DISABLE(x) (((x) & 0x1) << 6) argument
1576 #define S_028000_COPY_CENTROID(x) (((x) & 0x1) << 7) argument
1577 #define S_028000_COPY_SAMPLE(x) (((x) & 0x7) << 8) argument
1578 #define S_028000_COLOR_DISABLE(x) (((x) & 0x1) << 12) argument
1581 #define S_028004_PERFECT_ZPASS_COUNTS(x) (((x) & 0x1) << 1) argument
1582 #define S_028004_SAMPLE_RATE(x) (((x) & 0x7) << 4) /* cayman only */ argument
1584 #define S_028008_SLICE_START(x) (((x) & 0x7FF) << 0) argument
1585 #define G_028008_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
1587 #define S_028008_SLICE_MAX(x) (((x) & 0x7FF) << 13) argument
1588 #define G_028008_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
1594 #define S_02800C_FORCE_HIZ_ENABLE(x) (((x) & 0x3) << 0) argument
1595 #define G_02800C_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x3) argument
1597 #define S_02800C_FORCE_HIS_ENABLE0(x) (((x) & 0x3) << 2) argument
1598 #define G_02800C_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x3) argument
1600 #define S_02800C_FORCE_HIS_ENABLE1(x) (((x) & 0x3) << 4) argument
1601 #define G_02800C_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x3) argument
1603 #define S_02800C_FORCE_SHADER_Z_ORDER(x) (((x) & 0x1) << 6) argument
1604 #define G_02800C_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
1606 #define S_02800C_FAST_Z_DISABLE(x) (((x) & 0x1) << 7) argument
1607 #define G_02800C_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
1609 #define S_02800C_FAST_STENCIL_DISABLE(x) (((x) & 0x1) << 8) argument
1610 #define G_02800C_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
1612 #define S_02800C_NOOP_CULL_DISABLE(x) (((x) & 0x1) << 9) argument
1613 #define G_02800C_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
1615 #define S_02800C_FORCE_COLOR_KILL(x) (((x) & 0x1) << 10) argument
1616 #define G_02800C_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
1618 #define S_02800C_FORCE_Z_READ(x) (((x) & 0x1) << 11) argument
1619 #define G_02800C_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
1621 #define S_02800C_FORCE_STENCIL_READ(x) (((x) & 0x1) << 12) argument
1622 #define G_02800C_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
1624 #define S_02800C_FORCE_FULL_Z_RANGE(x) (((x) & 0x3) << 13) argument
1625 #define G_02800C_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x3) argument
1627 #define S_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) & 0x1) << 15) argument
1628 #define G_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
1630 #define S_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) & 0x1) << 16) argument
1631 #define G_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
1633 #define S_02800C_IGNORE_SC_ZRANGE(x) (((x) & 0x1) << 17) argument
1634 #define G_02800C_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
1663 #define S_028350_MULTIPASS(x) (((x) & 0x1) << 0) argument
1664 #define G_028350_MULTIPASS(x) (((x) >> 0) & 0x1) argument
1667 #define S_028354_SURFACE_SYNC_MASK(x) (((x) & 0x1FF) << 0) argument
1803 #define S_028838_PS_GPRS(x) (((x) & 0x1F) << 0) argument
1804 #define S_028838_VS_GPRS(x) (((x) & 0x1F) << 5) argument
1805 #define S_028838_GS_GPRS(x) (((x) & 0x1F) << 10) argument
1806 #define S_028838_ES_GPRS(x) (((x) & 0x1F) << 15) argument
1807 #define S_028838_HS_GPRS(x) (((x) & 0x1F) << 20) argument
1808 #define S_028838_LS_GPRS(x) (((x) & 0x1F) << 25) argument
1811 #define S_02884C_EXPORT_COLORS(x) (((x) & 0xF) << 1) argument
1812 #define G_02884C_EXPORT_COLORS(x) (((x) >> 1) & 0xF) argument
1814 #define S_02884C_EXPORT_Z(x) (((x) & 0x1) << 0) argument
1815 #define G_02884C_EXPORT_Z(x) (((x) >> 0) & 0x1) argument
1837 #define S_028A04_MIN_SIZE(x) (((x) & 0xFFFF) << 0) argument
1838 #define G_028A04_MIN_SIZE(x) (((x) >> 0) & 0xFFFF) argument
1840 #define S_028A04_MAX_SIZE(x) (((x) & 0xFFFF) << 16) argument
1841 #define G_028A04_MAX_SIZE(x) (((x) >> 16) & 0xFFFF) argument
1844 #define S_028A08_WIDTH(x) (((x) & 0xFFFF) << 0) argument
1845 #define G_028A08_WIDTH(x) (((x) >> 0) & 0xFFFF) argument
1860 #define S_028A48_MSAA_ENABLE(x) (((x) & 0x1) << 0) argument
1861 #define S_028A48_VPORT_SCISSOR_ENABLE(x) (((x) & 0x1) << 1) argument
1862 #define S_028A48_LINE_STIPPLE_ENABLE(x) (((x) & 0x1) << 2) argument
1865 #define S_028A94_RESET_EN(x) (((x) & 0x1) << 0) argument
1866 #define G_028A94_RESET_EN(x) (((x) >> 0) & 0x1) argument
1902 #define S_028B70_ALPHA_TO_MASK_ENABLE(x) (((x) & 0x1) << 0) argument
1903 #define S_028B70_ALPHA_TO_MASK_OFFSET0(x) (((x) & 0x3) << 8) argument
1904 #define S_028B70_ALPHA_TO_MASK_OFFSET1(x) (((x) & 0x3) << 10) argument
1905 #define S_028B70_ALPHA_TO_MASK_OFFSET2(x) (((x) & 0x3) << 12) argument
1906 #define S_028B70_ALPHA_TO_MASK_OFFSET3(x) (((x) & 0x3) << 14) argument
1907 #define S_028B70_OFFSET_ROUND(x) (((x) & 0x1) << 16) argument
1909 #define S_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) & 0xFF) << 0) argument
1910 #define G_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) >> 0) & 0xFF) argument
1912 #define S_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) & 0x1) << 8) argument
1913 #define G_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1) argument
1917 #define S_028B80_SCALE(x) (((x) & 0xFFFFFFFF) << 0) argument
1918 #define G_028B80_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
1921 #define S_028B84_OFFSET(x) (((x) & 0xFFFFFFFF) << 0) argument
1922 #define G_028B84_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
1925 #define S_028B88_SCALE(x) (((x) & 0xFFFFFFFF) << 0) argument
1926 #define G_028B88_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
1929 #define S_028B8C_OFFSET(x) (((x) & 0xFFFFFFFF) << 0) argument
1930 #define G_028B8C_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
1933 #define S_028B94_STREAMOUT_0_EN(x) (((x) & 0x1) << 0) argument
1934 #define S_028B94_STREAMOUT_1_EN(x) (((x) & 0x1) << 1) argument
1935 #define S_028B94_STREAMOUT_2_EN(x) (((x) & 0x1) << 2) argument
1936 #define S_028B94_STREAMOUT_3_EN(x) (((x) & 0x1) << 3) argument
1937 #define S_028B94_RAST_STREAM(x) (((x) & 0x7) << 4) argument
1939 #define S_028B98_STREAM_0_BUFFER_EN(x) (((x) & 0xf) << 0) argument
1940 #define S_028B98_STREAM_1_BUFFER_EN(x) (((x) & 0xf) << 4) argument
1941 #define S_028B98_STREAM_2_BUFFER_EN(x) (((x) & 0xf) << 8) argument
1942 #define S_028B98_STREAM_3_BUFFER_EN(x) (((x) & 0xf) << 12) argument
1944 #define S_028C00_EXPAND_LINE_WIDTH(x) (((x) & 0x1) << 9) argument
1945 #define G_028C00_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1) argument
1947 #define S_028C00_LAST_PIXEL(x) (((x) & 0x1) << 10) argument
1948 #define G_028C00_LAST_PIXEL(x) (((x) >> 10) & 0x1) argument
1951 #define S_028C04_MSAA_NUM_SAMPLES(x) (((x) & 0x3) << 0) argument
1952 #define S_028C04_AA_MASK_CENTROID_DTMN(x) (((x) & 0x1) << 4) argument
1953 #define S_028C04_MAX_SAMPLE_DIST(x) (((x) & 0xf) << 13) argument
1955 #define S_028C08_PIX_CENTER_HALF(x) (((x) & 0x1) << 0) argument
1956 #define G_028C08_PIX_CENTER_HALF(x) (((x) >> 0) & 0x1) argument
1958 #define S_028C08_QUANT_MODE(x) (((x) & 0x7) << 3) argument
1959 #define G_028C08_QUANT_MODE(x) (((x) >> 3) & 0x7) argument
1984 #define S_028C6C_SLICE_START(x) (((x) & 0x7FF) << 0) argument
1985 #define G_028C6C_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
1987 #define S_028C6C_SLICE_MAX(x) (((x) & 0x7FF) << 13) argument
1988 #define G_028C6C_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
1992 #define S_028C80_TILE_MAX(x) (((x) & 0x3FFF) << 0) argument
1995 #define S_028C88_TILE_MAX(x) (((x) & 0x3FFFFF) << 0) argument
2142 #define S_0085F0_DEST_BASE_0_ENA(x) (((x) & 0x1) << 0) argument
2143 #define G_0085F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1) argument
2145 #define S_0085F0_DEST_BASE_1_ENA(x) (((x) & 0x1) << 1) argument
2146 #define G_0085F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1) argument
2148 #define S_0085F0_SO0_DEST_BASE_ENA(x) (((x) & 0x1) << 2) argument
2149 #define G_0085F0_SO0_DEST_BASE_ENA(x) (((x) >> 2) & 0x1) argument
2151 #define S_0085F0_SO1_DEST_BASE_ENA(x) (((x) & 0x1) << 3) argument
2152 #define G_0085F0_SO1_DEST_BASE_ENA(x) (((x) >> 3) & 0x1) argument
2154 #define S_0085F0_SO2_DEST_BASE_ENA(x) (((x) & 0x1) << 4) argument
2155 #define G_0085F0_SO2_DEST_BASE_ENA(x) (((x) >> 4) & 0x1) argument
2157 #define S_0085F0_SO3_DEST_BASE_ENA(x) (((x) & 0x1) << 5) argument
2158 #define G_0085F0_SO3_DEST_BASE_ENA(x) (((x) >> 5) & 0x1) argument
2160 #define S_0085F0_CB0_DEST_BASE_ENA(x) (((x) & 0x1) << 6) argument
2161 #define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1) argument
2163 #define S_0085F0_CB1_DEST_BASE_ENA(x) (((x) & 0x1) << 7) argument
2164 #define G_0085F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1) argument
2166 #define S_0085F0_CB2_DEST_BASE_ENA(x) (((x) & 0x1) << 8) argument
2167 #define G_0085F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1) argument
2169 #define S_0085F0_CB3_DEST_BASE_ENA(x) (((x) & 0x1) << 9) argument
2170 #define G_0085F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1) argument
2172 #define S_0085F0_CB4_DEST_BASE_ENA(x) (((x) & 0x1) << 10) argument
2173 #define G_0085F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1) argument
2175 #define S_0085F0_CB5_DEST_BASE_ENA(x) (((x) & 0x1) << 11) argument
2176 #define G_0085F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1) argument
2178 #define S_0085F0_CB6_DEST_BASE_ENA(x) (((x) & 0x1) << 12) argument
2179 #define G_0085F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1) argument
2181 #define S_0085F0_CB7_DEST_BASE_ENA(x) (((x) & 0x1) << 13) argument
2182 #define G_0085F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1) argument
2184 #define S_0085F0_DB_DEST_BASE_ENA(x) (((x) & 0x1) << 14) argument
2185 #define G_0085F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1) argument
2187 #define S_0085F0_CB8_DEST_BASE_ENA(x) (((x) & 0x1) << 15) argument
2188 #define G_0085F0_CB8_DEST_BASE_ENA(x) (((x) >> 15) & 0x1) argument
2190 #define S_0085F0_CB9_DEST_BASE_ENA(x) (((x) & 0x1) << 16) argument
2191 #define G_0085F0_CB9_DEST_BASE_ENA(x) (((x) >> 16) & 0x1) argument
2193 #define S_0085F0_CB10_DEST_BASE_ENA(x) (((x) & 0x1) << 17) argument
2194 #define G_0085F0_CB10_DEST_BASE_ENA(x) (((x) >> 17) & 0x1) argument
2196 #define S_0085F0_CB11_DEST_BASE_ENA(x) (((x) & 0x1) << 18) argument
2197 #define G_0085F0_CB11_DEST_BASE_ENA(x) (((x) >> 18) & 0x1) argument
2199 #define S_0085F0_TC_ACTION_ENA(x) (((x) & 0x1) << 23) argument
2200 #define G_0085F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1) argument
2202 #define S_0085F0_VC_ACTION_ENA(x) (((x) & 0x1) << 24) argument
2203 #define G_0085F0_VC_ACTION_ENA(x) (((x) >> 24) & 0x1) argument
2205 #define S_0085F0_CB_ACTION_ENA(x) (((x) & 0x1) << 25) argument
2206 #define G_0085F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1) argument
2208 #define S_0085F0_DB_ACTION_ENA(x) (((x) & 0x1) << 26) argument
2209 #define G_0085F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1) argument
2211 #define S_0085F0_SH_ACTION_ENA(x) (((x) & 0x1) << 27) argument
2212 #define G_0085F0_SH_ACTION_ENA(x) (((x) >> 27) & 0x1) argument
2214 #define S_0085F0_SMX_ACTION_ENA(x) (((x) & 0x1) << 28) argument
2215 #define G_0085F0_SMX_ACTION_ENA(x) (((x) >> 28) & 0x1) argument
2217 #define S_0085F0_CR0_ACTION_ENA(x) (((x) & 0x1) << 29) argument
2218 #define G_0085F0_CR0_ACTION_ENA(x) (((x) >> 29) & 0x1) argument
2220 #define S_0085F0_CR1_ACTION_ENA(x) (((x) & 0x1) << 30) argument
2221 #define G_0085F0_CR1_ACTION_ENA(x) (((x) >> 30) & 0x1) argument
2223 #define S_0085F0_CR2_ACTION_ENA(x) (((x) & 0x1) << 31) argument
2224 #define G_0085F0_CR2_ACTION_ENA(x) (((x) >> 31) & 0x1) argument
2239 #define S_0286FC_NUM_PS_LDS(x) ((x) & 0xff) argument
2240 #define S_0286FC_NUM_LS_LDS(x) ((x) & 0xff) << 8 argument
2244 #define S_028804_MAX_ANCHOR_SAMPLES(x) (((x) & 0x7) << 0) argument
2245 #define S_028804_PS_ITER_SAMPLES(x) (((x) & 0x7) << 4) argument
2246 #define S_028804_MASK_EXPORT_NUM_SAMPLES(x) (((x) & 0x7) << 8) argument
2247 #define S_028804_ALPHA_TO_MASK_NUM_SAMPLES(x) (((x) & 0x7) << 12) argument
2248 #define S_028804_HIGH_QUALITY_INTERSECTIONS(x) (((x) & 0x1) << 16) argument
2249 #define S_028804_INCOHERENT_EQAA_READS(x) (((x) & 0x1) << 17) argument
2250 #define S_028804_INTERPOLATE_COMP_Z(x) (((x) & 0x1) << 18) argument
2251 #define S_028804_INTERPOLATE_SRC_Z(x) (((x) & 0x1) << 19) argument
2252 #define S_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((x) & 0x1) << 20) argument
2253 #define S_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((x) & 0x1) << 21) argument
2259 #define S_028BE0_MSAA_NUM_SAMPLES(x) (((x) & 0x7) << 0) argument
2260 #define S_028BE0_AA_MASK_CENTROID_DTMN(x) (((x) & 0x1) << 4) argument
2261 #define S_028BE0_MAX_SAMPLE_DIST(x) (((x) & 0xf) << 13) argument
2262 #define S_028BE0_MSAA_EXPOSED_SAMPLES(x) (((x) & 0x7) << 20) argument
2263 #define S_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((x) & 0x3) << 24) argument
2294 #define S_028AA8_PRIMGROUP_SIZE(x) (((x) & 0xFFFF) << 0) argument
2295 #define G_028AA8_PRIMGROUP_SIZE(x) (((x) >> 0) & 0xFFFF) argument
2297 #define S_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) & 0x1) << 16) argument
2298 #define G_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) >> 16) & 0x1) argument
2300 #define S_028AA8_SWITCH_ON_EOP(x) (((x) & 0x1) << 17) argument
2301 #define G_028AA8_SWITCH_ON_EOP(x) (((x) >> 17) & 0x1) argument