Lines Matching defs:x
83 #define STRMOUT_OFFSET_SOURCE(x) (((unsigned)(x) & 0x3) << 1) argument
88 #define STRMOUT_SELECT_BUFFER(x) (((unsigned)(x) & 0x3) << 8) argument
123 #define SURFACE_BASE_UPDATE_COLOR(x) (2 << (x)) argument
124 #define SURFACE_BASE_UPDATE_COLOR_NUM(x) (((1 << x) - 1) << 1) argument
125 #define SURFACE_BASE_UPDATE_STRMOUT(x) (0x200 << (x)) argument
140 #define EVENT_TYPE(x) ((x) << 0) argument
141 #define EVENT_INDEX(x) ((x) << 8) argument
154 #define PRED_OP(x) ((x) << 16) argument
164 #define PKT_TYPE_S(x) (((unsigned)(x) & 0x3) << 30) argument
165 #define PKT_TYPE_G(x) (((x) >> 30) & 0x3) argument
167 #define PKT_COUNT_S(x) (((unsigned)(x) & 0x3FFF) << 16) argument
168 #define PKT_COUNT_G(x) (((x) >> 16) & 0x3FFF) argument
170 #define PKT0_BASE_INDEX_S(x) (((unsigned)(x) & 0xFFFF) << 0) argument
171 #define PKT0_BASE_INDEX_G(x) (((x) >> 0) & 0xFFFF) argument
173 #define PKT3_IT_OPCODE_S(x) (((unsigned)(x) & 0xFF) << 8) argument
174 #define PKT3_IT_OPCODE_G(x) (((x) >> 8) & 0xFF) argument
176 #define PKT3_PRED_S(x) (((x) >> 0) & 0x1) argument
189 #define PKT3_CP_DMA_CMD_SRC_SWAP(x) ((x) << 23) argument
195 #define PKT3_CP_DMA_CMD_DST_SWAP(x) ((x) << 24) argument
215 #define S_008490_OFFSET_UPDATE_DONE(x) (((unsigned)(x) & 0x1) << 0) argument
238 #define S_008C00_VC_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
239 #define G_008C00_VC_ENABLE(x) (((x) >> 0) & 0x1) argument
240 #define C_008C00_VC_ENABLE(x) 0xFFFFFFFE argument
241 #define S_008C00_EXPORT_SRC_C(x) (((unsigned)(x) & 0x1) << 1) argument
242 #define G_008C00_EXPORT_SRC_C(x) (((x) >> 1) & 0x1) argument
243 #define C_008C00_EXPORT_SRC_C(x) 0xFFFFFFFD argument
244 #define S_008C00_DX9_CONSTS(x) (((unsigned)(x) & 0x1) << 2) argument
245 #define G_008C00_DX9_CONSTS(x) (((x) >> 2) & 0x1) argument
246 #define C_008C00_DX9_CONSTS(x) 0xFFFFFFFB argument
247 #define S_008C00_ALU_INST_PREFER_VECTOR(x) (((unsigned)(x) & 0x1) << 3) argument
248 #define G_008C00_ALU_INST_PREFER_VECTOR(x) (((x) >> 3) & 0x1) argument
249 #define C_008C00_ALU_INST_PREFER_VECTOR(x) 0xFFFFFFF7 argument
250 #define S_008C00_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 4) argument
251 #define G_008C00_DX10_CLAMP(x) (((x) >> 4) & 0x1) argument
252 #define C_008C00_DX10_CLAMP(x) 0xFFFFFFEF argument
253 #define S_008C00_CLAUSE_SEQ_PRIO(x) (((unsigned)(x) & 0x3) << 8) argument
254 #define G_008C00_CLAUSE_SEQ_PRIO(x) (((x) >> 8) & 0x3) argument
255 #define C_008C00_CLAUSE_SEQ_PRIO(x) 0xFFFFFCFF argument
256 #define S_008C00_PS_PRIO(x) (((unsigned)(x) & 0x3) << 24) argument
257 #define G_008C00_PS_PRIO(x) (((x) >> 24) & 0x3) argument
258 #define C_008C00_PS_PRIO(x) 0xFCFFFFFF argument
259 #define S_008C00_VS_PRIO(x) (((unsigned)(x) & 0x3) << 26) argument
260 #define G_008C00_VS_PRIO(x) (((x) >> 26) & 0x3) argument
261 #define C_008C00_VS_PRIO(x) 0xF3FFFFFF argument
262 #define S_008C00_GS_PRIO(x) (((unsigned)(x) & 0x3) << 28) argument
263 #define G_008C00_GS_PRIO(x) (((x) >> 28) & 0x3) argument
264 #define C_008C00_GS_PRIO(x) 0xCFFFFFFF argument
265 #define S_008C00_ES_PRIO(x) (((unsigned)(x) & 0x3) << 30) argument
266 #define G_008C00_ES_PRIO(x) (((x) >> 30) & 0x3) argument
267 #define C_008C00_ES_PRIO(x) 0x3FFFFFFF argument
269 #define S_008C04_NUM_PS_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
270 #define G_008C04_NUM_PS_GPRS(x) (((x) >> 0) & 0xFF) argument
271 #define C_008C04_NUM_PS_GPRS(x) 0xFFFFFF00 argument
272 #define S_008C04_NUM_VS_GPRS(x) (((unsigned)(x) & 0xFF) << 16) argument
273 #define G_008C04_NUM_VS_GPRS(x) (((x) >> 16) & 0xFF) argument
274 #define C_008C04_NUM_VS_GPRS(x) 0xFF00FFFF argument
275 #define S_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((unsigned)(x) & 0xF) << 28) argument
276 #define G_008C04_NUM_CLAUSE_TEMP_GPRS(x) (((x) >> 28) & 0xF) argument
277 #define C_008C04_NUM_CLAUSE_TEMP_GPRS(x) 0x0FFFFFFF argument
279 #define S_008C0C_NUM_PS_THREADS(x) (((unsigned)(x) & 0xFF) << 0) argument
280 #define G_008C0C_NUM_PS_THREADS(x) (((x) >> 0) & 0xFF) argument
281 #define C_008C0C_NUM_PS_THREADS(x) 0xFFFFFF00 argument
282 #define S_008C0C_NUM_VS_THREADS(x) (((unsigned)(x) & 0xFF) << 8) argument
283 #define G_008C0C_NUM_VS_THREADS(x) (((x) >> 8) & 0xFF) argument
284 #define C_008C0C_NUM_VS_THREADS(x) 0xFFFF00FF argument
285 #define S_008C0C_NUM_GS_THREADS(x) (((unsigned)(x) & 0xFF) << 16) argument
286 #define G_008C0C_NUM_GS_THREADS(x) (((x) >> 16) & 0xFF) argument
287 #define C_008C0C_NUM_GS_THREADS(x) 0xFF00FFFF argument
288 #define S_008C0C_NUM_ES_THREADS(x) (((unsigned)(x) & 0xFF) << 24) argument
289 #define G_008C0C_NUM_ES_THREADS(x) (((x) >> 24) & 0xFF) argument
290 #define C_008C0C_NUM_ES_THREADS(x) 0x00FFFFFF argument
292 #define S_008C10_NUM_PS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 0) argument
293 #define G_008C10_NUM_PS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
294 #define C_008C10_NUM_PS_STACK_ENTRIES(x) 0xFFFFF000 argument
295 #define S_008C10_NUM_VS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 16) argument
296 #define G_008C10_NUM_VS_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
297 #define C_008C10_NUM_VS_STACK_ENTRIES(x) 0xF000FFFF argument
299 #define S_008C14_NUM_GS_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 0) argument
300 #define G_008C14_NUM_GS_STACK_ENTRIES(x) (((x) >> 0) & 0xFFF) argument
301 #define C_008C14_NUM_GS_STACK_ENTRIES(x) 0xFFFFF000 argument
302 #define S_008C14_NUM_ES_STACK_ENTRIES(x) (((unsigned)(x) & 0xFFF) << 16) argument
303 #define G_008C14_NUM_ES_STACK_ENTRIES(x) (((x) >> 16) & 0xFFF) argument
304 #define C_008C14_NUM_ES_STACK_ENTRIES(x) 0xF000FFFF argument
306 #define S_0280A0_ENDIAN(x) (((unsigned)(x) & 0x3) << 0) argument
307 #define G_0280A0_ENDIAN(x) (((x) >> 0) & 0x3) argument
309 #define S_0280A0_FORMAT(x) (((unsigned)(x) & 0x3F) << 2) argument
310 #define G_0280A0_FORMAT(x) (((x) >> 2) & 0x3F) argument
347 #define S_0280A0_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 8) argument
348 #define G_0280A0_ARRAY_MODE(x) (((x) >> 8) & 0xF) argument
354 #define S_0280A0_NUMBER_TYPE(x) (((unsigned)(x) & 0x7) << 12) argument
355 #define G_0280A0_NUMBER_TYPE(x) (((x) >> 12) & 0x7) argument
365 #define S_0280A0_READ_SIZE(x) (((unsigned)(x) & 0x1) << 15) argument
366 #define G_0280A0_READ_SIZE(x) (((x) >> 15) & 0x1) argument
368 #define S_0280A0_COMP_SWAP(x) (((unsigned)(x) & 0x3) << 16) argument
369 #define G_0280A0_COMP_SWAP(x) (((x) >> 16) & 0x3) argument
375 #define S_0280A0_TILE_MODE(x) (((unsigned)(x) & 0x3) << 18) argument
379 #define G_0280A0_TILE_MODE(x) (((x) >> 18) & 0x3) argument
381 #define S_0280A0_BLEND_CLAMP(x) (((unsigned)(x) & 0x1) << 20) argument
382 #define G_0280A0_BLEND_CLAMP(x) (((x) >> 20) & 0x1) argument
384 #define S_0280A0_CLEAR_COLOR(x) (((unsigned)(x) & 0x1) << 21) argument
385 #define G_0280A0_CLEAR_COLOR(x) (((x) >> 21) & 0x1) argument
387 #define S_0280A0_BLEND_BYPASS(x) (((unsigned)(x) & 0x1) << 22) argument
388 #define G_0280A0_BLEND_BYPASS(x) (((x) >> 22) & 0x1) argument
390 #define S_0280A0_BLEND_FLOAT32(x) (((unsigned)(x) & 0x1) << 23) argument
391 #define G_0280A0_BLEND_FLOAT32(x) (((x) >> 23) & 0x1) argument
393 #define S_0280A0_SIMPLE_FLOAT(x) (((unsigned)(x) & 0x1) << 24) argument
394 #define G_0280A0_SIMPLE_FLOAT(x) (((x) >> 24) & 0x1) argument
396 #define S_0280A0_ROUND_MODE(x) (((unsigned)(x) & 0x1) << 25) argument
397 #define G_0280A0_ROUND_MODE(x) (((x) >> 25) & 0x1) argument
399 #define S_0280A0_TILE_COMPACT(x) (((unsigned)(x) & 0x1) << 26) argument
400 #define G_0280A0_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
402 #define S_0280A0_SOURCE_FORMAT(x) (((unsigned)(x) & 0x1) << 27) argument
403 #define G_0280A0_SOURCE_FORMAT(x) (((x) >> 27) & 0x1) argument
408 #define S_028060_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
409 #define G_028060_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
411 #define S_028060_SLICE_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 10) argument
412 #define G_028060_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
415 #define S_028410_ALPHA_FUNC(x) (((unsigned)(x) & 0x7) << 0) argument
416 #define G_028410_ALPHA_FUNC(x) (((x) >> 0) & 0x7) argument
418 #define S_028410_ALPHA_TEST_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
419 #define G_028410_ALPHA_TEST_ENABLE(x) (((x) >> 3) & 0x1) argument
421 #define S_028410_ALPHA_TEST_BYPASS(x) (((unsigned)(x) & 0x1) << 8) argument
422 #define G_028410_ALPHA_TEST_BYPASS(x) (((x) >> 8) & 0x1) argument
425 #define S_028800_STENCIL_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
426 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
428 #define S_028800_Z_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
429 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
431 #define S_028800_Z_WRITE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
432 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
434 #define S_028800_ZFUNC(x) (((unsigned)(x) & 0x7) << 4) argument
435 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x7) argument
437 #define S_028800_BACKFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
438 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
440 #define S_028800_STENCILFUNC(x) (((unsigned)(x) & 0x7) << 8) argument
441 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x7) argument
451 #define S_028800_STENCILFAIL(x) (((unsigned)(x) & 0x7) << 11) argument
452 #define G_028800_STENCILFAIL(x) (((x) >> 11) & 0x7) argument
462 #define S_028800_STENCILZPASS(x) (((unsigned)(x) & 0x7) << 14) argument
463 #define G_028800_STENCILZPASS(x) (((x) >> 14) & 0x7) argument
465 #define S_028800_STENCILZFAIL(x) (((unsigned)(x) & 0x7) << 17) argument
466 #define G_028800_STENCILZFAIL(x) (((x) >> 17) & 0x7) argument
468 #define S_028800_STENCILFUNC_BF(x) (((unsigned)(x) & 0x7) << 20) argument
469 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x7) argument
471 #define S_028800_STENCILFAIL_BF(x) (((unsigned)(x) & 0x7) << 23) argument
472 #define G_028800_STENCILFAIL_BF(x) (((x) >> 23) & 0x7) argument
474 #define S_028800_STENCILZPASS_BF(x) (((unsigned)(x) & 0x7) << 26) argument
475 #define G_028800_STENCILZPASS_BF(x) (((x) >> 26) & 0x7) argument
477 #define S_028800_STENCILZFAIL_BF(x) (((unsigned)(x) & 0x7) << 29) argument
478 #define G_028800_STENCILZFAIL_BF(x) (((x) >> 29) & 0x7) argument
481 #define S_028808_FOG_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
482 #define G_028808_FOG_ENABLE(x) (((x) >> 0) & 0x1) argument
484 #define S_028808_MULTIWRITE_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
485 #define G_028808_MULTIWRITE_ENABLE(x) (((x) >> 1) & 0x1) argument
487 #define S_028808_DITHER_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
488 #define G_028808_DITHER_ENABLE(x) (((x) >> 2) & 0x1) argument
490 #define S_028808_DEGAMMA_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
491 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1) argument
493 #define S_028808_SPECIAL_OP(x) (((unsigned)(x) & 0x7) << 4) argument
496 #define G_028808_SPECIAL_OP(x) (((x) >> 4) & 0x7) argument
506 #define S_028808_PER_MRT_BLEND(x) (((unsigned)(x) & 0x1) << 7) argument
507 #define G_028808_PER_MRT_BLEND(x) (((x) >> 7) & 0x1) argument
509 #define S_028808_TARGET_BLEND_ENABLE(x) (((unsigned)(x) & 0xFF) << 8) argument
510 #define G_028808_TARGET_BLEND_ENABLE(x) (((x) >> 8) & 0xFF) argument
512 #define S_028808_ROP3(x) (((unsigned)(x) & 0xFF) << 16) argument
513 #define G_028808_ROP3(x) (((x) >> 16) & 0xFF) argument
516 #define S_028810_UCP_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
517 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1) argument
519 #define S_028810_UCP_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
520 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1) argument
522 #define S_028810_UCP_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
523 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1) argument
525 #define S_028810_UCP_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
526 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1) argument
528 #define S_028810_UCP_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
529 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1) argument
531 #define S_028810_UCP_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
532 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1) argument
534 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((unsigned)(x) & 0x1) << 13) argument
535 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1) argument
537 #define S_028810_PS_UCP_MODE(x) (((unsigned)(x) & 0x3) << 14) argument
538 #define G_028810_PS_UCP_MODE(x) (((x) >> 14) & 0x3) argument
540 #define S_028810_CLIP_DISABLE(x) (((unsigned)(x) & 0x1) << 16) argument
541 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1) argument
543 #define S_028810_UCP_CULL_ONLY_ENA(x) (((unsigned)(x) & 0x1) << 17) argument
544 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1) argument
546 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
547 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1) argument
549 #define S_028810_DX_CLIP_SPACE_DEF(x) (((unsigned)(x) & 0x1) << 19) argument
550 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1) argument
552 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((unsigned)(x) & 0x1) << 20) argument
553 #define G_028810_DIS_CLIP_ERR_DETECT(x) (((x) >> 20) & 0x1) argument
555 #define S_028810_VTX_KILL_OR(x) (((unsigned)(x) & 0x1) << 21) argument
556 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1) argument
558 #define S_028810_DX_RASTERIZATION_KILL(x) (((unsigned)(x) & 0x1) << 22) /* R700 only? … argument
559 #define G_028810_DX_RASTERIZATION_KILL(x) (((x) >> 22) & 0x1) argument
561 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
562 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1) argument
564 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((unsigned)(x) & 0x1) << 25) argument
565 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1) argument
567 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((unsigned)(x) & 0x1) << 26) argument
568 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1) argument
570 #define S_028810_ZCLIP_FAR_DISABLE(x) (((unsigned)(x) & 0x1) << 27) argument
571 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1) argument
574 #define S_028010_FORMAT(x) (((unsigned)(x) & 0x7) << 0) argument
575 #define G_028010_FORMAT(x) (((x) >> 0) & 0x7) argument
585 #define S_028010_READ_SIZE(x) (((unsigned)(x) & 0x1) << 3) argument
586 #define G_028010_READ_SIZE(x) (((x) >> 3) & 0x1) argument
588 #define S_028010_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 15) argument
589 #define G_028010_ARRAY_MODE(x) (((x) >> 15) & 0xF) argument
591 #define S_028010_TILE_SURFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 25) argument
592 #define G_028010_TILE_SURFACE_ENABLE(x) (((x) >> 25) & 0x1) argument
594 #define S_028010_TILE_COMPACT(x) (((unsigned)(x) & 0x1) << 26) argument
595 #define G_028010_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
597 #define S_028010_ZRANGE_PRECISION(x) (((unsigned)(x) & 0x1) << 31) argument
598 #define G_028010_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
602 #define S_028414_BLEND_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
603 #define G_028414_BLEND_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
606 #define S_028418_BLEND_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
607 #define G_028418_BLEND_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
610 #define S_02841C_BLEND_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
611 #define G_02841C_BLEND_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
614 #define S_028420_BLEND_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
615 #define G_028420_BLEND_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
618 #define S_028430_STENCILREF(x) (((unsigned)(x) & 0xFF) << 0) argument
619 #define G_028430_STENCILREF(x) (((x) >> 0) & 0xFF) argument
621 #define S_028430_STENCILMASK(x) (((unsigned)(x) & 0xFF) << 8) argument
622 #define G_028430_STENCILMASK(x) (((x) >> 8) & 0xFF) argument
624 #define S_028430_STENCILWRITEMASK(x) (((unsigned)(x) & 0xFF) << 16) argument
625 #define G_028430_STENCILWRITEMASK(x) (((x) >> 16) & 0xFF) argument
628 #define S_028434_STENCILREF_BF(x) (((unsigned)(x) & 0xFF) << 0) argument
629 #define G_028434_STENCILREF_BF(x) (((x) >> 0) & 0xFF) argument
631 #define S_028434_STENCILMASK_BF(x) (((unsigned)(x) & 0xFF) << 8) argument
632 #define G_028434_STENCILMASK_BF(x) (((x) >> 8) & 0xFF) argument
634 #define S_028434_STENCILWRITEMASK_BF(x) (((unsigned)(x) & 0xFF) << 16) argument
635 #define G_028434_STENCILWRITEMASK_BF(x) (((x) >> 16) & 0xFF) argument
646 #define S_028804_COLOR_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 0) argument
647 #define G_028804_COLOR_SRCBLEND(x) (((x) >> 0) & 0x1F) argument
670 #define S_028804_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x7) << 5) argument
671 #define G_028804_COLOR_COMB_FCN(x) (((x) >> 5) & 0x7) argument
678 #define S_028804_COLOR_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 8) argument
679 #define G_028804_COLOR_DESTBLEND(x) (((x) >> 8) & 0x1F) argument
681 #define S_028804_OPACITY_WEIGHT(x) (((unsigned)(x) & 0x1) << 13) argument
682 #define G_028804_OPACITY_WEIGHT(x) (((x) >> 13) & 0x1) argument
684 #define S_028804_ALPHA_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 16) argument
685 #define G_028804_ALPHA_SRCBLEND(x) (((x) >> 16) & 0x1F) argument
687 #define S_028804_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x7) << 21) argument
688 #define G_028804_ALPHA_COMB_FCN(x) (((x) >> 21) & 0x7) argument
690 #define S_028804_ALPHA_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 24) argument
691 #define G_028804_ALPHA_DESTBLEND(x) (((x) >> 24) & 0x1F) argument
693 #define S_028804_SEPARATE_ALPHA_BLEND(x) (((unsigned)(x) & 0x1) << 29) argument
694 #define G_028804_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1) argument
697 #define S_028814_CULL_FRONT(x) (((unsigned)(x) & 0x1) << 0) argument
698 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1) argument
700 #define S_028814_CULL_BACK(x) (((unsigned)(x) & 0x1) << 1) argument
701 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1) argument
703 #define S_028814_FACE(x) (((unsigned)(x) & 0x1) << 2) argument
704 #define G_028814_FACE(x) (((x) >> 2) & 0x1) argument
706 #define S_028814_POLY_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
707 #define G_028814_POLY_MODE(x) (((x) >> 3) & 0x3) argument
709 #define S_028814_POLYMODE_FRONT_PTYPE(x) (((unsigned)(x) & 0x7) << 5) argument
710 #define G_028814_POLYMODE_FRONT_PTYPE(x) (((x) >> 5) & 0x7) argument
712 #define S_028814_POLYMODE_BACK_PTYPE(x) (((unsigned)(x) & 0x7) << 8) argument
713 #define G_028814_POLYMODE_BACK_PTYPE(x) (((x) >> 8) & 0x7) argument
715 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((unsigned)(x) & 0x1) << 11) argument
716 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1) argument
718 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
719 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1) argument
721 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((unsigned)(x) & 0x1) << 13) argument
722 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1) argument
724 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((unsigned)(x) & 0x1) << 16) argument
725 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1) argument
727 #define S_028814_PROVOKING_VTX_LAST(x) (((unsigned)(x) & 0x1) << 19) argument
728 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1) argument
730 #define S_028814_PERSP_CORR_DIS(x) (((unsigned)(x) & 0x1) << 20) argument
731 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1) argument
733 #define S_028814_MULTI_PRIM_IB_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
734 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1) argument
737 #define S_028000_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
738 #define G_028000_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
740 #define S_028000_SLICE_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 10) argument
741 #define G_028000_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
744 #define S_028004_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
745 #define G_028004_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
747 #define S_028004_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 13) argument
748 #define G_028004_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
751 #define S_028D24_HTILE_WIDTH(x) (((unsigned)(x) & 0x1) << 0) argument
752 #define G_028D24_HTILE_WIDTH(x) (((x) >> 0) & 0x1) argument
754 #define S_028D24_HTILE_HEIGHT(x) (((unsigned)(x) & 0x1) << 1) argument
755 #define G_028D24_HTILE_HEIGHT(x) (((x) >> 1) & 0x1) argument
757 #define S_028D24_LINEAR(x) (((unsigned)(x) & 0x1) << 2) argument
758 #define G_028D24_LINEAR(x) (((x) >> 2) & 0x1) argument
760 #define S_028D24_FULL_CACHE(x) (((unsigned)(x) & 0x1) << 3) argument
761 #define G_028D24_FULL_CACHE(x) (((x) >> 3) & 0x1) argument
763 #define S_028D24_HTILE_USES_PRELOAD_WIN(x) (((unsigned)(x) & 0x1) << 4) argument
764 #define G_028D24_HTILE_USES_PRELOAD_WIN(x) (((x) >> 4) & 0x1) argument
766 #define S_028D24_PRELOAD(x) (((unsigned)(x) & 0x1) << 5) argument
767 #define G_028D24_PRELOAD(x) (((x) >> 5) & 0x1) argument
769 #define S_028D24_PREFETCH_WIDTH(x) (((unsigned)(x) & 0x3F) << 6) argument
770 #define G_028D24_PREFETCH_WIDTH(x) (((x) >> 6) & 0x3F) argument
772 #define S_028D24_PREFETCH_HEIGHT(x) (((unsigned)(x) & 0x3F) << 12) argument
773 #define G_028D24_PREFETCH_HEIGHT(x) (((x) >> 12) & 0x3F) argument
776 #define S_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
777 #define G_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
780 #define S_028D0C_DEPTH_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
781 #define S_028D0C_STENCIL_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
782 #define S_028D0C_DEPTH_COPY_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
783 #define S_028D0C_STENCIL_COPY_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
784 #define S_028D0C_RESUMMARIZE_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
785 #define S_028D0C_STENCIL_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 5) argument
786 #define S_028D0C_DEPTH_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 6) argument
787 #define S_028D0C_COPY_CENTROID(x) (((unsigned)(x) & 0x1) << 7) argument
788 #define S_028D0C_COPY_SAMPLE(x) (((unsigned)(x) & 0x03) << 8) argument
789 #define S_028D0C_ZPASS_INCREMENT_DISABLE(x) (((unsigned)(x) & 0x1) << 11) argument
790 #define S_028D0C_R700_PERFECT_ZPASS_COUNTS(x) (((unsigned)(x) & 0x1) << 15) argument
791 #define S_028D0C_CONSERVATIVE_Z_EXPORT(x) (((unsigned)(x) & 0x03) << 13) argument
792 #define G_028D0C_CONSERVATIVE_Z_EXPORT(x) (((x) >> 13) & 0x03) argument
803 #define S_028D10_FORCE_HIZ_ENABLE(x) (((unsigned)(x) & 0x3) << 0) argument
804 #define G_028D10_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x3) argument
806 #define S_028D10_FORCE_HIS_ENABLE0(x) (((unsigned)(x) & 0x3) << 2) argument
807 #define G_028D10_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x3) argument
809 #define S_028D10_FORCE_HIS_ENABLE1(x) (((unsigned)(x) & 0x3) << 4) argument
810 #define G_028D10_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x3) argument
812 #define S_028D10_FORCE_SHADER_Z_ORDER(x) (((unsigned)(x) & 0x1) << 6) argument
813 #define G_028D10_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
815 #define S_028D10_FAST_Z_DISABLE(x) (((unsigned)(x) & 0x1) << 7) argument
816 #define G_028D10_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
818 #define S_028D10_FAST_STENCIL_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
819 #define G_028D10_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
821 #define S_028D10_NOOP_CULL_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
822 #define G_028D10_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
824 #define S_028D10_FORCE_COLOR_KILL(x) (((unsigned)(x) & 0x1) << 10) argument
825 #define G_028D10_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
827 #define S_028D10_FORCE_Z_READ(x) (((unsigned)(x) & 0x1) << 11) argument
828 #define G_028D10_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
830 #define S_028D10_FORCE_STENCIL_READ(x) (((unsigned)(x) & 0x1) << 12) argument
831 #define G_028D10_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
833 #define S_028D10_FORCE_FULL_Z_RANGE(x) (((unsigned)(x) & 0x3) << 13) argument
834 #define G_028D10_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x3) argument
836 #define S_028D10_FORCE_QC_SMASK_CONFLICT(x) (((unsigned)(x) & 0x1) << 15) argument
837 #define G_028D10_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
839 #define S_028D10_DISABLE_VIEWPORT_CLAMP(x) (((unsigned)(x) & 0x1) << 16) argument
840 #define G_028D10_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
842 #define S_028D10_IGNORE_SC_ZRANGE(x) (((unsigned)(x) & 0x1) << 17) argument
843 #define G_028D10_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
845 #define S_028D10_MAX_TILES_IN_DTT(x) (((unsigned)(x) & 0x1F) << 21) argument
846 #define G_028D10_MAX_TILES_IN_DTT(x) (((x) >> 21) & 0x1F) argument
849 #define S_02880C_Z_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
850 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1) argument
852 #define S_02880C_STENCIL_REF_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
853 #define G_02880C_STENCIL_REF_EXPORT_ENABLE(x) (((x) >> 1) & 0x1) argument
855 #define S_02880C_Z_ORDER(x) (((unsigned)(x) & 0x3) << 4) argument
856 #define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x3) argument
862 #define S_02880C_KILL_ENABLE(x) (((unsigned)(x) & 0x1) << 6) argument
863 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1) argument
865 #define S_02880C_MASK_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 8) argument
866 #define G_02880C_MASK_EXPORT_ENABLE(x) (((x) >> 8) & 0x1) argument
868 #define S_02880C_DUAL_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 9) argument
869 #define G_02880C_DUAL_EXPORT_ENABLE(x) (((x) >> 9) & 0x1) argument
872 #define S_028DF8_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((unsigned)(x) & 0xFF) << 0) argument
873 #define G_028DF8_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) >> 0) & 0xFF) argument
875 #define S_028DF8_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
876 #define G_028DF8_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1) argument
879 #define S_028E00_SCALE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
880 #define G_028E00_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
883 #define S_028E04_OFFSET(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
884 #define G_028E04_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
887 #define S_028E08_SCALE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
888 #define G_028E08_SCALE(x) (((x) >> 0) & 0xFFFFFFFF) argument
891 #define S_028E0C_OFFSET(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
892 #define G_028E0C_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
895 #define S_028A00_HEIGHT(x) (((unsigned)(x) & 0xFFFF) << 0) argument
896 #define G_028A00_HEIGHT(x) (((x) >> 0) & 0xFFFF) argument
898 #define S_028A00_WIDTH(x) (((unsigned)(x) & 0xFFFF) << 16) argument
899 #define G_028A00_WIDTH(x) (((x) >> 16) & 0xFFFF) argument
902 #define S_028A0C_LINE_PATTERN(x) (((unsigned)(x) & 0xFFFF) << 0) argument
903 #define S_028A0C_REPEAT_COUNT(x) (((unsigned)(x) & 0xFF) << 16) argument
904 #define S_028A0C_PATTERN_BIT_ORDER(x) (((unsigned)(x) & 0x1) << 28) argument
905 #define S_028A0C_AUTO_RESET_CNTL(x) (((unsigned)(x) & 0x3) << 29) argument
907 #define S_028A40_MODE(x) (((unsigned)(x) & 0x3) << 0) argument
908 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
910 #define S_028A40_ES_PASSTHRU(x) (((unsigned)(x) & 0x1) << 2) argument
911 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
913 #define S_028A40_CUT_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
914 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
918 #define S_028A6C_OUTPRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
923 #define S_008040_WAIT_CP_DMA_IDLE(x) (((unsigned)(x) & 0x1) << 8) argument
924 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
926 #define S_008040_WAIT_CMDFIFO(x) (((unsigned)(x) & 0x1) << 10) argument
927 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
929 #define S_008040_WAIT_2D_IDLE(x) (((unsigned)(x) & 0x1) << 14) argument
930 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
932 #define S_008040_WAIT_3D_IDLE(x) (((unsigned)(x) & 0x1) << 15) argument
933 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
935 #define S_008040_WAIT_2D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 16) argument
936 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
938 #define S_008040_WAIT_3D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 17) argument
939 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
941 #define S_008040_WAIT_EXTERN_SIG(x) (((unsigned)(x) & 0x1) << 19) argument
942 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
944 #define S_008040_CMDFIFO_ENTRIES(x) (((unsigned)(x) & 0x1F) << 20) argument
945 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
948 #define S_0286CC_NUM_INTERP(x) (((unsigned)(x) & 0x3F) << 0) argument
949 #define G_0286CC_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
951 #define S_0286CC_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
952 #define G_0286CC_POSITION_ENA(x) (((x) >> 8) & 0x1) argument
954 #define S_0286CC_POSITION_CENTROID(x) (((unsigned)(x) & 0x1) << 9) argument
955 #define G_0286CC_POSITION_CENTROID(x) (((x) >> 9) & 0x1) argument
957 #define S_0286CC_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 10) argument
958 #define G_0286CC_POSITION_ADDR(x) (((x) >> 10) & 0x1F) argument
960 #define S_0286CC_PARAM_GEN(x) (((unsigned)(x) & 0xF) << 15) argument
961 #define G_0286CC_PARAM_GEN(x) (((x) >> 15) & 0xF) argument
963 #define S_0286CC_PARAM_GEN_ADDR(x) (((unsigned)(x) & 0x7F) << 19) argument
964 #define G_0286CC_PARAM_GEN_ADDR(x) (((x) >> 19) & 0x7F) argument
966 #define S_0286CC_BARYC_SAMPLE_CNTL(x) (((unsigned)(x) & 0x3) << 26) argument
967 #define G_0286CC_BARYC_SAMPLE_CNTL(x) (((x) >> 26) & 0x3) argument
969 #define S_0286CC_PERSP_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
970 #define G_0286CC_PERSP_GRADIENT_ENA(x) (((x) >> 28) & 0x1) argument
972 #define S_0286CC_LINEAR_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
973 #define G_0286CC_LINEAR_GRADIENT_ENA(x) (((x) >> 29) & 0x1) argument
975 #define S_0286CC_POSITION_SAMPLE(x) (((unsigned)(x) & 0x1) << 30) argument
976 #define G_0286CC_POSITION_SAMPLE(x) (((x) >> 30) & 0x1) argument
978 #define S_0286CC_BARYC_AT_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 31) argument
979 #define G_0286CC_BARYC_AT_SAMPLE_ENA(x) (((x) >> 31) & 0x1) argument
982 #define S_0286D0_GEN_INDEX_PIX(x) (((unsigned)(x) & 0x1) << 0) argument
983 #define G_0286D0_GEN_INDEX_PIX(x) (((x) >> 0) & 0x1) argument
985 #define S_0286D0_GEN_INDEX_PIX_ADDR(x) (((unsigned)(x) & 0x7F) << 1) argument
986 #define G_0286D0_GEN_INDEX_PIX_ADDR(x) (((x) >> 1) & 0x7F) argument
988 #define S_0286D0_FRONT_FACE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
989 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 8) & 0x1) argument
991 #define S_0286D0_FRONT_FACE_CHAN(x) (((unsigned)(x) & 0x3) << 9) argument
992 #define G_0286D0_FRONT_FACE_CHAN(x) (((x) >> 9) & 0x3) argument
994 #define S_0286D0_FRONT_FACE_ALL_BITS(x) (((unsigned)(x) & 0x1) << 11) argument
995 #define G_0286D0_FRONT_FACE_ALL_BITS(x) (((x) >> 11) & 0x1) argument
997 #define S_0286D0_FRONT_FACE_ADDR(x) (((unsigned)(x) & 0x1F) << 12) argument
998 #define G_0286D0_FRONT_FACE_ADDR(x) (((x) >> 12) & 0x1F) argument
1000 #define S_0286D0_FOG_ADDR(x) (((unsigned)(x) & 0x7F) << 17) argument
1001 #define G_0286D0_FOG_ADDR(x) (((x) >> 17) & 0x7F) argument
1003 #define S_0286D0_FIXED_PT_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
1004 #define G_0286D0_FIXED_PT_POSITION_ENA(x) (((x) >> 24) & 0x1) argument
1006 #define S_0286D0_FIXED_PT_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 25) argument
1007 #define G_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) >> 25) & 0x1F) argument
1010 #define S_0286C4_VS_PER_COMPONENT(x) (((unsigned)(x) & 0x1) << 0) argument
1011 #define G_0286C4_VS_PER_COMPONENT(x) (((x) >> 0) & 0x1) argument
1013 #define S_0286C4_VS_EXPORT_COUNT(x) (((unsigned)(x) & 0x1F) << 1) argument
1014 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
1016 #define S_0286C4_VS_EXPORTS_FOG(x) (((unsigned)(x) & 0x1) << 8) argument
1017 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 8) & 0x1) argument
1019 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((unsigned)(x) & 0x1F) << 9) argument
1020 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 9) & 0x1F) argument
1023 #define S_028240_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1024 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
1026 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
1027 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
1029 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1030 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
1033 #define S_028244_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1034 #define G_028244_BR_X(x) (((x) >> 0) & 0x3FFF) argument
1036 #define S_028244_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
1037 #define G_028244_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
1040 #define S_028030_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1041 #define G_028030_TL_X(x) (((x) >> 0) & 0x7FFF) argument
1043 #define S_028030_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1044 #define G_028030_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
1047 #define S_028034_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
1048 #define G_028034_BR_X(x) (((x) >> 0) & 0x7FFF) argument
1050 #define S_028034_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
1051 #define G_028034_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
1054 #define S_028204_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1055 #define G_028204_TL_X(x) (((x) >> 0) & 0x3FFF) argument
1057 #define S_028204_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
1058 #define G_028204_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
1060 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1061 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
1064 #define S_028208_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
1065 #define G_028208_BR_X(x) (((x) >> 0) & 0x3FFF) argument
1067 #define S_028208_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
1068 #define G_028208_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
1071 #define S_0287F0_SOURCE_SELECT(x) (((unsigned)(x) & 0x3) << 0) argument
1072 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x3) argument
1077 #define S_0287F0_MAJOR_MODE(x) (((unsigned)(x) & 0x3) << 2) argument
1078 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x3) argument
1080 #define S_0287F0_SPRITE_EN(x) (((unsigned)(x) & 0x1) << 4) argument
1081 #define G_0287F0_SPRITE_EN(x) (((x) >> 4) & 0x1) argument
1083 #define S_0287F0_NOT_EOP(x) (((unsigned)(x) & 0x1) << 5) argument
1084 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
1086 #define S_0287F0_USE_OPAQUE(x) (((unsigned)(x) & 0x1) << 6) argument
1087 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
1090 #define S_038000_DIM(x) (((unsigned)(x) & 0x7) << 0) argument
1091 #define G_038000_DIM(x) (((x) >> 0) & 0x7) argument
1101 #define S_038000_TILE_MODE(x) (((unsigned)(x) & 0xF) << 3) argument
1102 #define G_038000_TILE_MODE(x) (((x) >> 3) & 0xF) argument
1108 #define S_038000_TILE_TYPE(x) (((unsigned)(x) & 0x1) << 7) argument
1109 #define G_038000_TILE_TYPE(x) (((x) >> 7) & 0x1) argument
1111 #define S_038000_PITCH(x) (((unsigned)(x) & 0x7FF) << 8) argument
1112 #define G_038000_PITCH(x) (((x) >> 8) & 0x7FF) argument
1114 #define S_038000_TEX_WIDTH(x) (((unsigned)(x) & 0x1FFF) << 19) argument
1115 #define G_038000_TEX_WIDTH(x) (((x) >> 19) & 0x1FFF) argument
1118 #define S_038004_TEX_HEIGHT(x) (((unsigned)(x) & 0x1FFF) << 0) argument
1119 #define G_038004_TEX_HEIGHT(x) (((x) >> 0) & 0x1FFF) argument
1121 #define S_038004_TEX_DEPTH(x) (((unsigned)(x) & 0x1FFF) << 13) argument
1122 #define G_038004_TEX_DEPTH(x) (((x) >> 13) & 0x1FFF) argument
1124 #define S_038004_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 26) argument
1125 #define G_038004_DATA_FORMAT(x) (((x) >> 26) & 0x3F) argument
1128 #define S_038008_BASE_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
1129 #define G_038008_BASE_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1132 #define S_03800C_MIP_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
1133 #define G_03800C_MIP_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
1136 #define S_038010_FORMAT_COMP_X(x) (((unsigned)(x) & 0x3) << 0) argument
1137 #define G_038010_FORMAT_COMP_X(x) (((x) >> 0) & 0x3) argument
1142 #define S_038010_FORMAT_COMP_Y(x) (((unsigned)(x) & 0x3) << 2) argument
1143 #define G_038010_FORMAT_COMP_Y(x) (((x) >> 2) & 0x3) argument
1145 #define S_038010_FORMAT_COMP_Z(x) (((unsigned)(x) & 0x3) << 4) argument
1146 #define G_038010_FORMAT_COMP_Z(x) (((x) >> 4) & 0x3) argument
1148 #define S_038010_FORMAT_COMP_W(x) (((unsigned)(x) & 0x3) << 6) argument
1149 #define G_038010_FORMAT_COMP_W(x) (((x) >> 6) & 0x3) argument
1151 #define S_038010_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 8) argument
1152 #define G_038010_NUM_FORMAT_ALL(x) (((x) >> 8) & 0x3) argument
1157 #define S_038010_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 10) argument
1158 #define G_038010_SRF_MODE_ALL(x) (((x) >> 10) & 0x1) argument
1162 #define S_038010_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 11) argument
1163 #define G_038010_FORCE_DEGAMMA(x) (((x) >> 11) & 0x1) argument
1165 #define S_038010_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 12) argument
1166 #define G_038010_ENDIAN_SWAP(x) (((x) >> 12) & 0x3) argument
1168 #define S_038010_REQUEST_SIZE(x) (((unsigned)(x) & 0x3) << 14) argument
1169 #define G_038010_REQUEST_SIZE(x) (((x) >> 14) & 0x3) argument
1171 #define S_038010_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 16) argument
1172 #define G_038010_DST_SEL_X(x) (((x) >> 16) & 0x7) argument
1180 #define S_038010_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 19) argument
1181 #define G_038010_DST_SEL_Y(x) (((x) >> 19) & 0x7) argument
1183 #define S_038010_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 22) argument
1184 #define G_038010_DST_SEL_Z(x) (((x) >> 22) & 0x7) argument
1186 #define S_038010_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 25) argument
1187 #define G_038010_DST_SEL_W(x) (((x) >> 25) & 0x7) argument
1189 #define S_038010_BASE_LEVEL(x) (((unsigned)(x) & 0xF) << 28) argument
1190 #define G_038010_BASE_LEVEL(x) (((x) >> 28) & 0xF) argument
1193 #define S_038014_LAST_LEVEL(x) (((unsigned)(x) & 0xF) << 0) argument
1194 #define G_038014_LAST_LEVEL(x) (((x) >> 0) & 0xF) argument
1196 #define S_038014_BASE_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 4) argument
1197 #define G_038014_BASE_ARRAY(x) (((x) >> 4) & 0x1FFF) argument
1199 #define S_038014_LAST_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 17) argument
1200 #define G_038014_LAST_ARRAY(x) (((x) >> 17) & 0x1FFF) argument
1203 #define S_038018_MPEG_CLAMP(x) (((unsigned)(x) & 0x3) << 0) argument
1204 #define G_038018_MPEG_CLAMP(x) (((x) >> 0) & 0x3) argument
1206 #define S_038018_MAX_ANISO(x) (((unsigned)(x) & 0x7) << 2) argument
1207 #define G_038018_MAX_ANISO(x) (((x) >> 2) & 0x7) argument
1209 #define S_038018_PERF_MODULATION(x) (((unsigned)(x) & 0x7) << 5) argument
1210 #define G_038018_PERF_MODULATION(x) (((x) >> 5) & 0x7) argument
1212 #define S_038018_INTERLACED(x) (((unsigned)(x) & 0x1) << 8) argument
1213 #define G_038018_INTERLACED(x) (((x) >> 8) & 0x1) argument
1215 #define S_038018_TYPE(x) (((unsigned)(x) & 0x3) << 30) argument
1216 #define G_038018_TYPE(x) (((x) >> 30) & 0x3) argument
1223 #define S_038008_BASE_ADDRESS_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
1224 #define G_038008_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFF) argument
1226 #define S_038008_STRIDE(x) (((unsigned)(x) & 0x7FF) << 8) argument
1227 #define G_038008_STRIDE(x) (((x) >> 8) & 0x7FF) argument
1229 #define S_038008_CLAMP_X(x) (((unsigned)(x) & 0x1) << 19) argument
1230 #define G_038008_CLAMP_X(x) (((x) >> 19) & 0x1) argument
1232 #define S_038008_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 20) argument
1233 #define G_038008_DATA_FORMAT(x) (((x) >> 20) & 0x3F) argument
1236 #define S_038008_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 26) argument
1237 #define G_038008_NUM_FORMAT_ALL(x) (((x) >> 26) & 0x3) argument
1242 #define S_038008_FORMAT_COMP_ALL(x) (((unsigned)(x) & 0x1) << 28) argument
1243 #define G_038008_FORMAT_COMP_ALL(x) (((x) >> 28) & 0x1) argument
1245 #define S_038008_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 29) argument
1246 #define G_038008_SRF_MODE_ALL(x) (((x) >> 29) & 0x1) argument
1248 #define S_038008_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 30) argument
1249 #define G_038008_ENDIAN_SWAP(x) (((x) >> 30) & 0x3) argument
1252 #define S_03C000_CLAMP_X(x) (((unsigned)(x) & 0x7) << 0) argument
1253 #define G_03C000_CLAMP_X(x) (((x) >> 0) & 0x7) argument
1263 #define S_03C000_CLAMP_Y(x) (((unsigned)(x) & 0x7) << 3) argument
1264 #define G_03C000_CLAMP_Y(x) (((x) >> 3) & 0x7) argument
1266 #define S_03C000_CLAMP_Z(x) (((unsigned)(x) & 0x7) << 6) argument
1267 #define G_03C000_CLAMP_Z(x) (((x) >> 6) & 0x7) argument
1269 #define S_03C000_XY_MAG_FILTER(x) (((unsigned)(x) & 0x7) << 9) argument
1270 #define G_03C000_XY_MAG_FILTER(x) (((x) >> 9) & 0x7) argument
1277 #define S_03C000_XY_MIN_FILTER(x) (((unsigned)(x) & 0x7) << 12) argument
1278 #define G_03C000_XY_MIN_FILTER(x) (((x) >> 12) & 0x7) argument
1280 #define S_03C000_Z_FILTER(x) (((unsigned)(x) & 0x3) << 15) argument
1281 #define G_03C000_Z_FILTER(x) (((x) >> 15) & 0x3) argument
1286 #define S_03C000_MIP_FILTER(x) (((unsigned)(x) & 0x3) << 17) argument
1287 #define G_03C000_MIP_FILTER(x) (((x) >> 17) & 0x3) argument
1289 #define S_03C000_MAX_ANISO_RATIO(x) (((unsigned)(x) & 0x7) << 19) argument
1290 #define G_03C000_MAX_ANISO_RATIO(x) (((x) >> 19) & 0x7) argument
1292 #define S_03C000_BORDER_COLOR_TYPE(x) (((unsigned)(x) & 0x3) << 22) argument
1293 #define G_03C000_BORDER_COLOR_TYPE(x) (((x) >> 22) & 0x3) argument
1299 #define S_03C000_POINT_SAMPLING_CLAMP(x) (((unsigned)(x) & 0x1) << 24) argument
1300 #define G_03C000_POINT_SAMPLING_CLAMP(x) (((x) >> 24) & 0x1) argument
1302 #define S_03C000_TEX_ARRAY_OVERRIDE(x) (((unsigned)(x) & 0x1) << 25) argument
1303 #define G_03C000_TEX_ARRAY_OVERRIDE(x) (((x) >> 25) & 0x1) argument
1305 #define S_03C000_DEPTH_COMPARE_FUNCTION(x) (((unsigned)(x) & 0x7) << 26) argument
1306 #define G_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) >> 26) & 0x7) argument
1316 #define S_03C000_CHROMA_KEY(x) (((unsigned)(x) & 0x3) << 29) argument
1317 #define G_03C000_CHROMA_KEY(x) (((x) >> 29) & 0x3) argument
1322 #define S_03C000_LOD_USES_MINOR_AXIS(x) (((unsigned)(x) & 0x1) << 31) argument
1323 #define G_03C000_LOD_USES_MINOR_AXIS(x) (((x) >> 31) & 0x1) argument
1326 #define S_03C004_MIN_LOD(x) (((unsigned)(x) & 0x3FF) << 0) argument
1327 #define G_03C004_MIN_LOD(x) (((x) >> 0) & 0x3FF) argument
1329 #define S_03C004_MAX_LOD(x) (((unsigned)(x) & 0x3FF) << 10) argument
1330 #define G_03C004_MAX_LOD(x) (((x) >> 10) & 0x3FF) argument
1332 #define S_03C004_LOD_BIAS(x) (((unsigned)(x) & 0xFFF) << 20) argument
1333 #define G_03C004_LOD_BIAS(x) (((x) >> 20) & 0xFFF) argument
1336 #define S_03C008_LOD_BIAS_SEC(x) (((unsigned)(x) & 0xFFF) << 0) argument
1337 #define G_03C008_LOD_BIAS_SEC(x) (((x) >> 0) & 0xFFF) argument
1339 #define S_03C008_MC_COORD_TRUNCATE(x) (((unsigned)(x) & 0x1) << 12) argument
1340 #define G_03C008_MC_COORD_TRUNCATE(x) (((x) >> 12) & 0x1) argument
1342 #define S_03C008_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 13) argument
1343 #define G_03C008_FORCE_DEGAMMA(x) (((x) >> 13) & 0x1) argument
1345 #define S_03C008_HIGH_PRECISION_FILTER(x) (((unsigned)(x) & 0x1) << 14) argument
1346 #define G_03C008_HIGH_PRECISION_FILTER(x) (((x) >> 14) & 0x1) argument
1348 #define S_03C008_PERF_MIP(x) (((unsigned)(x) & 0x7) << 15) argument
1349 #define G_03C008_PERF_MIP(x) (((x) >> 15) & 0x7) argument
1351 #define S_03C008_PERF_Z(x) (((unsigned)(x) & 0x3) << 18) argument
1352 #define G_03C008_PERF_Z(x) (((x) >> 18) & 0x3) argument
1354 #define S_03C008_ANISO_BIAS(x) (((unsigned)(x) & 0x3f) << 22) argument
1355 #define G_03C008_ANISO_BIAS(x) (((x) >> 22) & 0x3f) argument
1357 #define S_03C008_FETCH_4(x) (((unsigned)(x) & 0x1) << 26) argument
1358 #define G_03C008_FETCH_4(x) (((x) >> 26) & 0x1) argument
1360 #define S_03C008_SAMPLE_IS_PCF(x) (((unsigned)(x) & 0x1) << 27) argument
1361 #define G_03C008_SAMPLE_IS_PCF(x) (((x) >> 27) & 0x1) argument
1363 #define S_03C008_TYPE(x) (((unsigned)(x) & 0x1) << 31) argument
1364 #define G_03C008_TYPE(x) (((x) >> 31) & 0x1) argument
1367 #define S_008958_PRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
1368 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
1400 #define S_02881C_CLIP_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
1401 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1) argument
1403 #define S_02881C_CLIP_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
1404 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1) argument
1406 #define S_02881C_CLIP_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
1407 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1) argument
1409 #define S_02881C_CLIP_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
1410 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1) argument
1412 #define S_02881C_CLIP_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
1413 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1) argument
1415 #define S_02881C_CLIP_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
1416 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1) argument
1418 #define S_02881C_CLIP_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 6) argument
1419 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1) argument
1421 #define S_02881C_CLIP_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 7) argument
1422 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1) argument
1424 #define S_02881C_CULL_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 8) argument
1425 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1) argument
1427 #define S_02881C_CULL_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 9) argument
1428 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1) argument
1430 #define S_02881C_CULL_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 10) argument
1431 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1) argument
1433 #define S_02881C_CULL_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 11) argument
1434 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1) argument
1436 #define S_02881C_CULL_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 12) argument
1437 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1) argument
1439 #define S_02881C_CULL_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 13) argument
1440 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1) argument
1442 #define S_02881C_CULL_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 14) argument
1443 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1) argument
1445 #define S_02881C_CULL_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 15) argument
1446 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1) argument
1448 #define S_02881C_USE_VTX_POINT_SIZE(x) (((unsigned)(x) & 0x1) << 16) argument
1449 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1) argument
1451 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((unsigned)(x) & 0x1) << 17) argument
1452 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1) argument
1454 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((unsigned)(x) & 0x1) << 18) argument
1455 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1) argument
1457 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((unsigned)(x) & 0x1) << 19) argument
1458 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1) argument
1460 #define S_02881C_USE_VTX_KILL_FLAG(x) (((unsigned)(x) & 0x1) << 20) argument
1461 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1) argument
1463 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
1464 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1) argument
1466 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((unsigned)(x) & 0x1) << 22) argument
1467 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1) argument
1469 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
1470 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1) argument
1473 #define S_028868_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1474 #define G_028868_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1476 #define S_028868_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1477 #define G_028868_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1479 #define S_028868_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1480 #define G_028868_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1482 #define S_028868_FETCH_CACHE_LINES(x) (((unsigned)(x) & 0x7) << 24) argument
1483 #define G_028868_FETCH_CACHE_LINES(x) (((x) >> 24) & 0x7) argument
1485 #define S_028868_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1486 #define G_028868_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1489 #define S_028850_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
1490 #define G_028850_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
1492 #define S_028850_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
1493 #define G_028850_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
1495 #define S_028850_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
1496 #define G_028850_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
1498 #define S_028850_FETCH_CACHE_LINES(x) (((unsigned)(x) & 0x7) << 24) argument
1499 #define G_028850_FETCH_CACHE_LINES(x) (((x) >> 24) & 0x7) argument
1501 #define S_028850_UNCACHED_FIRST_INST(x) (((unsigned)(x) & 0x1) << 28) argument
1502 #define G_028850_UNCACHED_FIRST_INST(x) (((x) >> 28) & 0x1) argument
1504 #define S_028850_CLAMP_CONSTS(x) (((unsigned)(x) & 0x1) << 31) argument
1505 #define G_028850_CLAMP_CONSTS(x) (((x) >> 31) & 0x1) argument
1508 #define S_028644_SEMANTIC(x) (((unsigned)(x) & 0xFF) << 0) argument
1509 #define G_028644_SEMANTIC(x) (((x) >> 0) & 0xFF) argument
1511 #define S_028644_DEFAULT_VAL(x) (((unsigned)(x) & 0x3) << 8) argument
1512 #define G_028644_DEFAULT_VAL(x) (((x) >> 8) & 0x3) argument
1514 #define S_028644_FLAT_SHADE(x) (((unsigned)(x) & 0x1) << 10) argument
1515 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1) argument
1517 #define S_028644_SEL_CENTROID(x) (((unsigned)(x) & 0x1) << 11) argument
1518 #define G_028644_SEL_CENTROID(x) (((x) >> 11) & 0x1) argument
1520 #define S_028644_SEL_LINEAR(x) (((unsigned)(x) & 0x1) << 12) argument
1521 #define G_028644_SEL_LINEAR(x) (((x) >> 12) & 0x1) argument
1523 #define S_028644_CYL_WRAP(x) (((unsigned)(x) & 0xF) << 13) argument
1524 #define G_028644_CYL_WRAP(x) (((x) >> 13) & 0xF) argument
1526 #define S_028644_PT_SPRITE_TEX(x) (((unsigned)(x) & 0x1) << 17) argument
1527 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1) argument
1529 #define S_028644_SEL_SAMPLE(x) (((unsigned)(x) & 0x1) << 18) argument
1530 #define G_028644_SEL_SAMPLE(x) (((x) >> 18) & 0x1) argument
1533 #define S_0286D4_FLAT_SHADE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
1534 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1) argument
1536 #define S_0286D4_PNT_SPRITE_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
1537 #define G_0286D4_PNT_SPRITE_ENA(x) (((x) >> 1) & 0x1) argument
1539 #define S_0286D4_PNT_SPRITE_OVRD_X(x) (((unsigned)(x) & 0x7) << 2) argument
1540 #define G_0286D4_PNT_SPRITE_OVRD_X(x) (((x) >> 2) & 0x7) argument
1542 #define S_0286D4_PNT_SPRITE_OVRD_Y(x) (((unsigned)(x) & 0x7) << 5) argument
1543 #define G_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) >> 5) & 0x7) argument
1545 #define S_0286D4_PNT_SPRITE_OVRD_Z(x) (((unsigned)(x) & 0x7) << 8) argument
1546 #define G_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) >> 8) & 0x7) argument
1548 #define S_0286D4_PNT_SPRITE_OVRD_W(x) (((unsigned)(x) & 0x7) << 11) argument
1549 #define G_0286D4_PNT_SPRITE_OVRD_W(x) (((x) >> 11) & 0x7) argument
1551 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((unsigned)(x) & 0x1) << 14) argument
1552 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1) argument
1592 #define S_028C30_CLRCMP_FCN_SRC(x) (((unsigned)(x) & 0x7) << 0) argument
1593 #define G_028C30_CLRCMP_FCN_SRC(x) (((x) >> 0) & 0x7) argument
1595 #define S_028C30_CLRCMP_FCN_DST(x) (((unsigned)(x) & 0x7) << 8) argument
1596 #define G_028C30_CLRCMP_FCN_DST(x) (((x) >> 8) & 0x7) argument
1598 #define S_028C30_CLRCMP_FCN_SEL(x) (((unsigned)(x) & 0x3) << 24) argument
1599 #define G_028C30_CLRCMP_FCN_SEL(x) (((x) >> 24) & 0x3) argument
1602 #define S_028C20_S4_X(x) (((unsigned)(x) & 0xF) << 0) argument
1603 #define G_028C20_S4_X(x) (((x) >> 0) & 0xF) argument
1605 #define S_028C20_S4_Y(x) (((unsigned)(x) & 0xF) << 4) argument
1606 #define G_028C20_S4_Y(x) (((x) >> 4) & 0xF) argument
1608 #define S_028C20_S5_X(x) (((unsigned)(x) & 0xF) << 8) argument
1609 #define G_028C20_S5_X(x) (((x) >> 8) & 0xF) argument
1611 #define S_028C20_S5_Y(x) (((unsigned)(x) & 0xF) << 12) argument
1612 #define G_028C20_S5_Y(x) (((x) >> 12) & 0xF) argument
1614 #define S_028C20_S6_X(x) (((unsigned)(x) & 0xF) << 16) argument
1615 #define G_028C20_S6_X(x) (((x) >> 16) & 0xF) argument
1617 #define S_028C20_S6_Y(x) (((unsigned)(x) & 0xF) << 20) argument
1618 #define G_028C20_S6_Y(x) (((x) >> 20) & 0xF) argument
1620 #define S_028C20_S7_X(x) (((unsigned)(x) & 0xF) << 24) argument
1621 #define G_028C20_S7_X(x) (((x) >> 24) & 0xF) argument
1623 #define S_028C20_S7_Y(x) (((unsigned)(x) & 0xF) << 28) argument
1624 #define G_028C20_S7_Y(x) (((x) >> 28) & 0xF) argument
1627 #define S_0280A0_ENDIAN(x) (((unsigned)(x) & 0x3) << 0) argument
1628 #define G_0280A0_ENDIAN(x) (((x) >> 0) & 0x3) argument
1630 #define S_0280A0_FORMAT(x) (((unsigned)(x) & 0x3F) << 2) argument
1631 #define G_0280A0_FORMAT(x) (((x) >> 2) & 0x3F) argument
1667 #define S_0280A0_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 8) argument
1668 #define G_0280A0_ARRAY_MODE(x) (((x) >> 8) & 0xF) argument
1674 #define S_0280A0_NUMBER_TYPE(x) (((unsigned)(x) & 0x7) << 12) argument
1675 #define G_0280A0_NUMBER_TYPE(x) (((x) >> 12) & 0x7) argument
1677 #define S_0280A0_READ_SIZE(x) (((unsigned)(x) & 0x1) << 15) argument
1678 #define G_0280A0_READ_SIZE(x) (((x) >> 15) & 0x1) argument
1680 #define S_0280A0_COMP_SWAP(x) (((unsigned)(x) & 0x3) << 16) argument
1681 #define G_0280A0_COMP_SWAP(x) (((x) >> 16) & 0x3) argument
1683 #define S_0280A0_TILE_MODE(x) (((unsigned)(x) & 0x3) << 18) argument
1684 #define G_0280A0_TILE_MODE(x) (((x) >> 18) & 0x3) argument
1686 #define S_0280A0_BLEND_CLAMP(x) (((unsigned)(x) & 0x1) << 20) argument
1687 #define G_0280A0_BLEND_CLAMP(x) (((x) >> 20) & 0x1) argument
1689 #define S_0280A0_CLEAR_COLOR(x) (((unsigned)(x) & 0x1) << 21) argument
1690 #define G_0280A0_CLEAR_COLOR(x) (((x) >> 21) & 0x1) argument
1692 #define S_0280A0_BLEND_BYPASS(x) (((unsigned)(x) & 0x1) << 22) argument
1693 #define G_0280A0_BLEND_BYPASS(x) (((x) >> 22) & 0x1) argument
1695 #define S_0280A0_BLEND_FLOAT32(x) (((unsigned)(x) & 0x1) << 23) argument
1696 #define G_0280A0_BLEND_FLOAT32(x) (((x) >> 23) & 0x1) argument
1698 #define S_0280A0_SIMPLE_FLOAT(x) (((unsigned)(x) & 0x1) << 24) argument
1699 #define G_0280A0_SIMPLE_FLOAT(x) (((x) >> 24) & 0x1) argument
1701 #define S_0280A0_ROUND_MODE(x) (((unsigned)(x) & 0x1) << 25) argument
1702 #define G_0280A0_ROUND_MODE(x) (((x) >> 25) & 0x1) argument
1704 #define S_0280A0_TILE_COMPACT(x) (((unsigned)(x) & 0x1) << 26) argument
1705 #define G_0280A0_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
1707 #define S_0280A0_SOURCE_FORMAT(x) (((unsigned)(x) & 0x1) << 27) argument
1708 #define G_0280A0_SOURCE_FORMAT(x) (((x) >> 27) & 0x1) argument
1711 #define S_028060_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
1712 #define G_028060_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
1714 #define S_028060_SLICE_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 10) argument
1715 #define G_028060_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
1718 #define S_028800_STENCIL_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
1719 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
1721 #define S_028800_Z_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
1722 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
1724 #define S_028800_Z_WRITE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
1725 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
1727 #define S_028800_ZFUNC(x) (((unsigned)(x) & 0x7) << 4) argument
1728 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x7) argument
1730 #define S_028800_BACKFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
1731 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
1733 #define S_028800_STENCILFUNC(x) (((unsigned)(x) & 0x7) << 8) argument
1734 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x7) argument
1736 #define S_028800_STENCILFAIL(x) (((unsigned)(x) & 0x7) << 11) argument
1737 #define G_028800_STENCILFAIL(x) (((x) >> 11) & 0x7) argument
1739 #define S_028800_STENCILZPASS(x) (((unsigned)(x) & 0x7) << 14) argument
1740 #define G_028800_STENCILZPASS(x) (((x) >> 14) & 0x7) argument
1742 #define S_028800_STENCILZFAIL(x) (((unsigned)(x) & 0x7) << 17) argument
1743 #define G_028800_STENCILZFAIL(x) (((x) >> 17) & 0x7) argument
1745 #define S_028800_STENCILFUNC_BF(x) (((unsigned)(x) & 0x7) << 20) argument
1746 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x7) argument
1748 #define S_028800_STENCILFAIL_BF(x) (((unsigned)(x) & 0x7) << 23) argument
1749 #define G_028800_STENCILFAIL_BF(x) (((x) >> 23) & 0x7) argument
1751 #define S_028800_STENCILZPASS_BF(x) (((unsigned)(x) & 0x7) << 26) argument
1752 #define G_028800_STENCILZPASS_BF(x) (((x) >> 26) & 0x7) argument
1754 #define S_028800_STENCILZFAIL_BF(x) (((unsigned)(x) & 0x7) << 29) argument
1755 #define G_028800_STENCILZFAIL_BF(x) (((x) >> 29) & 0x7) argument
1758 #define S_028010_FORMAT(x) (((unsigned)(x) & 0x7) << 0) argument
1759 #define G_028010_FORMAT(x) (((x) >> 0) & 0x7) argument
1769 #define S_028010_READ_SIZE(x) (((unsigned)(x) & 0x1) << 3) argument
1770 #define G_028010_READ_SIZE(x) (((x) >> 3) & 0x1) argument
1772 #define S_028010_ARRAY_MODE(x) (((unsigned)(x) & 0xF) << 15) argument
1773 #define G_028010_ARRAY_MODE(x) (((x) >> 15) & 0xF) argument
1775 #define S_028010_TILE_SURFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 25) argument
1776 #define G_028010_TILE_SURFACE_ENABLE(x) (((x) >> 25) & 0x1) argument
1778 #define S_028010_TILE_COMPACT(x) (((unsigned)(x) & 0x1) << 26) argument
1779 #define G_028010_TILE_COMPACT(x) (((x) >> 26) & 0x1) argument
1781 #define S_028010_ZRANGE_PRECISION(x) (((unsigned)(x) & 0x1) << 31) argument
1782 #define G_028010_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
1785 #define S_028000_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
1786 #define G_028000_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
1788 #define S_028000_SLICE_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 10) argument
1789 #define G_028000_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
1792 #define S_028004_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
1793 #define G_028004_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
1795 #define S_028004_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 13) argument
1796 #define G_028004_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
1799 #define S_028D24_HTILE_WIDTH(x) (((unsigned)(x) & 0x1) << 0) argument
1800 #define G_028D24_HTILE_WIDTH(x) (((x) >> 0) & 0x1) argument
1802 #define S_028D24_HTILE_HEIGHT(x) (((unsigned)(x) & 0x1) << 1) argument
1803 #define G_028D24_HTILE_HEIGHT(x) (((x) >> 1) & 0x1) argument
1805 #define S_028D24_LINEAR(x) (((unsigned)(x) & 0x1) << 2) argument
1806 #define G_028D24_LINEAR(x) (((x) >> 2) & 0x1) argument
1808 #define S_028D24_FULL_CACHE(x) (((unsigned)(x) & 0x1) << 3) argument
1809 #define G_028D24_FULL_CACHE(x) (((x) >> 3) & 0x1) argument
1811 #define S_028D24_HTILE_USES_PRELOAD_WIN(x) (((unsigned)(x) & 0x1) << 4) argument
1812 #define G_028D24_HTILE_USES_PRELOAD_WIN(x) (((x) >> 4) & 0x1) argument
1814 #define S_028D24_PRELOAD(x) (((unsigned)(x) & 0x1) << 5) argument
1815 #define G_028D24_PRELOAD(x) (((x) >> 5) & 0x1) argument
1817 #define S_028D24_PREFETCH_WIDTH(x) (((unsigned)(x) & 0x3F) << 6) argument
1818 #define G_028D24_PREFETCH_WIDTH(x) (((x) >> 6) & 0x3F) argument
1820 #define S_028D24_PREFETCH_HEIGHT(x) (((unsigned)(x) & 0x3F) << 12) argument
1821 #define G_028D24_PREFETCH_HEIGHT(x) (((x) >> 12) & 0x3F) argument
1824 #define S_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
1825 #define G_028D34_DEPTH_HEIGHT_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
1828 #define S_028D10_FORCE_HIZ_ENABLE(x) (((unsigned)(x) & 0x3) << 0) argument
1829 #define G_028D10_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x3) argument
1831 #define S_028D10_FORCE_HIS_ENABLE0(x) (((unsigned)(x) & 0x3) << 2) argument
1832 #define G_028D10_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x3) argument
1834 #define S_028D10_FORCE_HIS_ENABLE1(x) (((unsigned)(x) & 0x3) << 4) argument
1835 #define G_028D10_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x3) argument
1837 #define S_028D10_FORCE_SHADER_Z_ORDER(x) (((unsigned)(x) & 0x1) << 6) argument
1838 #define G_028D10_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
1840 #define S_028D10_FAST_Z_DISABLE(x) (((unsigned)(x) & 0x1) << 7) argument
1841 #define G_028D10_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
1843 #define S_028D10_FAST_STENCIL_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
1844 #define G_028D10_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
1846 #define S_028D10_NOOP_CULL_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
1847 #define G_028D10_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
1849 #define S_028D10_FORCE_COLOR_KILL(x) (((unsigned)(x) & 0x1) << 10) argument
1850 #define G_028D10_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
1852 #define S_028D10_FORCE_Z_READ(x) (((unsigned)(x) & 0x1) << 11) argument
1853 #define G_028D10_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
1855 #define S_028D10_FORCE_STENCIL_READ(x) (((unsigned)(x) & 0x1) << 12) argument
1856 #define G_028D10_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
1858 #define S_028D10_FORCE_FULL_Z_RANGE(x) (((unsigned)(x) & 0x3) << 13) argument
1859 #define G_028D10_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x3) argument
1861 #define S_028D10_FORCE_QC_SMASK_CONFLICT(x) (((unsigned)(x) & 0x1) << 15) argument
1862 #define G_028D10_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
1864 #define S_028D10_DISABLE_VIEWPORT_CLAMP(x) (((unsigned)(x) & 0x1) << 16) argument
1865 #define G_028D10_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
1867 #define S_028D10_IGNORE_SC_ZRANGE(x) (((unsigned)(x) & 0x1) << 17) argument
1868 #define G_028D10_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
1871 #define S_028A40_MODE(x) (((unsigned)(x) & 0x3) << 0) argument
1872 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
1878 #define S_028A40_ES_PASSTHRU(x) (((unsigned)(x) & 0x1) << 2) argument
1879 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
1881 #define S_028A40_CUT_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
1882 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
1889 #define S_008DFC_ADDR(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
1890 #define G_008DFC_ADDR(x) (((x) >> 0) & 0xFFFFFFFF) argument
1893 #define S_008DFC_POP_COUNT(x) (((unsigned)(x) & 0x7) << 0) argument
1894 #define G_008DFC_POP_COUNT(x) (((x) >> 0) & 0x7) argument
1896 #define S_008DFC_CF_CONST(x) (((unsigned)(x) & 0x1F) << 3) argument
1897 #define G_008DFC_CF_CONST(x) (((x) >> 3) & 0x1F) argument
1899 #define S_008DFC_COND(x) (((unsigned)(x) & 0x3) << 8) argument
1900 #define G_008DFC_COND(x) (((x) >> 8) & 0x3) argument
1902 #define S_008DFC_COUNT(x) (((unsigned)(x) & 0x7) << 10) argument
1903 #define G_008DFC_COUNT(x) (((x) >> 10) & 0x7) argument
1905 #define S_008DFC_CALL_COUNT(x) (((unsigned)(x) & 0x3F) << 13) argument
1906 #define G_008DFC_CALL_COUNT(x) (((x) >> 13) & 0x3F) argument
1908 #define S_008DFC_END_OF_PROGRAM(x) (((unsigned)(x) & 0x1) << 21) argument
1909 #define G_008DFC_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
1911 #define S_008DFC_VALID_PIXEL_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
1912 #define G_008DFC_VALID_PIXEL_MODE(x) (((x) >> 22) & 0x1) argument
1914 #define S_008DFC_CF_INST(x) (((unsigned)(x) & 0x7F) << 23) argument
1915 #define G_008DFC_CF_INST(x) (((x) >> 23) & 0x7F) argument
1917 #define S_008DFC_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
1918 #define G_008DFC_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
1920 #define S_008DFC_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
1921 #define G_008DFC_BARRIER(x) (((x) >> 31) & 0x1) argument
1924 #define S_008DFC_ALU_ADDR(x) (((unsigned)(x) & 0x3FFFFF) << 0) argument
1925 #define G_008DFC_ALU_ADDR(x) (((x) >> 0) & 0x3FFFFF) argument
1927 #define S_008DFC_KCACHE_BANK0(x) (((unsigned)(x) & 0xF) << 22) argument
1928 #define G_008DFC_KCACHE_BANK0(x) (((x) >> 22) & 0xF) argument
1930 #define S_008DFC_KCACHE_BANK1(x) (((unsigned)(x) & 0xF) << 26) argument
1931 #define G_008DFC_KCACHE_BANK1(x) (((x) >> 26) & 0xF) argument
1933 #define S_008DFC_KCACHE_MODE0(x) (((unsigned)(x) & 0x3) << 30) argument
1934 #define G_008DFC_KCACHE_MODE0(x) (((x) >> 30) & 0x3) argument
1937 #define S_008DFC_KCACHE_MODE1(x) (((unsigned)(x) & 0x3) << 0) argument
1938 #define G_008DFC_KCACHE_MODE1(x) (((x) >> 0) & 0x3) argument
1940 #define S_008DFC_KCACHE_ADDR0(x) (((unsigned)(x) & 0xFF) << 2) argument
1941 #define G_008DFC_KCACHE_ADDR0(x) (((x) >> 2) & 0xFF) argument
1943 #define S_008DFC_KCACHE_ADDR1(x) (((unsigned)(x) & 0xFF) << 10) argument
1944 #define G_008DFC_KCACHE_ADDR1(x) (((x) >> 10) & 0xFF) argument
1946 #define S_008DFC_ALU_COUNT(x) (((unsigned)(x) & 0x7F) << 18) argument
1947 #define G_008DFC_ALU_COUNT(x) (((x) >> 18) & 0x7F) argument
1949 #define S_008DFC_USES_WATERFALL(x) (((unsigned)(x) & 0x1) << 25) argument
1950 #define G_008DFC_USES_WATERFALL(x) (((x) >> 25) & 0x1) argument
1952 #define S_008DFC_CF_ALU_INST(x) (((unsigned)(x) & 0xF) << 26) argument
1953 #define G_008DFC_CF_ALU_INST(x) (((x) >> 26) & 0xF) argument
1962 #define S_008DFC_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
1963 #define G_008DFC_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
1965 #define S_008DFC_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
1966 #define G_008DFC_BARRIER(x) (((x) >> 31) & 0x1) argument
1969 #define S_008DFC_ARRAY_BASE(x) (((unsigned)(x) & 0x1FFF) << 0) argument
1970 #define G_008DFC_ARRAY_BASE(x) (((x) >> 0) & 0x1FFF) argument
1972 #define S_008DFC_TYPE(x) (((unsigned)(x) & 0x3) << 13) argument
1973 #define G_008DFC_TYPE(x) (((x) >> 13) & 0x3) argument
1975 #define S_008DFC_RW_GPR(x) (((unsigned)(x) & 0x7F) << 15) argument
1976 #define G_008DFC_RW_GPR(x) (((x) >> 15) & 0x7F) argument
1978 #define S_008DFC_RW_REL(x) (((unsigned)(x) & 0x1) << 22) argument
1979 #define G_008DFC_RW_REL(x) (((x) >> 22) & 0x1) argument
1981 #define S_008DFC_INDEX_GPR(x) (((unsigned)(x) & 0x7F) << 23) argument
1982 #define G_008DFC_INDEX_GPR(x) (((x) >> 23) & 0x7F) argument
1984 #define S_008DFC_ELEM_SIZE(x) (((unsigned)(x) & 0x3) << 30) argument
1985 #define G_008DFC_ELEM_SIZE(x) (((x) >> 30) & 0x3) argument
1988 #define S_008DFC_BURST_COUNT(x) (((unsigned)(x) & 0xF) << 17) argument
1989 #define G_008DFC_BURST_COUNT(x) (((x) >> 17) & 0xF) argument
1991 #define S_008DFC_END_OF_PROGRAM(x) (((unsigned)(x) & 0x1) << 21) argument
1992 #define G_008DFC_END_OF_PROGRAM(x) (((x) >> 21) & 0x1) argument
1994 #define S_008DFC_VALID_PIXEL_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
1995 #define G_008DFC_VALID_PIXEL_MODE(x) (((x) >> 22) & 0x1) argument
1997 #define S_008DFC_CF_INST(x) (((unsigned)(x) & 0x7F) << 23) argument
1998 #define G_008DFC_CF_INST(x) (((x) >> 23) & 0x7F) argument
2000 #define S_008DFC_WHOLE_QUAD_MODE(x) (((unsigned)(x) & 0x1) << 30) argument
2001 #define G_008DFC_WHOLE_QUAD_MODE(x) (((x) >> 30) & 0x1) argument
2003 #define S_008DFC_BARRIER(x) (((unsigned)(x) & 0x1) << 31) argument
2004 #define G_008DFC_BARRIER(x) (((x) >> 31) & 0x1) argument
2007 #define S_008DFC_ARRAY_SIZE(x) (((unsigned)(x) & 0xFFF) << 0) argument
2008 #define G_008DFC_ARRAY_SIZE(x) (((x) >> 0) & 0xFFF) argument
2010 #define S_008DFC_COMP_MASK(x) (((unsigned)(x) & 0xF) << 12) argument
2011 #define G_008DFC_COMP_MASK(x) (((x) >> 12) & 0xF) argument
2014 #define S_008DFC_SEL_X(x) (((unsigned)(x) & 0x7) << 0) argument
2015 #define G_008DFC_SEL_X(x) (((x) >> 0) & 0x7) argument
2017 #define S_008DFC_SEL_Y(x) (((unsigned)(x) & 0x7) << 3) argument
2018 #define G_008DFC_SEL_Y(x) (((x) >> 3) & 0x7) argument
2020 #define S_008DFC_SEL_Z(x) (((unsigned)(x) & 0x7) << 6) argument
2021 #define G_008DFC_SEL_Z(x) (((x) >> 6) & 0x7) argument
2023 #define S_008DFC_SEL_W(x) (((unsigned)(x) & 0x7) << 9) argument
2024 #define G_008DFC_SEL_W(x) (((x) >> 9) & 0x7) argument
2027 #define S_008DFC_VTX_INST(x) (((unsigned)(x) & 0x1F) << 0) argument
2028 #define G_008DFC_VTX_INST(x) (((x) >> 0) & 0x1F) argument
2030 #define S_008DFC_FETCH_TYPE(x) (((unsigned)(x) & 0x3) << 5) argument
2031 #define G_008DFC_FETCH_TYPE(x) (((x) >> 5) & 0x3) argument
2033 #define S_008DFC_FETCH_WHOLE_QUAD(x) (((unsigned)(x) & 0x1) << 7) argument
2034 #define G_008DFC_FETCH_WHOLE_QUAD(x) (((x) >> 7) & 0x1) argument
2036 #define S_008DFC_BUFFER_ID(x) (((unsigned)(x) & 0xFF) << 8) argument
2037 #define G_008DFC_BUFFER_ID(x) (((x) >> 8) & 0xFF) argument
2039 #define S_008DFC_SRC_GPR(x) (((unsigned)(x) & 0x7F) << 16) argument
2040 #define G_008DFC_SRC_GPR(x) (((x) >> 16) & 0x7F) argument
2042 #define S_008DFC_SRC_REL(x) (((unsigned)(x) & 0x1) << 23) argument
2043 #define G_008DFC_SRC_REL(x) (((x) >> 23) & 0x1) argument
2045 #define S_008DFC_SRC_SEL_X(x) (((unsigned)(x) & 0x3) << 24) argument
2046 #define G_008DFC_SRC_SEL_X(x) (((x) >> 24) & 0x3) argument
2048 #define S_008DFC_MEGA_FETCH_COUNT(x) (((unsigned)(x) & 0x3F) << 26) argument
2049 #define G_008DFC_MEGA_FETCH_COUNT(x) (((x) >> 26) & 0x3F) argument
2052 #define S_008DFC_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 9) argument
2053 #define G_008DFC_DST_SEL_X(x) (((x) >> 9) & 0x7) argument
2055 #define S_008DFC_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 12) argument
2056 #define G_008DFC_DST_SEL_Y(x) (((x) >> 12) & 0x7) argument
2058 #define S_008DFC_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 15) argument
2059 #define G_008DFC_DST_SEL_Z(x) (((x) >> 15) & 0x7) argument
2061 #define S_008DFC_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 18) argument
2062 #define G_008DFC_DST_SEL_W(x) (((x) >> 18) & 0x7) argument
2064 #define S_008DFC_USE_CONST_FIELDS(x) (((unsigned)(x) & 0x1) << 21) argument
2065 #define G_008DFC_USE_CONST_FIELDS(x) (((x) >> 21) & 0x1) argument
2067 #define S_008DFC_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 22) argument
2068 #define G_008DFC_DATA_FORMAT(x) (((x) >> 22) & 0x3F) argument
2070 #define S_008DFC_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 28) argument
2071 #define G_008DFC_NUM_FORMAT_ALL(x) (((x) >> 28) & 0x3) argument
2073 #define S_008DFC_FORMAT_COMP_ALL(x) (((unsigned)(x) & 0x1) << 30) argument
2074 #define G_008DFC_FORMAT_COMP_ALL(x) (((x) >> 30) & 0x1) argument
2076 #define S_008DFC_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 31) argument
2077 #define G_008DFC_SRF_MODE_ALL(x) (((x) >> 31) & 0x1) argument
2080 #define S_008DFC_DST_GPR(x) (((unsigned)(x) & 0x7F) << 0) argument
2081 #define G_008DFC_DST_GPR(x) (((x) >> 0) & 0x7F) argument
2083 #define S_008DFC_DST_REL(x) (((unsigned)(x) & 0x1) << 7) argument
2084 #define G_008DFC_DST_REL(x) (((x) >> 7) & 0x1) argument
2087 #define S_008DFC_OFFSET(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2088 #define G_008DFC_OFFSET(x) (((x) >> 0) & 0xFFFF) argument
2090 #define S_008DFC_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 16) argument
2091 #define G_008DFC_ENDIAN_SWAP(x) (((x) >> 16) & 0x3) argument
2093 #define S_008DFC_CONST_BUF_NO_STRIDE(x) (((unsigned)(x) & 0x1) << 18) argument
2094 #define G_008DFC_CONST_BUF_NO_STRIDE(x) (((x) >> 18) & 0x1) argument
2096 #define S_008DFC_MEGA_FETCH(x) (((unsigned)(x) & 0x1) << 19) argument
2097 #define G_008DFC_MEGA_FETCH(x) (((x) >> 19) & 0x1) argument
2099 #define S_008DFC_ALT_CONST(x) (((unsigned)(x) & 0x1) << 20) argument
2100 #define G_008DFC_ALT_CONST(x) (((x) >> 20) & 0x1) argument
2103 #define S_008040_WAIT_CP_DMA_IDLE(x) (((unsigned)(x) & 0x1) << 8) argument
2104 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
2106 #define S_008040_WAIT_CMDFIFO(x) (((unsigned)(x) & 0x1) << 10) argument
2107 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
2109 #define S_008040_WAIT_2D_IDLE(x) (((unsigned)(x) & 0x1) << 14) argument
2110 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
2112 #define S_008040_WAIT_3D_IDLE(x) (((unsigned)(x) & 0x1) << 15) argument
2113 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
2115 #define S_008040_WAIT_2D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 16) argument
2116 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
2118 #define S_008040_WAIT_3D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 17) argument
2119 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
2121 #define S_008040_WAIT_EXTERN_SIG(x) (((unsigned)(x) & 0x1) << 19) argument
2122 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
2124 #define S_008040_CMDFIFO_ENTRIES(x) (((unsigned)(x) & 0x1F) << 20) argument
2125 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
2128 #define S_0286CC_NUM_INTERP(x) (((unsigned)(x) & 0x3F) << 0) argument
2129 #define G_0286CC_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
2131 #define S_0286CC_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
2132 #define G_0286CC_POSITION_ENA(x) (((x) >> 8) & 0x1) argument
2134 #define S_0286CC_POSITION_CENTROID(x) (((unsigned)(x) & 0x1) << 9) argument
2135 #define G_0286CC_POSITION_CENTROID(x) (((x) >> 9) & 0x1) argument
2137 #define S_0286CC_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 10) argument
2138 #define G_0286CC_POSITION_ADDR(x) (((x) >> 10) & 0x1F) argument
2140 #define S_0286CC_PARAM_GEN(x) (((unsigned)(x) & 0xF) << 15) argument
2141 #define G_0286CC_PARAM_GEN(x) (((x) >> 15) & 0xF) argument
2143 #define S_0286CC_PARAM_GEN_ADDR(x) (((unsigned)(x) & 0x7F) << 19) argument
2144 #define G_0286CC_PARAM_GEN_ADDR(x) (((x) >> 19) & 0x7F) argument
2146 #define S_0286CC_BARYC_SAMPLE_CNTL(x) (((unsigned)(x) & 0x3) << 26) argument
2147 #define G_0286CC_BARYC_SAMPLE_CNTL(x) (((x) >> 26) & 0x3) argument
2149 #define S_0286CC_PERSP_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
2150 #define G_0286CC_PERSP_GRADIENT_ENA(x) (((x) >> 28) & 0x1) argument
2152 #define S_0286CC_LINEAR_GRADIENT_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
2153 #define G_0286CC_LINEAR_GRADIENT_ENA(x) (((x) >> 29) & 0x1) argument
2155 #define S_0286CC_POSITION_SAMPLE(x) (((unsigned)(x) & 0x1) << 30) argument
2156 #define G_0286CC_POSITION_SAMPLE(x) (((x) >> 30) & 0x1) argument
2158 #define S_0286CC_BARYC_AT_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 31) argument
2159 #define G_0286CC_BARYC_AT_SAMPLE_ENA(x) (((x) >> 31) & 0x1) argument
2162 #define S_0286D0_GEN_INDEX_PIX(x) (((unsigned)(x) & 0x1) << 0) argument
2163 #define G_0286D0_GEN_INDEX_PIX(x) (((x) >> 0) & 0x1) argument
2165 #define S_0286D0_GEN_INDEX_PIX_ADDR(x) (((unsigned)(x) & 0x7F) << 1) argument
2166 #define G_0286D0_GEN_INDEX_PIX_ADDR(x) (((x) >> 1) & 0x7F) argument
2168 #define S_0286D0_FRONT_FACE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
2169 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 8) & 0x1) argument
2171 #define S_0286D0_FRONT_FACE_CHAN(x) (((unsigned)(x) & 0x3) << 9) argument
2172 #define G_0286D0_FRONT_FACE_CHAN(x) (((x) >> 9) & 0x3) argument
2174 #define S_0286D0_FRONT_FACE_ALL_BITS(x) (((unsigned)(x) & 0x1) << 11) argument
2175 #define G_0286D0_FRONT_FACE_ALL_BITS(x) (((x) >> 11) & 0x1) argument
2177 #define S_0286D0_FRONT_FACE_ADDR(x) (((unsigned)(x) & 0x1F) << 12) argument
2178 #define G_0286D0_FRONT_FACE_ADDR(x) (((x) >> 12) & 0x1F) argument
2180 #define S_0286D0_FOG_ADDR(x) (((unsigned)(x) & 0x7F) << 17) argument
2181 #define G_0286D0_FOG_ADDR(x) (((x) >> 17) & 0x7F) argument
2183 #define S_0286D0_FIXED_PT_POSITION_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
2184 #define G_0286D0_FIXED_PT_POSITION_ENA(x) (((x) >> 24) & 0x1) argument
2186 #define S_0286D0_FIXED_PT_POSITION_ADDR(x) (((unsigned)(x) & 0x1F) << 25) argument
2187 #define G_0286D0_FIXED_PT_POSITION_ADDR(x) (((x) >> 25) & 0x1F) argument
2190 #define S_0286C4_VS_PER_COMPONENT(x) (((unsigned)(x) & 0x1) << 0) argument
2191 #define G_0286C4_VS_PER_COMPONENT(x) (((x) >> 0) & 0x1) argument
2193 #define S_0286C4_VS_EXPORT_COUNT(x) (((unsigned)(x) & 0x1F) << 1) argument
2194 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
2196 #define S_0286C4_VS_EXPORTS_FOG(x) (((unsigned)(x) & 0x1) << 8) argument
2197 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 8) & 0x1) argument
2199 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((unsigned)(x) & 0x1F) << 9) argument
2200 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 9) & 0x1F) argument
2203 #define S_028240_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2204 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2206 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2207 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2209 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2210 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2213 #define S_028244_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2214 #define G_028244_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2216 #define S_028244_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2217 #define G_028244_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2220 #define S_028030_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
2221 #define G_028030_TL_X(x) (((x) >> 0) & 0x7FFF) argument
2223 #define S_028030_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
2224 #define G_028030_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
2227 #define S_028034_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
2228 #define G_028034_BR_X(x) (((x) >> 0) & 0x7FFF) argument
2230 #define S_028034_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
2231 #define G_028034_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
2234 #define S_028204_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2235 #define G_028204_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2237 #define S_028204_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2238 #define G_028204_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2240 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2241 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2244 #define S_028208_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2245 #define G_028208_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2247 #define S_028208_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2248 #define G_028208_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2251 #define S_0287F0_SOURCE_SELECT(x) (((unsigned)(x) & 0x3) << 0) argument
2252 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x3) argument
2254 #define S_0287F0_MAJOR_MODE(x) (((unsigned)(x) & 0x3) << 2) argument
2255 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x3) argument
2257 #define S_0287F0_SPRITE_EN(x) (((unsigned)(x) & 0x1) << 4) argument
2258 #define G_0287F0_SPRITE_EN(x) (((x) >> 4) & 0x1) argument
2260 #define S_0287F0_NOT_EOP(x) (((unsigned)(x) & 0x1) << 5) argument
2261 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
2263 #define S_0287F0_USE_OPAQUE(x) (((unsigned)(x) & 0x1) << 6) argument
2264 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
2283 #define S_028C00_EXPAND_LINE_WIDTH(x) (((unsigned)(x) & 0x1) << 9) argument
2284 #define G_028C00_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1) argument
2286 #define S_028C00_LAST_PIXEL(x) (((unsigned)(x) & 0x1) << 10) argument
2287 #define G_028C00_LAST_PIXEL(x) (((x) >> 10) & 0x1) argument
2291 #define S_028C08_PIX_CENTER_HALF(x) (((unsigned)(x) & 0x1) << 0) argument
2292 #define G_028C08_PIX_CENTER_HALF(x) (((x) >> 0) & 0x1) argument
2294 #define S_028C08_QUANT_MODE(x) (((unsigned)(x) & 0x7) << 3) argument
2295 #define G_028C08_QUANT_MODE(x) (((x) >> 3) & 0x7) argument
2315 #define S_028A04_MIN_SIZE(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2316 #define G_028A04_MIN_SIZE(x) (((x) >> 0) & 0xFFFF) argument
2318 #define S_028A04_MAX_SIZE(x) (((unsigned)(x) & 0xFFFF) << 16) argument
2319 #define G_028A04_MAX_SIZE(x) (((x) >> 16) & 0xFFFF) argument
2322 #define S_028A08_WIDTH(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2323 #define G_028A08_WIDTH(x) (((x) >> 0) & 0xFFFF) argument
2333 #define S_028818_VPORT_X_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
2334 #define G_028818_VPORT_X_SCALE_ENA(x) (((x) >> 0 & 0x1) argument
2336 #define S_028818_VPORT_X_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
2337 #define G_028818_VPORT_X_OFFSET_ENA(x) (((x) >> 1 & 0x1) argument
2339 #define S_028818_VPORT_Y_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
2340 #define G_028818_VPORT_Y_SCALE_ENA(x) (((x) >> 2 & 0x1) argument
2342 #define S_028818_VPORT_Y_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
2343 #define G_028818_VPORT_Y_OFFSET_ENA(x) (((x) >> 3 & 0x1) argument
2345 #define S_028818_VPORT_Z_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
2346 #define G_028818_VPORT_Z_SCALE_ENA(x) (((x) >> 4 & 0x1) argument
2348 #define S_028818_VPORT_Z_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
2349 #define G_028818_VPORT_Z_OFFSET_ENA(x) (((x) >> 5 & 0x1) argument
2351 #define S_028818_VTX_XY_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
2352 #define G_028818_VTX_XY_FMT(x) (((x) >> 8) & 0x1) argument
2354 #define S_028818_VTX_Z_FMT(x) (((unsigned)(x) & 0x1) << 9) argument
2355 #define G_028818_VTX_Z_FMT(x) (((x) >> 9) & 0x1) argument
2357 #define S_028818_VTX_W0_FMT(x) (((unsigned)(x) & 0x1) << 10) argument
2358 #define G_028818_VTX_W0_FMT(x) (((x) >> 10) & 0x1) argument
2389 #define S_028D44_ALPHA_TO_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
2390 #define S_028D44_ALPHA_TO_MASK_OFFSET0(x) (((unsigned)(x) & 0x3) << 8) argument
2391 #define S_028D44_ALPHA_TO_MASK_OFFSET1(x) (((unsigned)(x) & 0x3) << 10) argument
2392 #define S_028D44_ALPHA_TO_MASK_OFFSET2(x) (((unsigned)(x) & 0x3) << 12) argument
2393 #define S_028D44_ALPHA_TO_MASK_OFFSET3(x) (((unsigned)(x) & 0x3) << 14) argument
2394 #define S_028D44_OFFSET_ROUND(x) (((unsigned)(x) & 0x1) << 16) argument
2397 #define S_028890_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
2398 #define G_028890_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
2400 #define S_028890_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
2401 #define G_028890_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
2403 #define S_028890_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
2404 #define G_028890_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
2407 #define S_02887C_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
2408 #define G_02887C_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
2410 #define S_02887C_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
2411 #define G_02887C_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
2413 #define S_02887C_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
2414 #define G_02887C_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
2452 #define S_028854_EXPORT_COLORS(x) (((unsigned)(x) & 0xF) << 1) argument
2453 #define G_028854_EXPORT_COLORS(x) (((x) >> 1) & 0xF) argument
2455 #define S_028854_EXPORT_Z(x) (((unsigned)(x) & 0x1) << 0) argument
2456 #define G_028854_EXPORT_Z(x) (((x) >> 0) & 0x1) argument
2466 #define S_028060_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x3FF) << 0) argument
2467 #define G_028060_PITCH_TILE_MAX(x) (((x) >> 0) & 0x3FF) argument
2469 #define S_028060_SLICE_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 10) argument
2470 #define G_028060_SLICE_TILE_MAX(x) (((x) >> 10) & 0xFFFFF) argument
2488 #define S_028240_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2489 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2491 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2492 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2495 #define S_028C04_MSAA_NUM_SAMPLES(x) (((unsigned)(x) & 0x3) << 0) argument
2496 #define G_028C04_MSAA_NUM_SAMPLES(x) (((x) >> 0) & 0x3) argument
2498 #define S_028C04_AA_MASK_CENTROID_DTMN(x) (((unsigned)(x) & 0x1) << 4) argument
2499 #define G_028C04_AA_MASK_CENTROID_DTMN(x) (((x) >> 4) & 0x1) argument
2501 #define S_028C04_MAX_SAMPLE_DIST(x) (((unsigned)(x) & 0xF) << 13) argument
2502 #define G_028C04_MAX_SAMPLE_DIST(x) (((x) >> 13) & 0xF) argument
2515 #define S_028080_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
2516 #define G_028080_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
2518 #define S_028080_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 13) argument
2519 #define G_028080_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
2529 #define S_028100_CMASK_BLOCK_MAX(x) (((unsigned)(x) & 0xFFF) << 0) argument
2530 #define G_028100_CMASK_BLOCK_MAX(x) (((x) >> 0) & 0xFFF) argument
2532 #define S_028100_FMASK_TILE_MAX(x) (((unsigned)(x) & 0xFFFFF) << 12) argument
2533 #define G_028100_FMASK_TILE_MAX(x) (((x) >> 12) & 0xFFFFF) argument
2543 #define S_028040_BASE_256B(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2544 #define G_028040_BASE_256B(x) (((x) >> 0) & 0xFFFFFFFF) argument
2547 #define S_0280E0_BASE_256B(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2548 #define G_0280E0_BASE_256B(x) (((x) >> 0) & 0xFFFFFFFF) argument
2558 #define S_0280C0_BASE_256B(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2559 #define G_0280C0_BASE_256B(x) (((x) >> 0) & 0xFFFFFFFF) argument
2569 #define S_028614_SEMANTIC_0(x) (((unsigned)(x) & 0xFF) << 0) argument
2570 #define G_028614_SEMANTIC_0(x) (((x) >> 0) & 0xFF) argument
2572 #define S_028614_SEMANTIC_1(x) (((unsigned)(x) & 0xFF) << 8) argument
2573 #define G_028614_SEMANTIC_1(x) (((x) >> 8) & 0xFF) argument
2575 #define S_028614_SEMANTIC_2(x) (((unsigned)(x) & 0xFF) << 16) argument
2576 #define G_028614_SEMANTIC_2(x) (((x) >> 16) & 0xFF) argument
2578 #define S_028614_SEMANTIC_3(x) (((unsigned)(x) & 0xFF) << 24) argument
2579 #define G_028614_SEMANTIC_3(x) (((x) >> 24) & 0xFF) argument
2591 #define S_038000_DIM(x) (((unsigned)(x) & 0x7) << 0) argument
2592 #define G_038000_DIM(x) (((x) >> 0) & 0x7) argument
2594 #define S_038000_TILE_MODE(x) (((unsigned)(x) & 0xF) << 3) argument
2595 #define G_038000_TILE_MODE(x) (((x) >> 3) & 0xF) argument
2597 #define S_038000_TILE_TYPE(x) (((unsigned)(x) & 0x1) << 7) argument
2598 #define G_038000_TILE_TYPE(x) (((x) >> 7) & 0x1) argument
2600 #define S_038000_PITCH(x) (((unsigned)(x) & 0x7FF) << 8) argument
2601 #define G_038000_PITCH(x) (((x) >> 8) & 0x7FF) argument
2603 #define S_038000_TEX_WIDTH(x) (((unsigned)(x) & 0x1FFF) << 19) argument
2604 #define G_038000_TEX_WIDTH(x) (((x) >> 19) & 0x1FFF) argument
2607 #define S_038004_TEX_HEIGHT(x) (((unsigned)(x) & 0x1FFF) << 0) argument
2608 #define G_038004_TEX_HEIGHT(x) (((x) >> 0) & 0x1FFF) argument
2610 #define S_038004_TEX_DEPTH(x) (((unsigned)(x) & 0x1FFF) << 13) argument
2611 #define G_038004_TEX_DEPTH(x) (((x) >> 13) & 0x1FFF) argument
2613 #define S_038004_DATA_FORMAT(x) (((unsigned)(x) & 0x3F) << 26) argument
2614 #define G_038004_DATA_FORMAT(x) (((x) >> 26) & 0x3F) argument
2651 #define S_038008_BASE_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2652 #define G_038008_BASE_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
2655 #define S_03800C_MIP_ADDRESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2656 #define G_03800C_MIP_ADDRESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
2659 #define S_038010_FORMAT_COMP_X(x) (((unsigned)(x) & 0x3) << 0) argument
2660 #define G_038010_FORMAT_COMP_X(x) (((x) >> 0) & 0x3) argument
2662 #define S_038010_FORMAT_COMP_Y(x) (((unsigned)(x) & 0x3) << 2) argument
2663 #define G_038010_FORMAT_COMP_Y(x) (((x) >> 2) & 0x3) argument
2665 #define S_038010_FORMAT_COMP_Z(x) (((unsigned)(x) & 0x3) << 4) argument
2666 #define G_038010_FORMAT_COMP_Z(x) (((x) >> 4) & 0x3) argument
2668 #define S_038010_FORMAT_COMP_W(x) (((unsigned)(x) & 0x3) << 6) argument
2669 #define G_038010_FORMAT_COMP_W(x) (((x) >> 6) & 0x3) argument
2671 #define S_038010_NUM_FORMAT_ALL(x) (((unsigned)(x) & 0x3) << 8) argument
2672 #define G_038010_NUM_FORMAT_ALL(x) (((x) >> 8) & 0x3) argument
2674 #define S_038010_SRF_MODE_ALL(x) (((unsigned)(x) & 0x1) << 10) argument
2675 #define G_038010_SRF_MODE_ALL(x) (((x) >> 10) & 0x1) argument
2677 #define S_038010_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 11) argument
2678 #define G_038010_FORCE_DEGAMMA(x) (((x) >> 11) & 0x1) argument
2680 #define S_038010_ENDIAN_SWAP(x) (((unsigned)(x) & 0x3) << 12) argument
2681 #define G_038010_ENDIAN_SWAP(x) (((x) >> 12) & 0x3) argument
2683 #define S_038010_REQUEST_SIZE(x) (((unsigned)(x) & 0x3) << 14) argument
2684 #define G_038010_REQUEST_SIZE(x) (((x) >> 14) & 0x3) argument
2686 #define S_038010_DST_SEL_X(x) (((unsigned)(x) & 0x7) << 16) argument
2687 #define G_038010_DST_SEL_X(x) (((x) >> 16) & 0x7) argument
2689 #define S_038010_DST_SEL_Y(x) (((unsigned)(x) & 0x7) << 19) argument
2690 #define G_038010_DST_SEL_Y(x) (((x) >> 19) & 0x7) argument
2692 #define S_038010_DST_SEL_Z(x) (((unsigned)(x) & 0x7) << 22) argument
2693 #define G_038010_DST_SEL_Z(x) (((x) >> 22) & 0x7) argument
2695 #define S_038010_DST_SEL_W(x) (((unsigned)(x) & 0x7) << 25) argument
2696 #define G_038010_DST_SEL_W(x) (((x) >> 25) & 0x7) argument
2698 #define S_038010_BASE_LEVEL(x) (((unsigned)(x) & 0xF) << 28) argument
2699 #define G_038010_BASE_LEVEL(x) (((x) >> 28) & 0xF) argument
2702 #define S_038014_LAST_LEVEL(x) (((unsigned)(x) & 0xF) << 0) argument
2703 #define G_038014_LAST_LEVEL(x) (((x) >> 0) & 0xF) argument
2705 #define S_038014_BASE_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 4) argument
2706 #define G_038014_BASE_ARRAY(x) (((x) >> 4) & 0x1FFF) argument
2708 #define S_038014_LAST_ARRAY(x) (((unsigned)(x) & 0x1FFF) << 17) argument
2709 #define G_038014_LAST_ARRAY(x) (((x) >> 17) & 0x1FFF) argument
2712 #define S_038018_MPEG_CLAMP(x) (((unsigned)(x) & 0x3) << 0) argument
2713 #define G_038018_MPEG_CLAMP(x) (((x) >> 0) & 0x3) argument
2715 #define S_038018_PERF_MODULATION(x) (((unsigned)(x) & 0x7) << 5) argument
2716 #define G_038018_PERF_MODULATION(x) (((x) >> 5) & 0x7) argument
2718 #define S_038018_INTERLACED(x) (((unsigned)(x) & 0x1) << 8) argument
2719 #define G_038018_INTERLACED(x) (((x) >> 8) & 0x1) argument
2721 #define S_038018_TYPE(x) (((unsigned)(x) & 0x3) << 30) argument
2722 #define G_038018_TYPE(x) (((x) >> 30) & 0x3) argument
2725 #define S_008040_WAIT_CP_DMA_IDLE(x) (((unsigned)(x) & 0x1) << 8) argument
2726 #define G_008040_WAIT_CP_DMA_IDLE(x) (((x) >> 8) & 0x1) argument
2728 #define S_008040_WAIT_CMDFIFO(x) (((unsigned)(x) & 0x1) << 10) argument
2729 #define G_008040_WAIT_CMDFIFO(x) (((x) >> 10) & 0x1) argument
2731 #define S_008040_WAIT_2D_IDLE(x) (((unsigned)(x) & 0x1) << 14) argument
2732 #define G_008040_WAIT_2D_IDLE(x) (((x) >> 14) & 0x1) argument
2734 #define S_008040_WAIT_3D_IDLE(x) (((unsigned)(x) & 0x1) << 15) argument
2735 #define G_008040_WAIT_3D_IDLE(x) (((x) >> 15) & 0x1) argument
2737 #define S_008040_WAIT_2D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 16) argument
2738 #define G_008040_WAIT_2D_IDLECLEAN(x) (((x) >> 16) & 0x1) argument
2740 #define S_008040_WAIT_3D_IDLECLEAN(x) (((unsigned)(x) & 0x1) << 17) argument
2741 #define G_008040_WAIT_3D_IDLECLEAN(x) (((x) >> 17) & 0x1) argument
2743 #define S_008040_WAIT_EXTERN_SIG(x) (((unsigned)(x) & 0x1) << 19) argument
2744 #define G_008040_WAIT_EXTERN_SIG(x) (((x) >> 19) & 0x1) argument
2746 #define S_008040_CMDFIFO_ENTRIES(x) (((unsigned)(x) & 0x1F) << 20) argument
2747 #define G_008040_CMDFIFO_ENTRIES(x) (((x) >> 20) & 0x1F) argument
2750 #define S_008958_PRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
2751 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
2754 #define S_008C08_NUM_GS_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
2755 #define G_008C08_NUM_GS_GPRS(x) (((x) >> 0) & 0xFF) argument
2757 #define S_008C08_NUM_ES_GPRS(x) (((unsigned)(x) & 0xFF) << 16) argument
2758 #define G_008C08_NUM_ES_GPRS(x) (((x) >> 16) & 0xFF) argument
2761 #define S_008D8C_RING0_OFFSET(x) (((unsigned)(x) & 0xFF) << 0) argument
2762 #define G_008D8C_RING0_OFFSET(x) (((x) >> 0) & 0xFF) argument
2764 #define S_008D8C_ISOLATE_ES_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
2765 #define G_008D8C_ISOLATE_ES_ENABLE(x) (((x) >> 12) & 0x1) argument
2767 #define S_008D8C_ISOLATE_GS_ENABLE(x) (((unsigned)(x) & 0x1) << 13) argument
2768 #define G_008D8C_ISOLATE_GS_ENABLE(x) (((x) >> 13) & 0x1) argument
2770 #define S_008D8C_VS_PC_LIMIT_ENABLE(x) (((unsigned)(x) & 0x1) << 14) argument
2771 #define G_008D8C_VS_PC_LIMIT_ENABLE(x) (((x) >> 14) & 0x1) argument
2774 #define S_009508_DISABLE_CUBE_WRAP(x) (((unsigned)(x) & 0x1) << 0) argument
2775 #define G_009508_DISABLE_CUBE_WRAP(x) (((x) >> 0) & 0x1) argument
2777 #define S_009508_DISABLE_CUBE_ANISO(x) (((unsigned)(x) & 0x1) << 1) argument
2778 #define G_009508_DISABLE_CUBE_ANISO(x) (((x) >> 1) & 0x1) argument
2780 #define S_009508_SYNC_GRADIENT(x) (((unsigned)(x) & 0x1) << 24) argument
2781 #define G_009508_SYNC_GRADIENT(x) (((x) >> 24) & 0x1) argument
2783 #define S_009508_SYNC_WALKER(x) (((unsigned)(x) & 0x1) << 25) argument
2784 #define G_009508_SYNC_WALKER(x) (((x) >> 25) & 0x1) argument
2786 #define S_009508_SYNC_ALIGNER(x) (((unsigned)(x) & 0x1) << 26) argument
2787 #define G_009508_SYNC_ALIGNER(x) (((x) >> 26) & 0x1) argument
2789 #define S_009508_BILINEAR_PRECISION(x) (((unsigned)(x) & 0x1) << 31) argument
2790 #define G_009508_BILINEAR_PRECISION(x) (((x) >> 31) & 0x1) argument
2795 #define S_009838_DEPTH_FREE(x) (((unsigned)(x) & 0x1F) << 0) argument
2796 #define G_009838_DEPTH_FREE(x) (((x) >> 0) & 0x1F) argument
2798 #define S_009838_DEPTH_FLUSH(x) (((unsigned)(x) & 0x3F) << 5) argument
2799 #define G_009838_DEPTH_FLUSH(x) (((x) >> 5) & 0x3F) argument
2801 #define S_009838_FORCE_SUMMARIZE(x) (((unsigned)(x) & 0xF) << 11) argument
2802 #define G_009838_FORCE_SUMMARIZE(x) (((x) >> 11) & 0xF) argument
2804 #define S_009838_DEPTH_PENDING_FREE(x) (((unsigned)(x) & 0x1F) << 15) argument
2805 #define G_009838_DEPTH_PENDING_FREE(x) (((x) >> 15) & 0x1F) argument
2807 #define S_009838_DEPTH_CACHELINE_FREE(x) (((unsigned)(x) & 0x1F) << 20) argument
2808 #define G_009838_DEPTH_CACHELINE_FREE(x) (((x) >> 20) & 0x1F) argument
2810 #define S_009838_EARLY_Z_PANIC_DISABLE(x) (((unsigned)(x) & 0x1) << 25) argument
2811 #define G_009838_EARLY_Z_PANIC_DISABLE(x) (((x) >> 25) & 0x1) argument
2813 #define S_009838_LATE_Z_PANIC_DISABLE(x) (((unsigned)(x) & 0x1) << 26) argument
2814 #define G_009838_LATE_Z_PANIC_DISABLE(x) (((x) >> 26) & 0x1) argument
2816 #define S_009838_RE_Z_PANIC_DISABLE(x) (((unsigned)(x) & 0x1) << 27) argument
2817 #define G_009838_RE_Z_PANIC_DISABLE(x) (((x) >> 27) & 0x1) argument
2819 #define S_009838_DB_EXTRA_DEBUG(x) (((unsigned)(x) & 0xF) << 28) argument
2820 #define G_009838_DB_EXTRA_DEBUG(x) (((x) >> 28) & 0xF) argument
2823 #define S_028030_TL_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
2824 #define G_028030_TL_X(x) (((x) >> 0) & 0x7FFF) argument
2826 #define S_028030_TL_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
2827 #define G_028030_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
2830 #define S_028034_BR_X(x) (((unsigned)(x) & 0x7FFF) << 0) argument
2831 #define G_028034_BR_X(x) (((x) >> 0) & 0x7FFF) argument
2833 #define S_028034_BR_Y(x) (((unsigned)(x) & 0x7FFF) << 16) argument
2834 #define G_028034_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
2837 #define S_028200_WINDOW_X_OFFSET(x) (((unsigned)(x) & 0x7FFF) << 0) argument
2838 #define G_028200_WINDOW_X_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
2840 #define S_028200_WINDOW_Y_OFFSET(x) (((unsigned)(x) & 0x7FFF) << 16) argument
2841 #define G_028200_WINDOW_Y_OFFSET(x) (((x) >> 16) & 0x7FFF) argument
2844 #define S_028204_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2845 #define G_028204_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2847 #define S_028204_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2848 #define G_028204_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2850 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2851 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2854 #define S_028208_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2855 #define G_028208_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2857 #define S_028208_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2858 #define G_028208_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2861 #define S_02820C_CLIP_RULE(x) (((unsigned)(x) & 0xFFFF) << 0) argument
2862 #define G_02820C_CLIP_RULE(x) (((x) >> 0) & 0xFFFF) argument
2865 #define S_028210_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2866 #define G_028210_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2868 #define S_028210_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2869 #define G_028210_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2872 #define S_028214_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2873 #define G_028214_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2875 #define S_028214_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2876 #define G_028214_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2886 #define S_028240_TL_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2887 #define G_028240_TL_X(x) (((x) >> 0) & 0x3FFF) argument
2889 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2890 #define G_028240_TL_Y(x) (((x) >> 16) & 0x3FFF) argument
2892 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
2893 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
2896 #define S_028244_BR_X(x) (((unsigned)(x) & 0x3FFF) << 0) argument
2897 #define G_028244_BR_X(x) (((x) >> 0) & 0x3FFF) argument
2899 #define S_028244_BR_Y(x) (((unsigned)(x) & 0x3FFF) << 16) argument
2900 #define G_028244_BR_Y(x) (((x) >> 16) & 0x3FFF) argument
2903 #define S_0282D0_VPORT_ZMIN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2904 #define G_0282D0_VPORT_ZMIN(x) (((x) >> 0) & 0xFFFFFFFF) argument
2907 #define S_0282D4_VPORT_ZMAX(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2908 #define G_0282D4_VPORT_ZMAX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2911 #define S_028350_MULTIPASS(x) (((unsigned)(x) & 0x1) << 0) argument
2912 #define G_028350_MULTIPASS(x) (((x) >> 0) & 0x1) argument
2915 #define S_028354_SURFACE_SYNC_MASK(x) (((unsigned)(x) & 0x1FF) << 0) argument
2917 #define S_028380_SEMANTIC_ID(x) (((unsigned)(x) & 0xFF) << 0) argument
2918 #define G_028380_SEMANTIC_ID(x) (((x) >> 0) & 0xFF) argument
2954 #define S_028400_MAX_INDX(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2955 #define G_028400_MAX_INDX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2958 #define S_028404_MIN_INDX(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2959 #define G_028404_MIN_INDX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2962 #define S_028408_INDX_OFFSET(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2963 #define G_028408_INDX_OFFSET(x) (((x) >> 0) & 0xFFFFFFFF) argument
2966 #define S_02840C_RESET_INDX(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2967 #define G_02840C_RESET_INDX(x) (((x) >> 0) & 0xFFFFFFFF) argument
2970 #define S_028410_ALPHA_FUNC(x) (((unsigned)(x) & 0x7) << 0) argument
2971 #define G_028410_ALPHA_FUNC(x) (((x) >> 0) & 0x7) argument
2973 #define S_028410_ALPHA_TEST_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
2974 #define G_028410_ALPHA_TEST_ENABLE(x) (((x) >> 3) & 0x1) argument
2976 #define S_028410_ALPHA_TEST_BYPASS(x) (((unsigned)(x) & 0x1) << 8) argument
2977 #define G_028410_ALPHA_TEST_BYPASS(x) (((x) >> 8) & 0x1) argument
2980 #define S_028414_BLEND_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2981 #define G_028414_BLEND_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
2984 #define S_028418_BLEND_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2985 #define G_028418_BLEND_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
2988 #define S_02841C_BLEND_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2989 #define G_02841C_BLEND_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
2992 #define S_028420_BLEND_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2993 #define G_028420_BLEND_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
2996 #define S_028438_ALPHA_REF(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
2997 #define G_028438_ALPHA_REF(x) (((x) >> 0) & 0xFFFFFFFF) argument
3000 #define S_0286C8_PS_GROUPING(x) (((unsigned)(x) & 0x1F) << 0) argument
3001 #define G_0286C8_PS_GROUPING(x) (((x) >> 0) & 0x1F) argument
3003 #define S_0286C8_VS_GROUPING(x) (((unsigned)(x) & 0x1F) << 8) argument
3004 #define G_0286C8_VS_GROUPING(x) (((x) >> 8) & 0x1F) argument
3006 #define S_0286C8_GS_GROUPING(x) (((unsigned)(x) & 0x1F) << 16) argument
3007 #define G_0286C8_GS_GROUPING(x) (((x) >> 16) & 0x1F) argument
3009 #define S_0286C8_ES_GROUPING(x) (((unsigned)(x) & 0x1F) << 24) argument
3010 #define G_0286C8_ES_GROUPING(x) (((x) >> 24) & 0x1F) argument
3013 #define S_0286D8_PROVIDE_Z_TO_SPI(x) (((unsigned)(x) & 0x1) << 0) argument
3014 #define G_0286D8_PROVIDE_Z_TO_SPI(x) (((x) >> 0) & 0x1) argument
3017 #define S_0286DC_PASS_FOG_THROUGH_PS(x) (((unsigned)(x) & 0x1) << 0) argument
3018 #define G_0286DC_PASS_FOG_THROUGH_PS(x) (((x) >> 0) & 0x1) argument
3020 #define S_0286DC_PIXEL_FOG_FUNC(x) (((unsigned)(x) & 0x3) << 1) argument
3021 #define G_0286DC_PIXEL_FOG_FUNC(x) (((x) >> 1) & 0x3) argument
3023 #define S_0286DC_PIXEL_FOG_SRC_SEL(x) (((unsigned)(x) & 0x1) << 3) argument
3024 #define G_0286DC_PIXEL_FOG_SRC_SEL(x) (((x) >> 3) & 0x1) argument
3026 #define S_0286DC_VS_FOG_CLAMP_DISABLE(x) (((unsigned)(x) & 0x1) << 4) argument
3027 #define G_0286DC_VS_FOG_CLAMP_DISABLE(x) (((x) >> 4) & 0x1) argument
3030 #define S_0286E0_VALUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3031 #define G_0286E0_VALUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3034 #define S_0286E4_VALUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3035 #define G_0286E4_VALUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3038 #define S_0287A0_RT0_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
3039 #define G_0287A0_RT0_ENABLE(x) (((x) >> 0) & 0x1) argument
3041 #define S_0287A0_RT1_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
3042 #define G_0287A0_RT1_ENABLE(x) (((x) >> 1) & 0x1) argument
3044 #define S_0287A0_RT2_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
3045 #define G_0287A0_RT2_ENABLE(x) (((x) >> 2) & 0x1) argument
3047 #define S_0287A0_RT3_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
3048 #define G_0287A0_RT3_ENABLE(x) (((x) >> 3) & 0x1) argument
3050 #define S_0287A0_RT4_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
3051 #define G_0287A0_RT4_ENABLE(x) (((x) >> 4) & 0x1) argument
3053 #define S_0287A0_RT5_ENABLE(x) (((unsigned)(x) & 0x1) << 5) argument
3054 #define G_0287A0_RT5_ENABLE(x) (((x) >> 5) & 0x1) argument
3056 #define S_0287A0_RT6_ENABLE(x) (((unsigned)(x) & 0x1) << 6) argument
3057 #define G_0287A0_RT6_ENABLE(x) (((x) >> 6) & 0x1) argument
3059 #define S_0287A0_RT7_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
3060 #define G_0287A0_RT7_ENABLE(x) (((x) >> 7) & 0x1) argument
3063 #define S_028894_PGM_START(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3064 #define G_028894_PGM_START(x) (((x) >> 0) & 0xFFFFFFFF) argument
3067 #define S_0288A4_NUM_GPRS(x) (((unsigned)(x) & 0xFF) << 0) argument
3068 #define G_0288A4_NUM_GPRS(x) (((x) >> 0) & 0xFF) argument
3070 #define S_0288A4_STACK_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
3071 #define G_0288A4_STACK_SIZE(x) (((x) >> 8) & 0xFF) argument
3073 #define S_0288A4_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
3074 #define G_0288A4_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
3077 #define S_0288A8_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3078 #define G_0288A8_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3081 #define S_0288AC_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3082 #define G_0288AC_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3085 #define S_0288B0_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3086 #define G_0288B0_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3089 #define S_0288B4_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3090 #define G_0288B4_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3093 #define S_0288B8_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3094 #define G_0288B8_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3097 #define S_0288BC_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3098 #define G_0288BC_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3101 #define S_0288C0_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3102 #define G_0288C0_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3105 #define S_0288C4_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3106 #define G_0288C4_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3109 #define S_0288C8_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0) argument
3110 #define G_0288C8_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
3113 #define S_0288DC_PGM_CF_OFFSET(x) (((unsigned)(x) & 0xFFFFF) << 0) argument
3114 #define G_0288DC_PGM_CF_OFFSET(x) (((x) >> 0) & 0xFFFFF) argument
3117 #define S_028A10_PATH_SELECT(x) (((unsigned)(x) & 0x3) << 0) argument
3118 #define G_028A10_PATH_SELECT(x) (((x) >> 0) & 0x3) argument
3121 #define S_028A14_TESS_MODE(x) (((unsigned)(x) & 0x3) << 0) argument
3122 #define G_028A14_TESS_MODE(x) (((x) >> 0) & 0x3) argument
3125 #define S_028A18_MAX_TESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3126 #define G_028A18_MAX_TESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
3129 #define S_028A1C_MIN_TESS(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3130 #define G_028A1C_MIN_TESS(x) (((x) >> 0) & 0xFFFFFFFF) argument
3133 #define S_028A20_REUSE_DEPTH(x) (((unsigned)(x) & 0xFF) << 0) argument
3134 #define G_028A20_REUSE_DEPTH(x) (((x) >> 0) & 0xFF) argument
3137 #define S_028A24_PRIM_TYPE(x) (((unsigned)(x) & 0x1F) << 0) argument
3138 #define G_028A24_PRIM_TYPE(x) (((x) >> 0) & 0x1F) argument
3140 #define S_028A24_RETAIN_ORDER(x) (((unsigned)(x) & 0x1) << 14) argument
3141 #define G_028A24_RETAIN_ORDER(x) (((x) >> 14) & 0x1) argument
3143 #define S_028A24_RETAIN_QUADS(x) (((unsigned)(x) & 0x1) << 15) argument
3144 #define G_028A24_RETAIN_QUADS(x) (((x) >> 15) & 0x1) argument
3146 #define S_028A24_PRIM_ORDER(x) (((unsigned)(x) & 0x7) << 16) argument
3147 #define G_028A24_PRIM_ORDER(x) (((x) >> 16) & 0x7) argument
3150 #define S_028A28_FIRST_DECR(x) (((unsigned)(x) & 0xF) << 0) argument
3151 #define G_028A28_FIRST_DECR(x) (((x) >> 0) & 0xF) argument
3154 #define S_028A2C_DECR(x) (((unsigned)(x) & 0xF) << 0) argument
3155 #define G_028A2C_DECR(x) (((x) >> 0) & 0xF) argument
3158 #define S_028A30_COMP_X_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3159 #define G_028A30_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
3161 #define S_028A30_COMP_Y_EN(x) (((unsigned)(x) & 0x1) << 1) argument
3162 #define G_028A30_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
3164 #define S_028A30_COMP_Z_EN(x) (((unsigned)(x) & 0x1) << 2) argument
3165 #define G_028A30_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
3167 #define S_028A30_COMP_W_EN(x) (((unsigned)(x) & 0x1) << 3) argument
3168 #define G_028A30_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
3170 #define S_028A30_STRIDE(x) (((unsigned)(x) & 0xFF) << 8) argument
3171 #define G_028A30_STRIDE(x) (((x) >> 8) & 0xFF) argument
3173 #define S_028A30_SHIFT(x) (((unsigned)(x) & 0xFF) << 16) argument
3174 #define G_028A30_SHIFT(x) (((x) >> 16) & 0xFF) argument
3177 #define S_028A34_COMP_X_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3178 #define G_028A34_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
3180 #define S_028A34_COMP_Y_EN(x) (((unsigned)(x) & 0x1) << 1) argument
3181 #define G_028A34_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
3183 #define S_028A34_COMP_Z_EN(x) (((unsigned)(x) & 0x1) << 2) argument
3184 #define G_028A34_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
3186 #define S_028A34_COMP_W_EN(x) (((unsigned)(x) & 0x1) << 3) argument
3187 #define G_028A34_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
3189 #define S_028A34_STRIDE(x) (((unsigned)(x) & 0xFF) << 8) argument
3190 #define G_028A34_STRIDE(x) (((x) >> 8) & 0xFF) argument
3192 #define S_028A34_SHIFT(x) (((unsigned)(x) & 0xFF) << 16) argument
3193 #define G_028A34_SHIFT(x) (((x) >> 16) & 0xFF) argument
3196 #define S_028A38_X_CONV(x) (((unsigned)(x) & 0xF) << 0) argument
3197 #define G_028A38_X_CONV(x) (((x) >> 0) & 0xF) argument
3199 #define S_028A38_X_OFFSET(x) (((unsigned)(x) & 0xF) << 4) argument
3200 #define G_028A38_X_OFFSET(x) (((x) >> 4) & 0xF) argument
3202 #define S_028A38_Y_CONV(x) (((unsigned)(x) & 0xF) << 8) argument
3203 #define G_028A38_Y_CONV(x) (((x) >> 8) & 0xF) argument
3205 #define S_028A38_Y_OFFSET(x) (((unsigned)(x) & 0xF) << 12) argument
3206 #define G_028A38_Y_OFFSET(x) (((x) >> 12) & 0xF) argument
3208 #define S_028A38_Z_CONV(x) (((unsigned)(x) & 0xF) << 16) argument
3209 #define G_028A38_Z_CONV(x) (((x) >> 16) & 0xF) argument
3211 #define S_028A38_Z_OFFSET(x) (((unsigned)(x) & 0xF) << 20) argument
3212 #define G_028A38_Z_OFFSET(x) (((x) >> 20) & 0xF) argument
3214 #define S_028A38_W_CONV(x) (((unsigned)(x) & 0xF) << 24) argument
3215 #define G_028A38_W_CONV(x) (((x) >> 24) & 0xF) argument
3217 #define S_028A38_W_OFFSET(x) (((unsigned)(x) & 0xF) << 28) argument
3218 #define G_028A38_W_OFFSET(x) (((x) >> 28) & 0xF) argument
3221 #define S_028A3C_X_CONV(x) (((unsigned)(x) & 0xF) << 0) argument
3222 #define G_028A3C_X_CONV(x) (((x) >> 0) & 0xF) argument
3224 #define S_028A3C_X_OFFSET(x) (((unsigned)(x) & 0xF) << 4) argument
3225 #define G_028A3C_X_OFFSET(x) (((x) >> 4) & 0xF) argument
3227 #define S_028A3C_Y_CONV(x) (((unsigned)(x) & 0xF) << 8) argument
3228 #define G_028A3C_Y_CONV(x) (((x) >> 8) & 0xF) argument
3230 #define S_028A3C_Y_OFFSET(x) (((unsigned)(x) & 0xF) << 12) argument
3231 #define G_028A3C_Y_OFFSET(x) (((x) >> 12) & 0xF) argument
3233 #define S_028A3C_Z_CONV(x) (((unsigned)(x) & 0xF) << 16) argument
3234 #define G_028A3C_Z_CONV(x) (((x) >> 16) & 0xF) argument
3236 #define S_028A3C_Z_OFFSET(x) (((unsigned)(x) & 0xF) << 20) argument
3237 #define G_028A3C_Z_OFFSET(x) (((x) >> 20) & 0xF) argument
3239 #define S_028A3C_W_CONV(x) (((unsigned)(x) & 0xF) << 24) argument
3240 #define G_028A3C_W_CONV(x) (((x) >> 24) & 0xF) argument
3242 #define S_028A3C_W_OFFSET(x) (((unsigned)(x) & 0xF) << 28) argument
3243 #define G_028A3C_W_OFFSET(x) (((x) >> 28) & 0xF) argument
3246 #define S_028A40_MODE(x) (((unsigned)(x) & 0x3) << 0) argument
3247 #define G_028A40_MODE(x) (((x) >> 0) & 0x3) argument
3249 #define S_028A40_ES_PASSTHRU(x) (((unsigned)(x) & 0x1) << 2) argument
3250 #define G_028A40_ES_PASSTHRU(x) (((x) >> 2) & 0x1) argument
3252 #define S_028A40_CUT_MODE(x) (((unsigned)(x) & 0x3) << 3) argument
3253 #define G_028A40_CUT_MODE(x) (((x) >> 3) & 0x3) argument
3256 #define S_028A4C_MSAA_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
3257 #define G_028A4C_MSAA_ENABLE(x) (((x) >> 0) & 0x1) argument
3259 #define S_028A4C_CLIPRECT_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
3260 #define G_028A4C_CLIPRECT_ENABLE(x) (((x) >> 1) & 0x1) argument
3262 #define S_028A4C_LINE_STIPPLE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
3263 #define G_028A4C_LINE_STIPPLE_ENABLE(x) (((x) >> 2) & 0x1) argument
3265 #define S_028A4C_MULTI_CHIP_PRIM_DISCARD_ENAB(x) (((unsigned)(x) & 0x1) << 3) argument
3266 #define G_028A4C_MULTI_CHIP_PRIM_DISCARD_ENAB(x) (((x) >> 3) & 0x1) argument
3268 #define S_028A4C_WALK_ORDER_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
3269 #define G_028A4C_WALK_ORDER_ENABLE(x) (((x) >> 4) & 0x1) argument
3271 #define S_028A4C_HALVE_DETAIL_SAMPLE_PERF(x) (((unsigned)(x) & 0x1) << 5) argument
3272 #define G_028A4C_HALVE_DETAIL_SAMPLE_PERF(x) (((x) >> 5) & 0x1) argument
3274 #define S_028A4C_WALK_SIZE(x) (((unsigned)(x) & 0x1) << 6) argument
3275 #define G_028A4C_WALK_SIZE(x) (((x) >> 6) & 0x1) argument
3277 #define S_028A4C_WALK_ALIGNMENT(x) (((unsigned)(x) & 0x1) << 7) argument
3278 #define G_028A4C_WALK_ALIGNMENT(x) (((x) >> 7) & 0x1) argument
3280 #define S_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((unsigned)(x) & 0x1) << 8) argument
3281 #define G_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((x) >> 8) & 0x1) argument
3283 #define S_028A4C_TILE_COVER_NO_SCISSOR(x) (((unsigned)(x) & 0x1) << 9) argument
3284 #define G_028A4C_TILE_COVER_NO_SCISSOR(x) (((x) >> 9) & 0x1) argument
3286 #define S_028A4C_KILL_PIX_POST_HI_Z(x) (((unsigned)(x) & 0x1) << 10) argument
3287 #define G_028A4C_KILL_PIX_POST_HI_Z(x) (((x) >> 10) & 0x1) argument
3289 #define S_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
3290 #define G_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((x) >> 11) & 0x1) argument
3292 #define S_028A4C_MULTI_CHIP_SUPERTILE_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
3293 #define G_028A4C_MULTI_CHIP_SUPERTILE_ENABLE(x) (((x) >> 12) & 0x1) argument
3295 #define S_028A4C_TILE_COVER_DISABLE(x) (((unsigned)(x) & 0x1) << 13) argument
3296 #define G_028A4C_TILE_COVER_DISABLE(x) (((x) >> 13) & 0x1) argument
3298 #define S_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((unsigned)(x) & 0x1) << 14) argument
3299 #define G_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((x) >> 14) & 0x1) argument
3301 #define S_028A4C_FORCE_EOV_TILE_ENABLE(x) (((unsigned)(x) & 0x1) << 15) argument
3302 #define G_028A4C_FORCE_EOV_TILE_ENABLE(x) (((x) >> 15) & 0x1) argument
3304 #define S_028A4C_FORCE_EOV_REZ_ENABLE(x) (((unsigned)(x) & 0x1) << 16) argument
3305 #define G_028A4C_FORCE_EOV_REZ_ENABLE(x) (((x) >> 16) & 0x1) argument
3307 #define S_028A4C_PS_ITER_SAMPLE(x) (((unsigned)(x) & 0x1) << 17) argument
3308 #define G_028A4C_PS_ITER_SAMPLE(x) (((x) >> 17) & 0x1) argument
3310 #define S_028A4C_R700_ZMM_LINE_OFFSET(x) (((unsigned)(x) & 0x1) << 20) argument
3311 #define S_028A4C_R700_VPORT_SCISSOR_ENABLE(x) (((unsigned)(x) & 0x1) << 22) argument
3313 #define S_028A84_PRIMITIVEID_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3314 #define G_028A84_PRIMITIVEID_EN(x) (((x) >> 0) & 0x1) argument
3317 #define S_028A94_RESET_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3318 #define G_028A94_RESET_EN(x) (((x) >> 0) & 0x1) argument
3321 #define S_028AA0_STEP_RATE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3322 #define G_028AA0_STEP_RATE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3325 #define S_028AA4_STEP_RATE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3326 #define G_028AA4_STEP_RATE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3329 #define S_028AB0_STREAMOUT(x) (((unsigned)(x) & 0x1) << 0) argument
3330 #define G_028AB0_STREAMOUT(x) (((x) >> 0) & 0x1) argument
3333 #define S_028AB4_REUSE_OFF(x) (((unsigned)(x) & 0x1) << 0) argument
3334 #define G_028AB4_REUSE_OFF(x) (((x) >> 0) & 0x1) argument
3337 #define S_028AB8_VTX_CNT_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3338 #define G_028AB8_VTX_CNT_EN(x) (((x) >> 0) & 0x1) argument
3361 #define S_028B20_BUFFER_0_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3362 #define G_028B20_BUFFER_0_EN(x) (((x) >> 0) & 0x1) argument
3364 #define S_028B20_BUFFER_1_EN(x) (((unsigned)(x) & 0x1) << 1) argument
3365 #define G_028B20_BUFFER_1_EN(x) (((x) >> 1) & 0x1) argument
3367 #define S_028B20_BUFFER_2_EN(x) (((unsigned)(x) & 0x1) << 2) argument
3368 #define G_028B20_BUFFER_2_EN(x) (((x) >> 2) & 0x1) argument
3370 #define S_028B20_BUFFER_3_EN(x) (((unsigned)(x) & 0x1) << 3) argument
3371 #define G_028B20_BUFFER_3_EN(x) (((x) >> 3) & 0x1) argument
3377 #define S_028B38_MAX_VERT_OUT(x) (((unsigned)(x) & 0x7FF) << 0) argument
3383 #define S_028C20_S4_X(x) (((unsigned)(x) & 0xF) << 0) argument
3384 #define G_028C20_S4_X(x) (((x) >> 0) & 0xF) argument
3386 #define S_028C20_S4_Y(x) (((unsigned)(x) & 0xF) << 4) argument
3387 #define G_028C20_S4_Y(x) (((x) >> 4) & 0xF) argument
3389 #define S_028C20_S5_X(x) (((unsigned)(x) & 0xF) << 8) argument
3390 #define G_028C20_S5_X(x) (((x) >> 8) & 0xF) argument
3392 #define S_028C20_S5_Y(x) (((unsigned)(x) & 0xF) << 12) argument
3393 #define G_028C20_S5_Y(x) (((x) >> 12) & 0xF) argument
3395 #define S_028C20_S6_X(x) (((unsigned)(x) & 0xF) << 16) argument
3396 #define G_028C20_S6_X(x) (((x) >> 16) & 0xF) argument
3398 #define S_028C20_S6_Y(x) (((unsigned)(x) & 0xF) << 20) argument
3399 #define G_028C20_S6_Y(x) (((x) >> 20) & 0xF) argument
3401 #define S_028C20_S7_X(x) (((unsigned)(x) & 0xF) << 24) argument
3402 #define G_028C20_S7_X(x) (((x) >> 24) & 0xF) argument
3404 #define S_028C20_S7_Y(x) (((unsigned)(x) & 0xF) << 28) argument
3405 #define G_028C20_S7_Y(x) (((x) >> 28) & 0xF) argument
3408 #define S_028C30_CLRCMP_FCN_SRC(x) (((unsigned)(x) & 0x7) << 0) argument
3409 #define G_028C30_CLRCMP_FCN_SRC(x) (((x) >> 0) & 0x7) argument
3411 #define S_028C30_CLRCMP_FCN_DST(x) (((unsigned)(x) & 0x7) << 8) argument
3412 #define G_028C30_CLRCMP_FCN_DST(x) (((x) >> 8) & 0x7) argument
3414 #define S_028C30_CLRCMP_FCN_SEL(x) (((unsigned)(x) & 0x3) << 24) argument
3415 #define G_028C30_CLRCMP_FCN_SEL(x) (((x) >> 24) & 0x3) argument
3418 #define S_028C34_CLRCMP_SRC(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3419 #define G_028C34_CLRCMP_SRC(x) (((x) >> 0) & 0xFFFFFFFF) argument
3422 #define S_028C38_CLRCMP_DST(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3423 #define G_028C38_CLRCMP_DST(x) (((x) >> 0) & 0xFFFFFFFF) argument
3426 #define S_028C3C_CLRCMP_MSK(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3427 #define G_028C3C_CLRCMP_MSK(x) (((x) >> 0) & 0xFFFFFFFF) argument
3430 #define S_0085F0_DEST_BASE_0_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
3431 #define G_0085F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1) argument
3433 #define S_0085F0_DEST_BASE_1_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
3434 #define G_0085F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1) argument
3436 #define S_0085F0_SO0_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
3437 #define G_0085F0_SO0_DEST_BASE_ENA(x) (((x) >> 2) & 0x1) argument
3439 #define S_0085F0_SO1_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
3440 #define G_0085F0_SO1_DEST_BASE_ENA(x) (((x) >> 3) & 0x1) argument
3442 #define S_0085F0_SO2_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
3443 #define G_0085F0_SO2_DEST_BASE_ENA(x) (((x) >> 4) & 0x1) argument
3445 #define S_0085F0_SO3_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
3446 #define G_0085F0_SO3_DEST_BASE_ENA(x) (((x) >> 5) & 0x1) argument
3448 #define S_0085F0_CB0_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
3449 #define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1) argument
3451 #define S_0085F0_CB1_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
3452 #define G_0085F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1) argument
3454 #define S_0085F0_CB2_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
3455 #define G_0085F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1) argument
3457 #define S_0085F0_CB3_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 9) argument
3458 #define G_0085F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1) argument
3460 #define S_0085F0_CB4_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 10) argument
3461 #define G_0085F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1) argument
3463 #define S_0085F0_CB5_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
3464 #define G_0085F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1) argument
3466 #define S_0085F0_CB6_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
3467 #define G_0085F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1) argument
3469 #define S_0085F0_CB7_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 13) argument
3470 #define G_0085F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1) argument
3472 #define S_0085F0_DB_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 14) argument
3473 #define G_0085F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1) argument
3476 #define S_0085F0_CR_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
3477 #define G_0085F0_CR_DEST_BASE_ENA(x) (((x) >> 15) & 0x1) argument
3481 #define S_0085F0_CB8_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
3482 #define G_0085F0_CB8_DEST_BASE_ENA(x) (((x) >> 15) & 0x1) argument
3483 #define S_0085F0_CB9_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 16) argument
3484 #define G_0085F0_CB9_DEST_BASE_ENA(x) (((x) >> 16) & 0x1) argument
3485 #define S_0085F0_CB10_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 17) argument
3486 #define G_0085F0_CB10_DEST_BASE_ENA(x) (((x) >> 17) & 0x1) argument
3487 #define S_0085F0_CB11_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
3488 #define G_0085F0_CB11_DEST_BASE_ENA(x) (((x) >> 18) & 0x1) argument
3491 #define S_0085F0_FULL_CACHE_ENA(x) (((unsigned)(x) & 0x1) << 20) argument
3492 #define G_0085F0_FULL_CACHE_ENA(x) (((x) >> 20) & 0x1) argument
3494 #define S_0085F0_TC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
3495 #define G_0085F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1) argument
3497 #define S_0085F0_VC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
3498 #define G_0085F0_VC_ACTION_ENA(x) (((x) >> 24) & 0x1) argument
3500 #define S_0085F0_CB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 25) argument
3501 #define G_0085F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1) argument
3503 #define S_0085F0_DB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 26) argument
3504 #define G_0085F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1) argument
3506 #define S_0085F0_SH_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 27) argument
3507 #define G_0085F0_SH_ACTION_ENA(x) (((x) >> 27) & 0x1) argument
3509 #define S_0085F0_SMX_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
3510 #define G_0085F0_SMX_ACTION_ENA(x) (((x) >> 28) & 0x1) argument
3512 #define S_0085F0_CR0_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
3513 #define G_0085F0_CR0_ACTION_ENA(x) (((x) >> 29) & 0x1) argument
3515 #define S_0085F0_CR1_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 30) argument
3516 #define G_0085F0_CR1_ACTION_ENA(x) (((x) >> 30) & 0x1) argument
3518 #define S_0085F0_CR2_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 31) argument
3519 #define G_0085F0_CR2_ACTION_ENA(x) (((x) >> 31) & 0x1) argument
3527 #define S_02812C_CLEAR_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3528 #define G_02812C_CLEAR_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3531 #define S_028128_CLEAR_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3532 #define G_028128_CLEAR_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3535 #define S_028124_CLEAR_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3536 #define G_028124_CLEAR_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3539 #define S_028120_CLEAR_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3540 #define G_028120_CLEAR_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3543 #define S_02842C_FOG_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3544 #define G_02842C_FOG_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3547 #define S_028428_FOG_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3548 #define G_028428_FOG_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3551 #define S_028424_FOG_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3552 #define G_028424_FOG_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3555 #define S_03C000_CLAMP_X(x) (((unsigned)(x) & 0x7) << 0) argument
3556 #define G_03C000_CLAMP_X(x) (((x) >> 0) & 0x7) argument
3558 #define S_03C000_CLAMP_Y(x) (((unsigned)(x) & 0x7) << 3) argument
3559 #define G_03C000_CLAMP_Y(x) (((x) >> 3) & 0x7) argument
3561 #define S_03C000_CLAMP_Z(x) (((unsigned)(x) & 0x7) << 6) argument
3562 #define G_03C000_CLAMP_Z(x) (((x) >> 6) & 0x7) argument
3564 #define S_03C000_XY_MAG_FILTER(x) (((unsigned)(x) & 0x7) << 9) argument
3565 #define G_03C000_XY_MAG_FILTER(x) (((x) >> 9) & 0x7) argument
3567 #define S_03C000_XY_MIN_FILTER(x) (((unsigned)(x) & 0x7) << 12) argument
3568 #define G_03C000_XY_MIN_FILTER(x) (((x) >> 12) & 0x7) argument
3570 #define S_03C000_Z_FILTER(x) (((unsigned)(x) & 0x3) << 15) argument
3571 #define G_03C000_Z_FILTER(x) (((x) >> 15) & 0x3) argument
3573 #define S_03C000_MIP_FILTER(x) (((unsigned)(x) & 0x3) << 17) argument
3574 #define G_03C000_MIP_FILTER(x) (((x) >> 17) & 0x3) argument
3576 #define S_03C000_BORDER_COLOR_TYPE(x) (((unsigned)(x) & 0x3) << 22) argument
3577 #define G_03C000_BORDER_COLOR_TYPE(x) (((x) >> 22) & 0x3) argument
3579 #define S_03C000_POINT_SAMPLING_CLAMP(x) (((unsigned)(x) & 0x1) << 24) argument
3580 #define G_03C000_POINT_SAMPLING_CLAMP(x) (((x) >> 24) & 0x1) argument
3582 #define S_03C000_TEX_ARRAY_OVERRIDE(x) (((unsigned)(x) & 0x1) << 25) argument
3583 #define G_03C000_TEX_ARRAY_OVERRIDE(x) (((x) >> 25) & 0x1) argument
3585 #define S_03C000_DEPTH_COMPARE_FUNCTION(x) (((unsigned)(x) & 0x7) << 26) argument
3586 #define G_03C000_DEPTH_COMPARE_FUNCTION(x) (((x) >> 26) & 0x7) argument
3588 #define S_03C000_CHROMA_KEY(x) (((unsigned)(x) & 0x3) << 29) argument
3589 #define G_03C000_CHROMA_KEY(x) (((x) >> 29) & 0x3) argument
3591 #define S_03C000_LOD_USES_MINOR_AXIS(x) (((unsigned)(x) & 0x1) << 31) argument
3592 #define G_03C000_LOD_USES_MINOR_AXIS(x) (((x) >> 31) & 0x1) argument
3595 #define S_03C004_MIN_LOD(x) (((unsigned)(x) & 0x3FF) << 0) argument
3596 #define G_03C004_MIN_LOD(x) (((x) >> 0) & 0x3FF) argument
3598 #define S_03C004_MAX_LOD(x) (((unsigned)(x) & 0x3FF) << 10) argument
3599 #define G_03C004_MAX_LOD(x) (((x) >> 10) & 0x3FF) argument
3601 #define S_03C004_LOD_BIAS(x) (((unsigned)(x) & 0xFFF) << 20) argument
3602 #define G_03C004_LOD_BIAS(x) (((x) >> 20) & 0xFFF) argument
3605 #define S_03C008_LOD_BIAS_SEC(x) (((unsigned)(x) & 0xFFF) << 0) argument
3606 #define G_03C008_LOD_BIAS_SEC(x) (((x) >> 0) & 0xFFF) argument
3608 #define S_03C008_MC_COORD_TRUNCATE(x) (((unsigned)(x) & 0x1) << 12) argument
3609 #define G_03C008_MC_COORD_TRUNCATE(x) (((x) >> 12) & 0x1) argument
3611 #define S_03C008_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 13) argument
3612 #define G_03C008_FORCE_DEGAMMA(x) (((x) >> 13) & 0x1) argument
3614 #define S_03C008_HIGH_PRECISION_FILTER(x) (((unsigned)(x) & 0x1) << 14) argument
3615 #define G_03C008_HIGH_PRECISION_FILTER(x) (((x) >> 14) & 0x1) argument
3617 #define S_03C008_PERF_MIP(x) (((unsigned)(x) & 0x7) << 15) argument
3618 #define G_03C008_PERF_MIP(x) (((x) >> 15) & 0x7) argument
3620 #define S_03C008_PERF_Z(x) (((unsigned)(x) & 0x3) << 18) argument
3621 #define G_03C008_PERF_Z(x) (((x) >> 18) & 0x3) argument
3623 #define S_03C008_FETCH_4(x) (((unsigned)(x) & 0x1) << 26) argument
3624 #define G_03C008_FETCH_4(x) (((x) >> 26) & 0x1) argument
3626 #define S_03C008_SAMPLE_IS_PCF(x) (((unsigned)(x) & 0x1) << 27) argument
3627 #define G_03C008_SAMPLE_IS_PCF(x) (((x) >> 27) & 0x1) argument
3629 #define S_03C008_TYPE(x) (((unsigned)(x) & 0x1) << 31) argument
3630 #define G_03C008_TYPE(x) (((x) >> 31) & 0x1) argument
3633 #define S_00A40C_BORDER_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3634 #define G_00A40C_BORDER_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3637 #define S_00A408_BORDER_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3638 #define G_00A408_BORDER_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3641 #define S_00A404_BORDER_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3642 #define G_00A404_BORDER_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3645 #define S_00A400_BORDER_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3646 #define G_00A400_BORDER_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3649 #define S_00A60C_BORDER_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3650 #define G_00A60C_BORDER_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3653 #define S_00A608_BORDER_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3654 #define G_00A608_BORDER_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3657 #define S_00A604_BORDER_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3658 #define G_00A604_BORDER_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3661 #define S_00A600_BORDER_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3662 #define G_00A600_BORDER_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3665 #define S_00A80C_BORDER_ALPHA(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3666 #define G_00A80C_BORDER_ALPHA(x) (((x) >> 0) & 0xFFFFFFFF) argument
3669 #define S_00A808_BORDER_BLUE(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3670 #define G_00A808_BORDER_BLUE(x) (((x) >> 0) & 0xFFFFFFFF) argument
3673 #define S_00A804_BORDER_GREEN(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3674 #define G_00A804_BORDER_GREEN(x) (((x) >> 0) & 0xFFFFFFFF) argument
3677 #define S_00A800_BORDER_RED(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3678 #define G_00A800_BORDER_RED(x) (((x) >> 0) & 0xFFFFFFFF) argument
3681 #define S_030000_X(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3682 #define G_030000_X(x) (((x) >> 0) & 0xFFFFFFFF) argument
3685 #define S_030004_Y(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3686 #define G_030004_Y(x) (((x) >> 0) & 0xFFFFFFFF) argument
3689 #define S_030008_Z(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3690 #define G_030008_Z(x) (((x) >> 0) & 0xFFFFFFFF) argument
3693 #define S_03000C_W(x) (((unsigned)(x) & 0xFFFFFFFF) << 0) argument
3694 #define G_03000C_W(x) (((x) >> 0) & 0xFFFFFFFF) argument
3777 #define S_028AA8_PRIMGROUP_SIZE(x) (((unsigned)(x) & 0xFFFF) << 0) argument
3778 #define G_028AA8_PRIMGROUP_SIZE(x) (((x) >> 0) & 0xFFFF) argument
3780 #define S_028AA8_PARTIAL_VS_WAVE_ON(x) (((unsigned)(x) & 0x1) << 16) argument
3781 #define G_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) >> 16) & 0x1) argument
3783 #define S_028AA8_SWITCH_ON_EOP(x) (((unsigned)(x) & 0x1) << 17) argument
3784 #define G_028AA8_SWITCH_ON_EOP(x) (((x) >> 17) & 0x1) argument