Lines Matching defs:x
44 #define EVENT_TYPE(x) ((x) << 0) argument
45 #define EVENT_INDEX(x) ((x) << 8) argument
70 #define PRED_OP(x) ((x) << 16) argument
101 #define CONTEXT_CONTROL_LOAD_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
102 #define CONTEXT_CONTROL_LOAD_CE_RAM(x) (((unsigned)(x) & 0x1) << 28) argument
103 #define CONTEXT_CONTROL_SHADOW_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
107 #define S_2C3_COUNT_INDIRECT_ENABLE(x) (((unsigned)(x) & 0x1) << 30) argument
108 #define S_2C3_DRAW_INDEX_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
117 #define STRMOUT_OFFSET_SOURCE(x) (((unsigned)(x) & 0x3) << 1) argument
122 #define STRMOUT_SELECT_BUFFER(x) (((unsigned)(x) & 0x3) << 8) argument
126 #define S_370_ENGINE_SEL(x) (((unsigned)(x) & 0x3) << 30) argument
131 #define S_370_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 20) argument
132 #define S_370_WR_ONE_ADDR(x) (((unsigned)(x) & 0x1) << 16) argument
133 #define S_370_DST_SEL(x) (((unsigned)(x) & 0xf) << 8) argument
147 #define WAIT_REG_MEM_MEM_SPACE(x) (((unsigned)(x) & 0x3) << 4) argument
153 #define S_3F2_IB_SIZE(x) (((unsigned)(x) & 0xfffff) << 0) argument
154 #define G_3F2_IB_SIZE(x) (((unsigned)(x) >> 0) & 0xfffff) argument
155 #define S_3F2_CHAIN(x) (((unsigned)(x) & 0x1) << 20) argument
156 #define G_3F2_CHAIN(x) (((unsigned)(x) >> 20) & 0x1) argument
157 #define S_3F2_VALID(x) (((unsigned)(x) & 0x1) << 23) argument
160 #define COPY_DATA_SRC_SEL(x) ((x) & 0xf) argument
166 #define COPY_DATA_DST_SEL(x) (((unsigned)(x) & 0xf) << 8) argument
176 #define EOP_INT_SEL(x) ((x) << 24) argument
179 #define EOP_DATA_SEL(x) ((x) << 29) argument
205 #define PKT_TYPE_S(x) (((unsigned)(x) & 0x3) << 30) argument
206 #define PKT_TYPE_G(x) (((x) >> 30) & 0x3) argument
208 #define PKT_COUNT_S(x) (((unsigned)(x) & 0x3FFF) << 16) argument
209 #define PKT_COUNT_G(x) (((x) >> 16) & 0x3FFF) argument
211 #define PKT0_BASE_INDEX_S(x) (((unsigned)(x) & 0xFFFF) << 0) argument
212 #define PKT0_BASE_INDEX_G(x) (((x) >> 0) & 0xFFFF) argument
214 #define PKT3_IT_OPCODE_S(x) (((unsigned)(x) & 0xFF) << 8) argument
215 #define PKT3_IT_OPCODE_G(x) (((x) >> 8) & 0xFF) argument
217 #define PKT3_PREDICATE(x) (((x) >> 0) & 0x1) argument
218 #define PKT3_SHADER_TYPE_S(x) (((unsigned)(x) & 0x1) << 1) argument
231 #define S_410_SRC_ADDR_LO(x) ((x) & 0xffffffff) argument
233 #define S_411_CP_SYNC(x) (((unsigned)(x) & 0x1) << 31) argument
234 #define S_411_SRC_SEL(x) (((unsigned)(x) & 0x3) << 29) argument
239 #define S_411_ENGINE(x) (((unsigned)(x) & 0x1) << 27) argument
242 #define S_411_DSL_SEL(x) (((unsigned)(x) & 0x3) << 20) argument
247 #define S_411_SRC_ADDR_HI(x) ((x) & 0xffff) argument
249 #define S_412_DST_ADDR_LO(x) ((x) & 0xffffffff) argument
251 #define S_413_DST_ADDR_HI(x) ((x) & 0xffff) argument
253 #define S_414_BYTE_COUNT_GFX6(x) ((x) & 0x1fffff) argument
254 #define S_414_BYTE_COUNT_GFX9(x) ((x) & 0x3ffffff) argument
255 #define S_414_DISABLE_WR_CONFIRM_GFX6(x) (((unsigned)(x) & 0x1) << 21) /* not on GFX9 */ argument
256 #define S_414_SRC_SWAP(x) (((unsigned)(x) & 0x3) << 22) /* not on GFX9 */ argument
261 #define S_414_DST_SWAP(x) (((unsigned)(x) & 0x3) << 24) /* not on GFX9 */ argument
266 #define S_414_SAS(x) (((unsigned)(x) & 0x1) << 26) argument
269 #define S_414_DAS(x) (((unsigned)(x) & 0x1) << 27) argument
272 #define S_414_SAIC(x) (((unsigned)(x) & 0x1) << 28) argument
275 #define S_414_DAIC(x) (((unsigned)(x) & 0x1) << 29) argument
278 #define S_414_RAW_WAIT(x) (((unsigned)(x) & 0x1) << 30) argument
279 #define S_414_DISABLE_WR_CONFIRM_GFX9(x) (((unsigned)(x) & 0x1) << 31) argument
291 #define S_500_CP_SYNC(x) (((unsigned)(x) & 0x1) << 31) argument
292 #define S_500_SRC_SEL(x) (((unsigned)(x) & 0x3) << 29) argument
297 #define S_500_DSL_SEL(x) (((unsigned)(x) & 0x3) << 20) argument
302 #define S_500_ENGINE(x) ((x) & 0x1) argument
311 #define S_000E4C_SDMA_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 0) argument
312 #define G_000E4C_SDMA_RQ_PENDING(x) (((x) >> 0) & 0x1) argument
314 #define S_000E4C_TST_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 1) argument
315 #define G_000E4C_TST_RQ_PENDING(x) (((x) >> 1) & 0x1) argument
317 #define S_000E4C_SDMA1_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 2) argument
318 #define G_000E4C_SDMA1_RQ_PENDING(x) (((x) >> 2) & 0x1) argument
320 #define S_000E4C_VCE0_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 3) argument
321 #define G_000E4C_VCE0_RQ_PENDING(x) (((x) >> 3) & 0x1) argument
323 #define S_000E4C_VP8_BUSY(x) (((unsigned)(x) & 0x1) << 4) argument
324 #define G_000E4C_VP8_BUSY(x) (((x) >> 4) & 0x1) argument
326 #define S_000E4C_SDMA_BUSY(x) (((unsigned)(x) & 0x1) << 5) argument
327 #define G_000E4C_SDMA_BUSY(x) (((x) >> 5) & 0x1) argument
329 #define S_000E4C_SDMA1_BUSY(x) (((unsigned)(x) & 0x1) << 6) argument
330 #define G_000E4C_SDMA1_BUSY(x) (((x) >> 6) & 0x1) argument
332 #define S_000E4C_VCE0_BUSY(x) (((unsigned)(x) & 0x1) << 7) argument
333 #define G_000E4C_VCE0_BUSY(x) (((x) >> 7) & 0x1) argument
335 #define S_000E4C_XDMA_BUSY(x) (((unsigned)(x) & 0x1) << 8) argument
336 #define G_000E4C_XDMA_BUSY(x) (((x) >> 8) & 0x1) argument
338 #define S_000E4C_CHUB_BUSY(x) (((unsigned)(x) & 0x1) << 9) argument
339 #define G_000E4C_CHUB_BUSY(x) (((x) >> 9) & 0x1) argument
341 #define S_000E4C_SDMA2_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
342 #define G_000E4C_SDMA2_BUSY(x) (((x) >> 10) & 0x1) argument
344 #define S_000E4C_SDMA3_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
345 #define G_000E4C_SDMA3_BUSY(x) (((x) >> 11) & 0x1) argument
347 #define S_000E4C_SAMSCP_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
348 #define G_000E4C_SAMSCP_BUSY(x) (((x) >> 12) & 0x1) argument
350 #define S_000E4C_ISP_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
351 #define G_000E4C_ISP_BUSY(x) (((x) >> 13) & 0x1) argument
353 #define S_000E4C_VCE1_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
354 #define G_000E4C_VCE1_BUSY(x) (((x) >> 14) & 0x1) argument
356 #define S_000E4C_ODE_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
357 #define G_000E4C_ODE_BUSY(x) (((x) >> 15) & 0x1) argument
359 #define S_000E4C_SDMA2_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 16) argument
360 #define G_000E4C_SDMA2_RQ_PENDING(x) (((x) >> 16) & 0x1) argument
362 #define S_000E4C_SDMA3_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 17) argument
363 #define G_000E4C_SDMA3_RQ_PENDING(x) (((x) >> 17) & 0x1) argument
365 #define S_000E4C_SAMSCP_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 18) argument
366 #define G_000E4C_SAMSCP_RQ_PENDING(x) (((x) >> 18) & 0x1) argument
368 #define S_000E4C_ISP_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 19) argument
369 #define G_000E4C_ISP_RQ_PENDING(x) (((x) >> 19) & 0x1) argument
371 #define S_000E4C_VCE1_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 20) argument
372 #define G_000E4C_VCE1_RQ_PENDING(x) (((x) >> 20) & 0x1) argument
375 #define S_000E50_UVD_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 1) argument
376 #define G_000E50_UVD_RQ_PENDING(x) (((x) >> 1) & 0x1) argument
378 #define S_000E50_SAMMSP_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 2) argument
379 #define G_000E50_SAMMSP_RQ_PENDING(x) (((x) >> 2) & 0x1) argument
381 #define S_000E50_ACP_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 3) argument
382 #define G_000E50_ACP_RQ_PENDING(x) (((x) >> 3) & 0x1) argument
384 #define S_000E50_SMU_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 4) argument
385 #define G_000E50_SMU_RQ_PENDING(x) (((x) >> 4) & 0x1) argument
387 #define S_000E50_GRBM_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 5) argument
388 #define G_000E50_GRBM_RQ_PENDING(x) (((x) >> 5) & 0x1) argument
390 #define S_000E50_HI_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 6) argument
391 #define G_000E50_HI_RQ_PENDING(x) (((x) >> 6) & 0x1) argument
393 #define S_000E50_VMC_BUSY(x) (((unsigned)(x) & 0x1) << 8) argument
394 #define G_000E50_VMC_BUSY(x) (((x) >> 8) & 0x1) argument
396 #define S_000E50_MCB_BUSY(x) (((unsigned)(x) & 0x1) << 9) argument
397 #define G_000E50_MCB_BUSY(x) (((x) >> 9) & 0x1) argument
399 #define S_000E50_MCB_NON_DISPLAY_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
400 #define G_000E50_MCB_NON_DISPLAY_BUSY(x) (((x) >> 10) & 0x1) argument
402 #define S_000E50_MCC_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
403 #define G_000E50_MCC_BUSY(x) (((x) >> 11) & 0x1) argument
405 #define S_000E50_MCD_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
406 #define G_000E50_MCD_BUSY(x) (((x) >> 12) & 0x1) argument
408 #define S_000E50_VMC1_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
409 #define G_000E50_VMC1_BUSY(x) (((x) >> 13) & 0x1) argument
411 #define S_000E50_SEM_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
412 #define G_000E50_SEM_BUSY(x) (((x) >> 14) & 0x1) argument
414 #define S_000E50_ACP_BUSY(x) (((unsigned)(x) & 0x1) << 16) argument
415 #define G_000E50_ACP_BUSY(x) (((x) >> 16) & 0x1) argument
417 #define S_000E50_IH_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
418 #define G_000E50_IH_BUSY(x) (((x) >> 17) & 0x1) argument
420 #define S_000E50_UVD_BUSY(x) (((unsigned)(x) & 0x1) << 19) argument
421 #define G_000E50_UVD_BUSY(x) (((x) >> 19) & 0x1) argument
423 #define S_000E50_SAMMSP_BUSY(x) (((unsigned)(x) & 0x1) << 20) argument
424 #define G_000E50_SAMMSP_BUSY(x) (((x) >> 20) & 0x1) argument
426 #define S_000E50_GCATCL2_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
427 #define G_000E50_GCATCL2_BUSY(x) (((x) >> 21) & 0x1) argument
429 #define S_000E50_OSATCL2_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
430 #define G_000E50_OSATCL2_BUSY(x) (((x) >> 22) & 0x1) argument
432 #define S_000E50_BIF_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
433 #define G_000E50_BIF_BUSY(x) (((x) >> 29) & 0x1) argument
436 #define S_000E54_MCC0_BUSY(x) (((unsigned)(x) & 0x1) << 0) argument
437 #define G_000E54_MCC0_BUSY(x) (((x) >> 0) & 0x1) argument
439 #define S_000E54_MCC1_BUSY(x) (((unsigned)(x) & 0x1) << 1) argument
440 #define G_000E54_MCC1_BUSY(x) (((x) >> 1) & 0x1) argument
442 #define S_000E54_MCC2_BUSY(x) (((unsigned)(x) & 0x1) << 2) argument
443 #define G_000E54_MCC2_BUSY(x) (((x) >> 2) & 0x1) argument
445 #define S_000E54_MCC3_BUSY(x) (((unsigned)(x) & 0x1) << 3) argument
446 #define G_000E54_MCC3_BUSY(x) (((x) >> 3) & 0x1) argument
448 #define S_000E54_MCC4_BUSY(x) (((unsigned)(x) & 0x1) << 4) argument
449 #define G_000E54_MCC4_BUSY(x) (((x) >> 4) & 0x1) argument
451 #define S_000E54_MCC5_BUSY(x) (((unsigned)(x) & 0x1) << 5) argument
452 #define G_000E54_MCC5_BUSY(x) (((x) >> 5) & 0x1) argument
454 #define S_000E54_MCC6_BUSY(x) (((unsigned)(x) & 0x1) << 6) argument
455 #define G_000E54_MCC6_BUSY(x) (((x) >> 6) & 0x1) argument
457 #define S_000E54_MCC7_BUSY(x) (((unsigned)(x) & 0x1) << 7) argument
458 #define G_000E54_MCC7_BUSY(x) (((x) >> 7) & 0x1) argument
460 #define S_000E54_MCD0_BUSY(x) (((unsigned)(x) & 0x1) << 8) argument
461 #define G_000E54_MCD0_BUSY(x) (((x) >> 8) & 0x1) argument
463 #define S_000E54_MCD1_BUSY(x) (((unsigned)(x) & 0x1) << 9) argument
464 #define G_000E54_MCD1_BUSY(x) (((x) >> 9) & 0x1) argument
466 #define S_000E54_MCD2_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
467 #define G_000E54_MCD2_BUSY(x) (((x) >> 10) & 0x1) argument
469 #define S_000E54_MCD3_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
470 #define G_000E54_MCD3_BUSY(x) (((x) >> 11) & 0x1) argument
472 #define S_000E54_MCD4_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
473 #define G_000E54_MCD4_BUSY(x) (((x) >> 12) & 0x1) argument
475 #define S_000E54_MCD5_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
476 #define G_000E54_MCD5_BUSY(x) (((x) >> 13) & 0x1) argument
478 #define S_000E54_MCD6_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
479 #define G_000E54_MCD6_BUSY(x) (((x) >> 14) & 0x1) argument
481 #define S_000E54_MCD7_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
482 #define G_000E54_MCD7_BUSY(x) (((x) >> 15) & 0x1) argument
485 #define S_00D034_IDLE(x) (((unsigned)(x) & 0x1) << 0) argument
486 #define G_00D034_IDLE(x) (((x) >> 0) & 0x1) argument
488 #define S_00D034_REG_IDLE(x) (((unsigned)(x) & 0x1) << 1) argument
489 #define G_00D034_REG_IDLE(x) (((x) >> 1) & 0x1) argument
491 #define S_00D034_RB_EMPTY(x) (((unsigned)(x) & 0x1) << 2) argument
492 #define G_00D034_RB_EMPTY(x) (((x) >> 2) & 0x1) argument
494 #define S_00D034_RB_FULL(x) (((unsigned)(x) & 0x1) << 3) argument
495 #define G_00D034_RB_FULL(x) (((x) >> 3) & 0x1) argument
497 #define S_00D034_RB_CMD_IDLE(x) (((unsigned)(x) & 0x1) << 4) argument
498 #define G_00D034_RB_CMD_IDLE(x) (((x) >> 4) & 0x1) argument
500 #define S_00D034_RB_CMD_FULL(x) (((unsigned)(x) & 0x1) << 5) argument
501 #define G_00D034_RB_CMD_FULL(x) (((x) >> 5) & 0x1) argument
503 #define S_00D034_IB_CMD_IDLE(x) (((unsigned)(x) & 0x1) << 6) argument
504 #define G_00D034_IB_CMD_IDLE(x) (((x) >> 6) & 0x1) argument
506 #define S_00D034_IB_CMD_FULL(x) (((unsigned)(x) & 0x1) << 7) argument
507 #define G_00D034_IB_CMD_FULL(x) (((x) >> 7) & 0x1) argument
509 #define S_00D034_BLOCK_IDLE(x) (((unsigned)(x) & 0x1) << 8) argument
510 #define G_00D034_BLOCK_IDLE(x) (((x) >> 8) & 0x1) argument
512 #define S_00D034_INSIDE_IB(x) (((unsigned)(x) & 0x1) << 9) argument
513 #define G_00D034_INSIDE_IB(x) (((x) >> 9) & 0x1) argument
515 #define S_00D034_EX_IDLE(x) (((unsigned)(x) & 0x1) << 10) argument
516 #define G_00D034_EX_IDLE(x) (((x) >> 10) & 0x1) argument
518 #define S_00D034_EX_IDLE_POLL_TIMER_EXPIRE(x) (((unsigned)(x) & 0x1) << 11) argument
519 #define G_00D034_EX_IDLE_POLL_TIMER_EXPIRE(x) (((x) >> 11) & 0x1) argument
521 #define S_00D034_PACKET_READY(x) (((unsigned)(x) & 0x1) << 12) argument
522 #define G_00D034_PACKET_READY(x) (((x) >> 12) & 0x1) argument
524 #define S_00D034_MC_WR_IDLE(x) (((unsigned)(x) & 0x1) << 13) argument
525 #define G_00D034_MC_WR_IDLE(x) (((x) >> 13) & 0x1) argument
527 #define S_00D034_SRBM_IDLE(x) (((unsigned)(x) & 0x1) << 14) argument
528 #define G_00D034_SRBM_IDLE(x) (((x) >> 14) & 0x1) argument
530 #define S_00D034_CONTEXT_EMPTY(x) (((unsigned)(x) & 0x1) << 15) argument
531 #define G_00D034_CONTEXT_EMPTY(x) (((x) >> 15) & 0x1) argument
533 #define S_00D034_DELTA_RPTR_FULL(x) (((unsigned)(x) & 0x1) << 16) argument
534 #define G_00D034_DELTA_RPTR_FULL(x) (((x) >> 16) & 0x1) argument
536 #define S_00D034_RB_MC_RREQ_IDLE(x) (((unsigned)(x) & 0x1) << 17) argument
537 #define G_00D034_RB_MC_RREQ_IDLE(x) (((x) >> 17) & 0x1) argument
539 #define S_00D034_IB_MC_RREQ_IDLE(x) (((unsigned)(x) & 0x1) << 18) argument
540 #define G_00D034_IB_MC_RREQ_IDLE(x) (((x) >> 18) & 0x1) argument
542 #define S_00D034_MC_RD_IDLE(x) (((unsigned)(x) & 0x1) << 19) argument
543 #define G_00D034_MC_RD_IDLE(x) (((x) >> 19) & 0x1) argument
545 #define S_00D034_DELTA_RPTR_EMPTY(x) (((unsigned)(x) & 0x1) << 20) argument
546 #define G_00D034_DELTA_RPTR_EMPTY(x) (((x) >> 20) & 0x1) argument
548 #define S_00D034_MC_RD_RET_STALL(x) (((unsigned)(x) & 0x1) << 21) argument
549 #define G_00D034_MC_RD_RET_STALL(x) (((x) >> 21) & 0x1) argument
551 #define S_00D034_MC_RD_NO_POLL_IDLE(x) (((unsigned)(x) & 0x1) << 22) argument
552 #define G_00D034_MC_RD_NO_POLL_IDLE(x) (((x) >> 22) & 0x1) argument
554 #define S_00D034_PREV_CMD_IDLE(x) (((unsigned)(x) & 0x1) << 25) argument
555 #define G_00D034_PREV_CMD_IDLE(x) (((x) >> 25) & 0x1) argument
557 #define S_00D034_SEM_IDLE(x) (((unsigned)(x) & 0x1) << 26) argument
558 #define G_00D034_SEM_IDLE(x) (((x) >> 26) & 0x1) argument
560 #define S_00D034_SEM_REQ_STALL(x) (((unsigned)(x) & 0x1) << 27) argument
561 #define G_00D034_SEM_REQ_STALL(x) (((x) >> 27) & 0x1) argument
563 #define S_00D034_SEM_RESP_STATE(x) (((unsigned)(x) & 0x03) << 28) argument
564 #define G_00D034_SEM_RESP_STATE(x) (((x) >> 28) & 0x03) argument
566 #define S_00D034_INT_IDLE(x) (((unsigned)(x) & 0x1) << 30) argument
567 #define G_00D034_INT_IDLE(x) (((x) >> 30) & 0x1) argument
569 #define S_00D034_INT_REQ_STALL(x) (((unsigned)(x) & 0x1) << 31) argument
570 #define G_00D034_INT_REQ_STALL(x) (((x) >> 31) & 0x1) argument
574 #define S_008008_ME0PIPE1_CMDFIFO_AVAIL(x) (((unsigned)(x) & 0x0F) << 0) argument
575 #define G_008008_ME0PIPE1_CMDFIFO_AVAIL(x) (((x) >> 0) & 0x0F) argument
577 #define S_008008_ME0PIPE1_CF_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 4) argument
578 #define G_008008_ME0PIPE1_CF_RQ_PENDING(x) (((x) >> 4) & 0x1) argument
580 #define S_008008_ME0PIPE1_PF_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 5) argument
581 #define G_008008_ME0PIPE1_PF_RQ_PENDING(x) (((x) >> 5) & 0x1) argument
583 #define S_008008_ME1PIPE0_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 6) argument
584 #define G_008008_ME1PIPE0_RQ_PENDING(x) (((x) >> 6) & 0x1) argument
586 #define S_008008_ME1PIPE1_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 7) argument
587 #define G_008008_ME1PIPE1_RQ_PENDING(x) (((x) >> 7) & 0x1) argument
589 #define S_008008_ME1PIPE2_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 8) argument
590 #define G_008008_ME1PIPE2_RQ_PENDING(x) (((x) >> 8) & 0x1) argument
592 #define S_008008_ME1PIPE3_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 9) argument
593 #define G_008008_ME1PIPE3_RQ_PENDING(x) (((x) >> 9) & 0x1) argument
595 #define S_008008_ME2PIPE0_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 10) argument
596 #define G_008008_ME2PIPE0_RQ_PENDING(x) (((x) >> 10) & 0x1) argument
598 #define S_008008_ME2PIPE1_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 11) argument
599 #define G_008008_ME2PIPE1_RQ_PENDING(x) (((x) >> 11) & 0x1) argument
601 #define S_008008_ME2PIPE2_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 12) argument
602 #define G_008008_ME2PIPE2_RQ_PENDING(x) (((x) >> 12) & 0x1) argument
604 #define S_008008_ME2PIPE3_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 13) argument
605 #define G_008008_ME2PIPE3_RQ_PENDING(x) (((x) >> 13) & 0x1) argument
607 #define S_008008_RLC_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 14) argument
608 #define G_008008_RLC_RQ_PENDING(x) (((x) >> 14) & 0x1) argument
610 #define S_008008_RLC_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
611 #define G_008008_RLC_BUSY(x) (((x) >> 24) & 0x1) argument
613 #define S_008008_TC_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
614 #define G_008008_TC_BUSY(x) (((x) >> 25) & 0x1) argument
616 #define S_008008_TCC_CC_RESIDENT(x) (((unsigned)(x) & 0x1) << 26) argument
617 #define G_008008_TCC_CC_RESIDENT(x) (((x) >> 26) & 0x1) argument
619 #define S_008008_CPF_BUSY(x) (((unsigned)(x) & 0x1) << 28) argument
620 #define G_008008_CPF_BUSY(x) (((x) >> 28) & 0x1) argument
622 #define S_008008_CPC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
623 #define G_008008_CPC_BUSY(x) (((x) >> 29) & 0x1) argument
625 #define S_008008_CPG_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
626 #define G_008008_CPG_BUSY(x) (((x) >> 30) & 0x1) argument
629 #define S_008010_ME0PIPE0_CMDFIFO_AVAIL(x) (((unsigned)(x) & 0x0F) << 0) argument
630 #define G_008010_ME0PIPE0_CMDFIFO_AVAIL(x) (((x) >> 0) & 0x0F) argument
632 #define S_008010_SRBM_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 5) argument
633 #define G_008010_SRBM_RQ_PENDING(x) (((x) >> 5) & 0x1) argument
635 #define S_008010_ME0PIPE0_CF_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 7) argument
636 #define G_008010_ME0PIPE0_CF_RQ_PENDING(x) (((x) >> 7) & 0x1) argument
638 #define S_008010_ME0PIPE0_PF_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 8) argument
639 #define G_008010_ME0PIPE0_PF_RQ_PENDING(x) (((x) >> 8) & 0x1) argument
641 #define S_008010_GDS_DMA_RQ_PENDING(x) (((unsigned)(x) & 0x1) << 9) argument
642 #define G_008010_GDS_DMA_RQ_PENDING(x) (((x) >> 9) & 0x1) argument
644 #define S_008010_DB_CLEAN(x) (((unsigned)(x) & 0x1) << 12) argument
645 #define G_008010_DB_CLEAN(x) (((x) >> 12) & 0x1) argument
647 #define S_008010_CB_CLEAN(x) (((unsigned)(x) & 0x1) << 13) argument
648 #define G_008010_CB_CLEAN(x) (((x) >> 13) & 0x1) argument
650 #define S_008010_TA_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
651 #define G_008010_TA_BUSY(x) (((x) >> 14) & 0x1) argument
653 #define S_008010_GDS_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
654 #define G_008010_GDS_BUSY(x) (((x) >> 15) & 0x1) argument
656 #define S_008010_WD_BUSY_NO_DMA(x) (((unsigned)(x) & 0x1) << 16) argument
657 #define G_008010_WD_BUSY_NO_DMA(x) (((x) >> 16) & 0x1) argument
659 #define S_008010_VGT_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
660 #define G_008010_VGT_BUSY(x) (((x) >> 17) & 0x1) argument
662 #define S_008010_IA_BUSY_NO_DMA(x) (((unsigned)(x) & 0x1) << 18) argument
663 #define G_008010_IA_BUSY_NO_DMA(x) (((x) >> 18) & 0x1) argument
665 #define S_008010_IA_BUSY(x) (((unsigned)(x) & 0x1) << 19) argument
666 #define G_008010_IA_BUSY(x) (((x) >> 19) & 0x1) argument
668 #define S_008010_SX_BUSY(x) (((unsigned)(x) & 0x1) << 20) argument
669 #define G_008010_SX_BUSY(x) (((x) >> 20) & 0x1) argument
671 #define S_008010_WD_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
672 #define G_008010_WD_BUSY(x) (((x) >> 21) & 0x1) argument
674 #define S_008010_SPI_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
675 #define G_008010_SPI_BUSY(x) (((x) >> 22) & 0x1) argument
677 #define S_008010_BCI_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
678 #define G_008010_BCI_BUSY(x) (((x) >> 23) & 0x1) argument
680 #define S_008010_SC_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
681 #define G_008010_SC_BUSY(x) (((x) >> 24) & 0x1) argument
683 #define S_008010_PA_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
684 #define G_008010_PA_BUSY(x) (((x) >> 25) & 0x1) argument
686 #define S_008010_DB_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
687 #define G_008010_DB_BUSY(x) (((x) >> 26) & 0x1) argument
689 #define S_008010_CP_COHERENCY_BUSY(x) (((unsigned)(x) & 0x1) << 28) argument
690 #define G_008010_CP_COHERENCY_BUSY(x) (((x) >> 28) & 0x1) argument
692 #define S_008010_CP_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
693 #define G_008010_CP_BUSY(x) (((x) >> 29) & 0x1) argument
695 #define S_008010_CB_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
696 #define G_008010_CB_BUSY(x) (((x) >> 30) & 0x1) argument
698 #define S_008010_GUI_ACTIVE(x) (((unsigned)(x) & 0x1) << 31) argument
699 #define G_008010_GUI_ACTIVE(x) (((x) >> 31) & 0x1) argument
703 #define S_00802C_INSTANCE_INDEX(x) (((unsigned)(x) & 0xFF) << 0) argument
704 #define S_00802C_SH_INDEX(x) (((unsigned)(x) & 0xFF) << 8) argument
705 #define S_00802C_SE_INDEX(x) (((unsigned)(x) & 0xFF) << 16) argument
706 #define S_00802C_SH_BROADCAST_WRITES(x) (((unsigned)(x) & 0x1) << 29) argument
707 #define S_00802C_INSTANCE_BROADCAST_WRITES(x) (((unsigned)(x) & 0x1) << 30) argument
708 #define S_00802C_SE_BROADCAST_WRITES(x) (((unsigned)(x) & 0x1) << 31) argument
710 #define S_0084FC_OFFSET_UPDATE_DONE(x) (((unsigned)(x) & 0x1) << 0) argument
712 #define S_0085F0_DEST_BASE_0_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
713 #define G_0085F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1) argument
715 #define S_0085F0_DEST_BASE_1_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
716 #define G_0085F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1) argument
718 #define S_0085F0_CB0_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
719 #define G_0085F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1) argument
721 #define S_0085F0_CB1_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
722 #define G_0085F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1) argument
724 #define S_0085F0_CB2_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
725 #define G_0085F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1) argument
727 #define S_0085F0_CB3_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 9) argument
728 #define G_0085F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1) argument
730 #define S_0085F0_CB4_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 10) argument
731 #define G_0085F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1) argument
733 #define S_0085F0_CB5_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
734 #define G_0085F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1) argument
736 #define S_0085F0_CB6_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
737 #define G_0085F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1) argument
739 #define S_0085F0_CB7_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 13) argument
740 #define G_0085F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1) argument
742 #define S_0085F0_DB_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 14) argument
743 #define G_0085F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1) argument
745 #define S_0085F0_DEST_BASE_2_ENA(x) (((unsigned)(x) & 0x1) << 19) argument
746 #define G_0085F0_DEST_BASE_2_ENA(x) (((x) >> 19) & 0x1) argument
748 #define S_0085F0_DEST_BASE_3_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
749 #define G_0085F0_DEST_BASE_3_ENA(x) (((x) >> 21) & 0x1) argument
751 #define S_0085F0_TCL1_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 22) argument
752 #define G_0085F0_TCL1_ACTION_ENA(x) (((x) >> 22) & 0x1) argument
754 #define S_0085F0_TC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
755 #define G_0085F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1) argument
757 #define S_0085F0_CB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 25) argument
758 #define G_0085F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1) argument
760 #define S_0085F0_DB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 26) argument
761 #define G_0085F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1) argument
763 #define S_0085F0_SH_KCACHE_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 27) argument
764 #define G_0085F0_SH_KCACHE_ACTION_ENA(x) (((x) >> 27) & 0x1) argument
766 #define S_0085F0_SH_ICACHE_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
767 #define G_0085F0_SH_ICACHE_ACTION_ENA(x) (((x) >> 29) & 0x1) argument
773 #define S_008014_DB_CLEAN(x) (((unsigned)(x) & 0x1) << 1) argument
774 #define G_008014_DB_CLEAN(x) (((x) >> 1) & 0x1) argument
776 #define S_008014_CB_CLEAN(x) (((unsigned)(x) & 0x1) << 2) argument
777 #define G_008014_CB_CLEAN(x) (((x) >> 2) & 0x1) argument
779 #define S_008014_BCI_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
780 #define G_008014_BCI_BUSY(x) (((x) >> 22) & 0x1) argument
782 #define S_008014_VGT_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
783 #define G_008014_VGT_BUSY(x) (((x) >> 23) & 0x1) argument
785 #define S_008014_PA_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
786 #define G_008014_PA_BUSY(x) (((x) >> 24) & 0x1) argument
788 #define S_008014_TA_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
789 #define G_008014_TA_BUSY(x) (((x) >> 25) & 0x1) argument
791 #define S_008014_SX_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
792 #define G_008014_SX_BUSY(x) (((x) >> 26) & 0x1) argument
794 #define S_008014_SPI_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
795 #define G_008014_SPI_BUSY(x) (((x) >> 27) & 0x1) argument
797 #define S_008014_SC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
798 #define G_008014_SC_BUSY(x) (((x) >> 29) & 0x1) argument
800 #define S_008014_DB_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
801 #define G_008014_DB_BUSY(x) (((x) >> 30) & 0x1) argument
803 #define S_008014_CB_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
804 #define G_008014_CB_BUSY(x) (((x) >> 31) & 0x1) argument
807 #define S_008018_DB_CLEAN(x) (((unsigned)(x) & 0x1) << 1) argument
808 #define G_008018_DB_CLEAN(x) (((x) >> 1) & 0x1) argument
810 #define S_008018_CB_CLEAN(x) (((unsigned)(x) & 0x1) << 2) argument
811 #define G_008018_CB_CLEAN(x) (((x) >> 2) & 0x1) argument
813 #define S_008018_BCI_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
814 #define G_008018_BCI_BUSY(x) (((x) >> 22) & 0x1) argument
816 #define S_008018_VGT_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
817 #define G_008018_VGT_BUSY(x) (((x) >> 23) & 0x1) argument
819 #define S_008018_PA_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
820 #define G_008018_PA_BUSY(x) (((x) >> 24) & 0x1) argument
822 #define S_008018_TA_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
823 #define G_008018_TA_BUSY(x) (((x) >> 25) & 0x1) argument
825 #define S_008018_SX_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
826 #define G_008018_SX_BUSY(x) (((x) >> 26) & 0x1) argument
828 #define S_008018_SPI_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
829 #define G_008018_SPI_BUSY(x) (((x) >> 27) & 0x1) argument
831 #define S_008018_SC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
832 #define G_008018_SC_BUSY(x) (((x) >> 29) & 0x1) argument
834 #define S_008018_DB_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
835 #define G_008018_DB_BUSY(x) (((x) >> 30) & 0x1) argument
837 #define S_008018_CB_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
838 #define G_008018_CB_BUSY(x) (((x) >> 31) & 0x1) argument
841 #define S_008038_DB_CLEAN(x) (((unsigned)(x) & 0x1) << 1) argument
842 #define G_008038_DB_CLEAN(x) (((x) >> 1) & 0x1) argument
844 #define S_008038_CB_CLEAN(x) (((unsigned)(x) & 0x1) << 2) argument
845 #define G_008038_CB_CLEAN(x) (((x) >> 2) & 0x1) argument
847 #define S_008038_BCI_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
848 #define G_008038_BCI_BUSY(x) (((x) >> 22) & 0x1) argument
850 #define S_008038_VGT_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
851 #define G_008038_VGT_BUSY(x) (((x) >> 23) & 0x1) argument
853 #define S_008038_PA_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
854 #define G_008038_PA_BUSY(x) (((x) >> 24) & 0x1) argument
856 #define S_008038_TA_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
857 #define G_008038_TA_BUSY(x) (((x) >> 25) & 0x1) argument
859 #define S_008038_SX_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
860 #define G_008038_SX_BUSY(x) (((x) >> 26) & 0x1) argument
862 #define S_008038_SPI_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
863 #define G_008038_SPI_BUSY(x) (((x) >> 27) & 0x1) argument
865 #define S_008038_SC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
866 #define G_008038_SC_BUSY(x) (((x) >> 29) & 0x1) argument
868 #define S_008038_DB_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
869 #define G_008038_DB_BUSY(x) (((x) >> 30) & 0x1) argument
871 #define S_008038_CB_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
872 #define G_008038_CB_BUSY(x) (((x) >> 31) & 0x1) argument
875 #define S_00803C_DB_CLEAN(x) (((unsigned)(x) & 0x1) << 1) argument
876 #define G_00803C_DB_CLEAN(x) (((x) >> 1) & 0x1) argument
878 #define S_00803C_CB_CLEAN(x) (((unsigned)(x) & 0x1) << 2) argument
879 #define G_00803C_CB_CLEAN(x) (((x) >> 2) & 0x1) argument
881 #define S_00803C_BCI_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
882 #define G_00803C_BCI_BUSY(x) (((x) >> 22) & 0x1) argument
884 #define S_00803C_VGT_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
885 #define G_00803C_VGT_BUSY(x) (((x) >> 23) & 0x1) argument
887 #define S_00803C_PA_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
888 #define G_00803C_PA_BUSY(x) (((x) >> 24) & 0x1) argument
890 #define S_00803C_TA_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
891 #define G_00803C_TA_BUSY(x) (((x) >> 25) & 0x1) argument
893 #define S_00803C_SX_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
894 #define G_00803C_SX_BUSY(x) (((x) >> 26) & 0x1) argument
896 #define S_00803C_SPI_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
897 #define G_00803C_SPI_BUSY(x) (((x) >> 27) & 0x1) argument
899 #define S_00803C_SC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
900 #define G_00803C_SC_BUSY(x) (((x) >> 29) & 0x1) argument
902 #define S_00803C_DB_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
903 #define G_00803C_DB_BUSY(x) (((x) >> 30) & 0x1) argument
905 #define S_00803C_CB_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
906 #define G_00803C_CB_BUSY(x) (((x) >> 31) & 0x1) argument
910 #define S_0300FC_OFFSET_UPDATE_DONE(x) (((unsigned)(x) & 0x1) << 0) argument
911 #define G_0300FC_OFFSET_UPDATE_DONE(x) (((x) >> 0) & 0x1) argument
914 #define S_0301E4_COHER_BASE_HI_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
915 #define G_0301E4_COHER_BASE_HI_256B(x) (((x) >> 0) & 0xFF) argument
918 #define S_0301EC_START_DELAY_COUNT(x) (((unsigned)(x) & 0x3F) << 0) argument
919 #define G_0301EC_START_DELAY_COUNT(x) (((x) >> 0) & 0x3F) argument
922 #define S_0301F0_DEST_BASE_0_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
923 #define G_0301F0_DEST_BASE_0_ENA(x) (((x) >> 0) & 0x1) argument
925 #define S_0301F0_DEST_BASE_1_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
926 #define G_0301F0_DEST_BASE_1_ENA(x) (((x) >> 1) & 0x1) argument
929 #define S_0301F0_TC_SD_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
930 #define G_0301F0_TC_SD_ACTION_ENA(x) (((x) >> 2) & 0x1) argument
932 #define S_0301F0_TC_NC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
933 #define G_0301F0_TC_NC_ACTION_ENA(x) (((x) >> 3) & 0x1) argument
936 #define S_0301F0_CB0_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
937 #define G_0301F0_CB0_DEST_BASE_ENA(x) (((x) >> 6) & 0x1) argument
939 #define S_0301F0_CB1_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
940 #define G_0301F0_CB1_DEST_BASE_ENA(x) (((x) >> 7) & 0x1) argument
942 #define S_0301F0_CB2_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
943 #define G_0301F0_CB2_DEST_BASE_ENA(x) (((x) >> 8) & 0x1) argument
945 #define S_0301F0_CB3_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 9) argument
946 #define G_0301F0_CB3_DEST_BASE_ENA(x) (((x) >> 9) & 0x1) argument
948 #define S_0301F0_CB4_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 10) argument
949 #define G_0301F0_CB4_DEST_BASE_ENA(x) (((x) >> 10) & 0x1) argument
951 #define S_0301F0_CB5_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
952 #define G_0301F0_CB5_DEST_BASE_ENA(x) (((x) >> 11) & 0x1) argument
954 #define S_0301F0_CB6_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
955 #define G_0301F0_CB6_DEST_BASE_ENA(x) (((x) >> 12) & 0x1) argument
957 #define S_0301F0_CB7_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 13) argument
958 #define G_0301F0_CB7_DEST_BASE_ENA(x) (((x) >> 13) & 0x1) argument
960 #define S_0301F0_DB_DEST_BASE_ENA(x) (((unsigned)(x) & 0x1) << 14) argument
961 #define G_0301F0_DB_DEST_BASE_ENA(x) (((x) >> 14) & 0x1) argument
963 #define S_0301F0_TCL1_VOL_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
964 #define G_0301F0_TCL1_VOL_ACTION_ENA(x) (((x) >> 15) & 0x1) argument
966 #define S_0301F0_TC_VOL_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 16)… argument
967 #define G_0301F0_TC_VOL_ACTION_ENA(x) (((x) >> 16) & 0x1) argument
969 #define S_0301F0_TC_WB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
970 #define G_0301F0_TC_WB_ACTION_ENA(x) (((x) >> 18) & 0x1) argument
972 #define S_0301F0_DEST_BASE_2_ENA(x) (((unsigned)(x) & 0x1) << 19) argument
973 #define G_0301F0_DEST_BASE_2_ENA(x) (((x) >> 19) & 0x1) argument
975 #define S_0301F0_DEST_BASE_3_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
976 #define G_0301F0_DEST_BASE_3_ENA(x) (((x) >> 21) & 0x1) argument
978 #define S_0301F0_TCL1_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 22) argument
979 #define G_0301F0_TCL1_ACTION_ENA(x) (((x) >> 22) & 0x1) argument
981 #define S_0301F0_TC_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
982 #define G_0301F0_TC_ACTION_ENA(x) (((x) >> 23) & 0x1) argument
984 #define S_0301F0_CB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 25) argument
985 #define G_0301F0_CB_ACTION_ENA(x) (((x) >> 25) & 0x1) argument
987 #define S_0301F0_DB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 26) argument
988 #define G_0301F0_DB_ACTION_ENA(x) (((x) >> 26) & 0x1) argument
990 #define S_0301F0_SH_KCACHE_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 27) argument
991 #define G_0301F0_SH_KCACHE_ACTION_ENA(x) (((x) >> 27) & 0x1) argument
993 #define S_0301F0_SH_KCACHE_VOL_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 28) argument
994 #define G_0301F0_SH_KCACHE_VOL_ACTION_ENA(x) (((x) >> 28) & 0x1) argument
996 #define S_0301F0_SH_ICACHE_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 29) argument
997 #define G_0301F0_SH_ICACHE_ACTION_ENA(x) (((x) >> 29) & 0x1) argument
1000 #define S_0301F0_SH_KCACHE_WB_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 30) argument
1001 #define G_0301F0_SH_KCACHE_WB_ACTION_ENA(x) (((x) >> 30) & 0x1) argument
1003 #define S_0301F0_SH_SD_ACTION_ENA(x) (((unsigned)(x) & 0x1) << 31) argument
1004 #define G_0301F0_SH_SD_ACTION_ENA(x) (((x) >> 31) & 0x1) argument
1010 #define S_0301FC_MATCHING_GFX_CNTX(x) (((unsigned)(x) & 0xFF) << 0) argument
1011 #define G_0301FC_MATCHING_GFX_CNTX(x) (((x) >> 0) & 0xFF) argument
1013 #define S_0301FC_MEID(x) (((unsigned)(x) & 0x03) << 24) argument
1014 #define G_0301FC_MEID(x) (((x) >> 24) & 0x03) argument
1016 #define S_0301FC_PHASE1_STATUS(x) (((unsigned)(x) & 0x1) << 30) argument
1017 #define G_0301FC_PHASE1_STATUS(x) (((x) >> 30) & 0x1) argument
1019 #define S_0301FC_STATUS(x) (((unsigned)(x) & 0x1) << 31) argument
1020 #define G_0301FC_STATUS(x) (((x) >> 31) & 0x1) argument
1024 #define S_008210_MEC1_BUSY(x) (((unsigned)(x) & 0x1) << 0) argument
1025 #define G_008210_MEC1_BUSY(x) (((x) >> 0) & 0x1) argument
1027 #define S_008210_MEC2_BUSY(x) (((unsigned)(x) & 0x1) << 1) argument
1028 #define G_008210_MEC2_BUSY(x) (((x) >> 1) & 0x1) argument
1030 #define S_008210_DC0_BUSY(x) (((unsigned)(x) & 0x1) << 2) argument
1031 #define G_008210_DC0_BUSY(x) (((x) >> 2) & 0x1) argument
1033 #define S_008210_DC1_BUSY(x) (((unsigned)(x) & 0x1) << 3) argument
1034 #define G_008210_DC1_BUSY(x) (((x) >> 3) & 0x1) argument
1036 #define S_008210_RCIU1_BUSY(x) (((unsigned)(x) & 0x1) << 4) argument
1037 #define G_008210_RCIU1_BUSY(x) (((x) >> 4) & 0x1) argument
1039 #define S_008210_RCIU2_BUSY(x) (((unsigned)(x) & 0x1) << 5) argument
1040 #define G_008210_RCIU2_BUSY(x) (((x) >> 5) & 0x1) argument
1042 #define S_008210_ROQ1_BUSY(x) (((unsigned)(x) & 0x1) << 6) argument
1043 #define G_008210_ROQ1_BUSY(x) (((x) >> 6) & 0x1) argument
1045 #define S_008210_ROQ2_BUSY(x) (((unsigned)(x) & 0x1) << 7) argument
1046 #define G_008210_ROQ2_BUSY(x) (((x) >> 7) & 0x1) argument
1048 #define S_008210_TCIU_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
1049 #define G_008210_TCIU_BUSY(x) (((x) >> 10) & 0x1) argument
1051 #define S_008210_SCRATCH_RAM_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
1052 #define G_008210_SCRATCH_RAM_BUSY(x) (((x) >> 11) & 0x1) argument
1054 #define S_008210_QU_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
1055 #define G_008210_QU_BUSY(x) (((x) >> 12) & 0x1) argument
1057 #define S_008210_ATCL2IU_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
1058 #define G_008210_ATCL2IU_BUSY(x) (((x) >> 13) & 0x1) argument
1060 #define S_008210_CPG_CPC_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
1061 #define G_008210_CPG_CPC_BUSY(x) (((x) >> 29) & 0x1) argument
1063 #define S_008210_CPF_CPC_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
1064 #define G_008210_CPF_CPC_BUSY(x) (((x) >> 30) & 0x1) argument
1066 #define S_008210_CPC_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
1067 #define G_008210_CPC_BUSY(x) (((x) >> 31) & 0x1) argument
1070 #define S_008214_MEC1_LOAD_BUSY(x) (((unsigned)(x) & 0x1) << 0) argument
1071 #define G_008214_MEC1_LOAD_BUSY(x) (((x) >> 0) & 0x1) argument
1073 #define S_008214_MEC1_SEMAPOHRE_BUSY(x) (((unsigned)(x) & 0x1) << 1) argument
1074 #define G_008214_MEC1_SEMAPOHRE_BUSY(x) (((x) >> 1) & 0x1) argument
1076 #define S_008214_MEC1_MUTEX_BUSY(x) (((unsigned)(x) & 0x1) << 2) argument
1077 #define G_008214_MEC1_MUTEX_BUSY(x) (((x) >> 2) & 0x1) argument
1079 #define S_008214_MEC1_MESSAGE_BUSY(x) (((unsigned)(x) & 0x1) << 3) argument
1080 #define G_008214_MEC1_MESSAGE_BUSY(x) (((x) >> 3) & 0x1) argument
1082 #define S_008214_MEC1_EOP_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 4) argument
1083 #define G_008214_MEC1_EOP_QUEUE_BUSY(x) (((x) >> 4) & 0x1) argument
1085 #define S_008214_MEC1_IQ_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 5) argument
1086 #define G_008214_MEC1_IQ_QUEUE_BUSY(x) (((x) >> 5) & 0x1) argument
1088 #define S_008214_MEC1_IB_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 6) argument
1089 #define G_008214_MEC1_IB_QUEUE_BUSY(x) (((x) >> 6) & 0x1) argument
1091 #define S_008214_MEC1_TC_BUSY(x) (((unsigned)(x) & 0x1) << 7) argument
1092 #define G_008214_MEC1_TC_BUSY(x) (((x) >> 7) & 0x1) argument
1094 #define S_008214_MEC1_DMA_BUSY(x) (((unsigned)(x) & 0x1) << 8) argument
1095 #define G_008214_MEC1_DMA_BUSY(x) (((x) >> 8) & 0x1) argument
1097 #define S_008214_MEC1_PARTIAL_FLUSH_BUSY(x) (((unsigned)(x) & 0x1) << 9) argument
1098 #define G_008214_MEC1_PARTIAL_FLUSH_BUSY(x) (((x) >> 9) & 0x1) argument
1100 #define S_008214_MEC1_PIPE0_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
1101 #define G_008214_MEC1_PIPE0_BUSY(x) (((x) >> 10) & 0x1) argument
1103 #define S_008214_MEC1_PIPE1_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
1104 #define G_008214_MEC1_PIPE1_BUSY(x) (((x) >> 11) & 0x1) argument
1106 #define S_008214_MEC1_PIPE2_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
1107 #define G_008214_MEC1_PIPE2_BUSY(x) (((x) >> 12) & 0x1) argument
1109 #define S_008214_MEC1_PIPE3_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
1110 #define G_008214_MEC1_PIPE3_BUSY(x) (((x) >> 13) & 0x1) argument
1112 #define S_008214_MEC2_LOAD_BUSY(x) (((unsigned)(x) & 0x1) << 16) argument
1113 #define G_008214_MEC2_LOAD_BUSY(x) (((x) >> 16) & 0x1) argument
1115 #define S_008214_MEC2_SEMAPOHRE_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
1116 #define G_008214_MEC2_SEMAPOHRE_BUSY(x) (((x) >> 17) & 0x1) argument
1118 #define S_008214_MEC2_MUTEX_BUSY(x) (((unsigned)(x) & 0x1) << 18) argument
1119 #define G_008214_MEC2_MUTEX_BUSY(x) (((x) >> 18) & 0x1) argument
1121 #define S_008214_MEC2_MESSAGE_BUSY(x) (((unsigned)(x) & 0x1) << 19) argument
1122 #define G_008214_MEC2_MESSAGE_BUSY(x) (((x) >> 19) & 0x1) argument
1124 #define S_008214_MEC2_EOP_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 20) argument
1125 #define G_008214_MEC2_EOP_QUEUE_BUSY(x) (((x) >> 20) & 0x1) argument
1127 #define S_008214_MEC2_IQ_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
1128 #define G_008214_MEC2_IQ_QUEUE_BUSY(x) (((x) >> 21) & 0x1) argument
1130 #define S_008214_MEC2_IB_QUEUE_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
1131 #define G_008214_MEC2_IB_QUEUE_BUSY(x) (((x) >> 22) & 0x1) argument
1133 #define S_008214_MEC2_TC_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
1134 #define G_008214_MEC2_TC_BUSY(x) (((x) >> 23) & 0x1) argument
1136 #define S_008214_MEC2_DMA_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
1137 #define G_008214_MEC2_DMA_BUSY(x) (((x) >> 24) & 0x1) argument
1139 #define S_008214_MEC2_PARTIAL_FLUSH_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
1140 #define G_008214_MEC2_PARTIAL_FLUSH_BUSY(x) (((x) >> 25) & 0x1) argument
1142 #define S_008214_MEC2_PIPE0_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
1143 #define G_008214_MEC2_PIPE0_BUSY(x) (((x) >> 26) & 0x1) argument
1145 #define S_008214_MEC2_PIPE1_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
1146 #define G_008214_MEC2_PIPE1_BUSY(x) (((x) >> 27) & 0x1) argument
1148 #define S_008214_MEC2_PIPE2_BUSY(x) (((unsigned)(x) & 0x1) << 28) argument
1149 #define G_008214_MEC2_PIPE2_BUSY(x) (((x) >> 28) & 0x1) argument
1151 #define S_008214_MEC2_PIPE3_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
1152 #define G_008214_MEC2_PIPE3_BUSY(x) (((x) >> 29) & 0x1) argument
1155 #define S_008218_RCIU_TX_FREE_STALL(x) (((unsigned)(x) & 0x1) << 3) argument
1156 #define G_008218_RCIU_TX_FREE_STALL(x) (((x) >> 3) & 0x1) argument
1158 #define S_008218_RCIU_PRIV_VIOLATION(x) (((unsigned)(x) & 0x1) << 4) argument
1159 #define G_008218_RCIU_PRIV_VIOLATION(x) (((x) >> 4) & 0x1) argument
1161 #define S_008218_TCIU_TX_FREE_STALL(x) (((unsigned)(x) & 0x1) << 6) argument
1162 #define G_008218_TCIU_TX_FREE_STALL(x) (((x) >> 6) & 0x1) argument
1164 #define S_008218_MEC1_DECODING_PACKET(x) (((unsigned)(x) & 0x1) << 8) argument
1165 #define G_008218_MEC1_DECODING_PACKET(x) (((x) >> 8) & 0x1) argument
1167 #define S_008218_MEC1_WAIT_ON_RCIU(x) (((unsigned)(x) & 0x1) << 9) argument
1168 #define G_008218_MEC1_WAIT_ON_RCIU(x) (((x) >> 9) & 0x1) argument
1170 #define S_008218_MEC1_WAIT_ON_RCIU_READ(x) (((unsigned)(x) & 0x1) << 10) argument
1171 #define G_008218_MEC1_WAIT_ON_RCIU_READ(x) (((x) >> 10) & 0x1) argument
1173 #define S_008218_MEC1_WAIT_ON_ROQ_DATA(x) (((unsigned)(x) & 0x1) << 13) argument
1174 #define G_008218_MEC1_WAIT_ON_ROQ_DATA(x) (((x) >> 13) & 0x1) argument
1176 #define S_008218_MEC2_DECODING_PACKET(x) (((unsigned)(x) & 0x1) << 16) argument
1177 #define G_008218_MEC2_DECODING_PACKET(x) (((x) >> 16) & 0x1) argument
1179 #define S_008218_MEC2_WAIT_ON_RCIU(x) (((unsigned)(x) & 0x1) << 17) argument
1180 #define G_008218_MEC2_WAIT_ON_RCIU(x) (((x) >> 17) & 0x1) argument
1182 #define S_008218_MEC2_WAIT_ON_RCIU_READ(x) (((unsigned)(x) & 0x1) << 18) argument
1183 #define G_008218_MEC2_WAIT_ON_RCIU_READ(x) (((x) >> 18) & 0x1) argument
1185 #define S_008218_MEC2_WAIT_ON_ROQ_DATA(x) (((unsigned)(x) & 0x1) << 21) argument
1186 #define G_008218_MEC2_WAIT_ON_ROQ_DATA(x) (((x) >> 21) & 0x1) argument
1188 #define S_008218_ATCL2IU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 22) argument
1189 #define G_008218_ATCL2IU_WAITING_ON_FREE(x) (((x) >> 22) & 0x1) argument
1191 #define S_008218_ATCL2IU_WAITING_ON_TAGS(x) (((unsigned)(x) & 0x1) << 23) argument
1192 #define G_008218_ATCL2IU_WAITING_ON_TAGS(x) (((x) >> 23) & 0x1) argument
1194 #define S_008218_ATCL1_WAITING_ON_TRANS(x) (((unsigned)(x) & 0x1) << 24) argument
1195 #define G_008218_ATCL1_WAITING_ON_TRANS(x) (((x) >> 24) & 0x1) argument
1198 #define S_00821C_POST_WPTR_GFX_BUSY(x) (((unsigned)(x) & 0x1) << 0) argument
1199 #define G_00821C_POST_WPTR_GFX_BUSY(x) (((x) >> 0) & 0x1) argument
1201 #define S_00821C_CSF_BUSY(x) (((unsigned)(x) & 0x1) << 1) argument
1202 #define G_00821C_CSF_BUSY(x) (((x) >> 1) & 0x1) argument
1204 #define S_00821C_ROQ_ALIGN_BUSY(x) (((unsigned)(x) & 0x1) << 4) argument
1205 #define G_00821C_ROQ_ALIGN_BUSY(x) (((x) >> 4) & 0x1) argument
1207 #define S_00821C_ROQ_RING_BUSY(x) (((unsigned)(x) & 0x1) << 5) argument
1208 #define G_00821C_ROQ_RING_BUSY(x) (((x) >> 5) & 0x1) argument
1210 #define S_00821C_ROQ_INDIRECT1_BUSY(x) (((unsigned)(x) & 0x1) << 6) argument
1211 #define G_00821C_ROQ_INDIRECT1_BUSY(x) (((x) >> 6) & 0x1) argument
1213 #define S_00821C_ROQ_INDIRECT2_BUSY(x) (((unsigned)(x) & 0x1) << 7) argument
1214 #define G_00821C_ROQ_INDIRECT2_BUSY(x) (((x) >> 7) & 0x1) argument
1216 #define S_00821C_ROQ_STATE_BUSY(x) (((unsigned)(x) & 0x1) << 8) argument
1217 #define G_00821C_ROQ_STATE_BUSY(x) (((x) >> 8) & 0x1) argument
1219 #define S_00821C_ROQ_CE_RING_BUSY(x) (((unsigned)(x) & 0x1) << 9) argument
1220 #define G_00821C_ROQ_CE_RING_BUSY(x) (((x) >> 9) & 0x1) argument
1222 #define S_00821C_ROQ_CE_INDIRECT1_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
1223 #define G_00821C_ROQ_CE_INDIRECT1_BUSY(x) (((x) >> 10) & 0x1) argument
1225 #define S_00821C_ROQ_CE_INDIRECT2_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
1226 #define G_00821C_ROQ_CE_INDIRECT2_BUSY(x) (((x) >> 11) & 0x1) argument
1228 #define S_00821C_SEMAPHORE_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
1229 #define G_00821C_SEMAPHORE_BUSY(x) (((x) >> 12) & 0x1) argument
1231 #define S_00821C_INTERRUPT_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
1232 #define G_00821C_INTERRUPT_BUSY(x) (((x) >> 13) & 0x1) argument
1234 #define S_00821C_TCIU_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
1235 #define G_00821C_TCIU_BUSY(x) (((x) >> 14) & 0x1) argument
1237 #define S_00821C_HQD_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
1238 #define G_00821C_HQD_BUSY(x) (((x) >> 15) & 0x1) argument
1240 #define S_00821C_PRT_BUSY(x) (((unsigned)(x) & 0x1) << 16) argument
1241 #define G_00821C_PRT_BUSY(x) (((x) >> 16) & 0x1) argument
1243 #define S_00821C_ATCL2IU_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
1244 #define G_00821C_ATCL2IU_BUSY(x) (((x) >> 17) & 0x1) argument
1246 #define S_00821C_CPF_GFX_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
1247 #define G_00821C_CPF_GFX_BUSY(x) (((x) >> 26) & 0x1) argument
1249 #define S_00821C_CPF_CMP_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
1250 #define G_00821C_CPF_CMP_BUSY(x) (((x) >> 27) & 0x1) argument
1252 #define S_00821C_GRBM_CPF_STAT_BUSY(x) (((unsigned)(x) & 0x03) << 28) argument
1253 #define G_00821C_GRBM_CPF_STAT_BUSY(x) (((x) >> 28) & 0x03) argument
1255 #define S_00821C_CPC_CPF_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
1256 #define G_00821C_CPC_CPF_BUSY(x) (((x) >> 30) & 0x1) argument
1258 #define S_00821C_CPF_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
1259 #define G_00821C_CPF_BUSY(x) (((x) >> 31) & 0x1) argument
1262 #define S_008220_REG_BUS_FIFO_BUSY(x) (((unsigned)(x) & 0x1) << 0) argument
1263 #define G_008220_REG_BUS_FIFO_BUSY(x) (((x) >> 0) & 0x1) argument
1265 #define S_008220_CSF_RING_BUSY(x) (((unsigned)(x) & 0x1) << 1) argument
1266 #define G_008220_CSF_RING_BUSY(x) (((x) >> 1) & 0x1) argument
1268 #define S_008220_CSF_INDIRECT1_BUSY(x) (((unsigned)(x) & 0x1) << 2) argument
1269 #define G_008220_CSF_INDIRECT1_BUSY(x) (((x) >> 2) & 0x1) argument
1271 #define S_008220_CSF_INDIRECT2_BUSY(x) (((unsigned)(x) & 0x1) << 3) argument
1272 #define G_008220_CSF_INDIRECT2_BUSY(x) (((x) >> 3) & 0x1) argument
1274 #define S_008220_CSF_STATE_BUSY(x) (((unsigned)(x) & 0x1) << 4) argument
1275 #define G_008220_CSF_STATE_BUSY(x) (((x) >> 4) & 0x1) argument
1277 #define S_008220_CSF_CE_INDR1_BUSY(x) (((unsigned)(x) & 0x1) << 5) argument
1278 #define G_008220_CSF_CE_INDR1_BUSY(x) (((x) >> 5) & 0x1) argument
1280 #define S_008220_CSF_CE_INDR2_BUSY(x) (((unsigned)(x) & 0x1) << 6) argument
1281 #define G_008220_CSF_CE_INDR2_BUSY(x) (((x) >> 6) & 0x1) argument
1283 #define S_008220_CSF_ARBITER_BUSY(x) (((unsigned)(x) & 0x1) << 7) argument
1284 #define G_008220_CSF_ARBITER_BUSY(x) (((x) >> 7) & 0x1) argument
1286 #define S_008220_CSF_INPUT_BUSY(x) (((unsigned)(x) & 0x1) << 8) argument
1287 #define G_008220_CSF_INPUT_BUSY(x) (((x) >> 8) & 0x1) argument
1289 #define S_008220_OUTSTANDING_READ_TAGS(x) (((unsigned)(x) & 0x1) << 9) argument
1290 #define G_008220_OUTSTANDING_READ_TAGS(x) (((x) >> 9) & 0x1) argument
1292 #define S_008220_HPD_PROCESSING_EOP_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
1293 #define G_008220_HPD_PROCESSING_EOP_BUSY(x) (((x) >> 11) & 0x1) argument
1295 #define S_008220_HQD_DISPATCH_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
1296 #define G_008220_HQD_DISPATCH_BUSY(x) (((x) >> 12) & 0x1) argument
1298 #define S_008220_HQD_IQ_TIMER_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
1299 #define G_008220_HQD_IQ_TIMER_BUSY(x) (((x) >> 13) & 0x1) argument
1301 #define S_008220_HQD_DMA_OFFLOAD_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
1302 #define G_008220_HQD_DMA_OFFLOAD_BUSY(x) (((x) >> 14) & 0x1) argument
1304 #define S_008220_HQD_WAIT_SEMAPHORE_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
1305 #define G_008220_HQD_WAIT_SEMAPHORE_BUSY(x) (((x) >> 15) & 0x1) argument
1307 #define S_008220_HQD_SIGNAL_SEMAPHORE_BUSY(x) (((unsigned)(x) & 0x1) << 16) argument
1308 #define G_008220_HQD_SIGNAL_SEMAPHORE_BUSY(x) (((x) >> 16) & 0x1) argument
1310 #define S_008220_HQD_MESSAGE_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
1311 #define G_008220_HQD_MESSAGE_BUSY(x) (((x) >> 17) & 0x1) argument
1313 #define S_008220_HQD_PQ_FETCHER_BUSY(x) (((unsigned)(x) & 0x1) << 18) argument
1314 #define G_008220_HQD_PQ_FETCHER_BUSY(x) (((x) >> 18) & 0x1) argument
1316 #define S_008220_HQD_IB_FETCHER_BUSY(x) (((unsigned)(x) & 0x1) << 19) argument
1317 #define G_008220_HQD_IB_FETCHER_BUSY(x) (((x) >> 19) & 0x1) argument
1319 #define S_008220_HQD_IQ_FETCHER_BUSY(x) (((unsigned)(x) & 0x1) << 20) argument
1320 #define G_008220_HQD_IQ_FETCHER_BUSY(x) (((x) >> 20) & 0x1) argument
1322 #define S_008220_HQD_EOP_FETCHER_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
1323 #define G_008220_HQD_EOP_FETCHER_BUSY(x) (((x) >> 21) & 0x1) argument
1325 #define S_008220_HQD_CONSUMED_RPTR_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
1326 #define G_008220_HQD_CONSUMED_RPTR_BUSY(x) (((x) >> 22) & 0x1) argument
1328 #define S_008220_HQD_FETCHER_ARB_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
1329 #define G_008220_HQD_FETCHER_ARB_BUSY(x) (((x) >> 23) & 0x1) argument
1331 #define S_008220_HQD_ROQ_ALIGN_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
1332 #define G_008220_HQD_ROQ_ALIGN_BUSY(x) (((x) >> 24) & 0x1) argument
1334 #define S_008220_HQD_ROQ_EOP_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
1335 #define G_008220_HQD_ROQ_EOP_BUSY(x) (((x) >> 25) & 0x1) argument
1337 #define S_008220_HQD_ROQ_IQ_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
1338 #define G_008220_HQD_ROQ_IQ_BUSY(x) (((x) >> 26) & 0x1) argument
1340 #define S_008220_HQD_ROQ_PQ_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
1341 #define G_008220_HQD_ROQ_PQ_BUSY(x) (((x) >> 27) & 0x1) argument
1343 #define S_008220_HQD_ROQ_IB_BUSY(x) (((unsigned)(x) & 0x1) << 28) argument
1344 #define G_008220_HQD_ROQ_IB_BUSY(x) (((x) >> 28) & 0x1) argument
1346 #define S_008220_HQD_WPTR_POLL_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
1347 #define G_008220_HQD_WPTR_POLL_BUSY(x) (((x) >> 29) & 0x1) argument
1349 #define S_008220_HQD_PQ_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
1350 #define G_008220_HQD_PQ_BUSY(x) (((x) >> 30) & 0x1) argument
1352 #define S_008220_HQD_IB_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
1353 #define G_008220_HQD_IB_BUSY(x) (((x) >> 31) & 0x1) argument
1356 #define S_008224_RING_FETCHING_DATA(x) (((unsigned)(x) & 0x1) << 0) argument
1357 #define G_008224_RING_FETCHING_DATA(x) (((x) >> 0) & 0x1) argument
1359 #define S_008224_INDR1_FETCHING_DATA(x) (((unsigned)(x) & 0x1) << 1) argument
1360 #define G_008224_INDR1_FETCHING_DATA(x) (((x) >> 1) & 0x1) argument
1362 #define S_008224_INDR2_FETCHING_DATA(x) (((unsigned)(x) & 0x1) << 2) argument
1363 #define G_008224_INDR2_FETCHING_DATA(x) (((x) >> 2) & 0x1) argument
1365 #define S_008224_STATE_FETCHING_DATA(x) (((unsigned)(x) & 0x1) << 3) argument
1366 #define G_008224_STATE_FETCHING_DATA(x) (((x) >> 3) & 0x1) argument
1368 #define S_008224_TCIU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 5) argument
1369 #define G_008224_TCIU_WAITING_ON_FREE(x) (((x) >> 5) & 0x1) argument
1371 #define S_008224_TCIU_WAITING_ON_TAGS(x) (((unsigned)(x) & 0x1) << 6) argument
1372 #define G_008224_TCIU_WAITING_ON_TAGS(x) (((x) >> 6) & 0x1) argument
1374 #define S_008224_ATCL2IU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 7) argument
1375 #define G_008224_ATCL2IU_WAITING_ON_FREE(x) (((x) >> 7) & 0x1) argument
1377 #define S_008224_ATCL2IU_WAITING_ON_TAGS(x) (((unsigned)(x) & 0x1) << 8) argument
1378 #define G_008224_ATCL2IU_WAITING_ON_TAGS(x) (((x) >> 8) & 0x1) argument
1380 #define S_008224_ATCL1_WAITING_ON_TRANS(x) (((unsigned)(x) & 0x1) << 9) argument
1381 #define G_008224_ATCL1_WAITING_ON_TRANS(x) (((x) >> 9) & 0x1) argument
1384 #define S_030230_COHER_SIZE_HI_256B(x) (((unsigned)(x) & 0xFF) << 0) argument
1385 #define G_030230_COHER_SIZE_HI_256B(x) (((x) >> 0) & 0xFF) argument
1389 #define S_0088B0_PRIM_COUNT(x) (((unsigned)(x) & 0x3FF) << 0) argument
1390 #define G_0088B0_PRIM_COUNT(x) (((x) >> 0) & 0x3FF) argument
1393 #define S_0088C4_VS_NO_EXTRA_BUFFER(x) (((unsigned)(x) & 0x1) << 5) argument
1394 #define G_0088C4_VS_NO_EXTRA_BUFFER(x) (((x) >> 5) & 0x1) argument
1396 #define S_0088C4_STREAMOUT_FULL_FLUSH(x) (((unsigned)(x) & 0x1) << 13) argument
1397 #define G_0088C4_STREAMOUT_FULL_FLUSH(x) (((x) >> 13) & 0x1) argument
1399 #define S_0088C4_ES_LIMIT(x) (((unsigned)(x) & 0x1F) << 16) argument
1400 #define G_0088C4_ES_LIMIT(x) (((x) >> 16) & 0x1F) argument
1407 #define S_0088D4_VERT_REUSE(x) (((unsigned)(x) & 0x1F) << 0) argument
1408 #define G_0088D4_VERT_REUSE(x) (((x) >> 0) & 0x1F) argument
1412 #define S_008958_PRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
1413 #define G_008958_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
1445 #define S_00895C_INDEX_TYPE(x) (((unsigned)(x) & 0x03) << 0) argument
1446 #define G_00895C_INDEX_TYPE(x) (((x) >> 0) & 0x03) argument
1457 #define S_008988_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
1458 #define G_008988_SIZE(x) (((x) >> 0) & 0xFFFF) argument
1461 #define S_0089B0_OFFCHIP_BUFFERING(x) (((unsigned)(x) & 0x7F) << 0) argument
1462 #define G_0089B0_OFFCHIP_BUFFERING(x) (((x) >> 0) & 0x7F) argument
1467 #define S_008A14_CLIP_VTX_REORDER_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
1468 #define G_008A14_CLIP_VTX_REORDER_ENA(x) (((x) >> 0) & 0x1) argument
1470 #define S_008A14_NUM_CLIP_SEQ(x) (((unsigned)(x) & 0x03) << 1) argument
1471 #define G_008A14_NUM_CLIP_SEQ(x) (((x) >> 1) & 0x03) argument
1473 #define S_008A14_CLIPPED_PRIM_SEQ_STALL(x) (((unsigned)(x) & 0x1) << 3) argument
1474 #define G_008A14_CLIPPED_PRIM_SEQ_STALL(x) (((x) >> 3) & 0x1) argument
1476 #define S_008A14_VE_NAN_PROC_DISABLE(x) (((unsigned)(x) & 0x1) << 4) argument
1477 #define G_008A14_VE_NAN_PROC_DISABLE(x) (((x) >> 4) & 0x1) argument
1481 #define S_008A60_LINE_STIPPLE_VALUE(x) (((unsigned)(x) & 0xFFFFFF) <… argument
1482 #define G_008A60_LINE_STIPPLE_VALUE(x) (((x) >> 0) & 0xFFFFFF) argument
1485 #define S_008B10_CURRENT_PTR(x) (((unsigned)(x) & 0x0F) << 0) argument
1486 #define G_008B10_CURRENT_PTR(x) (((x) >> 0) & 0x0F) argument
1488 #define S_008B10_CURRENT_COUNT(x) (((unsigned)(x) & 0xFF) << 8) argument
1489 #define G_008B10_CURRENT_COUNT(x) (((x) >> 8) & 0xFF) argument
1493 #define S_008670_CE_TO_CSF_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 0) argument
1494 #define G_008670_CE_TO_CSF_NOT_RDY_TO_RCV(x) (((x) >> 0) & 0x1) argument
1496 #define S_008670_CE_TO_RAM_INIT_FETCHER_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 1) argument
1497 #define G_008670_CE_TO_RAM_INIT_FETCHER_NOT_RDY_TO_RCV(x) (((x) >> 1) & 0x1) argument
1499 #define S_008670_CE_WAITING_ON_DATA_FROM_RAM_INIT_FETCHER(x) (((unsigned)(x) & 0x1) << 2) argument
1500 #define G_008670_CE_WAITING_ON_DATA_FROM_RAM_INIT_FETCHER(x) (((x) >> 2) & 0x1) argument
1502 #define S_008670_CE_TO_RAM_INIT_NOT_RDY(x) (((unsigned)(x) & 0x1) << 3) argument
1503 #define G_008670_CE_TO_RAM_INIT_NOT_RDY(x) (((x) >> 3) & 0x1) argument
1505 #define S_008670_CE_TO_RAM_DUMP_NOT_RDY(x) (((unsigned)(x) & 0x1) << 4) argument
1506 #define G_008670_CE_TO_RAM_DUMP_NOT_RDY(x) (((x) >> 4) & 0x1) argument
1508 #define S_008670_CE_TO_RAM_WRITE_NOT_RDY(x) (((unsigned)(x) & 0x1) << 5) argument
1509 #define G_008670_CE_TO_RAM_WRITE_NOT_RDY(x) (((x) >> 5) & 0x1) argument
1511 #define S_008670_CE_TO_INC_FIFO_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 6) argument
1512 #define G_008670_CE_TO_INC_FIFO_NOT_RDY_TO_RCV(x) (((x) >> 6) & 0x1) argument
1514 #define S_008670_CE_TO_WR_FIFO_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 7) argument
1515 #define G_008670_CE_TO_WR_FIFO_NOT_RDY_TO_RCV(x) (((x) >> 7) & 0x1) argument
1517 #define S_008670_CE_WAITING_ON_BUFFER_DATA(x) (((unsigned)(x) & 0x1) << 10) argument
1518 #define G_008670_CE_WAITING_ON_BUFFER_DATA(x) (((x) >> 10) & 0x1) argument
1520 #define S_008670_CE_WAITING_ON_CE_BUFFER_FLAG(x) (((unsigned)(x) & 0x1) << 11) argument
1521 #define G_008670_CE_WAITING_ON_CE_BUFFER_FLAG(x) (((x) >> 11) & 0x1) argument
1523 #define S_008670_CE_WAITING_ON_DE_COUNTER(x) (((unsigned)(x) & 0x1) << 12) argument
1524 #define G_008670_CE_WAITING_ON_DE_COUNTER(x) (((x) >> 12) & 0x1) argument
1526 #define S_008670_CE_WAITING_ON_DE_COUNTER_UNDERFLOW(x) (((unsigned)(x) & 0x1) << 13) argument
1527 #define G_008670_CE_WAITING_ON_DE_COUNTER_UNDERFLOW(x) (((x) >> 13) & 0x1) argument
1529 #define S_008670_TCIU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 14) argument
1530 #define G_008670_TCIU_WAITING_ON_FREE(x) (((x) >> 14) & 0x1) argument
1532 #define S_008670_TCIU_WAITING_ON_TAGS(x) (((unsigned)(x) & 0x1) << 15) argument
1533 #define G_008670_TCIU_WAITING_ON_TAGS(x) (((x) >> 15) & 0x1) argument
1535 #define S_008670_CE_STALLED_ON_TC_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 16) argument
1536 #define G_008670_CE_STALLED_ON_TC_WR_CONFIRM(x) (((x) >> 16) & 0x1) argument
1538 #define S_008670_CE_STALLED_ON_ATOMIC_RTN_DATA(x) (((unsigned)(x) & 0x1) << 17) argument
1539 #define G_008670_CE_STALLED_ON_ATOMIC_RTN_DATA(x) (((x) >> 17) & 0x1) argument
1541 #define S_008670_ATCL2IU_WAITING_ON_FREE(x) (((unsigned)(x) & 0x1) << 18) argument
1542 #define G_008670_ATCL2IU_WAITING_ON_FREE(x) (((x) >> 18) & 0x1) argument
1544 #define S_008670_ATCL2IU_WAITING_ON_TAGS(x) (((unsigned)(x) & 0x1) << 19) argument
1545 #define G_008670_ATCL2IU_WAITING_ON_TAGS(x) (((x) >> 19) & 0x1) argument
1547 #define S_008670_ATCL1_WAITING_ON_TRANS(x) (((unsigned)(x) & 0x1) << 20) argument
1548 #define G_008670_ATCL1_WAITING_ON_TRANS(x) (((x) >> 20) & 0x1) argument
1551 #define S_008674_RBIU_TO_DMA_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 0) argument
1552 #define G_008674_RBIU_TO_DMA_NOT_RDY_TO_RCV(x) (((x) >> 0) & 0x1) argument
1554 #define S_008674_RBIU_TO_SEM_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 2) argument
1555 #define G_008674_RBIU_TO_SEM_NOT_RDY_TO_RCV(x) (((x) >> 2) & 0x1) argument
1557 #define S_008674_RBIU_TO_MEMWR_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 4) argument
1558 #define G_008674_RBIU_TO_MEMWR_NOT_RDY_TO_RCV(x) (((x) >> 4) & 0x1) argument
1560 #define S_008674_ME_HAS_ACTIVE_CE_BUFFER_FLAG(x) (((unsigned)(x) & 0x1) << 10) argument
1561 #define G_008674_ME_HAS_ACTIVE_CE_BUFFER_FLAG(x) (((x) >> 10) & 0x1) argument
1563 #define S_008674_ME_HAS_ACTIVE_DE_BUFFER_FLAG(x) (((unsigned)(x) & 0x1) << 11) argument
1564 #define G_008674_ME_HAS_ACTIVE_DE_BUFFER_FLAG(x) (((x) >> 11) & 0x1) argument
1566 #define S_008674_ME_STALLED_ON_TC_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 12) argument
1567 #define G_008674_ME_STALLED_ON_TC_WR_CONFIRM(x) (((x) >> 12) & 0x1) argument
1569 #define S_008674_ME_STALLED_ON_ATOMIC_RTN_DATA(x) (((unsigned)(x) & 0x1) << 13) argument
1570 #define G_008674_ME_STALLED_ON_ATOMIC_RTN_DATA(x) (((x) >> 13) & 0x1) argument
1572 #define S_008674_ME_WAITING_ON_TC_READ_DATA(x) (((unsigned)(x) & 0x1) << 14) argument
1573 #define G_008674_ME_WAITING_ON_TC_READ_DATA(x) (((x) >> 14) & 0x1) argument
1575 #define S_008674_ME_WAITING_ON_REG_READ_DATA(x) (((unsigned)(x) & 0x1) << 15) argument
1576 #define G_008674_ME_WAITING_ON_REG_READ_DATA(x) (((x) >> 15) & 0x1) argument
1578 #define S_008674_RCIU_WAITING_ON_GDS_FREE(x) (((unsigned)(x) & 0x1) << 23) argument
1579 #define G_008674_RCIU_WAITING_ON_GDS_FREE(x) (((x) >> 23) & 0x1) argument
1581 #define S_008674_RCIU_WAITING_ON_GRBM_FREE(x) (((unsigned)(x) & 0x1) << 24) argument
1582 #define G_008674_RCIU_WAITING_ON_GRBM_FREE(x) (((x) >> 24) & 0x1) argument
1584 #define S_008674_RCIU_WAITING_ON_VGT_FREE(x) (((unsigned)(x) & 0x1) << 25) argument
1585 #define G_008674_RCIU_WAITING_ON_VGT_FREE(x) (((x) >> 25) & 0x1) argument
1587 #define S_008674_RCIU_STALLED_ON_ME_READ(x) (((unsigned)(x) & 0x1) << 26) argument
1588 #define G_008674_RCIU_STALLED_ON_ME_READ(x) (((x) >> 26) & 0x1) argument
1590 #define S_008674_RCIU_STALLED_ON_DMA_READ(x) (((unsigned)(x) & 0x1) << 27) argument
1591 #define G_008674_RCIU_STALLED_ON_DMA_READ(x) (((x) >> 27) & 0x1) argument
1593 #define S_008674_RCIU_STALLED_ON_APPEND_READ(x) (((unsigned)(x) & 0x1) << 28) argument
1594 #define G_008674_RCIU_STALLED_ON_APPEND_READ(x) (((x) >> 28) & 0x1) argument
1596 #define S_008674_RCIU_HALTED_BY_REG_VIOLATION(x) (((unsigned)(x) & 0x1) << 29) argument
1597 #define G_008674_RCIU_HALTED_BY_REG_VIOLATION(x) (((x) >> 29) & 0x1) argument
1600 #define S_008678_PFP_TO_CSF_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 0) argument
1601 #define G_008678_PFP_TO_CSF_NOT_RDY_TO_RCV(x) (((x) >> 0) & 0x1) argument
1603 #define S_008678_PFP_TO_MEQ_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 1) argument
1604 #define G_008678_PFP_TO_MEQ_NOT_RDY_TO_RCV(x) (((x) >> 1) & 0x1) argument
1606 #define S_008678_PFP_TO_RCIU_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 2) argument
1607 #define G_008678_PFP_TO_RCIU_NOT_RDY_TO_RCV(x) (((x) >> 2) & 0x1) argument
1609 #define S_008678_PFP_TO_VGT_WRITES_PENDING(x) (((unsigned)(x) & 0x1) << 4) argument
1610 #define G_008678_PFP_TO_VGT_WRITES_PENDING(x) (((x) >> 4) & 0x1) argument
1612 #define S_008678_PFP_RCIU_READ_PENDING(x) (((unsigned)(x) & 0x1) << 5) argument
1613 #define G_008678_PFP_RCIU_READ_PENDING(x) (((x) >> 5) & 0x1) argument
1615 #define S_008678_PFP_WAITING_ON_BUFFER_DATA(x) (((unsigned)(x) & 0x1) << 8) argument
1616 #define G_008678_PFP_WAITING_ON_BUFFER_DATA(x) (((x) >> 8) & 0x1) argument
1618 #define S_008678_ME_WAIT_ON_CE_COUNTER(x) (((unsigned)(x) & 0x1) << 9) argument
1619 #define G_008678_ME_WAIT_ON_CE_COUNTER(x) (((x) >> 9) & 0x1) argument
1621 #define S_008678_ME_WAIT_ON_AVAIL_BUFFER(x) (((unsigned)(x) & 0x1) << 10) argument
1622 #define G_008678_ME_WAIT_ON_AVAIL_BUFFER(x) (((x) >> 10) & 0x1) argument
1624 #define S_008678_GFX_CNTX_NOT_AVAIL_TO_ME(x) (((unsigned)(x) & 0x1) << 11) argument
1625 #define G_008678_GFX_CNTX_NOT_AVAIL_TO_ME(x) (((x) >> 11) & 0x1) argument
1627 #define S_008678_ME_RCIU_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 12) argument
1628 #define G_008678_ME_RCIU_NOT_RDY_TO_RCV(x) (((x) >> 12) & 0x1) argument
1630 #define S_008678_ME_TO_CONST_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 13) argument
1631 #define G_008678_ME_TO_CONST_NOT_RDY_TO_RCV(x) (((x) >> 13) & 0x1) argument
1633 #define S_008678_ME_WAITING_DATA_FROM_PFP(x) (((unsigned)(x) & 0x1) << 14) argument
1634 #define G_008678_ME_WAITING_DATA_FROM_PFP(x) (((x) >> 14) & 0x1) argument
1636 #define S_008678_ME_WAITING_ON_PARTIAL_FLUSH(x) (((unsigned)(x) & 0x1) << 15) argument
1637 #define G_008678_ME_WAITING_ON_PARTIAL_FLUSH(x) (((x) >> 15) & 0x1) argument
1639 #define S_008678_MEQ_TO_ME_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 16) argument
1640 #define G_008678_MEQ_TO_ME_NOT_RDY_TO_RCV(x) (((x) >> 16) & 0x1) argument
1642 #define S_008678_STQ_TO_ME_NOT_RDY_TO_RCV(x) (((unsigned)(x) & 0x1) << 17) argument
1643 #define G_008678_STQ_TO_ME_NOT_RDY_TO_RCV(x) (((x) >> 17) & 0x1) argument
1645 #define S_008678_ME_WAITING_DATA_FROM_STQ(x) (((unsigned)(x) & 0x1) << 18) argument
1646 #define G_008678_ME_WAITING_DATA_FROM_STQ(x) (((x) >> 18) & 0x1) argument
1648 #define S_008678_PFP_STALLED_ON_TC_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 19) argument
1649 #define G_008678_PFP_STALLED_ON_TC_WR_CONFIRM(x) (((x) >> 19) & 0x1) argument
1651 #define S_008678_PFP_STALLED_ON_ATOMIC_RTN_DATA(x) (((unsigned)(x) & 0x1) << 20) argument
1652 #define G_008678_PFP_STALLED_ON_ATOMIC_RTN_DATA(x) (((x) >> 20) & 0x1) argument
1654 #define S_008678_EOPD_FIFO_NEEDS_SC_EOP_DONE(x) (((unsigned)(x) & 0x1) << 21) argument
1655 #define G_008678_EOPD_FIFO_NEEDS_SC_EOP_DONE(x) (((x) >> 21) & 0x1) argument
1657 #define S_008678_EOPD_FIFO_NEEDS_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 22) argument
1658 #define G_008678_EOPD_FIFO_NEEDS_WR_CONFIRM(x) (((x) >> 22) & 0x1) argument
1660 #define S_008678_STRMO_WR_OF_PRIM_DATA_PENDING(x) (((unsigned)(x) & 0x1) << 23) argument
1661 #define G_008678_STRMO_WR_OF_PRIM_DATA_PENDING(x) (((x) >> 23) & 0x1) argument
1663 #define S_008678_PIPE_STATS_WR_DATA_PENDING(x) (((unsigned)(x) & 0x1) << 24) argument
1664 #define G_008678_PIPE_STATS_WR_DATA_PENDING(x) (((x) >> 24) & 0x1) argument
1666 #define S_008678_APPEND_RDY_WAIT_ON_CS_DONE(x) (((unsigned)(x) & 0x1) << 25) argument
1667 #define G_008678_APPEND_RDY_WAIT_ON_CS_DONE(x) (((x) >> 25) & 0x1) argument
1669 #define S_008678_APPEND_RDY_WAIT_ON_PS_DONE(x) (((unsigned)(x) & 0x1) << 26) argument
1670 #define G_008678_APPEND_RDY_WAIT_ON_PS_DONE(x) (((x) >> 26) & 0x1) argument
1672 #define S_008678_APPEND_WAIT_ON_WR_CONFIRM(x) (((unsigned)(x) & 0x1) << 27) argument
1673 #define G_008678_APPEND_WAIT_ON_WR_CONFIRM(x) (((x) >> 27) & 0x1) argument
1675 #define S_008678_APPEND_ACTIVE_PARTITION(x) (((unsigned)(x) & 0x1) << 28) argument
1676 #define G_008678_APPEND_ACTIVE_PARTITION(x) (((x) >> 28) & 0x1) argument
1678 #define S_008678_APPEND_WAITING_TO_SEND_MEMWRITE(x) (((unsigned)(x) & 0x1) << 29) argument
1679 #define G_008678_APPEND_WAITING_TO_SEND_MEMWRITE(x) (((x) >> 29) & 0x1) argument
1681 #define S_008678_SURF_SYNC_NEEDS_IDLE_CNTXS(x) (((unsigned)(x) & 0x1) << 30) argument
1682 #define G_008678_SURF_SYNC_NEEDS_IDLE_CNTXS(x) (((x) >> 30) & 0x1) argument
1684 #define S_008678_SURF_SYNC_NEEDS_ALL_CLEAN(x) (((unsigned)(x) & 0x1) << 31) argument
1685 #define G_008678_SURF_SYNC_NEEDS_ALL_CLEAN(x) (((x) >> 31) & 0x1) argument
1688 #define S_008680_ROQ_RING_BUSY(x) (((unsigned)(x) & 0x1) << 9) argument
1689 #define G_008680_ROQ_RING_BUSY(x) (((x) >> 9) & 0x1) argument
1691 #define S_008680_ROQ_INDIRECT1_BUSY(x) (((unsigned)(x) & 0x1) << 10) argument
1692 #define G_008680_ROQ_INDIRECT1_BUSY(x) (((x) >> 10) & 0x1) argument
1694 #define S_008680_ROQ_INDIRECT2_BUSY(x) (((unsigned)(x) & 0x1) << 11) argument
1695 #define G_008680_ROQ_INDIRECT2_BUSY(x) (((x) >> 11) & 0x1) argument
1697 #define S_008680_ROQ_STATE_BUSY(x) (((unsigned)(x) & 0x1) << 12) argument
1698 #define G_008680_ROQ_STATE_BUSY(x) (((x) >> 12) & 0x1) argument
1700 #define S_008680_DC_BUSY(x) (((unsigned)(x) & 0x1) << 13) argument
1701 #define G_008680_DC_BUSY(x) (((x) >> 13) & 0x1) argument
1703 #define S_008680_ATCL2IU_BUSY(x) (((unsigned)(x) & 0x1) << 14) argument
1704 #define G_008680_ATCL2IU_BUSY(x) (((x) >> 14) & 0x1) argument
1706 #define S_008680_PFP_BUSY(x) (((unsigned)(x) & 0x1) << 15) argument
1707 #define G_008680_PFP_BUSY(x) (((x) >> 15) & 0x1) argument
1709 #define S_008680_MEQ_BUSY(x) (((unsigned)(x) & 0x1) << 16) argument
1710 #define G_008680_MEQ_BUSY(x) (((x) >> 16) & 0x1) argument
1712 #define S_008680_ME_BUSY(x) (((unsigned)(x) & 0x1) << 17) argument
1713 #define G_008680_ME_BUSY(x) (((x) >> 17) & 0x1) argument
1715 #define S_008680_QUERY_BUSY(x) (((unsigned)(x) & 0x1) << 18) argument
1716 #define G_008680_QUERY_BUSY(x) (((x) >> 18) & 0x1) argument
1718 #define S_008680_SEMAPHORE_BUSY(x) (((unsigned)(x) & 0x1) << 19) argument
1719 #define G_008680_SEMAPHORE_BUSY(x) (((x) >> 19) & 0x1) argument
1721 #define S_008680_INTERRUPT_BUSY(x) (((unsigned)(x) & 0x1) << 20) argument
1722 #define G_008680_INTERRUPT_BUSY(x) (((x) >> 20) & 0x1) argument
1724 #define S_008680_SURFACE_SYNC_BUSY(x) (((unsigned)(x) & 0x1) << 21) argument
1725 #define G_008680_SURFACE_SYNC_BUSY(x) (((x) >> 21) & 0x1) argument
1727 #define S_008680_DMA_BUSY(x) (((unsigned)(x) & 0x1) << 22) argument
1728 #define G_008680_DMA_BUSY(x) (((x) >> 22) & 0x1) argument
1730 #define S_008680_RCIU_BUSY(x) (((unsigned)(x) & 0x1) << 23) argument
1731 #define G_008680_RCIU_BUSY(x) (((x) >> 23) & 0x1) argument
1733 #define S_008680_SCRATCH_RAM_BUSY(x) (((unsigned)(x) & 0x1) << 24) argument
1734 #define G_008680_SCRATCH_RAM_BUSY(x) (((x) >> 24) & 0x1) argument
1736 #define S_008680_CPC_CPG_BUSY(x) (((unsigned)(x) & 0x1) << 25) argument
1737 #define G_008680_CPC_CPG_BUSY(x) (((x) >> 25) & 0x1) argument
1739 #define S_008680_CE_BUSY(x) (((unsigned)(x) & 0x1) << 26) argument
1740 #define G_008680_CE_BUSY(x) (((x) >> 26) & 0x1) argument
1742 #define S_008680_TCIU_BUSY(x) (((unsigned)(x) & 0x1) << 27) argument
1743 #define G_008680_TCIU_BUSY(x) (((x) >> 27) & 0x1) argument
1745 #define S_008680_ROQ_CE_RING_BUSY(x) (((unsigned)(x) & 0x1) << 28) argument
1746 #define G_008680_ROQ_CE_RING_BUSY(x) (((x) >> 28) & 0x1) argument
1748 #define S_008680_ROQ_CE_INDIRECT1_BUSY(x) (((unsigned)(x) & 0x1) << 29) argument
1749 #define G_008680_ROQ_CE_INDIRECT1_BUSY(x) (((x) >> 29) & 0x1) argument
1751 #define S_008680_ROQ_CE_INDIRECT2_BUSY(x) (((unsigned)(x) & 0x1) << 30) argument
1752 #define G_008680_ROQ_CE_INDIRECT2_BUSY(x) (((x) >> 30) & 0x1) argument
1754 #define S_008680_CP_BUSY(x) (((unsigned)(x) & 0x1) << 31) argument
1755 #define G_008680_CP_BUSY(x) (((x) >> 31) & 0x1) argument
1759 #define S_030800_INSTANCE_INDEX(x) (((unsigned)(x) & 0xFF) << 0) argument
1760 #define G_030800_INSTANCE_INDEX(x) (((x) >> 0) & 0xFF) argument
1762 #define S_030800_SH_INDEX(x) (((unsigned)(x) & 0xFF) << 8) argument
1763 #define G_030800_SH_INDEX(x) (((x) >> 8) & 0xFF) argument
1765 #define S_030800_SE_INDEX(x) (((unsigned)(x) & 0xFF) << 16) argument
1766 #define G_030800_SE_INDEX(x) (((x) >> 16) & 0xFF) argument
1768 #define S_030800_SH_BROADCAST_WRITES(x) (((unsigned)(x) & 0x1) << 29) argument
1769 #define G_030800_SH_BROADCAST_WRITES(x) (((x) >> 29) & 0x1) argument
1771 #define S_030800_INSTANCE_BROADCAST_WRITES(x) (((unsigned)(x) & 0x1) << 30) argument
1772 #define G_030800_INSTANCE_BROADCAST_WRITES(x) (((x) >> 30) & 0x1) argument
1774 #define S_030800_SE_BROADCAST_WRITES(x) (((unsigned)(x) & 0x1) << 31) argument
1775 #define G_030800_SE_BROADCAST_WRITES(x) (((x) >> 31) & 0x1) argument
1780 #define S_030908_PRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
1781 #define G_030908_PRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
1809 #define S_03090C_INDEX_TYPE(x) (((unsigned)(x) & 0x03) << 0) argument
1810 #define G_03090C_INDEX_TYPE(x) (((x) >> 0) & 0x03) argument
1821 #define S_030938_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
1822 #define G_030938_SIZE(x) (((x) >> 0) & 0xFFFF) argument
1825 #define S_03093C_OFFCHIP_BUFFERING(x) (((unsigned)(x) & 0x1FF) << 0) argument
1826 #define G_03093C_OFFCHIP_BUFFERING(x) (((x) >> 0) & 0x1FF) argument
1828 #define S_03093C_OFFCHIP_GRANULARITY(x) (((unsigned)(x) & 0x03) << 9) argument
1829 #define G_03093C_OFFCHIP_GRANULARITY(x) (((x) >> 9) & 0x03) argument
1837 #define S_030A00_LINE_STIPPLE_VALUE(x) (((unsigned)(x) & 0xFFFFFF) <… argument
1838 #define G_030A00_LINE_STIPPLE_VALUE(x) (((x) >> 0) & 0xFFFFFF) argument
1841 #define S_030A04_CURRENT_PTR(x) (((unsigned)(x) & 0x0F) << 0) argument
1842 #define G_030A04_CURRENT_PTR(x) (((x) >> 0) & 0x0F) argument
1844 #define S_030A04_CURRENT_COUNT(x) (((unsigned)(x) & 0xFF) << 8) argument
1845 #define G_030A04_CURRENT_COUNT(x) (((x) >> 8) & 0xFF) argument
1848 #define S_030A10_X(x) (((unsigned)(x) & 0xFFFF) << … argument
1849 #define G_030A10_X(x) (((x) >> 0) & 0xFFFF) argument
1851 #define S_030A10_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
1852 #define G_030A10_Y(x) (((x) >> 16) & 0xFFFF) argument
1855 #define S_030A14_X(x) (((unsigned)(x) & 0xFFFF) << … argument
1856 #define G_030A14_X(x) (((x) >> 0) & 0xFFFF) argument
1858 #define S_030A14_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
1859 #define G_030A14_Y(x) (((x) >> 16) & 0xFFFF) argument
1862 #define S_030A18_X(x) (((unsigned)(x) & 0xFFFF) << … argument
1863 #define G_030A18_X(x) (((x) >> 0) & 0xFFFF) argument
1865 #define S_030A18_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
1866 #define G_030A18_Y(x) (((x) >> 16) & 0xFFFF) argument
1869 #define S_030A2C_X(x) (((unsigned)(x) & 0xFFFF) << … argument
1870 #define G_030A2C_X(x) (((x) >> 0) & 0xFFFF) argument
1872 #define S_030A2C_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
1873 #define G_030A2C_Y(x) (((x) >> 16) & 0xFFFF) argument
1877 #define S_008BF0_ENABLE_PA_SC_OUT_OF_ORDER(x) (((unsigned)(x) & 0x1) << 0) argument
1878 #define G_008BF0_ENABLE_PA_SC_OUT_OF_ORDER(x) (((x) >> 0) & 0x1) argument
1880 #define S_008BF0_DISABLE_SC_DB_TILE_FIX(x) (((unsigned)(x) & 0x1) << 1) argument
1881 #define G_008BF0_DISABLE_SC_DB_TILE_FIX(x) (((x) >> 1) & 0x1) argument
1883 #define S_008BF0_DISABLE_AA_MASK_FULL_FIX(x) (((unsigned)(x) & 0x1) << 2) argument
1884 #define G_008BF0_DISABLE_AA_MASK_FULL_FIX(x) (((x) >> 2) & 0x1) argument
1886 #define S_008BF0_ENABLE_1XMSAA_SAMPLE_LOCATIONS(x) (((unsigned)(x) & 0x1) << 3) argument
1887 #define G_008BF0_ENABLE_1XMSAA_SAMPLE_LOCATIONS(x) (((x) >> 3) & 0x1) argument
1889 #define S_008BF0_ENABLE_1XMSAA_SAMPLE_LOC_CENTROID(x) (((unsigned)(x) & 0x1) << 4) argument
1890 #define G_008BF0_ENABLE_1XMSAA_SAMPLE_LOC_CENTROID(x) (((x) >> 4) & 0x1) argument
1892 #define S_008BF0_DISABLE_SCISSOR_FIX(x) (((unsigned)(x) & 0x1) << 5) argument
1893 #define G_008BF0_DISABLE_SCISSOR_FIX(x) (((x) >> 5) & 0x1) argument
1895 #define S_008BF0_DISABLE_PW_BUBBLE_COLLAPSE(x) (((unsigned)(x) & 0x03) << 6) argument
1896 #define G_008BF0_DISABLE_PW_BUBBLE_COLLAPSE(x) (((x) >> 6) & 0x03) argument
1898 #define S_008BF0_SEND_UNLIT_STILES_TO_PACKER(x) (((unsigned)(x) & 0x1) << 8) argument
1899 #define G_008BF0_SEND_UNLIT_STILES_TO_PACKER(x) (((x) >> 8) & 0x1) argument
1901 #define S_008BF0_DISABLE_DUALGRAD_PERF_OPTIMIZATION(x) (((unsigned)(x) & 0x1) << 9) argument
1902 #define G_008BF0_DISABLE_DUALGRAD_PERF_OPTIMIZATION(x) (((x) >> 9) & 0x1) argument
1906 #define S_008C08_INST_INVALIDATE(x) (((unsigned)(x) & 0x1) << 0) argument
1907 #define G_008C08_INST_INVALIDATE(x) (((x) >> 0) & 0x1) argument
1909 #define S_008C08_DATA_INVALIDATE(x) (((unsigned)(x) & 0x1) << 1) argument
1910 #define G_008C08_DATA_INVALIDATE(x) (((x) >> 1) & 0x1) argument
1914 #define S_030D20_INST_INVALIDATE(x) (((unsigned)(x) & 0x1) << 0) argument
1915 #define G_030D20_INST_INVALIDATE(x) (((x) >> 0) & 0x1) argument
1917 #define S_030D20_DATA_INVALIDATE(x) (((unsigned)(x) & 0x1) << 1) argument
1918 #define G_030D20_DATA_INVALIDATE(x) (((x) >> 1) & 0x1) argument
1920 #define S_030D20_INVALIDATE_VOLATILE(x) (((unsigned)(x) & 0x1) << 2) argument
1921 #define G_030D20_INVALIDATE_VOLATILE(x) (((x) >> 2) & 0x1) argument
1925 #define S_008C0C_RET(x) (((unsigned)(x) & 0x7F) << 0) argument
1926 #define G_008C0C_RET(x) (((x) >> 0) & 0x7F) argument
1928 #define S_008C0C_RUI(x) (((unsigned)(x) & 0x07) << 7) argument
1929 #define G_008C0C_RUI(x) (((x) >> 7) & 0x07) argument
1931 #define S_008C0C_RNG(x) (((unsigned)(x) & 0x7FF) << 1… argument
1932 #define G_008C0C_RNG(x) (((x) >> 10) & 0x7FF) argument
1935 #define S_008DFC_EN(x) (((unsigned)(x) & 0x0F) << 0) argument
1936 #define G_008DFC_EN(x) (((x) >> 0) & 0x0F) argument
1938 #define S_008DFC_TGT(x) (((unsigned)(x) & 0x3F) << 4) argument
1939 #define G_008DFC_TGT(x) (((x) >> 4) & 0x3F) argument
1946 #define S_008DFC_COMPR(x) (((unsigned)(x) & 0x1) << 10) argument
1947 #define G_008DFC_COMPR(x) (((x) >> 10) & 0x1) argument
1949 #define S_008DFC_DONE(x) (((unsigned)(x) & 0x1) << 11) argument
1950 #define G_008DFC_DONE(x) (((x) >> 11) & 0x1) argument
1952 #define S_008DFC_VM(x) (((unsigned)(x) & 0x1) << 12) argument
1953 #define G_008DFC_VM(x) (((x) >> 12) & 0x1) argument
1955 #define S_008DFC_ENCODING(x) (((unsigned)(x) & 0x3F) << 26) argument
1956 #define G_008DFC_ENCODING(x) (((x) >> 26) & 0x3F) argument
1962 #define S_030E04_ADDRESS(x) (((unsigned)(x) & 0xFF) << 0) argument
1963 #define G_030E04_ADDRESS(x) (((x) >> 0) & 0xFF) argument
1967 #define S_030F04_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF)… argument
1968 #define G_030F04_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF) argument
1973 #define S_008F04_BASE_ADDRESS_HI(x) (((unsigned)(x) & 0xFFFF) << … argument
1974 #define G_008F04_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFFFF) argument
1976 #define S_008F04_STRIDE(x) (((unsigned)(x) & 0x3FFF) << … argument
1977 #define G_008F04_STRIDE(x) (((x) >> 16) & 0x3FFF) argument
1979 #define S_008F04_CACHE_SWIZZLE(x) (((unsigned)(x) & 0x1) << 30) argument
1980 #define G_008F04_CACHE_SWIZZLE(x) (((x) >> 30) & 0x1) argument
1982 #define S_008F04_SWIZZLE_ENABLE(x) (((unsigned)(x) & 0x1) << 31) argument
1983 #define G_008F04_SWIZZLE_ENABLE(x) (((x) >> 31) & 0x1) argument
1988 #define S_030F0C_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF)… argument
1989 #define G_030F0C_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF) argument
1992 #define S_008F0C_DST_SEL_X(x) (((unsigned)(x) & 0x07) << 0) argument
1993 #define G_008F0C_DST_SEL_X(x) (((x) >> 0) & 0x07) argument
2003 #define S_008F0C_DST_SEL_Y(x) (((unsigned)(x) & 0x07) << 3) argument
2004 #define G_008F0C_DST_SEL_Y(x) (((x) >> 3) & 0x07) argument
2014 #define S_008F0C_DST_SEL_Z(x) (((unsigned)(x) & 0x07) << 6) argument
2015 #define G_008F0C_DST_SEL_Z(x) (((x) >> 6) & 0x07) argument
2025 #define S_008F0C_DST_SEL_W(x) (((unsigned)(x) & 0x07) << 9) argument
2026 #define G_008F0C_DST_SEL_W(x) (((x) >> 9) & 0x07) argument
2036 #define S_008F0C_NUM_FORMAT(x) (((unsigned)(x) & 0x07) << 12) argument
2037 #define G_008F0C_NUM_FORMAT(x) (((x) >> 12) & 0x07) argument
2047 #define S_008F0C_DATA_FORMAT(x) (((unsigned)(x) & 0x0F) << 15) argument
2048 #define G_008F0C_DATA_FORMAT(x) (((x) >> 15) & 0x0F) argument
2066 #define S_008F0C_ELEMENT_SIZE(x) (((unsigned)(x) & 0x03) << 19) argument
2067 #define G_008F0C_ELEMENT_SIZE(x) (((x) >> 19) & 0x03) argument
2069 #define S_008F0C_INDEX_STRIDE(x) (((unsigned)(x) & 0x03) << 21) argument
2070 #define G_008F0C_INDEX_STRIDE(x) (((x) >> 21) & 0x03) argument
2072 #define S_008F0C_ADD_TID_ENABLE(x) (((unsigned)(x) & 0x1) << 23) argument
2073 #define G_008F0C_ADD_TID_ENABLE(x) (((x) >> 23) & 0x1) argument
2076 #define S_008F0C_ATC(x) (((unsigned)(x) & 0x1) << 24) argument
2077 #define G_008F0C_ATC(x) (((x) >> 24) & 0x1) argument
2080 #define S_008F0C_HASH_ENABLE(x) (((unsigned)(x) & 0x1) << 25) argument
2081 #define G_008F0C_HASH_ENABLE(x) (((x) >> 25) & 0x1) argument
2083 #define S_008F0C_HEAP(x) (((unsigned)(x) & 0x1) << 26) argument
2084 #define G_008F0C_HEAP(x) (((x) >> 26) & 0x1) argument
2087 #define S_008F0C_MTYPE(x) (((unsigned)(x) & 0x07) << 27) argument
2088 #define G_008F0C_MTYPE(x) (((x) >> 27) & 0x07) argument
2091 #define S_008F0C_TYPE(x) (((unsigned)(x) & 0x03) << 30) argument
2092 #define G_008F0C_TYPE(x) (((x) >> 30) & 0x03) argument
2101 #define S_030F14_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF)… argument
2102 #define G_030F14_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF) argument
2105 #define S_008F14_BASE_ADDRESS_HI(x) (((unsigned)(x) & 0xFF) << 0) argument
2106 #define G_008F14_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFF) argument
2108 #define S_008F14_MIN_LOD(x) (((unsigned)(x) & 0xFFF) << 8) argument
2109 #define G_008F14_MIN_LOD(x) (((x) >> 8) & 0xFFF) argument
2111 #define S_008F14_DATA_FORMAT_GFX6(x) (((unsigned)(x) & 0x3F) << 20) argument
2112 #define G_008F14_DATA_FORMAT_GFX6(x) (((x) >> 20) & 0x3F) argument
2178 #define S_008F14_NUM_FORMAT_GFX6(x) (((unsigned)(x) & 0x0F) << 26) argument
2179 #define G_008F14_NUM_FORMAT_GFX6(x) (((x) >> 26) & 0x0F) argument
2198 #define S_008F14_MTYPE(x) (((unsigned)(x) & 0x03) << 30) argument
2199 #define G_008F14_MTYPE(x) (((x) >> 30) & 0x03) argument
2204 #define S_008F18_WIDTH(x) (((unsigned)(x) & 0x3FFF) << … argument
2205 #define G_008F18_WIDTH(x) (((x) >> 0) & 0x3FFF) argument
2207 #define S_008F18_HEIGHT(x) (((unsigned)(x) & 0x3FFF) << … argument
2208 #define G_008F18_HEIGHT(x) (((x) >> 14) & 0x3FFF) argument
2210 #define S_008F18_PERF_MOD(x) (((unsigned)(x) & 0x07) << 28) argument
2211 #define G_008F18_PERF_MOD(x) (((x) >> 28) & 0x07) argument
2213 #define S_008F18_INTERLACED(x) (((unsigned)(x) & 0x1) << 31) argument
2214 #define G_008F18_INTERLACED(x) (((x) >> 31) & 0x1) argument
2217 #define S_030F1C_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF)… argument
2218 #define G_030F1C_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF) argument
2221 #define S_008F1C_DST_SEL_X(x) (((unsigned)(x) & 0x07) << 0) argument
2222 #define G_008F1C_DST_SEL_X(x) (((x) >> 0) & 0x07) argument
2232 #define S_008F1C_DST_SEL_Y(x) (((unsigned)(x) & 0x07) << 3) argument
2233 #define G_008F1C_DST_SEL_Y(x) (((x) >> 3) & 0x07) argument
2243 #define S_008F1C_DST_SEL_Z(x) (((unsigned)(x) & 0x07) << 6) argument
2244 #define G_008F1C_DST_SEL_Z(x) (((x) >> 6) & 0x07) argument
2254 #define S_008F1C_DST_SEL_W(x) (((unsigned)(x) & 0x07) << 9) argument
2255 #define G_008F1C_DST_SEL_W(x) (((x) >> 9) & 0x07) argument
2265 #define S_008F1C_BASE_LEVEL(x) (((unsigned)(x) & 0x0F) << 12) argument
2266 #define G_008F1C_BASE_LEVEL(x) (((x) >> 12) & 0x0F) argument
2268 #define S_008F1C_LAST_LEVEL(x) (((unsigned)(x) & 0x0F) << 16) argument
2269 #define G_008F1C_LAST_LEVEL(x) (((x) >> 16) & 0x0F) argument
2271 #define S_008F1C_TILING_INDEX(x) (((unsigned)(x) & 0x1F) << 20) argument
2272 #define G_008F1C_TILING_INDEX(x) (((x) >> 20) & 0x1F) argument
2274 #define S_008F1C_POW2_PAD(x) (((unsigned)(x) & 0x1) << 25) argument
2275 #define G_008F1C_POW2_PAD(x) (((x) >> 25) & 0x1) argument
2278 #define S_008F1C_MTYPE(x) (((unsigned)(x) & 0x1) << 26) argument
2279 #define G_008F1C_MTYPE(x) (((x) >> 26) & 0x1) argument
2281 #define S_008F1C_ATC(x) (((unsigned)(x) & 0x1) << 27) argument
2282 #define G_008F1C_ATC(x) (((x) >> 27) & 0x1) argument
2285 #define S_008F1C_TYPE(x) (((unsigned)(x) & 0x0F) << 28) argument
2286 #define G_008F1C_TYPE(x) (((x) >> 28) & 0x0F) argument
2305 #define S_008F20_DEPTH(x) (((unsigned)(x) & 0x1FFF) << … argument
2306 #define G_008F20_DEPTH(x) (((x) >> 0) & 0x1FFF) argument
2308 #define S_008F20_PITCH_GFX6(x) (((unsigned)(x) & 0x3FFF) << … argument
2309 #define G_008F20_PITCH_GFX6(x) (((x) >> 13) & 0x3FFF) argument
2312 #define S_008F24_BASE_ARRAY(x) (((unsigned)(x) & 0x1FFF) << … argument
2313 #define G_008F24_BASE_ARRAY(x) (((x) >> 0) & 0x1FFF) argument
2315 #define S_008F24_LAST_ARRAY(x) (((unsigned)(x) & 0x1FFF) << … argument
2316 #define G_008F24_LAST_ARRAY(x) (((x) >> 13) & 0x1FFF) argument
2319 #define S_008F28_MIN_LOD_WARN(x) (((unsigned)(x) & 0xFFF) << 0) argument
2320 #define G_008F28_MIN_LOD_WARN(x) (((x) >> 0) & 0xFFF) argument
2323 #define S_008F28_COUNTER_BANK_ID(x) (((unsigned)(x) & 0xFF) << 12) argument
2324 #define G_008F28_COUNTER_BANK_ID(x) (((x) >> 12) & 0xFF) argument
2326 #define S_008F28_LOD_HDW_CNT_EN(x) (((unsigned)(x) & 0x1) << 20) argument
2327 #define G_008F28_LOD_HDW_CNT_EN(x) (((x) >> 20) & 0x1) argument
2331 #define S_008F28_COMPRESSION_EN(x) (((unsigned)(x) & 0x1) << 21) argument
2332 #define G_008F28_COMPRESSION_EN(x) (((x) >> 21) & 0x1) argument
2334 #define S_008F28_ALPHA_IS_ON_MSB(x) (((unsigned)(x) & 0x1) << 22) argument
2335 #define G_008F28_ALPHA_IS_ON_MSB(x) (((x) >> 22) & 0x1) argument
2337 #define S_008F28_COLOR_TRANSFORM(x) (((unsigned)(x) & 0x1) << 23) argument
2338 #define G_008F28_COLOR_TRANSFORM(x) (((x) >> 23) & 0x1) argument
2340 #define S_008F28_LOST_ALPHA_BITS(x) (((unsigned)(x) & 0x0F) << 24) argument
2341 #define G_008F28_LOST_ALPHA_BITS(x) (((x) >> 24) & 0x0F) argument
2343 #define S_008F28_LOST_COLOR_BITS(x) (((unsigned)(x) & 0x0F) << 28) argument
2344 #define G_008F28_LOST_COLOR_BITS(x) (((x) >> 28) & 0x0F) argument
2349 #define S_008F30_CLAMP_X(x) (((unsigned)(x) & 0x07) << 0) argument
2350 #define G_008F30_CLAMP_X(x) (((x) >> 0) & 0x07) argument
2360 #define S_008F30_CLAMP_Y(x) (((unsigned)(x) & 0x07) << 3) argument
2361 #define G_008F30_CLAMP_Y(x) (((x) >> 3) & 0x07) argument
2371 #define S_008F30_CLAMP_Z(x) (((unsigned)(x) & 0x07) << 6) argument
2372 #define G_008F30_CLAMP_Z(x) (((x) >> 6) & 0x07) argument
2382 #define S_008F30_MAX_ANISO_RATIO(x) (((unsigned)(x) & 0x07) << 9) argument
2383 #define G_008F30_MAX_ANISO_RATIO(x) (((x) >> 9) & 0x07) argument
2385 #define S_008F30_DEPTH_COMPARE_FUNC(x) (((unsigned)(x) & 0x07) << 12) argument
2386 #define G_008F30_DEPTH_COMPARE_FUNC(x) (((x) >> 12) & 0x07) argument
2396 #define S_008F30_FORCE_UNNORMALIZED(x) (((unsigned)(x) & 0x1) << 15) argument
2397 #define G_008F30_FORCE_UNNORMALIZED(x) (((x) >> 15) & 0x1) argument
2399 #define S_008F30_ANISO_THRESHOLD(x) (((unsigned)(x) & 0x07) << 16) argument
2400 #define G_008F30_ANISO_THRESHOLD(x) (((x) >> 16) & 0x07) argument
2402 #define S_008F30_MC_COORD_TRUNC(x) (((unsigned)(x) & 0x1) << 19) argument
2403 #define G_008F30_MC_COORD_TRUNC(x) (((x) >> 19) & 0x1) argument
2405 #define S_008F30_FORCE_DEGAMMA(x) (((unsigned)(x) & 0x1) << 20) argument
2406 #define G_008F30_FORCE_DEGAMMA(x) (((x) >> 20) & 0x1) argument
2408 #define S_008F30_ANISO_BIAS(x) (((unsigned)(x) & 0x3F) << 21) argument
2409 #define G_008F30_ANISO_BIAS(x) (((x) >> 21) & 0x3F) argument
2411 #define S_008F30_TRUNC_COORD(x) (((unsigned)(x) & 0x1) << 27) argument
2412 #define G_008F30_TRUNC_COORD(x) (((x) >> 27) & 0x1) argument
2414 #define S_008F30_DISABLE_CUBE_WRAP(x) (((unsigned)(x) & 0x1) << 28) argument
2415 #define G_008F30_DISABLE_CUBE_WRAP(x) (((x) >> 28) & 0x1) argument
2417 #define S_008F30_FILTER_MODE(x) (((unsigned)(x) & 0x03) << 29) argument
2418 #define G_008F30_FILTER_MODE(x) (((x) >> 29) & 0x03) argument
2421 #define S_008F30_COMPAT_MODE(x) (((unsigned)(x) & 0x1) << 31) argument
2422 #define G_008F30_COMPAT_MODE(x) (((x) >> 31) & 0x1) argument
2426 #define S_008F34_MIN_LOD(x) (((unsigned)(x) & 0xFFF) << 0) argument
2427 #define G_008F34_MIN_LOD(x) (((x) >> 0) & 0xFFF) argument
2429 #define S_008F34_MAX_LOD(x) (((unsigned)(x) & 0xFFF) << 1… argument
2430 #define G_008F34_MAX_LOD(x) (((x) >> 12) & 0xFFF) argument
2432 #define S_008F34_PERF_MIP(x) (((unsigned)(x) & 0x0F) << 24) argument
2433 #define G_008F34_PERF_MIP(x) (((x) >> 24) & 0x0F) argument
2435 #define S_008F34_PERF_Z(x) (((unsigned)(x) & 0x0F) << 28) argument
2436 #define G_008F34_PERF_Z(x) (((x) >> 28) & 0x0F) argument
2439 #define S_008F38_LOD_BIAS(x) (((unsigned)(x) & 0x3FFF) << … argument
2440 #define G_008F38_LOD_BIAS(x) (((x) >> 0) & 0x3FFF) argument
2442 #define S_008F38_LOD_BIAS_SEC(x) (((unsigned)(x) & 0x3F) << 14) argument
2443 #define G_008F38_LOD_BIAS_SEC(x) (((x) >> 14) & 0x3F) argument
2445 #define S_008F38_XY_MAG_FILTER(x) (((unsigned)(x) & 0x03) << 20) argument
2446 #define G_008F38_XY_MAG_FILTER(x) (((x) >> 20) & 0x03) argument
2450 #define S_008F38_XY_MIN_FILTER(x) (((unsigned)(x) & 0x03) << 22) argument
2451 #define G_008F38_XY_MIN_FILTER(x) (((x) >> 22) & 0x03) argument
2457 #define S_008F38_Z_FILTER(x) (((unsigned)(x) & 0x03) << 24) argument
2458 #define G_008F38_Z_FILTER(x) (((x) >> 24) & 0x03) argument
2463 #define S_008F38_MIP_FILTER(x) (((unsigned)(x) & 0x03) << 26) argument
2464 #define G_008F38_MIP_FILTER(x) (((x) >> 26) & 0x03) argument
2469 #define S_008F38_MIP_POINT_PRECLAMP(x) (((unsigned)(x) & 0x1) << 28) argument
2470 #define G_008F38_MIP_POINT_PRECLAMP(x) (((x) >> 28) & 0x1) argument
2472 #define S_008F38_DISABLE_LSB_CEIL(x) (((unsigned)(x) & 0x1) << 29) argument
2473 #define G_008F38_DISABLE_LSB_CEIL(x) (((x) >> 29) & 0x1) argument
2475 #define S_008F38_FILTER_PREC_FIX(x) (((unsigned)(x) & 0x1) << 30) argument
2476 #define G_008F38_FILTER_PREC_FIX(x) (((x) >> 30) & 0x1) argument
2478 #define S_008F38_ANISO_OVERRIDE(x) (((unsigned)(x) & 0x1) << 31) argument
2479 #define G_008F38_ANISO_OVERRIDE(x) (((x) >> 31) & 0x1) argument
2482 #define S_008F3C_BORDER_COLOR_PTR(x) (((unsigned)(x) & 0xFFF) << 0) argument
2483 #define G_008F3C_BORDER_COLOR_PTR(x) (((x) >> 0) & 0xFFF) argument
2486 #define S_008F3C_UPGRADED_DEPTH(x) (((unsigned)(x) & 0x1) << 29) argument
2487 #define S_008F3C_BORDER_COLOR_TYPE(x) (((unsigned)(x) & 0x03) << 30) argument
2488 #define G_008F3C_BORDER_COLOR_TYPE(x) (((x) >> 30) & 0x03) argument
2495 #define S_0090DC_VS_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 0) argument
2496 #define G_0090DC_VS_LOW_THRESHOLD(x) (((x) >> 0) & 0x0F) argument
2498 #define S_0090DC_GS_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 4) argument
2499 #define G_0090DC_GS_LOW_THRESHOLD(x) (((x) >> 4) & 0x0F) argument
2501 #define S_0090DC_ES_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 8) argument
2502 #define G_0090DC_ES_LOW_THRESHOLD(x) (((x) >> 8) & 0x0F) argument
2504 #define S_0090DC_HS_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 12) argument
2505 #define G_0090DC_HS_LOW_THRESHOLD(x) (((x) >> 12) & 0x0F) argument
2507 #define S_0090DC_LS_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 16) argument
2508 #define G_0090DC_LS_LOW_THRESHOLD(x) (((x) >> 16) & 0x0F) argument
2511 #define S_0090E0_PS_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2512 #define G_0090E0_PS_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
2514 #define S_0090E0_VS_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2515 #define G_0090E0_VS_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
2518 #define S_0090E4_GS_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2519 #define G_0090E4_GS_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
2521 #define S_0090E4_ES_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2522 #define G_0090E4_ES_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
2525 #define S_0090E8_LSHS_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2526 #define G_0090E8_LSHS_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
2530 #define S_0090EC_MAX_WAVE_ID(x) (((unsigned)(x) & 0xFFF) << 0) argument
2531 #define G_0090EC_MAX_WAVE_ID(x) (((x) >> 0) & 0xFFF) argument
2535 #define S_0090E8_MAX_WAVE_ID(x) (((unsigned)(x) & 0xFFF) << 0) argument
2536 #define G_0090E8_MAX_WAVE_ID(x) (((x) >> 0) & 0xFFF) argument
2540 #define S_0090F0_RING_ORDER_TS0(x) (((unsigned)(x) & 0x07) << 0) argument
2541 #define G_0090F0_RING_ORDER_TS0(x) (((x) >> 0) & 0x07) argument
2544 #define S_0090F0_RING_ORDER_TS1(x) (((unsigned)(x) & 0x07) << 3) argument
2545 #define G_0090F0_RING_ORDER_TS1(x) (((x) >> 3) & 0x07) argument
2547 #define S_0090F0_RING_ORDER_TS2(x) (((unsigned)(x) & 0x07) << 6) argument
2548 #define G_0090F0_RING_ORDER_TS2(x) (((x) >> 6) & 0x07) argument
2552 #define S_00C700_PIPE_ORDER_TS0(x) (((unsigned)(x) & 0x07) << 0) argument
2553 #define G_00C700_PIPE_ORDER_TS0(x) (((x) >> 0) & 0x07) argument
2555 #define S_00C700_PIPE_ORDER_TS1(x) (((unsigned)(x) & 0x07) << 3) argument
2556 #define G_00C700_PIPE_ORDER_TS1(x) (((x) >> 3) & 0x07) argument
2558 #define S_00C700_PIPE_ORDER_TS2(x) (((unsigned)(x) & 0x07) << 6) argument
2559 #define G_00C700_PIPE_ORDER_TS2(x) (((x) >> 6) & 0x07) argument
2561 #define S_00C700_PIPE_ORDER_TS3(x) (((unsigned)(x) & 0x07) << 9) argument
2562 #define G_00C700_PIPE_ORDER_TS3(x) (((x) >> 9) & 0x07) argument
2564 #define S_00C700_TS0_DUR_MULT(x) (((unsigned)(x) & 0x03) << 12) argument
2565 #define G_00C700_TS0_DUR_MULT(x) (((x) >> 12) & 0x03) argument
2567 #define S_00C700_TS1_DUR_MULT(x) (((unsigned)(x) & 0x03) << 14) argument
2568 #define G_00C700_TS1_DUR_MULT(x) (((x) >> 14) & 0x03) argument
2570 #define S_00C700_TS2_DUR_MULT(x) (((unsigned)(x) & 0x03) << 16) argument
2571 #define G_00C700_TS2_DUR_MULT(x) (((x) >> 16) & 0x03) argument
2573 #define S_00C700_TS3_DUR_MULT(x) (((unsigned)(x) & 0x03) << 18) argument
2574 #define G_00C700_TS3_DUR_MULT(x) (((x) >> 18) & 0x03) argument
2578 #define S_0090F4_TS0_DURATION(x) (((unsigned)(x) & 0xFFFF) << … argument
2579 #define G_0090F4_TS0_DURATION(x) (((x) >> 0) & 0xFFFF) argument
2581 #define S_0090F4_TS1_DURATION(x) (((unsigned)(x) & 0xFFFF) << … argument
2582 #define G_0090F4_TS1_DURATION(x) (((x) >> 16) & 0xFFFF) argument
2585 #define S_0090F8_TS2_DURATION(x) (((unsigned)(x) & 0xFFFF) << … argument
2586 #define G_0090F8_TS2_DURATION(x) (((x) >> 0) & 0xFFFF) argument
2590 #define S_008F40_SIZE(x) (((unsigned)(x) & 0x7FFFF) <<… argument
2591 #define G_008F40_SIZE(x) (((x) >> 0) & 0x7FFFF) argument
2594 #define S_008F44_OFFSET(x) (((unsigned)(x) & 0xFFFFFF) <… argument
2595 #define G_008F44_OFFSET(x) (((x) >> 0) & 0xFFFFFF) argument
2600 #define S_030FFC_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF)… argument
2601 #define G_030FFC_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF) argument
2604 #define S_009100_GPR_WRITE_PRIORITY(x) (((unsigned)(x) & 0x1FFFFF) <… argument
2605 #define G_009100_GPR_WRITE_PRIORITY(x) (((x) >> 0) & 0x1FFFFF) argument
2607 #define S_009100_EXP_PRIORITY_ORDER(x) (((unsigned)(x) & 0x07) << 21) argument
2608 #define G_009100_EXP_PRIORITY_ORDER(x) (((x) >> 21) & 0x07) argument
2610 #define S_009100_ENABLE_SQG_TOP_EVENTS(x) (((unsigned)(x) & 0x1) << 24) argument
2611 #define G_009100_ENABLE_SQG_TOP_EVENTS(x) (((x) >> 24) & 0x1) argument
2613 #define S_009100_ENABLE_SQG_BOP_EVENTS(x) (((unsigned)(x) & 0x1) << 25) argument
2614 #define G_009100_ENABLE_SQG_BOP_EVENTS(x) (((x) >> 25) & 0x1) argument
2616 #define S_009100_RSRC_MGMT_RESET(x) (((unsigned)(x) & 0x1) << 26) argument
2617 #define G_009100_RSRC_MGMT_RESET(x) (((x) >> 26) & 0x1) argument
2620 #define S_00913C_VTX_DONE_DELAY(x) (((unsigned)(x) & 0x0F) << 0) argument
2621 #define G_00913C_VTX_DONE_DELAY(x) (((x) >> 0) & 0x0F) argument
2639 #define S_00913C_INTERP_ONE_PRIM_PER_ROW(x) (((unsigned)(x) & 0x1) << 4) argument
2640 #define G_00913C_INTERP_ONE_PRIM_PER_ROW(x) (((x) >> 4) & 0x1) argument
2642 #define S_00913C_PC_LIMIT_ENABLE(x) (((unsigned)(x) & 0x1) << 6) argument
2643 #define G_00913C_PC_LIMIT_ENABLE(x) (((x) >> 6) & 0x1) argument
2645 #define S_00913C_PC_LIMIT_STRICT(x) (((unsigned)(x) & 0x1) << 7) argument
2646 #define G_00913C_PC_LIMIT_STRICT(x) (((x) >> 7) & 0x1) argument
2648 #define S_00913C_PC_LIMIT_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
2649 #define G_00913C_PC_LIMIT_SIZE(x) (((x) >> 16) & 0xFFFF) argument
2652 #define S_00936C_TYPE_A(x) (((unsigned)(x) & 0x0F) << 0) argument
2653 #define G_00936C_TYPE_A(x) (((x) >> 0) & 0x0F) argument
2655 #define S_00936C_VGPR_A(x) (((unsigned)(x) & 0x07) << 4) argument
2656 #define G_00936C_VGPR_A(x) (((x) >> 4) & 0x07) argument
2658 #define S_00936C_SGPR_A(x) (((unsigned)(x) & 0x07) << 7) argument
2659 #define G_00936C_SGPR_A(x) (((x) >> 7) & 0x07) argument
2661 #define S_00936C_LDS_A(x) (((unsigned)(x) & 0x07) << 10) argument
2662 #define G_00936C_LDS_A(x) (((x) >> 10) & 0x07) argument
2664 #define S_00936C_WAVES_A(x) (((unsigned)(x) & 0x03) << 13) argument
2665 #define G_00936C_WAVES_A(x) (((x) >> 13) & 0x03) argument
2667 #define S_00936C_EN_A(x) (((unsigned)(x) & 0x1) << 15) argument
2668 #define G_00936C_EN_A(x) (((x) >> 15) & 0x1) argument
2670 #define S_00936C_TYPE_B(x) (((unsigned)(x) & 0x0F) << 16) argument
2671 #define G_00936C_TYPE_B(x) (((x) >> 16) & 0x0F) argument
2673 #define S_00936C_VGPR_B(x) (((unsigned)(x) & 0x07) << 20) argument
2674 #define G_00936C_VGPR_B(x) (((x) >> 20) & 0x07) argument
2676 #define S_00936C_SGPR_B(x) (((unsigned)(x) & 0x07) << 23) argument
2677 #define G_00936C_SGPR_B(x) (((x) >> 23) & 0x07) argument
2679 #define S_00936C_LDS_B(x) (((unsigned)(x) & 0x07) << 26) argument
2680 #define G_00936C_LDS_B(x) (((x) >> 26) & 0x07) argument
2682 #define S_00936C_WAVES_B(x) (((unsigned)(x) & 0x03) << 29) argument
2683 #define G_00936C_WAVES_B(x) (((x) >> 29) & 0x03) argument
2685 #define S_00936C_EN_B(x) (((unsigned)(x) & 0x1) << 31) argument
2686 #define G_00936C_EN_B(x) (((x) >> 31) & 0x1) argument
2692 #define S_009858_MSAA1_X(x) (((unsigned)(x) & 0x03) << 0) argument
2693 #define G_009858_MSAA1_X(x) (((x) >> 0) & 0x03) argument
2695 #define S_009858_MSAA1_Y(x) (((unsigned)(x) & 0x03) << 2) argument
2696 #define G_009858_MSAA1_Y(x) (((x) >> 2) & 0x03) argument
2698 #define S_009858_MSAA2_X(x) (((unsigned)(x) & 0x03) << 4) argument
2699 #define G_009858_MSAA2_X(x) (((x) >> 4) & 0x03) argument
2701 #define S_009858_MSAA2_Y(x) (((unsigned)(x) & 0x03) << 6) argument
2702 #define G_009858_MSAA2_Y(x) (((x) >> 6) & 0x03) argument
2704 #define S_009858_MSAA4_X(x) (((unsigned)(x) & 0x03) << 8) argument
2705 #define G_009858_MSAA4_X(x) (((x) >> 8) & 0x03) argument
2707 #define S_009858_MSAA4_Y(x) (((unsigned)(x) & 0x03) << 10) argument
2708 #define G_009858_MSAA4_Y(x) (((x) >> 10) & 0x03) argument
2710 #define S_009858_MSAA8_X(x) (((unsigned)(x) & 0x03) << 12) argument
2711 #define G_009858_MSAA8_X(x) (((x) >> 12) & 0x03) argument
2713 #define S_009858_MSAA8_Y(x) (((unsigned)(x) & 0x03) << 14) argument
2714 #define G_009858_MSAA8_Y(x) (((x) >> 14) & 0x03) argument
2716 #define S_009858_MSAA16_X(x) (((unsigned)(x) & 0x03) << 16) argument
2717 #define G_009858_MSAA16_X(x) (((x) >> 16) & 0x03) argument
2719 #define S_009858_MSAA16_Y(x) (((unsigned)(x) & 0x03) << 18) argument
2720 #define G_009858_MSAA16_Y(x) (((x) >> 18) & 0x03) argument
2723 #define S_0098F8_NUM_PIPES(x) (((unsigned)(x) & 0x07) << 0) argument
2724 #define G_0098F8_NUM_PIPES(x) (((x) >> 0) & 0x07) argument
2726 #define S_0098F8_PIPE_INTERLEAVE_SIZE_GFX6(x) (((unsigned)(x) & 0x07) << 4) argument
2727 #define G_0098F8_PIPE_INTERLEAVE_SIZE_GFX6(x) (((x) >> 4) & 0x07) argument
2729 #define S_0098F8_BANK_INTERLEAVE_SIZE(x) (((unsigned)(x) & 0x07) << 8) argument
2730 #define G_0098F8_BANK_INTERLEAVE_SIZE(x) (((x) >> 8) & 0x07) argument
2732 #define S_0098F8_NUM_SHADER_ENGINES_GFX6(x) (((unsigned)(x) & 0x03) << 12) argument
2733 #define G_0098F8_NUM_SHADER_ENGINES_GFX6(x) (((x) >> 12) & 0x03) argument
2735 #define S_0098F8_SHADER_ENGINE_TILE_SIZE(x) (((unsigned)(x) & 0x07) << 16) argument
2736 #define G_0098F8_SHADER_ENGINE_TILE_SIZE(x) (((x) >> 16) & 0x07) argument
2738 #define S_0098F8_NUM_GPUS_GFX6(x) (((unsigned)(x) & 0x07) << 20) argument
2739 #define G_0098F8_NUM_GPUS_GFX6(x) (((x) >> 20) & 0x07) argument
2741 #define S_0098F8_MULTI_GPU_TILE_SIZE(x) (((unsigned)(x) & 0x03) << 24) argument
2742 #define G_0098F8_MULTI_GPU_TILE_SIZE(x) (((x) >> 24) & 0x03) argument
2744 #define S_0098F8_ROW_SIZE(x) (((unsigned)(x) & 0x03) << 28) argument
2745 #define G_0098F8_ROW_SIZE(x) (((x) >> 28) & 0x03) argument
2747 #define S_0098F8_NUM_LOWER_PIPES(x) (((unsigned)(x) & 0x1) << 30) argument
2748 #define G_0098F8_NUM_LOWER_PIPES(x) (((x) >> 30) & 0x1) argument
2751 #define S_009910_MICRO_TILE_MODE(x) (((unsigned)(x) & 0x03) << 0) argument
2752 #define G_009910_MICRO_TILE_MODE(x) (((x) >> 0) & 0x03) argument
2758 #define S_009910_ARRAY_MODE(x) (((unsigned)(x) & 0x0F) << 2) argument
2759 #define G_009910_ARRAY_MODE(x) (((x) >> 2) & 0x0F) argument
2772 #define S_009910_PIPE_CONFIG(x) (((unsigned)(x) & 0x1F) << 6) argument
2773 #define G_009910_PIPE_CONFIG(x) (((x) >> 6) & 0x1F) argument
2790 #define S_009910_TILE_SPLIT(x) (((unsigned)(x) & 0x07) << 11) argument
2791 #define G_009910_TILE_SPLIT(x) (((x) >> 11) & 0x07) argument
2800 #define S_009910_BANK_WIDTH(x) (((unsigned)(x) & 0x03) << 14) argument
2801 #define G_009910_BANK_WIDTH(x) (((x) >> 14) & 0x03) argument
2807 #define S_009910_BANK_HEIGHT(x) (((unsigned)(x) & 0x03) << 16) argument
2808 #define G_009910_BANK_HEIGHT(x) (((x) >> 16) & 0x03) argument
2814 #define S_009910_MACRO_TILE_ASPECT(x) (((unsigned)(x) & 0x03) << 18) argument
2815 #define G_009910_MACRO_TILE_ASPECT(x) (((x) >> 18) & 0x03) argument
2821 #define S_009910_NUM_BANKS(x) (((unsigned)(x) & 0x03) << 20) argument
2822 #define G_009910_NUM_BANKS(x) (((x) >> 20) & 0x03) argument
2828 #define S_009910_MICRO_TILE_MODE_NEW(x) (((unsigned)(x) & 0x07) << 22) argument
2829 #define G_009910_MICRO_TILE_MODE_NEW(x) (((x) >> 22) & 0x07) argument
2835 #define S_009910_SAMPLE_SPLIT(x) (((unsigned)(x) & 0x03) << 25) argument
2836 #define G_009910_SAMPLE_SPLIT(x) (((x) >> 25) & 0x03) argument
2871 #define S_009990_BANK_WIDTH(x) (((unsigned)(x) & 0x03) << 0) argument
2872 #define G_009990_BANK_WIDTH(x) (((x) >> 0) & 0x03) argument
2874 #define S_009990_BANK_HEIGHT(x) (((unsigned)(x) & 0x03) << 2) argument
2875 #define G_009990_BANK_HEIGHT(x) (((x) >> 2) & 0x03) argument
2877 #define S_009990_MACRO_TILE_ASPECT(x) (((unsigned)(x) & 0x03) << 4) argument
2878 #define G_009990_MACRO_TILE_ASPECT(x) (((x) >> 4) & 0x03) argument
2880 #define S_009990_NUM_BANKS(x) (((unsigned)(x) & 0x03) << 6) argument
2881 #define G_009990_NUM_BANKS(x) (((x) >> 6) & 0x03) argument
2901 #define S_00B004_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
2902 #define G_00B004_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
2906 #define S_00B00C_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
2907 #define G_00B00C_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
2911 #define S_00B01C_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
2912 #define G_00B01C_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
2914 #define S_00B01C_WAVE_LIMIT(x) (((unsigned)(x) & 0x3F) << 16) argument
2915 #define G_00B01C_WAVE_LIMIT(x) (((x) >> 16) & 0x3F) argument
2917 #define S_00B01C_LOCK_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 22) argument
2918 #define G_00B01C_LOCK_LOW_THRESHOLD(x) (((x) >> 22) & 0x0F) argument
2923 #define S_00B024_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
2924 #define G_00B024_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
2927 #define S_00B028_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
2928 #define G_00B028_VGPRS(x) (((x) >> 0) & 0x3F) argument
2930 #define S_00B028_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
2931 #define G_00B028_SGPRS(x) (((x) >> 6) & 0x0F) argument
2933 #define S_00B028_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
2934 #define G_00B028_PRIORITY(x) (((x) >> 10) & 0x03) argument
2936 #define S_00B028_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
2937 #define G_00B028_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
2942 #define S_00B028_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
2943 #define G_00B028_PRIV(x) (((x) >> 20) & 0x1) argument
2945 #define S_00B028_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
2946 #define G_00B028_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
2948 #define S_00B028_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
2949 #define G_00B028_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
2951 #define S_00B028_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
2952 #define G_00B028_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
2954 #define S_00B028_CU_GROUP_DISABLE(x) (((unsigned)(x) & 0x1) << 24) argument
2955 #define G_00B028_CU_GROUP_DISABLE(x) (((x) >> 24) & 0x1) argument
2958 #define S_00B028_CACHE_CTL(x) (((unsigned)(x) & 0x07) << 25) argument
2959 #define G_00B028_CACHE_CTL(x) (((x) >> 25) & 0x07) argument
2961 #define S_00B028_CDBG_USER(x) (((unsigned)(x) & 0x1) << 28) argument
2962 #define G_00B028_CDBG_USER(x) (((x) >> 28) & 0x1) argument
2966 #define S_00B02C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
2967 #define G_00B02C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
2969 #define S_00B02C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
2970 #define G_00B02C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
2972 #define S_00B02C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
2973 #define G_00B02C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
2975 #define S_00B02C_WAVE_CNT_EN(x) (((unsigned)(x) & 0x1) << 7) argument
2976 #define G_00B02C_WAVE_CNT_EN(x) (((x) >> 7) & 0x1) argument
2978 #define S_00B02C_EXTRA_LDS_SIZE(x) (((unsigned)(x) & 0xFF) << 8) argument
2979 #define G_00B02C_EXTRA_LDS_SIZE(x) (((x) >> 8) & 0xFF) argument
2981 #define S_00B02C_EXCP_EN_SI(x) (((unsigned)(x) & 0x7F) << 16) argument
2982 #define G_00B02C_EXCP_EN_SI(x) (((x) >> 16) & 0x7F) argument
2984 #define S_00B02C_EXCP_EN(x) (((unsigned)(x) & 0x1FF) << 1… argument
2985 #define G_00B02C_EXCP_EN(x) (((x) >> 16) & 0x1FF) argument
3005 #define S_00B104_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3006 #define G_00B104_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3010 #define S_00B10C_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3011 #define G_00B10C_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3015 #define S_00B118_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3016 #define G_00B118_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3018 #define S_00B118_WAVE_LIMIT(x) (((unsigned)(x) & 0x3F) << 16) argument
3019 #define G_00B118_WAVE_LIMIT(x) (((x) >> 16) & 0x3F) argument
3021 #define S_00B118_LOCK_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 22) argument
3022 #define G_00B118_LOCK_LOW_THRESHOLD(x) (((x) >> 22) & 0x0F) argument
3025 #define S_00B11C_LIMIT(x) (((unsigned)(x) & 0x3F) << 0) argument
3026 #define G_00B11C_LIMIT(x) (((x) >> 0) & 0x3F) argument
3031 #define S_00B124_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3032 #define G_00B124_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3035 #define S_00B128_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
3036 #define G_00B128_VGPRS(x) (((x) >> 0) & 0x3F) argument
3038 #define S_00B128_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
3039 #define G_00B128_SGPRS(x) (((x) >> 6) & 0x0F) argument
3041 #define S_00B128_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
3042 #define G_00B128_PRIORITY(x) (((x) >> 10) & 0x03) argument
3044 #define S_00B128_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
3045 #define G_00B128_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
3047 #define S_00B128_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
3048 #define G_00B128_PRIV(x) (((x) >> 20) & 0x1) argument
3050 #define S_00B128_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
3051 #define G_00B128_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
3053 #define S_00B128_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
3054 #define G_00B128_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
3056 #define S_00B128_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
3057 #define G_00B128_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
3059 #define S_00B128_VGPR_COMP_CNT(x) (((unsigned)(x) & 0x03) << 24) argument
3060 #define G_00B128_VGPR_COMP_CNT(x) (((x) >> 24) & 0x03) argument
3062 #define S_00B128_CU_GROUP_ENABLE(x) (((unsigned)(x) & 0x1) << 26) argument
3063 #define G_00B128_CU_GROUP_ENABLE(x) (((x) >> 26) & 0x1) argument
3066 #define S_00B128_CACHE_CTL(x) (((unsigned)(x) & 0x07) << 27) argument
3067 #define G_00B128_CACHE_CTL(x) (((x) >> 27) & 0x07) argument
3069 #define S_00B128_CDBG_USER(x) (((unsigned)(x) & 0x1) << 30) argument
3070 #define G_00B128_CDBG_USER(x) (((x) >> 30) & 0x1) argument
3074 #define S_00B12C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3075 #define G_00B12C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
3077 #define S_00B12C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
3078 #define G_00B12C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
3080 #define S_00B12C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
3081 #define G_00B12C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
3083 #define S_00B12C_OC_LDS_EN(x) (((unsigned)(x) & 0x1) << 7) argument
3084 #define G_00B12C_OC_LDS_EN(x) (((x) >> 7) & 0x1) argument
3086 #define S_00B12C_SO_BASE0_EN(x) (((unsigned)(x) & 0x1) << 8) argument
3087 #define G_00B12C_SO_BASE0_EN(x) (((x) >> 8) & 0x1) argument
3089 #define S_00B12C_SO_BASE1_EN(x) (((unsigned)(x) & 0x1) << 9) argument
3090 #define G_00B12C_SO_BASE1_EN(x) (((x) >> 9) & 0x1) argument
3092 #define S_00B12C_SO_BASE2_EN(x) (((unsigned)(x) & 0x1) << 10) argument
3093 #define G_00B12C_SO_BASE2_EN(x) (((x) >> 10) & 0x1) argument
3095 #define S_00B12C_SO_BASE3_EN(x) (((unsigned)(x) & 0x1) << 11) argument
3096 #define G_00B12C_SO_BASE3_EN(x) (((x) >> 11) & 0x1) argument
3098 #define S_00B12C_SO_EN(x) (((unsigned)(x) & 0x1) << 12) argument
3099 #define G_00B12C_SO_EN(x) (((x) >> 12) & 0x1) argument
3101 #define S_00B12C_EXCP_EN_SI(x) (((unsigned)(x) & 0x7F) << 13) argument
3102 #define G_00B12C_EXCP_EN_SI(x) (((x) >> 13) & 0x7F) argument
3104 #define S_00B12C_EXCP_EN(x) (((unsigned)(x) & 0x1FF) << 1… argument
3105 #define G_00B12C_EXCP_EN(x) (((x) >> 13) & 0x1FF) argument
3108 #define S_00B12C_DISPATCH_DRAW_EN(x) (((unsigned)(x) & 0x1) << 24) argument
3109 #define G_00B12C_DISPATCH_DRAW_EN(x) (((x) >> 24) & 0x1) argument
3130 #define S_00B204_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3131 #define G_00B204_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3135 #define S_00B20C_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3136 #define G_00B20C_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3140 #define S_00B21C_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3141 #define G_00B21C_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3143 #define S_00B21C_WAVE_LIMIT(x) (((unsigned)(x) & 0x3F) << 16) argument
3144 #define G_00B21C_WAVE_LIMIT(x) (((x) >> 16) & 0x3F) argument
3146 #define S_00B21C_LOCK_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 22) argument
3147 #define G_00B21C_LOCK_LOW_THRESHOLD(x) (((x) >> 22) & 0x0F) argument
3151 #define S_00B21C_GROUP_FIFO_DEPTH(x) (((unsigned)(x) & 0x3F) << 26) argument
3152 #define G_00B21C_GROUP_FIFO_DEPTH(x) (((x) >> 26) & 0x3F) argument
3157 #define S_00B224_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3158 #define G_00B224_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3161 #define S_00B228_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
3162 #define G_00B228_VGPRS(x) (((x) >> 0) & 0x3F) argument
3164 #define S_00B228_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
3165 #define G_00B228_SGPRS(x) (((x) >> 6) & 0x0F) argument
3167 #define S_00B228_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
3168 #define G_00B228_PRIORITY(x) (((x) >> 10) & 0x03) argument
3170 #define S_00B228_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
3171 #define G_00B228_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
3173 #define S_00B228_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
3174 #define G_00B228_PRIV(x) (((x) >> 20) & 0x1) argument
3176 #define S_00B228_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
3177 #define G_00B228_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
3179 #define S_00B228_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
3180 #define G_00B228_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
3182 #define S_00B228_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
3183 #define G_00B228_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
3185 #define S_00B228_CU_GROUP_ENABLE(x) (((unsigned)(x) & 0x1) << 24) argument
3186 #define G_00B228_CU_GROUP_ENABLE(x) (((x) >> 24) & 0x1) argument
3189 #define S_00B228_CACHE_CTL(x) (((unsigned)(x) & 0x07) << 25) argument
3190 #define G_00B228_CACHE_CTL(x) (((x) >> 25) & 0x07) argument
3192 #define S_00B228_CDBG_USER(x) (((unsigned)(x) & 0x1) << 28) argument
3193 #define G_00B228_CDBG_USER(x) (((x) >> 28) & 0x1) argument
3197 #define S_00B22C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3198 #define G_00B22C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
3200 #define S_00B22C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
3201 #define G_00B22C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
3203 #define S_00B22C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
3204 #define G_00B22C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
3206 #define S_00B22C_EXCP_EN_SI(x) (((unsigned)(x) & 0x7F) << 7) argument
3207 #define G_00B22C_EXCP_EN_SI(x) (((x) >> 7) & 0x7F) argument
3209 #define S_00B22C_EXCP_EN(x) (((unsigned)(x) & 0x1FF) << 7) argument
3210 #define G_00B22C_EXCP_EN(x) (((x) >> 7) & 0x1FF) argument
3230 #define S_00B304_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3231 #define G_00B304_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3235 #define S_00B30C_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3236 #define G_00B30C_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3240 #define S_00B31C_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3241 #define G_00B31C_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3243 #define S_00B31C_WAVE_LIMIT(x) (((unsigned)(x) & 0x3F) << 16) argument
3244 #define G_00B31C_WAVE_LIMIT(x) (((x) >> 16) & 0x3F) argument
3246 #define S_00B31C_LOCK_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 22) argument
3247 #define G_00B31C_LOCK_LOW_THRESHOLD(x) (((x) >> 22) & 0x0F) argument
3251 #define S_00B31C_GROUP_FIFO_DEPTH(x) (((unsigned)(x) & 0x3F) << 26) argument
3252 #define G_00B31C_GROUP_FIFO_DEPTH(x) (((x) >> 26) & 0x3F) argument
3257 #define S_00B324_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3258 #define G_00B324_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3261 #define S_00B328_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
3262 #define G_00B328_VGPRS(x) (((x) >> 0) & 0x3F) argument
3264 #define S_00B328_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
3265 #define G_00B328_SGPRS(x) (((x) >> 6) & 0x0F) argument
3267 #define S_00B328_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
3268 #define G_00B328_PRIORITY(x) (((x) >> 10) & 0x03) argument
3270 #define S_00B328_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
3271 #define G_00B328_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
3273 #define S_00B328_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
3274 #define G_00B328_PRIV(x) (((x) >> 20) & 0x1) argument
3276 #define S_00B328_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
3277 #define G_00B328_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
3279 #define S_00B328_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
3280 #define G_00B328_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
3282 #define S_00B328_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
3283 #define G_00B328_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
3285 #define S_00B328_VGPR_COMP_CNT(x) (((unsigned)(x) & 0x03) << 24) argument
3286 #define G_00B328_VGPR_COMP_CNT(x) (((x) >> 24) & 0x03) argument
3288 #define S_00B328_CU_GROUP_ENABLE(x) (((unsigned)(x) & 0x1) << 26) argument
3289 #define G_00B328_CU_GROUP_ENABLE(x) (((x) >> 26) & 0x1) argument
3292 #define S_00B328_CACHE_CTL(x) (((unsigned)(x) & 0x07) << 27) argument
3293 #define G_00B328_CACHE_CTL(x) (((x) >> 27) & 0x07) argument
3295 #define S_00B328_CDBG_USER(x) (((unsigned)(x) & 0x1) << 30) argument
3296 #define G_00B328_CDBG_USER(x) (((x) >> 30) & 0x1) argument
3300 #define S_00B32C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3301 #define G_00B32C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
3303 #define S_00B32C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
3304 #define G_00B32C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
3306 #define S_00B32C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
3307 #define G_00B32C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
3309 #define S_00B32C_OC_LDS_EN(x) (((unsigned)(x) & 0x1) << 7) argument
3310 #define G_00B32C_OC_LDS_EN(x) (((x) >> 7) & 0x1) argument
3312 #define S_00B32C_EXCP_EN_SI(x) (((unsigned)(x) & 0x7F) << 8) argument
3313 #define G_00B32C_EXCP_EN_SI(x) (((x) >> 8) & 0x7F) argument
3315 #define S_00B32C_EXCP_EN(x) (((unsigned)(x) & 0x1FF) << 8) argument
3316 #define G_00B32C_EXCP_EN(x) (((x) >> 8) & 0x1FF) argument
3318 #define S_00B32C_LDS_SIZE(x) (((unsigned)(x) & 0x1FF) << 2… argument
3319 #define G_00B32C_LDS_SIZE(x) (((x) >> 20) & 0x1FF) /* CIK,… argument
3339 #define S_00B404_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3340 #define G_00B404_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3344 #define S_00B40C_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3345 #define G_00B40C_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3349 #define S_00B41C_WAVE_LIMIT(x) (((unsigned)(x) & 0x3F) << 0) argument
3350 #define G_00B41C_WAVE_LIMIT(x) (((x) >> 0) & 0x3F) argument
3352 #define S_00B41C_LOCK_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 6) argument
3353 #define G_00B41C_LOCK_LOW_THRESHOLD(x) (((x) >> 6) & 0x0F) argument
3357 #define S_00B41C_GROUP_FIFO_DEPTH(x) (((unsigned)(x) & 0x3F) << 10) argument
3358 #define G_00B41C_GROUP_FIFO_DEPTH(x) (((x) >> 10) & 0x3F) argument
3363 #define S_00B424_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3364 #define G_00B424_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3367 #define S_00B428_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
3368 #define G_00B428_VGPRS(x) (((x) >> 0) & 0x3F) argument
3370 #define S_00B428_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
3371 #define G_00B428_SGPRS(x) (((x) >> 6) & 0x0F) argument
3373 #define S_00B428_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
3374 #define G_00B428_PRIORITY(x) (((x) >> 10) & 0x03) argument
3376 #define S_00B428_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
3377 #define G_00B428_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
3379 #define S_00B428_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
3380 #define G_00B428_PRIV(x) (((x) >> 20) & 0x1) argument
3382 #define S_00B428_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
3383 #define G_00B428_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
3385 #define S_00B428_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
3386 #define G_00B428_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
3388 #define S_00B428_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
3389 #define G_00B428_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
3392 #define S_00B428_CACHE_CTL(x) (((unsigned)(x) & 0x07) << 24) argument
3393 #define G_00B428_CACHE_CTL(x) (((x) >> 24) & 0x07) argument
3395 #define S_00B428_CDBG_USER(x) (((unsigned)(x) & 0x1) << 27) argument
3396 #define G_00B428_CDBG_USER(x) (((x) >> 27) & 0x1) argument
3400 #define S_00B42C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3401 #define G_00B42C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
3403 #define S_00B42C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
3404 #define G_00B42C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
3406 #define S_00B42C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
3407 #define G_00B42C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
3409 #define S_00B42C_OC_LDS_EN(x) (((unsigned)(x) & 0x1) << 7) argument
3410 #define G_00B42C_OC_LDS_EN(x) (((x) >> 7) & 0x1) argument
3412 #define S_00B42C_TG_SIZE_EN(x) (((unsigned)(x) & 0x1) << 8) argument
3413 #define G_00B42C_TG_SIZE_EN(x) (((x) >> 8) & 0x1) argument
3415 #define S_00B42C_EXCP_EN_SI(x) (((unsigned)(x) & 0x7F) << 9) argument
3416 #define G_00B42C_EXCP_EN_SI(x) (((x) >> 9) & 0x7F) argument
3418 #define S_00B42C_EXCP_EN_CIK_VI(x) (((unsigned)(x) & 0x1FF) << 9) argument
3419 #define G_00B42C_EXCP_EN_CIK_VI(x) (((x) >> 9) & 0x1FF) argument
3439 #define S_00B504_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3440 #define G_00B504_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3444 #define S_00B50C_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3445 #define G_00B50C_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3449 #define S_00B51C_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3450 #define G_00B51C_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3452 #define S_00B51C_WAVE_LIMIT(x) (((unsigned)(x) & 0x3F) << 16) argument
3453 #define G_00B51C_WAVE_LIMIT(x) (((x) >> 16) & 0x3F) argument
3455 #define S_00B51C_LOCK_LOW_THRESHOLD(x) (((unsigned)(x) & 0x0F) << 22) argument
3456 #define G_00B51C_LOCK_LOW_THRESHOLD(x) (((x) >> 22) & 0x0F) argument
3460 #define S_00B51C_GROUP_FIFO_DEPTH(x) (((unsigned)(x) & 0x3F) << 26) argument
3461 #define G_00B51C_GROUP_FIFO_DEPTH(x) (((x) >> 26) & 0x3F) argument
3466 #define S_00B524_MEM_BASE(x) (((unsigned)(x) & 0xFF) << 0) argument
3467 #define G_00B524_MEM_BASE(x) (((x) >> 0) & 0xFF) argument
3470 #define S_00B528_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
3471 #define G_00B528_VGPRS(x) (((x) >> 0) & 0x3F) argument
3473 #define S_00B528_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
3474 #define G_00B528_SGPRS(x) (((x) >> 6) & 0x0F) argument
3476 #define S_00B528_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
3477 #define G_00B528_PRIORITY(x) (((x) >> 10) & 0x03) argument
3479 #define S_00B528_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
3480 #define G_00B528_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
3482 #define S_00B528_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
3483 #define G_00B528_PRIV(x) (((x) >> 20) & 0x1) argument
3485 #define S_00B528_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
3486 #define G_00B528_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
3488 #define S_00B528_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
3489 #define G_00B528_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
3491 #define S_00B528_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
3492 #define G_00B528_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
3494 #define S_00B528_VGPR_COMP_CNT(x) (((unsigned)(x) & 0x03) << 24) argument
3495 #define G_00B528_VGPR_COMP_CNT(x) (((x) >> 24) & 0x03) argument
3498 #define S_00B528_CACHE_CTL(x) (((unsigned)(x) & 0x07) << 26) argument
3499 #define G_00B528_CACHE_CTL(x) (((x) >> 26) & 0x07) argument
3501 #define S_00B528_CDBG_USER(x) (((unsigned)(x) & 0x1) << 29) argument
3502 #define G_00B528_CDBG_USER(x) (((x) >> 29) & 0x1) argument
3506 #define S_00B52C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3507 #define G_00B52C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
3509 #define S_00B52C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
3510 #define G_00B52C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
3512 #define S_00B52C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
3513 #define G_00B52C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
3515 #define S_00B52C_LDS_SIZE(x) (((unsigned)(x) & 0x1FF) << 7) argument
3516 #define G_00B52C_LDS_SIZE(x) (((x) >> 7) & 0x1FF) argument
3518 #define S_00B52C_EXCP_EN_SI(x) (((unsigned)(x) & 0x7F) << 16) argument
3519 #define G_00B52C_EXCP_EN_SI(x) (((x) >> 16) & 0x7F) argument
3521 #define S_00B52C_EXCP_EN(x) (((unsigned)(x) & 0x1FF) << 1… argument
3522 #define G_00B52C_EXCP_EN(x) (((x) >> 16) & 0x1FF) argument
3541 #define S_00B800_COMPUTE_SHADER_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3542 #define G_00B800_COMPUTE_SHADER_EN(x) (((x) >> 0) & 0x1) argument
3544 #define S_00B800_PARTIAL_TG_EN(x) (((unsigned)(x) & 0x1) << 1) argument
3545 #define G_00B800_PARTIAL_TG_EN(x) (((x) >> 1) & 0x1) argument
3547 #define S_00B800_FORCE_START_AT_000(x) (((unsigned)(x) & 0x1) << 2) argument
3548 #define G_00B800_FORCE_START_AT_000(x) (((x) >> 2) & 0x1) argument
3550 #define S_00B800_ORDERED_APPEND_ENBL(x) (((unsigned)(x) & 0x1) << 3) argument
3551 #define G_00B800_ORDERED_APPEND_ENBL(x) (((x) >> 3) & 0x1) argument
3554 #define S_00B800_ORDERED_APPEND_MODE(x) (((unsigned)(x) & 0x1) << 4) argument
3555 #define G_00B800_ORDERED_APPEND_MODE(x) (((x) >> 4) & 0x1) argument
3557 #define S_00B800_USE_THREAD_DIMENSIONS(x) (((unsigned)(x) & 0x1) << 5) argument
3558 #define G_00B800_USE_THREAD_DIMENSIONS(x) (((x) >> 5) & 0x1) argument
3560 #define S_00B800_ORDER_MODE(x) (((unsigned)(x) & 0x1) << 6) argument
3561 #define G_00B800_ORDER_MODE(x) (((x) >> 6) & 0x1) argument
3563 #define S_00B800_DISPATCH_CACHE_CNTL(x) (((unsigned)(x) & 0x07) << 7) argument
3564 #define G_00B800_DISPATCH_CACHE_CNTL(x) (((x) >> 7) & 0x07) argument
3566 #define S_00B800_SCALAR_L1_INV_VOL(x) (((unsigned)(x) & 0x1) << 10) argument
3567 #define G_00B800_SCALAR_L1_INV_VOL(x) (((x) >> 10) & 0x1) argument
3569 #define S_00B800_VECTOR_L1_INV_VOL(x) (((unsigned)(x) & 0x1) << 11) argument
3570 #define G_00B800_VECTOR_L1_INV_VOL(x) (((x) >> 11) & 0x1) argument
3572 #define S_00B800_DATA_ATC(x) (((unsigned)(x) & 0x1) << 12) argument
3573 #define G_00B800_DATA_ATC(x) (((x) >> 12) & 0x1) argument
3575 #define S_00B800_RESTORE(x) (((unsigned)(x) & 0x1) << 14) argument
3576 #define G_00B800_RESTORE(x) (((x) >> 14) & 0x1) argument
3586 #define S_00B81C_NUM_THREAD_FULL(x) (((unsigned)(x) & 0xFFFF) << … argument
3587 #define G_00B81C_NUM_THREAD_FULL(x) (((x) >> 0) & 0xFFFF) argument
3589 #define S_00B81C_NUM_THREAD_PARTIAL(x) (((unsigned)(x) & 0xFFFF) << … argument
3590 #define G_00B81C_NUM_THREAD_PARTIAL(x) (((x) >> 16) & 0xFFFF) argument
3593 #define S_00B820_NUM_THREAD_FULL(x) (((unsigned)(x) & 0xFFFF) << … argument
3594 #define G_00B820_NUM_THREAD_FULL(x) (((x) >> 0) & 0xFFFF) argument
3596 #define S_00B820_NUM_THREAD_PARTIAL(x) (((unsigned)(x) & 0xFFFF) << … argument
3597 #define G_00B820_NUM_THREAD_PARTIAL(x) (((x) >> 16) & 0xFFFF) argument
3600 #define S_00B824_NUM_THREAD_FULL(x) (((unsigned)(x) & 0xFFFF) << … argument
3601 #define G_00B824_NUM_THREAD_FULL(x) (((x) >> 0) & 0xFFFF) argument
3603 #define S_00B824_NUM_THREAD_PARTIAL(x) (((unsigned)(x) & 0xFFFF) << … argument
3604 #define G_00B824_NUM_THREAD_PARTIAL(x) (((x) >> 16) & 0xFFFF) argument
3607 #define S_00B82C_MAX_WAVE_ID(x) (((unsigned)(x) & 0xFFF) << 0) argument
3608 #define G_00B82C_MAX_WAVE_ID(x) (((x) >> 0) & 0xFFF) argument
3612 #define S_00B828_PIPELINESTAT_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
3613 #define G_00B828_PIPELINESTAT_ENABLE(x) (((x) >> 0) & 0x1) argument
3616 #define S_00B82C_PERFCOUNT_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
3617 #define G_00B82C_PERFCOUNT_ENABLE(x) (((x) >> 0) & 0x1) argument
3622 #define S_00B834_DATA(x) (((unsigned)(x) & 0xFF) << 0) argument
3623 #define G_00B834_DATA(x) (((x) >> 0) & 0xFF) argument
3626 #define S_00B834_INST_ATC(x) (((unsigned)(x) & 0x1) << 8) argument
3627 #define G_00B834_INST_ATC(x) (((x) >> 8) & 0x1) argument
3632 #define S_00B83C_DATA(x) (((unsigned)(x) & 0xFF) << 0) argument
3633 #define G_00B83C_DATA(x) (((x) >> 0) & 0xFF) argument
3637 #define S_00B844_DATA(x) (((unsigned)(x) & 0xFF) << 0) argument
3638 #define G_00B844_DATA(x) (((x) >> 0) & 0xFF) argument
3641 #define S_00B848_VGPRS(x) (((unsigned)(x) & 0x3F) << 0) argument
3642 #define G_00B848_VGPRS(x) (((x) >> 0) & 0x3F) argument
3644 #define S_00B848_SGPRS(x) (((unsigned)(x) & 0x0F) << 6) argument
3645 #define G_00B848_SGPRS(x) (((x) >> 6) & 0x0F) argument
3647 #define S_00B848_PRIORITY(x) (((unsigned)(x) & 0x03) << 10) argument
3648 #define G_00B848_PRIORITY(x) (((x) >> 10) & 0x03) argument
3650 #define S_00B848_FLOAT_MODE(x) (((unsigned)(x) & 0xFF) << 12) argument
3651 #define G_00B848_FLOAT_MODE(x) (((x) >> 12) & 0xFF) argument
3653 #define S_00B848_PRIV(x) (((unsigned)(x) & 0x1) << 20) argument
3654 #define G_00B848_PRIV(x) (((x) >> 20) & 0x1) argument
3656 #define S_00B848_DX10_CLAMP(x) (((unsigned)(x) & 0x1) << 21) argument
3657 #define G_00B848_DX10_CLAMP(x) (((x) >> 21) & 0x1) argument
3659 #define S_00B848_DEBUG_MODE(x) (((unsigned)(x) & 0x1) << 22) argument
3660 #define G_00B848_DEBUG_MODE(x) (((x) >> 22) & 0x1) argument
3662 #define S_00B848_IEEE_MODE(x) (((unsigned)(x) & 0x1) << 23) argument
3663 #define G_00B848_IEEE_MODE(x) (((x) >> 23) & 0x1) argument
3666 #define S_00B848_BULKY(x) (((unsigned)(x) & 0x1) << 24) argument
3667 #define G_00B848_BULKY(x) (((x) >> 24) & 0x1) argument
3669 #define S_00B848_CDBG_USER(x) (((unsigned)(x) & 0x1) << 25) argument
3670 #define G_00B848_CDBG_USER(x) (((x) >> 25) & 0x1) argument
3674 #define S_00B84C_SCRATCH_EN(x) (((unsigned)(x) & 0x1) << 0) argument
3675 #define G_00B84C_SCRATCH_EN(x) (((x) >> 0) & 0x1) argument
3677 #define S_00B84C_USER_SGPR(x) (((unsigned)(x) & 0x1F) << 1) argument
3678 #define G_00B84C_USER_SGPR(x) (((x) >> 1) & 0x1F) argument
3680 #define S_00B84C_TRAP_PRESENT(x) (((unsigned)(x) & 0x1) << 6) argument
3681 #define G_00B84C_TRAP_PRESENT(x) (((x) >> 6) & 0x1) argument
3683 #define S_00B84C_TGID_X_EN(x) (((unsigned)(x) & 0x1) << 7) argument
3684 #define G_00B84C_TGID_X_EN(x) (((x) >> 7) & 0x1) argument
3686 #define S_00B84C_TGID_Y_EN(x) (((unsigned)(x) & 0x1) << 8) argument
3687 #define G_00B84C_TGID_Y_EN(x) (((x) >> 8) & 0x1) argument
3689 #define S_00B84C_TGID_Z_EN(x) (((unsigned)(x) & 0x1) << 9) argument
3690 #define G_00B84C_TGID_Z_EN(x) (((x) >> 9) & 0x1) argument
3692 #define S_00B84C_TG_SIZE_EN(x) (((unsigned)(x) & 0x1) << 10) argument
3693 #define G_00B84C_TG_SIZE_EN(x) (((x) >> 10) & 0x1) argument
3695 #define S_00B84C_TIDIG_COMP_CNT(x) (((unsigned)(x) & 0x03) << 11) argument
3696 #define G_00B84C_TIDIG_COMP_CNT(x) (((x) >> 11) & 0x03) argument
3699 #define S_00B84C_EXCP_EN_MSB(x) (((unsigned)(x) & 0x03) << 13) argument
3700 #define G_00B84C_EXCP_EN_MSB(x) (((x) >> 13) & 0x03) argument
3703 #define S_00B84C_LDS_SIZE(x) (((unsigned)(x) & 0x1FF) << 1… argument
3704 #define G_00B84C_LDS_SIZE(x) (((x) >> 15) & 0x1FF) argument
3706 #define S_00B84C_EXCP_EN(x) (((unsigned)(x) & 0x7F) << 24) argument
3707 #define G_00B84C_EXCP_EN(x) (((x) >> 24) & 0x7F) argument
3710 #define S_00B850_DATA(x) (((unsigned)(x) & 0x0F) << 0) argument
3711 #define G_00B850_DATA(x) (((x) >> 0) & 0x0F) argument
3714 #define S_00B854_WAVES_PER_SH_SI(x) (((unsigned)(x) & 0x3F) << 0) argument
3715 #define G_00B854_WAVES_PER_SH_SI(x) (((x) >> 0) & 0x3F) argument
3717 #define S_00B854_WAVES_PER_SH(x) (((unsigned)(x) & 0x3FF) << 0… argument
3718 #define G_00B854_WAVES_PER_SH(x) (((x) >> 0) & 0x3FF) argument
3720 #define S_00B854_TG_PER_CU(x) (((unsigned)(x) & 0x0F) << 12) argument
3721 #define G_00B854_TG_PER_CU(x) (((x) >> 12) & 0x0F) argument
3723 #define S_00B854_LOCK_THRESHOLD(x) (((unsigned)(x) & 0x3F) << 16) argument
3724 #define G_00B854_LOCK_THRESHOLD(x) (((x) >> 16) & 0x3F) argument
3726 #define S_00B854_SIMD_DEST_CNTL(x) (((unsigned)(x) & 0x1) << 22) argument
3727 #define G_00B854_SIMD_DEST_CNTL(x) (((x) >> 22) & 0x1) argument
3730 #define S_00B854_FORCE_SIMD_DIST(x) (((unsigned)(x) & 0x1) << 23) argument
3731 #define G_00B854_FORCE_SIMD_DIST(x) (((x) >> 23) & 0x1) argument
3733 #define S_00B854_CU_GROUP_COUNT(x) (((unsigned)(x) & 0x07) << 24) argument
3734 #define G_00B854_CU_GROUP_COUNT(x) (((x) >> 24) & 0x07) argument
3738 #define S_00B858_SH0_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3739 #define G_00B858_SH0_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3741 #define S_00B858_SH1_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3742 #define G_00B858_SH1_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
3745 #define S_00B85C_SH0_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3746 #define G_00B85C_SH0_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3748 #define S_00B85C_SH1_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3749 #define G_00B85C_SH1_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
3752 #define S_00B860_WAVES(x) (((unsigned)(x) & 0xFFF) << 0) argument
3753 #define G_00B860_WAVES(x) (((x) >> 0) & 0xFFF) argument
3755 #define S_00B860_WAVESIZE(x) (((unsigned)(x) & 0x1FFF) << … argument
3756 #define G_00B860_WAVESIZE(x) (((x) >> 12) & 0x1FFF) argument
3760 #define S_00B864_SH0_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3761 #define G_00B864_SH0_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3763 #define S_00B864_SH1_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3764 #define G_00B864_SH1_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
3767 #define S_00B868_SH0_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3768 #define G_00B868_SH0_CU_EN(x) (((x) >> 0) & 0xFFFF) argument
3770 #define S_00B868_SH1_CU_EN(x) (((unsigned)(x) & 0xFFFF) << … argument
3771 #define G_00B868_SH1_CU_EN(x) (((x) >> 16) & 0xFFFF) argument
3777 #define S_00B87C_SEND_SEID(x) (((unsigned)(x) & 0x03) << 0) argument
3778 #define G_00B87C_SEND_SEID(x) (((x) >> 0) & 0x03) argument
3780 #define S_00B87C_RESERVED2(x) (((unsigned)(x) & 0x1) << 2) argument
3781 #define G_00B87C_RESERVED2(x) (((x) >> 2) & 0x1) argument
3783 #define S_00B87C_RESERVED3(x) (((unsigned)(x) & 0x1) << 3) argument
3784 #define G_00B87C_RESERVED3(x) (((x) >> 3) & 0x1) argument
3786 #define S_00B87C_RESERVED4(x) (((unsigned)(x) & 0x1) << 4) argument
3787 #define G_00B87C_RESERVED4(x) (((x) >> 4) & 0x1) argument
3790 #define S_00B87C_WAVE_ID_BASE(x) (((unsigned)(x) & 0xFFF) << 5) argument
3791 #define G_00B87C_WAVE_ID_BASE(x) (((x) >> 5) & 0xFFF) argument
3796 #define S_00B888_PAYLOAD(x) (((unsigned)(x) & 0x3FFFFFFF)… argument
3797 #define G_00B888_PAYLOAD(x) (((x) >> 0) & 0x3FFFFFFF) argument
3799 #define S_00B888_IS_EVENT(x) (((unsigned)(x) & 0x1) << 30) argument
3800 #define G_00B888_IS_EVENT(x) (((x) >> 30) & 0x1) argument
3802 #define S_00B888_IS_STATE(x) (((unsigned)(x) & 0x1) << 31) argument
3803 #define G_00B888_IS_STATE(x) (((x) >> 31) & 0x1) argument
3807 #define S_00B890_ADDR(x) (((unsigned)(x) & 0xFFFF) << … argument
3808 #define G_00B890_ADDR(x) (((x) >> 0) & 0xFFFF) argument
3811 #define S_00B894_ATC(x) (((unsigned)(x) & 0x1) << 0) argument
3812 #define G_00B894_ATC(x) (((x) >> 0) & 0x1) argument
3814 #define S_00B894_MTYPE(x) (((unsigned)(x) & 0x03) << 1) argument
3815 #define G_00B894_MTYPE(x) (((x) >> 1) & 0x03) argument
3886 #define S_034404_PERFCOUNTER_HI(x) (((unsigned)(x) & 0xFFFF) << … argument
3887 #define G_034404_PERFCOUNTER_HI(x) (((x) >> 0) & 0xFFFF) argument
4025 #define S_036004_PERF_SEL2(x) (((unsigned)(x) & 0x3F) << 0) argument
4026 #define G_036004_PERF_SEL2(x) (((x) >> 0) & 0x3F) argument
4028 #define S_036004_PERF_SEL3(x) (((unsigned)(x) & 0x3F) << 10) argument
4029 #define G_036004_PERF_SEL3(x) (((x) >> 10) & 0x3F) argument
4032 #define S_036008_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
4033 #define G_036008_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
4035 #define S_036008_PERF_SEL1(x) (((unsigned)(x) & 0x3F) << 10) argument
4036 #define G_036008_PERF_SEL1(x) (((x) >> 10) & 0x3F) argument
4038 #define S_036008_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4039 #define G_036008_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4043 #define S_036010_PERF_SEL2(x) (((unsigned)(x) & 0x3F) << 0) argument
4044 #define G_036010_PERF_SEL2(x) (((x) >> 0) & 0x3F) argument
4046 #define S_036010_PERF_SEL3(x) (((unsigned)(x) & 0x3F) << 10) argument
4047 #define G_036010_PERF_SEL3(x) (((x) >> 10) & 0x3F) argument
4051 #define S_036018_PERF_SEL2(x) (((unsigned)(x) & 0x3F) << 0) argument
4052 #define G_036018_PERF_SEL2(x) (((x) >> 0) & 0x3F) argument
4054 #define S_036018_PERF_SEL3(x) (((unsigned)(x) & 0x3F) << 10) argument
4055 #define G_036018_PERF_SEL3(x) (((x) >> 10) & 0x3F) argument
4058 #define S_03601C_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
4059 #define G_03601C_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
4061 #define S_03601C_PERF_SEL1(x) (((unsigned)(x) & 0x3F) << 10) argument
4062 #define G_03601C_PERF_SEL1(x) (((x) >> 10) & 0x3F) argument
4064 #define S_03601C_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4065 #define G_03601C_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4068 #define S_036020_PERFMON_STATE(x) (((unsigned)(x) & 0x0F) << 0) argument
4069 #define G_036020_PERFMON_STATE(x) (((x) >> 0) & 0x0F) argument
4074 #define S_036020_SPM_PERFMON_STATE(x) (((unsigned)(x) & 0x0F) << 4) argument
4075 #define G_036020_SPM_PERFMON_STATE(x) (((x) >> 4) & 0x0F) argument
4077 #define S_036020_PERFMON_ENABLE_MODE(x) (((unsigned)(x) & 0x03) << 8) argument
4078 #define G_036020_PERFMON_ENABLE_MODE(x) (((x) >> 8) & 0x03) argument
4080 #define S_036020_PERFMON_SAMPLE_ENABLE(x) (((unsigned)(x) & 0x1) << 10) argument
4081 #define G_036020_PERFMON_SAMPLE_ENABLE(x) (((x) >> 10) & 0x1) argument
4084 #define S_036024_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
4085 #define G_036024_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
4087 #define S_036024_PERF_SEL1(x) (((unsigned)(x) & 0x3F) << 10) argument
4088 #define G_036024_PERF_SEL1(x) (((x) >> 10) & 0x3F) argument
4090 #define S_036024_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4091 #define G_036024_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4094 #define S_036100_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
4095 #define G_036100_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
4097 #define S_036100_DB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 10) argument
4098 #define G_036100_DB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 10) & 0x1) argument
4100 #define S_036100_CB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
4101 #define G_036100_CB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 11) & 0x1) argument
4103 #define S_036100_VGT_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 12) argument
4104 #define G_036100_VGT_BUSY_USER_DEFINED_MASK(x) (((x) >> 12) & 0x1) argument
4106 #define S_036100_TA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 13) argument
4107 #define G_036100_TA_BUSY_USER_DEFINED_MASK(x) (((x) >> 13) & 0x1) argument
4109 #define S_036100_SX_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 14) argument
4110 #define G_036100_SX_BUSY_USER_DEFINED_MASK(x) (((x) >> 14) & 0x1) argument
4112 #define S_036100_SPI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 16) argument
4113 #define G_036100_SPI_BUSY_USER_DEFINED_MASK(x) (((x) >> 16) & 0x1) argument
4115 #define S_036100_SC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 17) argument
4116 #define G_036100_SC_BUSY_USER_DEFINED_MASK(x) (((x) >> 17) & 0x1) argument
4118 #define S_036100_PA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 18) argument
4119 #define G_036100_PA_BUSY_USER_DEFINED_MASK(x) (((x) >> 18) & 0x1) argument
4121 #define S_036100_GRBM_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 19) argument
4122 #define G_036100_GRBM_BUSY_USER_DEFINED_MASK(x) (((x) >> 19) & 0x1) argument
4124 #define S_036100_DB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 20) argument
4125 #define G_036100_DB_BUSY_USER_DEFINED_MASK(x) (((x) >> 20) & 0x1) argument
4127 #define S_036100_CB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 21) argument
4128 #define G_036100_CB_BUSY_USER_DEFINED_MASK(x) (((x) >> 21) & 0x1) argument
4130 #define S_036100_CP_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 22) argument
4131 #define G_036100_CP_BUSY_USER_DEFINED_MASK(x) (((x) >> 22) & 0x1) argument
4133 #define S_036100_IA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 23) argument
4134 #define G_036100_IA_BUSY_USER_DEFINED_MASK(x) (((x) >> 23) & 0x1) argument
4136 #define S_036100_GDS_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 24) argument
4137 #define G_036100_GDS_BUSY_USER_DEFINED_MASK(x) (((x) >> 24) & 0x1) argument
4139 #define S_036100_BCI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 25) argument
4140 #define G_036100_BCI_BUSY_USER_DEFINED_MASK(x) (((x) >> 25) & 0x1) argument
4142 #define S_036100_RLC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 26) argument
4143 #define G_036100_RLC_BUSY_USER_DEFINED_MASK(x) (((x) >> 26) & 0x1) argument
4145 #define S_036100_TC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 27) argument
4146 #define G_036100_TC_BUSY_USER_DEFINED_MASK(x) (((x) >> 27) & 0x1) argument
4148 #define S_036100_WD_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 28) argument
4149 #define G_036100_WD_BUSY_USER_DEFINED_MASK(x) (((x) >> 28) & 0x1) argument
4153 #define S_036108_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
4154 #define G_036108_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
4156 #define S_036108_DB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 10) argument
4157 #define G_036108_DB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 10) & 0x1) argument
4159 #define S_036108_CB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
4160 #define G_036108_CB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 11) & 0x1) argument
4162 #define S_036108_TA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 12) argument
4163 #define G_036108_TA_BUSY_USER_DEFINED_MASK(x) (((x) >> 12) & 0x1) argument
4165 #define S_036108_SX_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 13) argument
4166 #define G_036108_SX_BUSY_USER_DEFINED_MASK(x) (((x) >> 13) & 0x1) argument
4168 #define S_036108_SPI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 15) argument
4169 #define G_036108_SPI_BUSY_USER_DEFINED_MASK(x) (((x) >> 15) & 0x1) argument
4171 #define S_036108_SC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 16) argument
4172 #define G_036108_SC_BUSY_USER_DEFINED_MASK(x) (((x) >> 16) & 0x1) argument
4174 #define S_036108_DB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 17) argument
4175 #define G_036108_DB_BUSY_USER_DEFINED_MASK(x) (((x) >> 17) & 0x1) argument
4177 #define S_036108_CB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 18) argument
4178 #define G_036108_CB_BUSY_USER_DEFINED_MASK(x) (((x) >> 18) & 0x1) argument
4180 #define S_036108_VGT_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 19) argument
4181 #define G_036108_VGT_BUSY_USER_DEFINED_MASK(x) (((x) >> 19) & 0x1) argument
4183 #define S_036108_PA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 20) argument
4184 #define G_036108_PA_BUSY_USER_DEFINED_MASK(x) (((x) >> 20) & 0x1) argument
4186 #define S_036108_BCI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 21) argument
4187 #define G_036108_BCI_BUSY_USER_DEFINED_MASK(x) (((x) >> 21) & 0x1) argument
4190 #define S_03610C_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
4191 #define G_03610C_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
4193 #define S_03610C_DB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 10) argument
4194 #define G_03610C_DB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 10) & 0x1) argument
4196 #define S_03610C_CB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
4197 #define G_03610C_CB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 11) & 0x1) argument
4199 #define S_03610C_TA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 12) argument
4200 #define G_03610C_TA_BUSY_USER_DEFINED_MASK(x) (((x) >> 12) & 0x1) argument
4202 #define S_03610C_SX_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 13) argument
4203 #define G_03610C_SX_BUSY_USER_DEFINED_MASK(x) (((x) >> 13) & 0x1) argument
4205 #define S_03610C_SPI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 15) argument
4206 #define G_03610C_SPI_BUSY_USER_DEFINED_MASK(x) (((x) >> 15) & 0x1) argument
4208 #define S_03610C_SC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 16) argument
4209 #define G_03610C_SC_BUSY_USER_DEFINED_MASK(x) (((x) >> 16) & 0x1) argument
4211 #define S_03610C_DB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 17) argument
4212 #define G_03610C_DB_BUSY_USER_DEFINED_MASK(x) (((x) >> 17) & 0x1) argument
4214 #define S_03610C_CB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 18) argument
4215 #define G_03610C_CB_BUSY_USER_DEFINED_MASK(x) (((x) >> 18) & 0x1) argument
4217 #define S_03610C_VGT_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 19) argument
4218 #define G_03610C_VGT_BUSY_USER_DEFINED_MASK(x) (((x) >> 19) & 0x1) argument
4220 #define S_03610C_PA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 20) argument
4221 #define G_03610C_PA_BUSY_USER_DEFINED_MASK(x) (((x) >> 20) & 0x1) argument
4223 #define S_03610C_BCI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 21) argument
4224 #define G_03610C_BCI_BUSY_USER_DEFINED_MASK(x) (((x) >> 21) & 0x1) argument
4227 #define S_036110_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
4228 #define G_036110_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
4230 #define S_036110_DB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 10) argument
4231 #define G_036110_DB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 10) & 0x1) argument
4233 #define S_036110_CB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
4234 #define G_036110_CB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 11) & 0x1) argument
4236 #define S_036110_TA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 12) argument
4237 #define G_036110_TA_BUSY_USER_DEFINED_MASK(x) (((x) >> 12) & 0x1) argument
4239 #define S_036110_SX_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 13) argument
4240 #define G_036110_SX_BUSY_USER_DEFINED_MASK(x) (((x) >> 13) & 0x1) argument
4242 #define S_036110_SPI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 15) argument
4243 #define G_036110_SPI_BUSY_USER_DEFINED_MASK(x) (((x) >> 15) & 0x1) argument
4245 #define S_036110_SC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 16) argument
4246 #define G_036110_SC_BUSY_USER_DEFINED_MASK(x) (((x) >> 16) & 0x1) argument
4248 #define S_036110_DB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 17) argument
4249 #define G_036110_DB_BUSY_USER_DEFINED_MASK(x) (((x) >> 17) & 0x1) argument
4251 #define S_036110_CB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 18) argument
4252 #define G_036110_CB_BUSY_USER_DEFINED_MASK(x) (((x) >> 18) & 0x1) argument
4254 #define S_036110_VGT_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 19) argument
4255 #define G_036110_VGT_BUSY_USER_DEFINED_MASK(x) (((x) >> 19) & 0x1) argument
4257 #define S_036110_PA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 20) argument
4258 #define G_036110_PA_BUSY_USER_DEFINED_MASK(x) (((x) >> 20) & 0x1) argument
4260 #define S_036110_BCI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 21) argument
4261 #define G_036110_BCI_BUSY_USER_DEFINED_MASK(x) (((x) >> 21) & 0x1) argument
4264 #define S_036114_PERF_SEL(x) (((unsigned)(x) & 0x3F) << 0) argument
4265 #define G_036114_PERF_SEL(x) (((x) >> 0) & 0x3F) argument
4267 #define S_036114_DB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 10) argument
4268 #define G_036114_DB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 10) & 0x1) argument
4270 #define S_036114_CB_CLEAN_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 11) argument
4271 #define G_036114_CB_CLEAN_USER_DEFINED_MASK(x) (((x) >> 11) & 0x1) argument
4273 #define S_036114_TA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 12) argument
4274 #define G_036114_TA_BUSY_USER_DEFINED_MASK(x) (((x) >> 12) & 0x1) argument
4276 #define S_036114_SX_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 13) argument
4277 #define G_036114_SX_BUSY_USER_DEFINED_MASK(x) (((x) >> 13) & 0x1) argument
4279 #define S_036114_SPI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 15) argument
4280 #define G_036114_SPI_BUSY_USER_DEFINED_MASK(x) (((x) >> 15) & 0x1) argument
4282 #define S_036114_SC_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 16) argument
4283 #define G_036114_SC_BUSY_USER_DEFINED_MASK(x) (((x) >> 16) & 0x1) argument
4285 #define S_036114_DB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 17) argument
4286 #define G_036114_DB_BUSY_USER_DEFINED_MASK(x) (((x) >> 17) & 0x1) argument
4288 #define S_036114_CB_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 18) argument
4289 #define G_036114_CB_BUSY_USER_DEFINED_MASK(x) (((x) >> 18) & 0x1) argument
4291 #define S_036114_VGT_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 19) argument
4292 #define G_036114_VGT_BUSY_USER_DEFINED_MASK(x) (((x) >> 19) & 0x1) argument
4294 #define S_036114_PA_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 20) argument
4295 #define G_036114_PA_BUSY_USER_DEFINED_MASK(x) (((x) >> 20) & 0x1) argument
4297 #define S_036114_BCI_BUSY_USER_DEFINED_MASK(x) (((unsigned)(x) & 0x1) << 21) argument
4298 #define G_036114_BCI_BUSY_USER_DEFINED_MASK(x) (((x) >> 21) & 0x1) argument
4301 #define S_036200_PERF_SEL(x) (((unsigned)(x) & 0xFF) << 0) argument
4302 #define G_036200_PERF_SEL(x) (((x) >> 0) & 0xFF) argument
4304 #define S_036200_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4305 #define G_036200_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4311 #define S_036210_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
4312 #define G_036210_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
4314 #define S_036210_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4315 #define G_036210_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
4317 #define S_036210_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4318 #define G_036210_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4320 #define S_036210_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
4321 #define G_036210_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
4323 #define S_036210_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4324 #define G_036210_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4330 #define S_036220_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4331 #define G_036220_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
4333 #define S_036220_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4334 #define G_036220_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
4336 #define S_036220_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
4337 #define G_036220_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
4339 #define S_036220_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
4340 #define G_036220_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
4343 #define S_036230_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
4344 #define G_036230_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
4346 #define S_036230_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4347 #define G_036230_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
4349 #define S_036230_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4350 #define G_036230_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4352 #define S_036230_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
4353 #define G_036230_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
4355 #define S_036230_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4356 #define G_036230_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4362 #define S_036240_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4363 #define G_036240_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
4365 #define S_036240_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4366 #define G_036240_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
4368 #define S_036240_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
4369 #define G_036240_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
4371 #define S_036240_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
4372 #define G_036240_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
4376 #define S_036250_PERF_SEID_IGNORE_MASK(x) (((unsigned)(x) & 0xFF) << 0) argument
4377 #define G_036250_PERF_SEID_IGNORE_MASK(x) (((x) >> 0) & 0xFF) argument
4380 #define S_036400_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
4381 #define G_036400_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
4383 #define S_036400_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4384 #define G_036400_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
4386 #define S_036400_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4387 #define G_036400_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4390 #define S_036404_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4391 #define G_036404_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
4393 #define S_036404_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4394 #define G_036404_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
4401 #define S_036500_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
4402 #define G_036500_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
4404 #define S_036500_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4405 #define G_036500_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
4407 #define S_036500_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4408 #define G_036500_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4411 #define S_036504_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4412 #define G_036504_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
4414 #define S_036504_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4415 #define G_036504_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
4425 #define S_036600_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
4426 #define G_036600_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
4428 #define S_036600_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4429 #define G_036600_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
4431 #define S_036600_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4432 #define G_036600_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4438 #define S_036610_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4439 #define G_036610_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
4441 #define S_036610_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4442 #define G_036610_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
4450 #define S_036628_BIN0_MIN(x) (((unsigned)(x) & 0x0F) << 0) argument
4451 #define G_036628_BIN0_MIN(x) (((x) >> 0) & 0x0F) argument
4453 #define S_036628_BIN0_MAX(x) (((unsigned)(x) & 0x0F) << 4) argument
4454 #define G_036628_BIN0_MAX(x) (((x) >> 4) & 0x0F) argument
4456 #define S_036628_BIN1_MIN(x) (((unsigned)(x) & 0x0F) << 8) argument
4457 #define G_036628_BIN1_MIN(x) (((x) >> 8) & 0x0F) argument
4459 #define S_036628_BIN1_MAX(x) (((unsigned)(x) & 0x0F) << 12) argument
4460 #define G_036628_BIN1_MAX(x) (((x) >> 12) & 0x0F) argument
4462 #define S_036628_BIN2_MIN(x) (((unsigned)(x) & 0x0F) << 16) argument
4463 #define G_036628_BIN2_MIN(x) (((x) >> 16) & 0x0F) argument
4465 #define S_036628_BIN2_MAX(x) (((unsigned)(x) & 0x0F) << 20) argument
4466 #define G_036628_BIN2_MAX(x) (((x) >> 20) & 0x0F) argument
4468 #define S_036628_BIN3_MIN(x) (((unsigned)(x) & 0x0F) << 24) argument
4469 #define G_036628_BIN3_MIN(x) (((x) >> 24) & 0x0F) argument
4471 #define S_036628_BIN3_MAX(x) (((unsigned)(x) & 0x0F) << 28) argument
4472 #define G_036628_BIN3_MAX(x) (((x) >> 28) & 0x0F) argument
4475 #define S_036700_PERF_SEL(x) (((unsigned)(x) & 0x1FF) << 0) argument
4476 #define G_036700_PERF_SEL(x) (((x) >> 0) & 0x1FF) argument
4478 #define S_036700_SQC_BANK_MASK(x) (((unsigned)(x) & 0x0F) << 12) argument
4479 #define G_036700_SQC_BANK_MASK(x) (((x) >> 12) & 0x0F) argument
4481 #define S_036700_SQC_CLIENT_MASK(x) (((unsigned)(x) & 0x0F) << 16) argument
4482 #define G_036700_SQC_CLIENT_MASK(x) (((x) >> 16) & 0x0F) argument
4484 #define S_036700_SPM_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4485 #define G_036700_SPM_MODE(x) (((x) >> 20) & 0x0F) argument
4487 #define S_036700_SIMD_MASK(x) (((unsigned)(x) & 0x0F) << 24) argument
4488 #define G_036700_SIMD_MASK(x) (((x) >> 24) & 0x0F) argument
4490 #define S_036700_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4491 #define G_036700_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4509 #define S_036780_PS_EN(x) (((unsigned)(x) & 0x1) << 0) argument
4510 #define G_036780_PS_EN(x) (((x) >> 0) & 0x1) argument
4512 #define S_036780_VS_EN(x) (((unsigned)(x) & 0x1) << 1) argument
4513 #define G_036780_VS_EN(x) (((x) >> 1) & 0x1) argument
4515 #define S_036780_GS_EN(x) (((unsigned)(x) & 0x1) << 2) argument
4516 #define G_036780_GS_EN(x) (((x) >> 2) & 0x1) argument
4518 #define S_036780_ES_EN(x) (((unsigned)(x) & 0x1) << 3) argument
4519 #define G_036780_ES_EN(x) (((x) >> 3) & 0x1) argument
4521 #define S_036780_HS_EN(x) (((unsigned)(x) & 0x1) << 4) argument
4522 #define G_036780_HS_EN(x) (((x) >> 4) & 0x1) argument
4524 #define S_036780_LS_EN(x) (((unsigned)(x) & 0x1) << 5) argument
4525 #define G_036780_LS_EN(x) (((x) >> 5) & 0x1) argument
4527 #define S_036780_CS_EN(x) (((unsigned)(x) & 0x1) << 6) argument
4528 #define G_036780_CS_EN(x) (((x) >> 6) & 0x1) argument
4530 #define S_036780_CNTR_RATE(x) (((unsigned)(x) & 0x1F) << 8) argument
4531 #define G_036780_CNTR_RATE(x) (((x) >> 8) & 0x1F) argument
4533 #define S_036780_DISABLE_FLUSH(x) (((unsigned)(x) & 0x1) << 13) argument
4534 #define G_036780_DISABLE_FLUSH(x) (((x) >> 13) & 0x1) argument
4537 #define S_036784_SH0_MASK(x) (((unsigned)(x) & 0xFFFF) << … argument
4538 #define G_036784_SH0_MASK(x) (((x) >> 0) & 0xFFFF) argument
4540 #define S_036784_SH1_MASK(x) (((unsigned)(x) & 0xFFFF) << … argument
4541 #define G_036784_SH1_MASK(x) (((x) >> 16) & 0xFFFF) argument
4544 #define S_036788_FORCE_EN(x) (((unsigned)(x) & 0x1) << 0) argument
4545 #define G_036788_FORCE_EN(x) (((x) >> 0) & 0x1) argument
4548 #define S_036900_PERFCOUNTER_SELECT(x) (((unsigned)(x) & 0x3FF) << 0) argument
4549 #define G_036900_PERFCOUNTER_SELECT(x) (((x) >> 0) & 0x3FF) argument
4551 #define S_036900_PERFCOUNTER_SELECT1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4552 #define G_036900_PERFCOUNTER_SELECT1(x) (((x) >> 10) & 0x3FF) argument
4554 #define S_036900_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4555 #define G_036900_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4561 #define S_036910_PERFCOUNTER_SELECT2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4562 #define G_036910_PERFCOUNTER_SELECT2(x) (((x) >> 0) & 0x3FF) argument
4564 #define S_036910_PERFCOUNTER_SELECT3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4565 #define G_036910_PERFCOUNTER_SELECT3(x) (((x) >> 10) & 0x3FF) argument
4569 #define S_036A00_PERFCOUNTER_SELECT(x) (((unsigned)(x) & 0x3FF) << 0) argument
4570 #define G_036A00_PERFCOUNTER_SELECT(x) (((x) >> 0) & 0x3FF) argument
4572 #define S_036A00_PERFCOUNTER_SELECT1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4573 #define G_036A00_PERFCOUNTER_SELECT1(x) (((x) >> 10) & 0x3FF) argument
4575 #define S_036A00_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4576 #define G_036A00_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4582 #define S_036A10_PERFCOUNTER_SELECT2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4583 #define G_036A10_PERFCOUNTER_SELECT2(x) (((x) >> 0) & 0x3FF) argument
4585 #define S_036A10_PERFCOUNTER_SELECT3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4586 #define G_036A10_PERFCOUNTER_SELECT3(x) (((x) >> 10) & 0x3FF) argument
4589 #define S_036B00_PERF_SEL(x) (((unsigned)(x) & 0xFF) << 0) argument
4590 #define G_036B00_PERF_SEL(x) (((x) >> 0) & 0xFF) argument
4592 #define S_036B00_PERF_SEL1(x) (((unsigned)(x) & 0xFF) << 10) argument
4593 #define G_036B00_PERF_SEL1(x) (((x) >> 10) & 0xFF) argument
4595 #define S_036B00_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4596 #define G_036B00_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4598 #define S_036B00_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
4599 #define G_036B00_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
4601 #define S_036B00_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4602 #define G_036B00_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4605 #define S_036B04_PERF_SEL2(x) (((unsigned)(x) & 0xFF) << 0) argument
4606 #define G_036B04_PERF_SEL2(x) (((x) >> 0) & 0xFF) argument
4608 #define S_036B04_PERF_SEL3(x) (((unsigned)(x) & 0xFF) << 10) argument
4609 #define G_036B04_PERF_SEL3(x) (((x) >> 10) & 0xFF) argument
4611 #define S_036B04_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
4612 #define G_036B04_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
4614 #define S_036B04_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
4615 #define G_036B04_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
4619 #define S_036C00_PERF_SEL(x) (((unsigned)(x) & 0xFF) << 0) argument
4620 #define G_036C00_PERF_SEL(x) (((x) >> 0) & 0xFF) argument
4622 #define S_036C00_PERF_SEL1(x) (((unsigned)(x) & 0xFF) << 10) argument
4623 #define G_036C00_PERF_SEL1(x) (((x) >> 10) & 0xFF) argument
4625 #define S_036C00_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4626 #define G_036C00_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4628 #define S_036C00_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
4629 #define G_036C00_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
4631 #define S_036C00_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4632 #define G_036C00_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4635 #define S_036C04_PERF_SEL2(x) (((unsigned)(x) & 0xFF) << 0) argument
4636 #define G_036C04_PERF_SEL2(x) (((x) >> 0) & 0xFF) argument
4638 #define S_036C04_PERF_SEL3(x) (((unsigned)(x) & 0xFF) << 10) argument
4639 #define G_036C04_PERF_SEL3(x) (((x) >> 10) & 0xFF) argument
4641 #define S_036C04_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
4642 #define G_036C04_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
4644 #define S_036C04_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
4645 #define G_036C04_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
4649 #define S_036D00_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
4650 #define G_036D00_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
4652 #define S_036D00_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4653 #define G_036D00_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
4655 #define S_036D00_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4656 #define G_036D00_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4658 #define S_036D00_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
4659 #define G_036D00_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
4661 #define S_036D00_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4662 #define G_036D00_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4665 #define S_036D04_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4666 #define G_036D04_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
4668 #define S_036D04_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4669 #define G_036D04_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
4671 #define S_036D04_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
4672 #define G_036D04_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
4674 #define S_036D04_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
4675 #define G_036D04_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
4682 #define S_036E00_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
4683 #define G_036E00_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
4685 #define S_036E00_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4686 #define G_036E00_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
4688 #define S_036E00_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4689 #define G_036E00_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4691 #define S_036E00_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
4692 #define G_036E00_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
4694 #define S_036E00_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4695 #define G_036E00_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4698 #define S_036E04_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4699 #define G_036E04_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
4701 #define S_036E04_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4702 #define G_036E04_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
4704 #define S_036E04_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 24) argument
4705 #define G_036E04_PERF_MODE2(x) (((x) >> 24) & 0x0F) argument
4707 #define S_036E04_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 28) argument
4708 #define G_036E04_PERF_MODE3(x) (((x) >> 28) & 0x0F) argument
4715 #define S_036E40_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
4716 #define G_036E40_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
4718 #define S_036E40_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4719 #define G_036E40_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
4721 #define S_036E40_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4722 #define G_036E40_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4724 #define S_036E40_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
4725 #define G_036E40_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
4727 #define S_036E40_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4728 #define G_036E40_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4731 #define S_036E44_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4732 #define G_036E44_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
4734 #define S_036E44_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4735 #define G_036E44_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
4737 #define S_036E44_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 24) argument
4738 #define G_036E44_PERF_MODE2(x) (((x) >> 24) & 0x0F) argument
4740 #define S_036E44_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 28) argument
4741 #define G_036E44_PERF_MODE3(x) (((x) >> 28) & 0x0F) argument
4748 #define S_037000_OP_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
4749 #define G_037000_OP_FILTER_ENABLE(x) (((x) >> 0) & 0x1) argument
4751 #define S_037000_OP_FILTER_SEL(x) (((unsigned)(x) & 0x07) << 1) argument
4752 #define G_037000_OP_FILTER_SEL(x) (((x) >> 1) & 0x07) argument
4754 #define S_037000_FORMAT_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
4755 #define G_037000_FORMAT_FILTER_ENABLE(x) (((x) >> 4) & 0x1) argument
4757 #define S_037000_FORMAT_FILTER_SEL(x) (((unsigned)(x) & 0x1F) << 5) argument
4758 #define G_037000_FORMAT_FILTER_SEL(x) (((x) >> 5) & 0x1F) argument
4760 #define S_037000_CLEAR_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 10) argument
4761 #define G_037000_CLEAR_FILTER_ENABLE(x) (((x) >> 10) & 0x1) argument
4763 #define S_037000_CLEAR_FILTER_SEL(x) (((unsigned)(x) & 0x1) << 11) argument
4764 #define G_037000_CLEAR_FILTER_SEL(x) (((x) >> 11) & 0x1) argument
4766 #define S_037000_MRT_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
4767 #define G_037000_MRT_FILTER_ENABLE(x) (((x) >> 12) & 0x1) argument
4769 #define S_037000_MRT_FILTER_SEL(x) (((unsigned)(x) & 0x07) << 13) argument
4770 #define G_037000_MRT_FILTER_SEL(x) (((x) >> 13) & 0x07) argument
4772 #define S_037000_NUM_SAMPLES_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 17) argument
4773 #define G_037000_NUM_SAMPLES_FILTER_ENABLE(x) (((x) >> 17) & 0x1) argument
4775 #define S_037000_NUM_SAMPLES_FILTER_SEL(x) (((unsigned)(x) & 0x07) << 18) argument
4776 #define G_037000_NUM_SAMPLES_FILTER_SEL(x) (((x) >> 18) & 0x07) argument
4778 #define S_037000_NUM_FRAGMENTS_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 21) argument
4779 #define G_037000_NUM_FRAGMENTS_FILTER_ENABLE(x) (((x) >> 21) & 0x1) argument
4781 #define S_037000_NUM_FRAGMENTS_FILTER_SEL(x) (((unsigned)(x) & 0x03) << 22) argument
4782 #define G_037000_NUM_FRAGMENTS_FILTER_SEL(x) (((x) >> 22) & 0x03) argument
4785 #define S_037004_PERF_SEL(x) (((unsigned)(x) & 0x1FF) << 0) argument
4786 #define G_037004_PERF_SEL(x) (((x) >> 0) & 0x1FF) argument
4788 #define S_037004_PERF_SEL1(x) (((unsigned)(x) & 0x1FF) << 1… argument
4789 #define G_037004_PERF_SEL1(x) (((x) >> 10) & 0x1FF) argument
4791 #define S_037004_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4792 #define G_037004_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4794 #define S_037004_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
4795 #define G_037004_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
4797 #define S_037004_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4798 #define G_037004_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4801 #define S_037008_PERF_SEL2(x) (((unsigned)(x) & 0x1FF) << 0) argument
4802 #define G_037008_PERF_SEL2(x) (((x) >> 0) & 0x1FF) argument
4804 #define S_037008_PERF_SEL3(x) (((unsigned)(x) & 0x1FF) << 1… argument
4805 #define G_037008_PERF_SEL3(x) (((x) >> 10) & 0x1FF) argument
4807 #define S_037008_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
4808 #define G_037008_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
4810 #define S_037008_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
4811 #define G_037008_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
4817 #define S_037100_PERF_SEL(x) (((unsigned)(x) & 0x3FF) << 0) argument
4818 #define G_037100_PERF_SEL(x) (((x) >> 0) & 0x3FF) argument
4820 #define S_037100_PERF_SEL1(x) (((unsigned)(x) & 0x3FF) << 1… argument
4821 #define G_037100_PERF_SEL1(x) (((x) >> 10) & 0x3FF) argument
4823 #define S_037100_CNTR_MODE(x) (((unsigned)(x) & 0x0F) << 20) argument
4824 #define G_037100_CNTR_MODE(x) (((x) >> 20) & 0x0F) argument
4826 #define S_037100_PERF_MODE1(x) (((unsigned)(x) & 0x0F) << 24) argument
4827 #define G_037100_PERF_MODE1(x) (((x) >> 24) & 0x0F) argument
4829 #define S_037100_PERF_MODE(x) (((unsigned)(x) & 0x0F) << 28) argument
4830 #define G_037100_PERF_MODE(x) (((x) >> 28) & 0x0F) argument
4833 #define S_037104_PERF_SEL2(x) (((unsigned)(x) & 0x3FF) << 0) argument
4834 #define G_037104_PERF_SEL2(x) (((x) >> 0) & 0x3FF) argument
4836 #define S_037104_PERF_SEL3(x) (((unsigned)(x) & 0x3FF) << 1… argument
4837 #define G_037104_PERF_SEL3(x) (((x) >> 10) & 0x3FF) argument
4839 #define S_037104_PERF_MODE3(x) (((unsigned)(x) & 0x0F) << 24) argument
4840 #define G_037104_PERF_MODE3(x) (((x) >> 24) & 0x0F) argument
4842 #define S_037104_PERF_MODE2(x) (((unsigned)(x) & 0x0F) << 28) argument
4843 #define G_037104_PERF_MODE2(x) (((x) >> 28) & 0x0F) argument
4850 #define S_028000_DEPTH_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
4851 #define G_028000_DEPTH_CLEAR_ENABLE(x) (((x) >> 0) & 0x1) argument
4853 #define S_028000_STENCIL_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
4854 #define G_028000_STENCIL_CLEAR_ENABLE(x) (((x) >> 1) & 0x1) argument
4856 #define S_028000_DEPTH_COPY(x) (((unsigned)(x) & 0x1) << 2) argument
4857 #define G_028000_DEPTH_COPY(x) (((x) >> 2) & 0x1) argument
4859 #define S_028000_STENCIL_COPY(x) (((unsigned)(x) & 0x1) << 3) argument
4860 #define G_028000_STENCIL_COPY(x) (((x) >> 3) & 0x1) argument
4862 #define S_028000_RESUMMARIZE_ENABLE(x) (((unsigned)(x) & 0x1) << 4) argument
4863 #define G_028000_RESUMMARIZE_ENABLE(x) (((x) >> 4) & 0x1) argument
4865 #define S_028000_STENCIL_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 5) argument
4866 #define G_028000_STENCIL_COMPRESS_DISABLE(x) (((x) >> 5) & 0x1) argument
4868 #define S_028000_DEPTH_COMPRESS_DISABLE(x) (((unsigned)(x) & 0x1) << 6) argument
4869 #define G_028000_DEPTH_COMPRESS_DISABLE(x) (((x) >> 6) & 0x1) argument
4871 #define S_028000_COPY_CENTROID(x) (((unsigned)(x) & 0x1) << 7) argument
4872 #define G_028000_COPY_CENTROID(x) (((x) >> 7) & 0x1) argument
4874 #define S_028000_COPY_SAMPLE(x) (((unsigned)(x) & 0x0F) << 8) argument
4875 #define G_028000_COPY_SAMPLE(x) (((x) >> 8) & 0x0F) argument
4878 #define S_028000_DECOMPRESS_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
4879 #define G_028000_DECOMPRESS_ENABLE(x) (((x) >> 12) & 0x1) argument
4883 #define S_028004_ZPASS_INCREMENT_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
4884 #define G_028004_ZPASS_INCREMENT_DISABLE(x) (((x) >> 0) & 0x1) argument
4886 #define S_028004_PERFECT_ZPASS_COUNTS(x) (((unsigned)(x) & 0x1) << 1) argument
4887 #define G_028004_PERFECT_ZPASS_COUNTS(x) (((x) >> 1) & 0x1) argument
4889 #define S_028004_SAMPLE_RATE(x) (((unsigned)(x) & 0x07) << 4) argument
4890 #define G_028004_SAMPLE_RATE(x) (((x) >> 4) & 0x07) argument
4893 #define S_028004_ZPASS_ENABLE(x) (((unsigned)(x) & 0x0F) << 8) argument
4894 #define G_028004_ZPASS_ENABLE(x) (((x) >> 8) & 0x0F) argument
4896 #define S_028004_ZFAIL_ENABLE(x) (((unsigned)(x) & 0x0F) << 12) argument
4897 #define G_028004_ZFAIL_ENABLE(x) (((x) >> 12) & 0x0F) argument
4899 #define S_028004_SFAIL_ENABLE(x) (((unsigned)(x) & 0x0F) << 16) argument
4900 #define G_028004_SFAIL_ENABLE(x) (((x) >> 16) & 0x0F) argument
4902 #define S_028004_DBFAIL_ENABLE(x) (((unsigned)(x) & 0x0F) << 20) argument
4903 #define G_028004_DBFAIL_ENABLE(x) (((x) >> 20) & 0x0F) argument
4905 #define S_028004_SLICE_EVEN_ENABLE(x) (((unsigned)(x) & 0x0F) << 24) argument
4906 #define G_028004_SLICE_EVEN_ENABLE(x) (((x) >> 24) & 0x0F) argument
4908 #define S_028004_SLICE_ODD_ENABLE(x) (((unsigned)(x) & 0x0F) << 28) argument
4909 #define G_028004_SLICE_ODD_ENABLE(x) (((x) >> 28) & 0x0F) argument
4913 #define S_028008_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
4914 #define G_028008_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
4916 #define S_028008_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 1… argument
4917 #define G_028008_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
4919 #define S_028008_Z_READ_ONLY(x) (((unsigned)(x) & 0x1) << 24) argument
4920 #define G_028008_Z_READ_ONLY(x) (((x) >> 24) & 0x1) argument
4922 #define S_028008_STENCIL_READ_ONLY(x) (((unsigned)(x) & 0x1) << 25) argument
4923 #define G_028008_STENCIL_READ_ONLY(x) (((x) >> 25) & 0x1) argument
4926 #define S_02800C_FORCE_HIZ_ENABLE(x) (((unsigned)(x) & 0x03) << 0) argument
4927 #define G_02800C_FORCE_HIZ_ENABLE(x) (((x) >> 0) & 0x03) argument
4933 #define S_02800C_FORCE_HIS_ENABLE0(x) (((unsigned)(x) & 0x03) << 2) argument
4934 #define G_02800C_FORCE_HIS_ENABLE0(x) (((x) >> 2) & 0x03) argument
4940 #define S_02800C_FORCE_HIS_ENABLE1(x) (((unsigned)(x) & 0x03) << 4) argument
4941 #define G_02800C_FORCE_HIS_ENABLE1(x) (((x) >> 4) & 0x03) argument
4947 #define S_02800C_FORCE_SHADER_Z_ORDER(x) (((unsigned)(x) & 0x1) << 6) argument
4948 #define G_02800C_FORCE_SHADER_Z_ORDER(x) (((x) >> 6) & 0x1) argument
4950 #define S_02800C_FAST_Z_DISABLE(x) (((unsigned)(x) & 0x1) << 7) argument
4951 #define G_02800C_FAST_Z_DISABLE(x) (((x) >> 7) & 0x1) argument
4953 #define S_02800C_FAST_STENCIL_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
4954 #define G_02800C_FAST_STENCIL_DISABLE(x) (((x) >> 8) & 0x1) argument
4956 #define S_02800C_NOOP_CULL_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
4957 #define G_02800C_NOOP_CULL_DISABLE(x) (((x) >> 9) & 0x1) argument
4959 #define S_02800C_FORCE_COLOR_KILL(x) (((unsigned)(x) & 0x1) << 10) argument
4960 #define G_02800C_FORCE_COLOR_KILL(x) (((x) >> 10) & 0x1) argument
4962 #define S_02800C_FORCE_Z_READ(x) (((unsigned)(x) & 0x1) << 11) argument
4963 #define G_02800C_FORCE_Z_READ(x) (((x) >> 11) & 0x1) argument
4965 #define S_02800C_FORCE_STENCIL_READ(x) (((unsigned)(x) & 0x1) << 12) argument
4966 #define G_02800C_FORCE_STENCIL_READ(x) (((x) >> 12) & 0x1) argument
4968 #define S_02800C_FORCE_FULL_Z_RANGE(x) (((unsigned)(x) & 0x03) << 13) argument
4969 #define G_02800C_FORCE_FULL_Z_RANGE(x) (((x) >> 13) & 0x03) argument
4975 #define S_02800C_FORCE_QC_SMASK_CONFLICT(x) (((unsigned)(x) & 0x1) << 15) argument
4976 #define G_02800C_FORCE_QC_SMASK_CONFLICT(x) (((x) >> 15) & 0x1) argument
4978 #define S_02800C_DISABLE_VIEWPORT_CLAMP(x) (((unsigned)(x) & 0x1) << 16) argument
4979 #define G_02800C_DISABLE_VIEWPORT_CLAMP(x) (((x) >> 16) & 0x1) argument
4981 #define S_02800C_IGNORE_SC_ZRANGE(x) (((unsigned)(x) & 0x1) << 17) argument
4982 #define G_02800C_IGNORE_SC_ZRANGE(x) (((x) >> 17) & 0x1) argument
4984 #define S_02800C_DISABLE_FULLY_COVERED(x) (((unsigned)(x) & 0x1) << 18) argument
4985 #define G_02800C_DISABLE_FULLY_COVERED(x) (((x) >> 18) & 0x1) argument
4987 #define S_02800C_FORCE_Z_LIMIT_SUMM(x) (((unsigned)(x) & 0x03) << 19) argument
4988 #define G_02800C_FORCE_Z_LIMIT_SUMM(x) (((x) >> 19) & 0x03) argument
4994 #define S_02800C_MAX_TILES_IN_DTT(x) (((unsigned)(x) & 0x1F) << 21) argument
4995 #define G_02800C_MAX_TILES_IN_DTT(x) (((x) >> 21) & 0x1F) argument
4997 #define S_02800C_DISABLE_TILE_RATE_TILES(x) (((unsigned)(x) & 0x1) << 26) argument
4998 #define G_02800C_DISABLE_TILE_RATE_TILES(x) (((x) >> 26) & 0x1) argument
5000 #define S_02800C_FORCE_Z_DIRTY(x) (((unsigned)(x) & 0x1) << 27) argument
5001 #define G_02800C_FORCE_Z_DIRTY(x) (((x) >> 27) & 0x1) argument
5003 #define S_02800C_FORCE_STENCIL_DIRTY(x) (((unsigned)(x) & 0x1) << 28) argument
5004 #define G_02800C_FORCE_STENCIL_DIRTY(x) (((x) >> 28) & 0x1) argument
5006 #define S_02800C_FORCE_Z_VALID(x) (((unsigned)(x) & 0x1) << 29) argument
5007 #define G_02800C_FORCE_Z_VALID(x) (((x) >> 29) & 0x1) argument
5009 #define S_02800C_FORCE_STENCIL_VALID(x) (((unsigned)(x) & 0x1) << 30) argument
5010 #define G_02800C_FORCE_STENCIL_VALID(x) (((x) >> 30) & 0x1) argument
5012 #define S_02800C_PRESERVE_COMPRESSION(x) (((unsigned)(x) & 0x1) << 31) argument
5013 #define G_02800C_PRESERVE_COMPRESSION(x) (((x) >> 31) & 0x1) argument
5016 #define S_028010_PARTIAL_SQUAD_LAUNCH_CONTROL(x) (((unsigned)(x) & 0x03) << 0) argument
5017 #define G_028010_PARTIAL_SQUAD_LAUNCH_CONTROL(x) (((x) >> 0) & 0x03) argument
5023 #define S_028010_PARTIAL_SQUAD_LAUNCH_COUNTDOWN(x) (((unsigned)(x) & 0x07) << 2) argument
5024 #define G_028010_PARTIAL_SQUAD_LAUNCH_COUNTDOWN(x) (((x) >> 2) & 0x07) argument
5026 #define S_028010_DISABLE_ZMASK_EXPCLEAR_OPTIMIZATION(x) (((unsigned)(x) & 0x1) << 5) argument
5027 #define G_028010_DISABLE_ZMASK_EXPCLEAR_OPTIMIZATION(x) (((x) >> 5) & 0x1) argument
5029 #define S_028010_DISABLE_SMEM_EXPCLEAR_OPTIMIZATION(x) (((unsigned)(x) & 0x1) << 6) argument
5030 #define G_028010_DISABLE_SMEM_EXPCLEAR_OPTIMIZATION(x) (((x) >> 6) & 0x1) argument
5032 #define S_028010_DISABLE_COLOR_ON_VALIDATION(x) (((unsigned)(x) & 0x1) << 7) argument
5033 #define G_028010_DISABLE_COLOR_ON_VALIDATION(x) (((x) >> 7) & 0x1) argument
5035 #define S_028010_DECOMPRESS_Z_ON_FLUSH(x) (((unsigned)(x) & 0x1) << 8) argument
5036 #define G_028010_DECOMPRESS_Z_ON_FLUSH(x) (((x) >> 8) & 0x1) argument
5038 #define S_028010_DISABLE_REG_SNOOP(x) (((unsigned)(x) & 0x1) << 9) argument
5039 #define G_028010_DISABLE_REG_SNOOP(x) (((x) >> 9) & 0x1) argument
5041 #define S_028010_DEPTH_BOUNDS_HIER_DEPTH_DISABLE(x) (((unsigned)(x) & 0x1) << 10) argument
5042 #define G_028010_DEPTH_BOUNDS_HIER_DEPTH_DISABLE(x) (((x) >> 10) & 0x1) argument
5045 #define S_028010_SEPARATE_HIZS_FUNC_ENABLE(x) (((unsigned)(x) & 0x1) << 11) argument
5046 #define G_028010_SEPARATE_HIZS_FUNC_ENABLE(x) (((x) >> 11) & 0x1) argument
5048 #define S_028010_HIZ_ZFUNC(x) (((unsigned)(x) & 0x07) << 12) argument
5049 #define G_028010_HIZ_ZFUNC(x) (((x) >> 12) & 0x07) argument
5051 #define S_028010_HIS_SFUNC_FF(x) (((unsigned)(x) & 0x07) << 15) argument
5052 #define G_028010_HIS_SFUNC_FF(x) (((x) >> 15) & 0x07) argument
5054 #define S_028010_HIS_SFUNC_BF(x) (((unsigned)(x) & 0x07) << 18) argument
5055 #define G_028010_HIS_SFUNC_BF(x) (((x) >> 18) & 0x07) argument
5057 #define S_028010_PRESERVE_ZRANGE(x) (((unsigned)(x) & 0x1) << 21) argument
5058 #define G_028010_PRESERVE_ZRANGE(x) (((x) >> 21) & 0x1) argument
5060 #define S_028010_PRESERVE_SRESULTS(x) (((unsigned)(x) & 0x1) << 22) argument
5061 #define G_028010_PRESERVE_SRESULTS(x) (((x) >> 22) & 0x1) argument
5063 #define S_028010_DISABLE_FAST_PASS(x) (((unsigned)(x) & 0x1) << 23) argument
5064 #define G_028010_DISABLE_FAST_PASS(x) (((x) >> 23) & 0x1) argument
5071 #define S_028028_CLEAR(x) (((unsigned)(x) & 0xFF) << 0) argument
5072 #define G_028028_CLEAR(x) (((x) >> 0) & 0xFF) argument
5076 #define S_028030_TL_X(x) (((unsigned)(x) & 0xFFFF) << … argument
5077 #define G_028030_TL_X(x) (((x) >> 0) & 0xFFFF) argument
5079 #define S_028030_TL_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
5080 #define G_028030_TL_Y(x) (((x) >> 16) & 0xFFFF) argument
5083 #define S_028034_BR_X(x) (((unsigned)(x) & 0xFFFF) << … argument
5084 #define G_028034_BR_X(x) (((x) >> 0) & 0xFFFF) argument
5086 #define S_028034_BR_Y(x) (((unsigned)(x) & 0xFFFF) << … argument
5087 #define G_028034_BR_Y(x) (((x) >> 16) & 0xFFFF) argument
5090 #define S_02803C_ADDR5_SWIZZLE_MASK(x) (((unsigned)(x) & 0x0F) << 0) argument
5091 #define G_02803C_ADDR5_SWIZZLE_MASK(x) (((x) >> 0) & 0x0F) argument
5094 #define S_02803C_ARRAY_MODE(x) (((unsigned)(x) & 0x0F) << 4) argument
5095 #define G_02803C_ARRAY_MODE(x) (((x) >> 4) & 0x0F) argument
5103 #define S_02803C_PIPE_CONFIG(x) (((unsigned)(x) & 0x1F) << 8) argument
5104 #define G_02803C_PIPE_CONFIG(x) (((x) >> 8) & 0x1F) argument
5120 #define S_02803C_BANK_WIDTH(x) (((unsigned)(x) & 0x03) << 13) argument
5121 #define G_02803C_BANK_WIDTH(x) (((x) >> 13) & 0x03) argument
5127 #define S_02803C_BANK_HEIGHT(x) (((unsigned)(x) & 0x03) << 15) argument
5128 #define G_02803C_BANK_HEIGHT(x) (((x) >> 15) & 0x03) argument
5134 #define S_02803C_MACRO_TILE_ASPECT(x) (((unsigned)(x) & 0x03) << 17) argument
5135 #define G_02803C_MACRO_TILE_ASPECT(x) (((x) >> 17) & 0x03) argument
5141 #define S_02803C_NUM_BANKS(x) (((unsigned)(x) & 0x03) << 19) argument
5142 #define G_02803C_NUM_BANKS(x) (((x) >> 19) & 0x03) argument
5150 #define S_028040_FORMAT(x) (((unsigned)(x) & 0x03) << 0) argument
5151 #define G_028040_FORMAT(x) (((x) >> 0) & 0x03) argument
5157 #define S_028040_NUM_SAMPLES(x) (((unsigned)(x) & 0x03) << 2) argument
5158 #define G_028040_NUM_SAMPLES(x) (((x) >> 2) & 0x03) argument
5161 #define S_028040_TILE_SPLIT(x) (((unsigned)(x) & 0x07) << 13) argument
5162 #define G_028040_TILE_SPLIT(x) (((x) >> 13) & 0x07) argument
5172 #define S_028040_TILE_MODE_INDEX(x) (((unsigned)(x) & 0x07) << 20… argument
5173 #define G_028040_TILE_MODE_INDEX(x) (((x) >> 20) & 0x07) /* not o… argument
5176 #define S_028040_DECOMPRESS_ON_N_ZPLANES(x) (((unsigned)(x) & 0x0F) << 23) argument
5177 #define G_028040_DECOMPRESS_ON_N_ZPLANES(x) (((x) >> 23) & 0x0F) argument
5180 #define S_028040_ALLOW_EXPCLEAR(x) (((unsigned)(x) & 0x1) << 27) argument
5181 #define G_028040_ALLOW_EXPCLEAR(x) (((x) >> 27) & 0x1) argument
5183 #define S_028040_READ_SIZE(x) (((unsigned)(x) & 0x1) << 28) argument
5184 #define G_028040_READ_SIZE(x) (((x) >> 28) & 0x1) argument
5186 #define S_028040_TILE_SURFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 29) argument
5187 #define G_028040_TILE_SURFACE_ENABLE(x) (((x) >> 29) & 0x1) argument
5190 #define S_028040_CLEAR_DISALLOWED(x) (((unsigned)(x) & 0x1) << 30) argument
5191 #define G_028040_CLEAR_DISALLOWED(x) (((x) >> 30) & 0x1) argument
5194 #define S_028040_ZRANGE_PRECISION(x) (((unsigned)(x) & 0x1) << 31) argument
5195 #define G_028040_ZRANGE_PRECISION(x) (((x) >> 31) & 0x1) argument
5198 #define S_028044_FORMAT(x) (((unsigned)(x) & 0x1) << 0) argument
5199 #define G_028044_FORMAT(x) (((x) >> 0) & 0x1) argument
5204 #define S_028044_TILE_SPLIT(x) (((unsigned)(x) & 0x07) << 13) argument
5205 #define G_028044_TILE_SPLIT(x) (((x) >> 13) & 0x07) argument
5215 #define S_028044_TILE_MODE_INDEX(x) (((unsigned)(x) & 0x07) << 20… argument
5216 #define G_028044_TILE_MODE_INDEX(x) (((x) >> 20) & 0x07) /* not o… argument
5218 #define S_028044_ALLOW_EXPCLEAR(x) (((unsigned)(x) & 0x1) << 27) argument
5219 #define G_028044_ALLOW_EXPCLEAR(x) (((x) >> 27) & 0x1) argument
5221 #define S_028044_TILE_STENCIL_DISABLE(x) (((unsigned)(x) & 0x1) << 29) argument
5222 #define G_028044_TILE_STENCIL_DISABLE(x) (((x) >> 29) & 0x1) argument
5225 #define S_028044_CLEAR_DISALLOWED(x) (((unsigned)(x) & 0x1) << 30) argument
5226 #define G_028044_CLEAR_DISALLOWED(x) (((x) >> 30) & 0x1) argument
5234 #define S_028058_PITCH_TILE_MAX(x) (((unsigned)(x) & 0x7FF) << 0) argument
5235 #define G_028058_PITCH_TILE_MAX(x) (((x) >> 0) & 0x7FF) argument
5237 #define S_028058_HEIGHT_TILE_MAX(x) (((unsigned)(x) & 0x7FF) << 1… argument
5238 #define G_028058_HEIGHT_TILE_MAX(x) (((x) >> 11) & 0x7FF) argument
5241 #define S_02805C_SLICE_TILE_MAX(x) (((unsigned)(x) & 0x3FFFFF) <… argument
5242 #define G_02805C_SLICE_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument
5247 #define S_028084_ADDRESS(x) (((unsigned)(x) & 0xFF) << 0) argument
5248 #define G_028084_ADDRESS(x) (((x) >> 0) & 0xFF) argument
5258 #define S_028200_WINDOW_X_OFFSET(x) (((unsigned)(x) & 0xFFFF) << … argument
5259 #define G_028200_WINDOW_X_OFFSET(x) (((x) >> 0) & 0xFFFF) argument
5261 #define S_028200_WINDOW_Y_OFFSET(x) (((unsigned)(x) & 0xFFFF) << … argument
5262 #define G_028200_WINDOW_Y_OFFSET(x) (((x) >> 16) & 0xFFFF) argument
5265 #define S_028204_TL_X(x) (((unsigned)(x) & 0x7FFF) << … argument
5266 #define G_028204_TL_X(x) (((x) >> 0) & 0x7FFF) argument
5268 #define S_028204_TL_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
5269 #define G_028204_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
5271 #define S_028204_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
5272 #define G_028204_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
5275 #define S_028208_BR_X(x) (((unsigned)(x) & 0x7FFF) << … argument
5276 #define G_028208_BR_X(x) (((x) >> 0) & 0x7FFF) argument
5278 #define S_028208_BR_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
5279 #define G_028208_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
5282 #define S_02820C_CLIP_RULE(x) (((unsigned)(x) & 0xFFFF) << … argument
5283 #define G_02820C_CLIP_RULE(x) (((x) >> 0) & 0xFFFF) argument
5286 #define S_028210_TL_X(x) (((unsigned)(x) & 0x7FFF) << … argument
5287 #define G_028210_TL_X(x) (((x) >> 0) & 0x7FFF) argument
5289 #define S_028210_TL_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
5290 #define G_028210_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
5293 #define S_028214_BR_X(x) (((unsigned)(x) & 0x7FFF) << … argument
5294 #define G_028214_BR_X(x) (((x) >> 0) & 0x7FFF) argument
5296 #define S_028214_BR_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
5297 #define G_028214_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
5306 #define S_028230_ER_TRI(x) (((unsigned)(x) & 0x0F) << 0) argument
5307 #define G_028230_ER_TRI(x) (((x) >> 0) & 0x0F) argument
5309 #define S_028230_ER_POINT(x) (((unsigned)(x) & 0x0F) << 4) argument
5310 #define G_028230_ER_POINT(x) (((x) >> 4) & 0x0F) argument
5312 #define S_028230_ER_RECT(x) (((unsigned)(x) & 0x0F) << 8) argument
5313 #define G_028230_ER_RECT(x) (((x) >> 8) & 0x0F) argument
5315 #define S_028230_ER_LINE_LR(x) (((unsigned)(x) & 0x3F) << 12) argument
5316 #define G_028230_ER_LINE_LR(x) (((x) >> 12) & 0x3F) argument
5318 #define S_028230_ER_LINE_RL(x) (((unsigned)(x) & 0x3F) << 18) argument
5319 #define G_028230_ER_LINE_RL(x) (((x) >> 18) & 0x3F) argument
5321 #define S_028230_ER_LINE_TB(x) (((unsigned)(x) & 0x0F) << 24) argument
5322 #define G_028230_ER_LINE_TB(x) (((x) >> 24) & 0x0F) argument
5324 #define S_028230_ER_LINE_BT(x) (((unsigned)(x) & 0x0F) << 28) argument
5325 #define G_028230_ER_LINE_BT(x) (((x) >> 28) & 0x0F) argument
5328 #define S_028234_HW_SCREEN_OFFSET_X(x) (((unsigned)(x) & 0x1FF) << 0) argument
5329 #define G_028234_HW_SCREEN_OFFSET_X(x) (((x) >> 0) & 0x1FF) argument
5331 #define S_028234_HW_SCREEN_OFFSET_Y(x) (((unsigned)(x) & 0x1FF) << 1… argument
5332 #define G_028234_HW_SCREEN_OFFSET_Y(x) (((x) >> 16) & 0x1FF) argument
5335 #define S_028238_TARGET0_ENABLE(x) (((unsigned)(x) & 0x0F) << 0) argument
5336 #define G_028238_TARGET0_ENABLE(x) (((x) >> 0) & 0x0F) argument
5338 #define S_028238_TARGET1_ENABLE(x) (((unsigned)(x) & 0x0F) << 4) argument
5339 #define G_028238_TARGET1_ENABLE(x) (((x) >> 4) & 0x0F) argument
5341 #define S_028238_TARGET2_ENABLE(x) (((unsigned)(x) & 0x0F) << 8) argument
5342 #define G_028238_TARGET2_ENABLE(x) (((x) >> 8) & 0x0F) argument
5344 #define S_028238_TARGET3_ENABLE(x) (((unsigned)(x) & 0x0F) << 12) argument
5345 #define G_028238_TARGET3_ENABLE(x) (((x) >> 12) & 0x0F) argument
5347 #define S_028238_TARGET4_ENABLE(x) (((unsigned)(x) & 0x0F) << 16) argument
5348 #define G_028238_TARGET4_ENABLE(x) (((x) >> 16) & 0x0F) argument
5350 #define S_028238_TARGET5_ENABLE(x) (((unsigned)(x) & 0x0F) << 20) argument
5351 #define G_028238_TARGET5_ENABLE(x) (((x) >> 20) & 0x0F) argument
5353 #define S_028238_TARGET6_ENABLE(x) (((unsigned)(x) & 0x0F) << 24) argument
5354 #define G_028238_TARGET6_ENABLE(x) (((x) >> 24) & 0x0F) argument
5356 #define S_028238_TARGET7_ENABLE(x) (((unsigned)(x) & 0x0F) << 28) argument
5357 #define G_028238_TARGET7_ENABLE(x) (((x) >> 28) & 0x0F) argument
5360 #define S_02823C_OUTPUT0_ENABLE(x) (((unsigned)(x) & 0x0F) << 0) argument
5361 #define G_02823C_OUTPUT0_ENABLE(x) (((x) >> 0) & 0x0F) argument
5363 #define S_02823C_OUTPUT1_ENABLE(x) (((unsigned)(x) & 0x0F) << 4) argument
5364 #define G_02823C_OUTPUT1_ENABLE(x) (((x) >> 4) & 0x0F) argument
5366 #define S_02823C_OUTPUT2_ENABLE(x) (((unsigned)(x) & 0x0F) << 8) argument
5367 #define G_02823C_OUTPUT2_ENABLE(x) (((x) >> 8) & 0x0F) argument
5369 #define S_02823C_OUTPUT3_ENABLE(x) (((unsigned)(x) & 0x0F) << 12) argument
5370 #define G_02823C_OUTPUT3_ENABLE(x) (((x) >> 12) & 0x0F) argument
5372 #define S_02823C_OUTPUT4_ENABLE(x) (((unsigned)(x) & 0x0F) << 16) argument
5373 #define G_02823C_OUTPUT4_ENABLE(x) (((x) >> 16) & 0x0F) argument
5375 #define S_02823C_OUTPUT5_ENABLE(x) (((unsigned)(x) & 0x0F) << 20) argument
5376 #define G_02823C_OUTPUT5_ENABLE(x) (((x) >> 20) & 0x0F) argument
5378 #define S_02823C_OUTPUT6_ENABLE(x) (((unsigned)(x) & 0x0F) << 24) argument
5379 #define G_02823C_OUTPUT6_ENABLE(x) (((x) >> 24) & 0x0F) argument
5381 #define S_02823C_OUTPUT7_ENABLE(x) (((unsigned)(x) & 0x0F) << 28) argument
5382 #define G_02823C_OUTPUT7_ENABLE(x) (((x) >> 28) & 0x0F) argument
5385 #define S_028240_TL_X(x) (((unsigned)(x) & 0x7FFF) << … argument
5386 #define G_028240_TL_X(x) (((x) >> 0) & 0x7FFF) argument
5388 #define S_028240_TL_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
5389 #define G_028240_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
5391 #define S_028240_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
5392 #define G_028240_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
5395 #define S_028244_BR_X(x) (((unsigned)(x) & 0x7FFF) << … argument
5396 #define G_028244_BR_X(x) (((x) >> 0) & 0x7FFF) argument
5398 #define S_028244_BR_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
5399 #define G_028244_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
5404 #define S_028250_TL_X(x) (((unsigned)(x) & 0x7FFF) << … argument
5405 #define G_028250_TL_X(x) (((x) >> 0) & 0x7FFF) argument
5407 #define S_028250_TL_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
5408 #define G_028250_TL_Y(x) (((x) >> 16) & 0x7FFF) argument
5410 #define S_028250_WINDOW_OFFSET_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
5411 #define G_028250_WINDOW_OFFSET_DISABLE(x) (((x) >> 31) & 0x1) argument
5414 #define S_028254_BR_X(x) (((unsigned)(x) & 0x7FFF) << … argument
5415 #define G_028254_BR_X(x) (((x) >> 0) & 0x7FFF) argument
5417 #define S_028254_BR_Y(x) (((unsigned)(x) & 0x7FFF) << … argument
5418 #define G_028254_BR_Y(x) (((x) >> 16) & 0x7FFF) argument
5483 #define S_028350_RB_MAP_PKR0(x) (((unsigned)(x) & 0x03) << 0) argument
5484 #define G_028350_RB_MAP_PKR0(x) (((x) >> 0) & 0x03) argument
5490 #define S_028350_RB_MAP_PKR1(x) (((unsigned)(x) & 0x03) << 2) argument
5491 #define G_028350_RB_MAP_PKR1(x) (((x) >> 2) & 0x03) argument
5497 #define S_028350_RB_XSEL2(x) (((unsigned)(x) & 0x03) << 4) argument
5498 #define G_028350_RB_XSEL2(x) (((x) >> 4) & 0x03) argument
5504 #define S_028350_RB_XSEL(x) (((unsigned)(x) & 0x1) << 6) argument
5505 #define G_028350_RB_XSEL(x) (((x) >> 6) & 0x1) argument
5507 #define S_028350_RB_YSEL(x) (((unsigned)(x) & 0x1) << 7) argument
5508 #define G_028350_RB_YSEL(x) (((x) >> 7) & 0x1) argument
5510 #define S_028350_PKR_MAP(x) (((unsigned)(x) & 0x03) << 8) argument
5511 #define G_028350_PKR_MAP(x) (((x) >> 8) & 0x03) argument
5517 #define S_028350_PKR_XSEL(x) (((unsigned)(x) & 0x03) << 10) argument
5518 #define G_028350_PKR_XSEL(x) (((x) >> 10) & 0x03) argument
5524 #define S_028350_PKR_YSEL(x) (((unsigned)(x) & 0x03) << 12) argument
5525 #define G_028350_PKR_YSEL(x) (((x) >> 12) & 0x03) argument
5531 #define S_028350_PKR_XSEL2(x) (((unsigned)(x) & 0x03) << 14) argument
5532 #define G_028350_PKR_XSEL2(x) (((x) >> 14) & 0x03) argument
5538 #define S_028350_SC_MAP(x) (((unsigned)(x) & 0x03) << 16) argument
5539 #define G_028350_SC_MAP(x) (((x) >> 16) & 0x03) argument
5545 #define S_028350_SC_XSEL(x) (((unsigned)(x) & 0x03) << 18) argument
5546 #define G_028350_SC_XSEL(x) (((x) >> 18) & 0x03) argument
5552 #define S_028350_SC_YSEL(x) (((unsigned)(x) & 0x03) << 20) argument
5553 #define G_028350_SC_YSEL(x) (((x) >> 20) & 0x03) argument
5559 #define S_028350_SE_MAP(x) (((unsigned)(x) & 0x03) << 24) argument
5560 #define G_028350_SE_MAP(x) (((x) >> 24) & 0x03) argument
5566 #define S_028350_SE_XSEL_GFX6(x) (((unsigned)(x) & 0x03) << 26) argument
5567 #define G_028350_SE_XSEL_GFX6(x) (((x) >> 26) & 0x03) argument
5573 #define S_028350_SE_YSEL_GFX6(x) (((unsigned)(x) & 0x03) << 28) argument
5574 #define G_028350_SE_YSEL_GFX6(x) (((x) >> 28) & 0x03) argument
5582 #define S_028354_SE_PAIR_MAP(x) (((unsigned)(x) & 0x03) << 0) argument
5583 #define G_028354_SE_PAIR_MAP(x) (((x) >> 0) & 0x03) argument
5589 #define S_028354_SE_PAIR_XSEL_GFX6(x) (((unsigned)(x) & 0x03) << 2) argument
5590 #define G_028354_SE_PAIR_XSEL_GFX6(x) (((x) >> 2) & 0x03) argument
5596 #define S_028354_SE_PAIR_YSEL_GFX6(x) (((unsigned)(x) & 0x03) << 4) argument
5597 #define G_028354_SE_PAIR_YSEL_GFX6(x) (((x) >> 4) & 0x03) argument
5604 #define S_028358_SLICE_EVEN_ENABLE(x) (((unsigned)(x) & 0x03) << 0) argument
5605 #define G_028358_SLICE_EVEN_ENABLE(x) (((x) >> 0) & 0x03) argument
5607 #define S_028358_SLICE_ODD_ENABLE(x) (((unsigned)(x) & 0x03) << 2) argument
5608 #define G_028358_SLICE_ODD_ENABLE(x) (((x) >> 2) & 0x03) argument
5621 #define S_028424_OVERWRITE_COMBINER_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
5622 #define G_028424_OVERWRITE_COMBINER_DISABLE(x) (((x) >> 0) & 0x1) argument
5624 #define S_028424_OVERWRITE_COMBINER_MRT_SHARING_DISABLE(x) (((unsigned)(x) & 0x1) << 1) argument
5625 #define G_028424_OVERWRITE_COMBINER_MRT_SHARING_DISABLE(x) (((x) >> 1) & 0x1) argument
5627 #define S_028424_OVERWRITE_COMBINER_WATERMARK(x) (((unsigned)(x) & 0x1F) << 2) argument
5628 #define G_028424_OVERWRITE_COMBINER_WATERMARK(x) (((x) >> 2) & 0x1F) argument
5632 #define S_02842C_STENCILFAIL(x) (((unsigned)(x) & 0x0F) << 0) argument
5633 #define G_02842C_STENCILFAIL(x) (((x) >> 0) & 0x0F) argument
5651 #define S_02842C_STENCILZPASS(x) (((unsigned)(x) & 0x0F) << 4) argument
5652 #define G_02842C_STENCILZPASS(x) (((x) >> 4) & 0x0F) argument
5670 #define S_02842C_STENCILZFAIL(x) (((unsigned)(x) & 0x0F) << 8) argument
5671 #define G_02842C_STENCILZFAIL(x) (((x) >> 8) & 0x0F) argument
5689 #define S_02842C_STENCILFAIL_BF(x) (((unsigned)(x) & 0x0F) << 12) argument
5690 #define G_02842C_STENCILFAIL_BF(x) (((x) >> 12) & 0x0F) argument
5708 #define S_02842C_STENCILZPASS_BF(x) (((unsigned)(x) & 0x0F) << 16) argument
5709 #define G_02842C_STENCILZPASS_BF(x) (((x) >> 16) & 0x0F) argument
5727 #define S_02842C_STENCILZFAIL_BF(x) (((unsigned)(x) & 0x0F) << 20) argument
5728 #define G_02842C_STENCILZFAIL_BF(x) (((x) >> 20) & 0x0F) argument
5747 #define S_028430_STENCILTESTVAL(x) (((unsigned)(x) & 0xFF) << 0) argument
5748 #define G_028430_STENCILTESTVAL(x) (((x) >> 0) & 0xFF) argument
5750 #define S_028430_STENCILMASK(x) (((unsigned)(x) & 0xFF) << 8) argument
5751 #define G_028430_STENCILMASK(x) (((x) >> 8) & 0xFF) argument
5753 #define S_028430_STENCILWRITEMASK(x) (((unsigned)(x) & 0xFF) << 16) argument
5754 #define G_028430_STENCILWRITEMASK(x) (((x) >> 16) & 0xFF) argument
5756 #define S_028430_STENCILOPVAL(x) (((unsigned)(x) & 0xFF) << 24) argument
5757 #define G_028430_STENCILOPVAL(x) (((x) >> 24) & 0xFF) argument
5760 #define S_028434_STENCILTESTVAL_BF(x) (((unsigned)(x) & 0xFF) << 0) argument
5761 #define G_028434_STENCILTESTVAL_BF(x) (((x) >> 0) & 0xFF) argument
5763 #define S_028434_STENCILMASK_BF(x) (((unsigned)(x) & 0xFF) << 8) argument
5764 #define G_028434_STENCILMASK_BF(x) (((x) >> 8) & 0xFF) argument
5766 #define S_028434_STENCILWRITEMASK_BF(x) (((unsigned)(x) & 0xFF) << 16) argument
5767 #define G_028434_STENCILWRITEMASK_BF(x) (((x) >> 16) & 0xFF) argument
5769 #define S_028434_STENCILOPVAL_BF(x) (((unsigned)(x) & 0xFF) << 24) argument
5770 #define G_028434_STENCILOPVAL_BF(x) (((x) >> 24) & 0xFF) argument
5893 #define S_028644_OFFSET(x) (((unsigned)(x) & 0x3F) << 0) argument
5894 #define G_028644_OFFSET(x) (((x) >> 0) & 0x3F) argument
5896 #define S_028644_DEFAULT_VAL(x) (((unsigned)(x) & 0x03) << 8) argument
5897 #define G_028644_DEFAULT_VAL(x) (((x) >> 8) & 0x03) argument
5900 #define S_028644_FLAT_SHADE(x) (((unsigned)(x) & 0x1) << 10) argument
5901 #define G_028644_FLAT_SHADE(x) (((x) >> 10) & 0x1) argument
5903 #define S_028644_CYL_WRAP(x) (((unsigned)(x) & 0x0F) << 13) argument
5904 #define G_028644_CYL_WRAP(x) (((x) >> 13) & 0x0F) argument
5906 #define S_028644_PT_SPRITE_TEX(x) (((unsigned)(x) & 0x1) << 17) argument
5907 #define G_028644_PT_SPRITE_TEX(x) (((x) >> 17) & 0x1) argument
5910 #define S_028644_DUP(x) (((unsigned)(x) & 0x1) << 18) argument
5911 #define G_028644_DUP(x) (((x) >> 18) & 0x1) argument
5915 #define S_028644_FP16_INTERP_MODE(x) (((unsigned)(x) & 0x1) << 19) argument
5916 #define G_028644_FP16_INTERP_MODE(x) (((x) >> 19) & 0x1) argument
5918 #define S_028644_USE_DEFAULT_ATTR1(x) (((unsigned)(x) & 0x1) << 20) argument
5919 #define G_028644_USE_DEFAULT_ATTR1(x) (((x) >> 20) & 0x1) argument
5921 #define S_028644_DEFAULT_VAL_ATTR1(x) (((unsigned)(x) & 0x03) << 21) argument
5922 #define G_028644_DEFAULT_VAL_ATTR1(x) (((x) >> 21) & 0x03) argument
5924 #define S_028644_PT_SPRITE_TEX_ATTR1(x) (((unsigned)(x) & 0x1) << 23) argument
5925 #define G_028644_PT_SPRITE_TEX_ATTR1(x) (((x) >> 23) & 0x1) argument
5927 #define S_028644_ATTR0_VALID(x) (((unsigned)(x) & 0x1) << 24) argument
5928 #define G_028644_ATTR0_VALID(x) (((x) >> 24) & 0x1) argument
5930 #define S_028644_ATTR1_VALID(x) (((unsigned)(x) & 0x1) << 25) argument
5931 #define G_028644_ATTR1_VALID(x) (((x) >> 25) & 0x1) argument
5966 #define S_0286C4_VS_EXPORT_COUNT(x) (((unsigned)(x) & 0x1F) << 1) argument
5967 #define G_0286C4_VS_EXPORT_COUNT(x) (((x) >> 1) & 0x1F) argument
5969 #define S_0286C4_VS_HALF_PACK(x) (((unsigned)(x) & 0x1) << 6) argument
5970 #define G_0286C4_VS_HALF_PACK(x) (((x) >> 6) & 0x1) argument
5972 #define S_0286C4_VS_EXPORTS_FOG(x) (((unsigned)(x) & 0x1) << 7) … argument
5973 #define G_0286C4_VS_EXPORTS_FOG(x) (((x) >> 7) & 0x1) /* not on … argument
5975 #define S_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((unsigned)(x) & 0x1F) << 8)… argument
5976 #define G_0286C4_VS_OUT_FOG_VEC_ADDR(x) (((x) >> 8) & 0x1F) /* not on… argument
5979 #define S_0286CC_PERSP_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
5980 #define G_0286CC_PERSP_SAMPLE_ENA(x) (((x) >> 0) & 0x1) argument
5982 #define S_0286CC_PERSP_CENTER_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
5983 #define G_0286CC_PERSP_CENTER_ENA(x) (((x) >> 1) & 0x1) argument
5985 #define S_0286CC_PERSP_CENTROID_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
5986 #define G_0286CC_PERSP_CENTROID_ENA(x) (((x) >> 2) & 0x1) argument
5988 #define S_0286CC_PERSP_PULL_MODEL_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
5989 #define G_0286CC_PERSP_PULL_MODEL_ENA(x) (((x) >> 3) & 0x1) argument
5991 #define S_0286CC_LINEAR_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
5992 #define G_0286CC_LINEAR_SAMPLE_ENA(x) (((x) >> 4) & 0x1) argument
5994 #define S_0286CC_LINEAR_CENTER_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
5995 #define G_0286CC_LINEAR_CENTER_ENA(x) (((x) >> 5) & 0x1) argument
5997 #define S_0286CC_LINEAR_CENTROID_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
5998 #define G_0286CC_LINEAR_CENTROID_ENA(x) (((x) >> 6) & 0x1) argument
6000 #define S_0286CC_LINE_STIPPLE_TEX_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
6001 #define G_0286CC_LINE_STIPPLE_TEX_ENA(x) (((x) >> 7) & 0x1) argument
6003 #define S_0286CC_POS_X_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
6004 #define G_0286CC_POS_X_FLOAT_ENA(x) (((x) >> 8) & 0x1) argument
6006 #define S_0286CC_POS_Y_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 9) argument
6007 #define G_0286CC_POS_Y_FLOAT_ENA(x) (((x) >> 9) & 0x1) argument
6009 #define S_0286CC_POS_Z_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 10) argument
6010 #define G_0286CC_POS_Z_FLOAT_ENA(x) (((x) >> 10) & 0x1) argument
6012 #define S_0286CC_POS_W_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
6013 #define G_0286CC_POS_W_FLOAT_ENA(x) (((x) >> 11) & 0x1) argument
6015 #define S_0286CC_FRONT_FACE_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
6016 #define G_0286CC_FRONT_FACE_ENA(x) (((x) >> 12) & 0x1) argument
6018 #define S_0286CC_ANCILLARY_ENA(x) (((unsigned)(x) & 0x1) << 13) argument
6019 #define G_0286CC_ANCILLARY_ENA(x) (((x) >> 13) & 0x1) argument
6021 #define S_0286CC_SAMPLE_COVERAGE_ENA(x) (((unsigned)(x) & 0x1) << 14) argument
6022 #define G_0286CC_SAMPLE_COVERAGE_ENA(x) (((x) >> 14) & 0x1) argument
6024 #define S_0286CC_POS_FIXED_PT_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
6025 #define G_0286CC_POS_FIXED_PT_ENA(x) (((x) >> 15) & 0x1) argument
6028 #define S_0286D0_PERSP_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
6029 #define G_0286D0_PERSP_SAMPLE_ENA(x) (((x) >> 0) & 0x1) argument
6031 #define S_0286D0_PERSP_CENTER_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
6032 #define G_0286D0_PERSP_CENTER_ENA(x) (((x) >> 1) & 0x1) argument
6034 #define S_0286D0_PERSP_CENTROID_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
6035 #define G_0286D0_PERSP_CENTROID_ENA(x) (((x) >> 2) & 0x1) argument
6037 #define S_0286D0_PERSP_PULL_MODEL_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
6038 #define G_0286D0_PERSP_PULL_MODEL_ENA(x) (((x) >> 3) & 0x1) argument
6040 #define S_0286D0_LINEAR_SAMPLE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
6041 #define G_0286D0_LINEAR_SAMPLE_ENA(x) (((x) >> 4) & 0x1) argument
6043 #define S_0286D0_LINEAR_CENTER_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
6044 #define G_0286D0_LINEAR_CENTER_ENA(x) (((x) >> 5) & 0x1) argument
6046 #define S_0286D0_LINEAR_CENTROID_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
6047 #define G_0286D0_LINEAR_CENTROID_ENA(x) (((x) >> 6) & 0x1) argument
6049 #define S_0286D0_LINE_STIPPLE_TEX_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
6050 #define G_0286D0_LINE_STIPPLE_TEX_ENA(x) (((x) >> 7) & 0x1) argument
6052 #define S_0286D0_POS_X_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 8) argument
6053 #define G_0286D0_POS_X_FLOAT_ENA(x) (((x) >> 8) & 0x1) argument
6055 #define S_0286D0_POS_Y_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 9) argument
6056 #define G_0286D0_POS_Y_FLOAT_ENA(x) (((x) >> 9) & 0x1) argument
6058 #define S_0286D0_POS_Z_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 10) argument
6059 #define G_0286D0_POS_Z_FLOAT_ENA(x) (((x) >> 10) & 0x1) argument
6061 #define S_0286D0_POS_W_FLOAT_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
6062 #define G_0286D0_POS_W_FLOAT_ENA(x) (((x) >> 11) & 0x1) argument
6064 #define S_0286D0_FRONT_FACE_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
6065 #define G_0286D0_FRONT_FACE_ENA(x) (((x) >> 12) & 0x1) argument
6067 #define S_0286D0_ANCILLARY_ENA(x) (((unsigned)(x) & 0x1) << 13) argument
6068 #define G_0286D0_ANCILLARY_ENA(x) (((x) >> 13) & 0x1) argument
6070 #define S_0286D0_SAMPLE_COVERAGE_ENA(x) (((unsigned)(x) & 0x1) << 14) argument
6071 #define G_0286D0_SAMPLE_COVERAGE_ENA(x) (((x) >> 14) & 0x1) argument
6073 #define S_0286D0_POS_FIXED_PT_ENA(x) (((unsigned)(x) & 0x1) << 15) argument
6074 #define G_0286D0_POS_FIXED_PT_ENA(x) (((x) >> 15) & 0x1) argument
6077 #define S_0286D4_FLAT_SHADE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
6078 #define G_0286D4_FLAT_SHADE_ENA(x) (((x) >> 0) & 0x1) argument
6080 #define S_0286D4_PNT_SPRITE_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
6081 #define G_0286D4_PNT_SPRITE_ENA(x) (((x) >> 1) & 0x1) argument
6083 #define S_0286D4_PNT_SPRITE_OVRD_X(x) (((unsigned)(x) & 0x07) << 2) argument
6084 #define G_0286D4_PNT_SPRITE_OVRD_X(x) (((x) >> 2) & 0x07) argument
6091 #define S_0286D4_PNT_SPRITE_OVRD_Y(x) (((unsigned)(x) & 0x07) << 5) argument
6092 #define G_0286D4_PNT_SPRITE_OVRD_Y(x) (((x) >> 5) & 0x07) argument
6099 #define S_0286D4_PNT_SPRITE_OVRD_Z(x) (((unsigned)(x) & 0x07) << 8) argument
6100 #define G_0286D4_PNT_SPRITE_OVRD_Z(x) (((x) >> 8) & 0x07) argument
6107 #define S_0286D4_PNT_SPRITE_OVRD_W(x) (((unsigned)(x) & 0x07) << 11) argument
6108 #define G_0286D4_PNT_SPRITE_OVRD_W(x) (((x) >> 11) & 0x07) argument
6115 #define S_0286D4_PNT_SPRITE_TOP_1(x) (((unsigned)(x) & 0x1) << 14) argument
6116 #define G_0286D4_PNT_SPRITE_TOP_1(x) (((x) >> 14) & 0x1) argument
6119 #define S_0286D8_NUM_INTERP(x) (((unsigned)(x) & 0x3F) << 0) argument
6120 #define G_0286D8_NUM_INTERP(x) (((x) >> 0) & 0x3F) argument
6122 #define S_0286D8_PARAM_GEN(x) (((unsigned)(x) & 0x1) << 6) argument
6123 #define G_0286D8_PARAM_GEN(x) (((x) >> 6) & 0x1) argument
6125 #define S_0286D8_FOG_ADDR(x) (((unsigned)(x) & 0x7F) << 7)… argument
6126 #define G_0286D8_FOG_ADDR(x) (((x) >> 7) & 0x7F) /* not on… argument
6128 #define S_0286D8_BC_OPTIMIZE_DISABLE(x) (((unsigned)(x) & 0x1) << 14) argument
6129 #define G_0286D8_BC_OPTIMIZE_DISABLE(x) (((x) >> 14) & 0x1) argument
6131 #define S_0286D8_PASS_FOG_THROUGH_PS(x) (((unsigned)(x) & 0x1) << 15)… argument
6132 #define G_0286D8_PASS_FOG_THROUGH_PS(x) (((x) >> 15) & 0x1) /* not on… argument
6135 #define S_0286E0_PERSP_CENTER_CNTL(x) (((unsigned)(x) & 0x1) << 0) argument
6136 #define G_0286E0_PERSP_CENTER_CNTL(x) (((x) >> 0) & 0x1) argument
6138 #define S_0286E0_PERSP_CENTROID_CNTL(x) (((unsigned)(x) & 0x1) << 4) argument
6139 #define G_0286E0_PERSP_CENTROID_CNTL(x) (((x) >> 4) & 0x1) argument
6141 #define S_0286E0_LINEAR_CENTER_CNTL(x) (((unsigned)(x) & 0x1) << 8) argument
6142 #define G_0286E0_LINEAR_CENTER_CNTL(x) (((x) >> 8) & 0x1) argument
6144 #define S_0286E0_LINEAR_CENTROID_CNTL(x) (((unsigned)(x) & 0x1) << 12) argument
6145 #define G_0286E0_LINEAR_CENTROID_CNTL(x) (((x) >> 12) & 0x1) argument
6147 #define S_0286E0_POS_FLOAT_LOCATION(x) (((unsigned)(x) & 0x03) << 16) argument
6148 #define G_0286E0_POS_FLOAT_LOCATION(x) (((x) >> 16) & 0x03) argument
6151 #define S_0286E0_POS_FLOAT_ULC(x) (((unsigned)(x) & 0x1) << 20) argument
6152 #define G_0286E0_POS_FLOAT_ULC(x) (((x) >> 20) & 0x1) argument
6154 #define S_0286E0_FRONT_FACE_ALL_BITS(x) (((unsigned)(x) & 0x1) << 24) argument
6155 #define G_0286E0_FRONT_FACE_ALL_BITS(x) (((x) >> 24) & 0x1) argument
6158 #define S_0286E8_WAVES(x) (((unsigned)(x) & 0xFFF) << 0) argument
6159 #define G_0286E8_WAVES(x) (((x) >> 0) & 0xFFF) argument
6161 #define S_0286E8_WAVESIZE(x) (((unsigned)(x) & 0x1FFF) << … argument
6162 #define G_0286E8_WAVESIZE(x) (((x) >> 12) & 0x1FFF) argument
6165 #define S_028704_NUM_PS_WAVES(x) (((unsigned)(x) & 0x3F) << 0) argument
6166 #define G_028704_NUM_PS_WAVES(x) (((x) >> 0) & 0x3F) argument
6168 #define S_028704_NUM_VS_WAVES(x) (((unsigned)(x) & 0x3F) << 6) argument
6169 #define G_028704_NUM_VS_WAVES(x) (((x) >> 6) & 0x3F) argument
6171 #define S_028704_NUM_GS_WAVES(x) (((unsigned)(x) & 0x3F) << 12) argument
6172 #define G_028704_NUM_GS_WAVES(x) (((x) >> 12) & 0x3F) argument
6174 #define S_028704_NUM_ES_WAVES(x) (((unsigned)(x) & 0x3F) << 18) argument
6175 #define G_028704_NUM_ES_WAVES(x) (((x) >> 18) & 0x3F) argument
6177 #define S_028704_NUM_HS_WAVES(x) (((unsigned)(x) & 0x3F) << 24) argument
6178 #define G_028704_NUM_HS_WAVES(x) (((x) >> 24) & 0x3F) argument
6181 #define S_028708_NUM_LS_WAVES(x) (((unsigned)(x) & 0x3F) << 0) argument
6182 #define G_028708_NUM_LS_WAVES(x) (((x) >> 0) & 0x3F) argument
6185 #define S_02870C_POS0_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 0) argument
6186 #define G_02870C_POS0_EXPORT_FORMAT(x) (((x) >> 0) & 0x0F) argument
6193 #define S_02870C_POS1_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 4) argument
6194 #define G_02870C_POS1_EXPORT_FORMAT(x) (((x) >> 4) & 0x0F) argument
6201 #define S_02870C_POS2_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 8) argument
6202 #define G_02870C_POS2_EXPORT_FORMAT(x) (((x) >> 8) & 0x0F) argument
6209 #define S_02870C_POS3_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 12) argument
6210 #define G_02870C_POS3_EXPORT_FORMAT(x) (((x) >> 12) & 0x0F) argument
6218 #define S_028710_Z_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 0) argument
6219 #define G_028710_Z_EXPORT_FORMAT(x) (((x) >> 0) & 0x0F) argument
6232 #define S_028714_COL0_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 0) argument
6233 #define G_028714_COL0_EXPORT_FORMAT(x) (((x) >> 0) & 0x0F) argument
6245 #define S_028714_COL1_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 4) argument
6246 #define G_028714_COL1_EXPORT_FORMAT(x) (((x) >> 4) & 0x0F) argument
6258 #define S_028714_COL2_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 8) argument
6259 #define G_028714_COL2_EXPORT_FORMAT(x) (((x) >> 8) & 0x0F) argument
6271 #define S_028714_COL3_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 12) argument
6272 #define G_028714_COL3_EXPORT_FORMAT(x) (((x) >> 12) & 0x0F) argument
6284 #define S_028714_COL4_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 16) argument
6285 #define G_028714_COL4_EXPORT_FORMAT(x) (((x) >> 16) & 0x0F) argument
6297 #define S_028714_COL5_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 20) argument
6298 #define G_028714_COL5_EXPORT_FORMAT(x) (((x) >> 20) & 0x0F) argument
6310 #define S_028714_COL6_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 24) argument
6311 #define G_028714_COL6_EXPORT_FORMAT(x) (((x) >> 24) & 0x0F) argument
6323 #define S_028714_COL7_EXPORT_FORMAT(x) (((unsigned)(x) & 0x0F) << 28) argument
6324 #define G_028714_COL7_EXPORT_FORMAT(x) (((x) >> 28) & 0x0F) argument
6338 #define S_028754_MRT0(x) (((unsigned)(x) & 0x0F) << 0) argument
6339 #define G_028754_MRT0(x) (((x) >> 0) & 0x0F) argument
6352 #define S_028754_MRT1(x) (((unsigned)(x) & 0x0F) << 4) argument
6353 #define G_028754_MRT1(x) (((x) >> 4) & 0x0F) argument
6355 #define S_028754_MRT2(x) (((unsigned)(x) & 0x0F) << 8) argument
6356 #define G_028754_MRT2(x) (((x) >> 8) & 0x0F) argument
6358 #define S_028754_MRT3(x) (((unsigned)(x) & 0x0F) << 12) argument
6359 #define G_028754_MRT3(x) (((x) >> 12) & 0x0F) argument
6361 #define S_028754_MRT4(x) (((unsigned)(x) & 0x0F) << 16) argument
6362 #define G_028754_MRT4(x) (((x) >> 16) & 0x0F) argument
6364 #define S_028754_MRT5(x) (((unsigned)(x) & 0x0F) << 20) argument
6365 #define G_028754_MRT5(x) (((x) >> 20) & 0x0F) argument
6367 #define S_028754_MRT6(x) (((unsigned)(x) & 0x0F) << 24) argument
6368 #define G_028754_MRT6(x) (((x) >> 24) & 0x0F) argument
6370 #define S_028754_MRT7(x) (((unsigned)(x) & 0x0F) << 28) argument
6371 #define G_028754_MRT7(x) (((x) >> 28) & 0x0F) argument
6374 #define S_028758_MRT0_EPSILON(x) (((unsigned)(x) & 0x0F) << 0) argument
6375 #define G_028758_MRT0_EPSILON(x) (((x) >> 0) & 0x0F) argument
6384 #define S_028758_MRT1_EPSILON(x) (((unsigned)(x) & 0x0F) << 4) argument
6385 #define G_028758_MRT1_EPSILON(x) (((x) >> 4) & 0x0F) argument
6387 #define S_028758_MRT2_EPSILON(x) (((unsigned)(x) & 0x0F) << 8) argument
6388 #define G_028758_MRT2_EPSILON(x) (((x) >> 8) & 0x0F) argument
6390 #define S_028758_MRT3_EPSILON(x) (((unsigned)(x) & 0x0F) << 12) argument
6391 #define G_028758_MRT3_EPSILON(x) (((x) >> 12) & 0x0F) argument
6393 #define S_028758_MRT4_EPSILON(x) (((unsigned)(x) & 0x0F) << 16) argument
6394 #define G_028758_MRT4_EPSILON(x) (((x) >> 16) & 0x0F) argument
6396 #define S_028758_MRT5_EPSILON(x) (((unsigned)(x) & 0x0F) << 20) argument
6397 #define G_028758_MRT5_EPSILON(x) (((x) >> 20) & 0x0F) argument
6399 #define S_028758_MRT6_EPSILON(x) (((unsigned)(x) & 0x0F) << 24) argument
6400 #define G_028758_MRT6_EPSILON(x) (((x) >> 24) & 0x0F) argument
6402 #define S_028758_MRT7_EPSILON(x) (((unsigned)(x) & 0x0F) << 28) argument
6403 #define G_028758_MRT7_EPSILON(x) (((x) >> 28) & 0x0F) argument
6406 #define S_02875C_MRT0_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
6407 #define G_02875C_MRT0_COLOR_OPT_DISABLE(x) (((x) >> 0) & 0x1) argument
6409 #define S_02875C_MRT0_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 1) argument
6410 #define G_02875C_MRT0_ALPHA_OPT_DISABLE(x) (((x) >> 1) & 0x1) argument
6412 #define S_02875C_MRT1_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 4) argument
6413 #define G_02875C_MRT1_COLOR_OPT_DISABLE(x) (((x) >> 4) & 0x1) argument
6415 #define S_02875C_MRT1_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 5) argument
6416 #define G_02875C_MRT1_ALPHA_OPT_DISABLE(x) (((x) >> 5) & 0x1) argument
6418 #define S_02875C_MRT2_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 8) argument
6419 #define G_02875C_MRT2_COLOR_OPT_DISABLE(x) (((x) >> 8) & 0x1) argument
6421 #define S_02875C_MRT2_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
6422 #define G_02875C_MRT2_ALPHA_OPT_DISABLE(x) (((x) >> 9) & 0x1) argument
6424 #define S_02875C_MRT3_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 12) argument
6425 #define G_02875C_MRT3_COLOR_OPT_DISABLE(x) (((x) >> 12) & 0x1) argument
6427 #define S_02875C_MRT3_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 13) argument
6428 #define G_02875C_MRT3_ALPHA_OPT_DISABLE(x) (((x) >> 13) & 0x1) argument
6430 #define S_02875C_MRT4_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 16) argument
6431 #define G_02875C_MRT4_COLOR_OPT_DISABLE(x) (((x) >> 16) & 0x1) argument
6433 #define S_02875C_MRT4_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 17) argument
6434 #define G_02875C_MRT4_ALPHA_OPT_DISABLE(x) (((x) >> 17) & 0x1) argument
6436 #define S_02875C_MRT5_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 20) argument
6437 #define G_02875C_MRT5_COLOR_OPT_DISABLE(x) (((x) >> 20) & 0x1) argument
6439 #define S_02875C_MRT5_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 21) argument
6440 #define G_02875C_MRT5_ALPHA_OPT_DISABLE(x) (((x) >> 21) & 0x1) argument
6442 #define S_02875C_MRT6_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 24) argument
6443 #define G_02875C_MRT6_COLOR_OPT_DISABLE(x) (((x) >> 24) & 0x1) argument
6445 #define S_02875C_MRT6_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 25) argument
6446 #define G_02875C_MRT6_ALPHA_OPT_DISABLE(x) (((x) >> 25) & 0x1) argument
6448 #define S_02875C_MRT7_COLOR_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 28) argument
6449 #define G_02875C_MRT7_COLOR_OPT_DISABLE(x) (((x) >> 28) & 0x1) argument
6451 #define S_02875C_MRT7_ALPHA_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 29) argument
6452 #define G_02875C_MRT7_ALPHA_OPT_DISABLE(x) (((x) >> 29) & 0x1) argument
6454 #define S_02875C_PIXEN_ZERO_OPT_DISABLE(x) (((unsigned)(x) & 0x1) << 31) argument
6455 #define G_02875C_PIXEN_ZERO_OPT_DISABLE(x) (((x) >> 31) & 0x1) argument
6458 #define S_028760_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
6459 #define G_028760_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
6469 #define S_028760_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
6470 #define G_028760_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
6472 #define S_028760_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
6473 #define G_028760_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
6483 #define S_028760_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
6484 #define G_028760_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
6486 #define S_028760_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
6487 #define G_028760_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
6489 #define S_028760_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
6490 #define G_028760_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
6493 #define S_028764_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
6494 #define G_028764_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
6496 #define S_028764_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
6497 #define G_028764_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
6499 #define S_028764_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
6500 #define G_028764_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
6502 #define S_028764_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
6503 #define G_028764_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
6505 #define S_028764_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
6506 #define G_028764_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
6508 #define S_028764_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
6509 #define G_028764_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
6512 #define S_028768_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
6513 #define G_028768_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
6515 #define S_028768_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
6516 #define G_028768_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
6518 #define S_028768_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
6519 #define G_028768_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
6521 #define S_028768_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
6522 #define G_028768_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
6524 #define S_028768_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
6525 #define G_028768_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
6527 #define S_028768_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
6528 #define G_028768_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
6531 #define S_02876C_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
6532 #define G_02876C_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
6534 #define S_02876C_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
6535 #define G_02876C_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
6537 #define S_02876C_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
6538 #define G_02876C_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
6540 #define S_02876C_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
6541 #define G_02876C_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
6543 #define S_02876C_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
6544 #define G_02876C_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
6546 #define S_02876C_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
6547 #define G_02876C_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
6550 #define S_028770_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
6551 #define G_028770_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
6553 #define S_028770_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
6554 #define G_028770_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
6556 #define S_028770_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
6557 #define G_028770_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
6559 #define S_028770_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
6560 #define G_028770_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
6562 #define S_028770_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
6563 #define G_028770_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
6565 #define S_028770_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
6566 #define G_028770_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
6569 #define S_028774_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
6570 #define G_028774_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
6572 #define S_028774_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
6573 #define G_028774_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
6575 #define S_028774_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
6576 #define G_028774_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
6578 #define S_028774_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
6579 #define G_028774_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
6581 #define S_028774_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
6582 #define G_028774_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
6584 #define S_028774_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
6585 #define G_028774_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
6588 #define S_028778_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
6589 #define G_028778_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
6591 #define S_028778_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
6592 #define G_028778_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
6594 #define S_028778_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
6595 #define G_028778_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
6597 #define S_028778_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
6598 #define G_028778_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
6600 #define S_028778_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
6601 #define G_028778_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
6603 #define S_028778_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
6604 #define G_028778_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
6607 #define S_02877C_COLOR_SRC_OPT(x) (((unsigned)(x) & 0x07) << 0) argument
6608 #define G_02877C_COLOR_SRC_OPT(x) (((x) >> 0) & 0x07) argument
6610 #define S_02877C_COLOR_DST_OPT(x) (((unsigned)(x) & 0x07) << 4) argument
6611 #define G_02877C_COLOR_DST_OPT(x) (((x) >> 4) & 0x07) argument
6613 #define S_02877C_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 8) argument
6614 #define G_02877C_COLOR_COMB_FCN(x) (((x) >> 8) & 0x07) argument
6616 #define S_02877C_ALPHA_SRC_OPT(x) (((unsigned)(x) & 0x07) << 16) argument
6617 #define G_02877C_ALPHA_SRC_OPT(x) (((x) >> 16) & 0x07) argument
6619 #define S_02877C_ALPHA_DST_OPT(x) (((unsigned)(x) & 0x07) << 20) argument
6620 #define G_02877C_ALPHA_DST_OPT(x) (((x) >> 20) & 0x07) argument
6622 #define S_02877C_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 24) argument
6623 #define G_02877C_ALPHA_COMB_FCN(x) (((x) >> 24) & 0x07) argument
6627 #define S_028780_COLOR_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 0) argument
6628 #define G_028780_COLOR_SRCBLEND(x) (((x) >> 0) & 0x1F) argument
6649 #define S_028780_COLOR_COMB_FCN(x) (((unsigned)(x) & 0x07) << 5) argument
6650 #define G_028780_COLOR_COMB_FCN(x) (((x) >> 5) & 0x07) argument
6657 #define S_028780_COLOR_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 8) argument
6658 #define G_028780_COLOR_DESTBLEND(x) (((x) >> 8) & 0x1F) argument
6679 #define S_028780_ALPHA_SRCBLEND(x) (((unsigned)(x) & 0x1F) << 16) argument
6680 #define G_028780_ALPHA_SRCBLEND(x) (((x) >> 16) & 0x1F) argument
6701 #define S_028780_ALPHA_COMB_FCN(x) (((unsigned)(x) & 0x07) << 21) argument
6702 #define G_028780_ALPHA_COMB_FCN(x) (((x) >> 21) & 0x07) argument
6709 #define S_028780_ALPHA_DESTBLEND(x) (((unsigned)(x) & 0x1F) << 24) argument
6710 #define G_028780_ALPHA_DESTBLEND(x) (((x) >> 24) & 0x1F) argument
6731 #define S_028780_SEPARATE_ALPHA_BLEND(x) (((unsigned)(x) & 0x1) << 29) argument
6732 #define G_028780_SEPARATE_ALPHA_BLEND(x) (((x) >> 29) & 0x1) argument
6734 #define S_028780_ENABLE(x) (((unsigned)(x) & 0x1) << 30) argument
6735 #define G_028780_ENABLE(x) (((x) >> 30) & 0x1) argument
6737 #define S_028780_DISABLE_ROP3(x) (((unsigned)(x) & 0x1) << 31) argument
6738 #define G_028780_DISABLE_ROP3(x) (((x) >> 31) & 0x1) argument
6748 #define S_0287CC_SRC_STATE_ID(x) (((unsigned)(x) & 0x07) << 0) argument
6749 #define G_0287CC_SRC_STATE_ID(x) (((x) >> 0) & 0x07) argument
6756 #define S_0287E4_BASE_ADDR_GFX6(x) (((unsigned)(x) & 0xFF) << 0) argument
6757 #define G_0287E4_BASE_ADDR_GFX6(x) (((x) >> 0) & 0xFF) argument
6761 #define S_0287F0_SOURCE_SELECT(x) (((unsigned)(x) & 0x03) << 0) argument
6762 #define G_0287F0_SOURCE_SELECT(x) (((x) >> 0) & 0x03) argument
6768 #define S_0287F0_MAJOR_MODE(x) (((unsigned)(x) & 0x03) << 2) argument
6769 #define G_0287F0_MAJOR_MODE(x) (((x) >> 2) & 0x03) argument
6773 #define S_0287F0_NOT_EOP(x) (((unsigned)(x) & 0x1) << 5) argument
6774 #define G_0287F0_NOT_EOP(x) (((x) >> 5) & 0x1) argument
6776 #define S_0287F0_USE_OPAQUE(x) (((unsigned)(x) & 0x1) << 6) argument
6777 #define G_0287F0_USE_OPAQUE(x) (((x) >> 6) & 0x1) argument
6781 #define S_0287F8_ADDRESS_LOW(x) (((unsigned)(x) & 0xFFFFFFF) … argument
6782 #define G_0287F8_ADDRESS_LOW(x) (((x) >> 0) & 0xFFFFFFF) argument
6785 #define S_028800_STENCIL_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
6786 #define G_028800_STENCIL_ENABLE(x) (((x) >> 0) & 0x1) argument
6788 #define S_028800_Z_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
6789 #define G_028800_Z_ENABLE(x) (((x) >> 1) & 0x1) argument
6791 #define S_028800_Z_WRITE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
6792 #define G_028800_Z_WRITE_ENABLE(x) (((x) >> 2) & 0x1) argument
6794 #define S_028800_DEPTH_BOUNDS_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
6795 #define G_028800_DEPTH_BOUNDS_ENABLE(x) (((x) >> 3) & 0x1) argument
6797 #define S_028800_ZFUNC(x) (((unsigned)(x) & 0x07) << 4) argument
6798 #define G_028800_ZFUNC(x) (((x) >> 4) & 0x07) argument
6808 #define S_028800_BACKFACE_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
6809 #define G_028800_BACKFACE_ENABLE(x) (((x) >> 7) & 0x1) argument
6811 #define S_028800_STENCILFUNC(x) (((unsigned)(x) & 0x07) << 8) argument
6812 #define G_028800_STENCILFUNC(x) (((x) >> 8) & 0x07) argument
6822 #define S_028800_STENCILFUNC_BF(x) (((unsigned)(x) & 0x07) << 20) argument
6823 #define G_028800_STENCILFUNC_BF(x) (((x) >> 20) & 0x07) argument
6833 #define S_028800_ENABLE_COLOR_WRITES_ON_DEPTH_FAIL(x) (((unsigned)(x) & 0x1) << 30) argument
6834 #define G_028800_ENABLE_COLOR_WRITES_ON_DEPTH_FAIL(x) (((x) >> 30) & 0x1) argument
6836 #define S_028800_DISABLE_COLOR_WRITES_ON_DEPTH_PASS(x) (((unsigned)(x) & 0x1) << 31) argument
6837 #define G_028800_DISABLE_COLOR_WRITES_ON_DEPTH_PASS(x) (((x) >> 31) & 0x1) argument
6840 #define S_028804_MAX_ANCHOR_SAMPLES(x) (((unsigned)(x) & 0x07) << 0) argument
6841 #define G_028804_MAX_ANCHOR_SAMPLES(x) (((x) >> 0) & 0x07) argument
6843 #define S_028804_PS_ITER_SAMPLES(x) (((unsigned)(x) & 0x07) << 4) argument
6844 #define G_028804_PS_ITER_SAMPLES(x) (((x) >> 4) & 0x07) argument
6846 #define S_028804_MASK_EXPORT_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 8) argument
6847 #define G_028804_MASK_EXPORT_NUM_SAMPLES(x) (((x) >> 8) & 0x07) argument
6849 #define S_028804_ALPHA_TO_MASK_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 12) argument
6850 #define G_028804_ALPHA_TO_MASK_NUM_SAMPLES(x) (((x) >> 12) & 0x07) argument
6852 #define S_028804_HIGH_QUALITY_INTERSECTIONS(x) (((unsigned)(x) & 0x1) << 16) argument
6853 #define G_028804_HIGH_QUALITY_INTERSECTIONS(x) (((x) >> 16) & 0x1) argument
6855 #define S_028804_INCOHERENT_EQAA_READS(x) (((unsigned)(x) & 0x1) << 17) argument
6856 #define G_028804_INCOHERENT_EQAA_READS(x) (((x) >> 17) & 0x1) argument
6858 #define S_028804_INTERPOLATE_COMP_Z(x) (((unsigned)(x) & 0x1) << 18) argument
6859 #define G_028804_INTERPOLATE_COMP_Z(x) (((x) >> 18) & 0x1) argument
6861 #define S_028804_INTERPOLATE_SRC_Z(x) (((unsigned)(x) & 0x1) << 19) argument
6862 #define G_028804_INTERPOLATE_SRC_Z(x) (((x) >> 19) & 0x1) argument
6864 #define S_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((unsigned)(x) & 0x1) << 20) argument
6865 #define G_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((x) >> 20) & 0x1) argument
6867 #define S_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((unsigned)(x) & 0x1) << 21) argument
6868 #define G_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((x) >> 21) & 0x1) argument
6870 #define S_028804_OVERRASTERIZATION_AMOUNT(x) (((unsigned)(x) & 0x07) << 24) argument
6871 #define G_028804_OVERRASTERIZATION_AMOUNT(x) (((x) >> 24) & 0x07) argument
6873 #define S_028804_ENABLE_POSTZ_OVERRASTERIZATION(x) (((unsigned)(x) & 0x1) << 27) argument
6874 #define G_028804_ENABLE_POSTZ_OVERRASTERIZATION(x) (((x) >> 27) & 0x1) argument
6877 #define S_028808_DISABLE_DUAL_QUAD(x) (((unsigned)(x) & 0x1) << 0) argument
6878 #define G_028808_DISABLE_DUAL_QUAD(x) (((x) >> 0) & 0x1) argument
6880 #define S_028808_DEGAMMA_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
6881 #define G_028808_DEGAMMA_ENABLE(x) (((x) >> 3) & 0x1) argument
6883 #define S_028808_MODE(x) (((unsigned)(x) & 0x07) << 4) argument
6884 #define G_028808_MODE(x) (((x) >> 4) & 0x07) argument
6892 #define S_028808_ROP3(x) (((unsigned)(x) & 0xFF) << 16) argument
6893 #define G_028808_ROP3(x) (((x) >> 16) & 0xFF) argument
6924 #define S_02880C_Z_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
6925 #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1) argument
6927 #define S_02880C_STENCIL_TEST_VAL_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
6928 #define G_02880C_STENCIL_TEST_VAL_EXPORT_ENABLE(x) (((x) >> 1) & 0x1) argument
6930 #define S_02880C_STENCIL_OP_VAL_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
6931 #define G_02880C_STENCIL_OP_VAL_EXPORT_ENABLE(x) (((x) >> 2) & 0x1) argument
6933 #define S_02880C_Z_ORDER(x) (((unsigned)(x) & 0x03) << 4) argument
6934 #define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x03) argument
6940 #define S_02880C_KILL_ENABLE(x) (((unsigned)(x) & 0x1) << 6) argument
6941 #define G_02880C_KILL_ENABLE(x) (((x) >> 6) & 0x1) argument
6943 #define S_02880C_COVERAGE_TO_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
6944 #define G_02880C_COVERAGE_TO_MASK_ENABLE(x) (((x) >> 7) & 0x1) argument
6946 #define S_02880C_MASK_EXPORT_ENABLE(x) (((unsigned)(x) & 0x1) << 8) argument
6947 #define G_02880C_MASK_EXPORT_ENABLE(x) (((x) >> 8) & 0x1) argument
6949 #define S_02880C_EXEC_ON_HIER_FAIL(x) (((unsigned)(x) & 0x1) << 9) argument
6950 #define G_02880C_EXEC_ON_HIER_FAIL(x) (((x) >> 9) & 0x1) argument
6952 #define S_02880C_EXEC_ON_NOOP(x) (((unsigned)(x) & 0x1) << 10) argument
6953 #define G_02880C_EXEC_ON_NOOP(x) (((x) >> 10) & 0x1) argument
6955 #define S_02880C_ALPHA_TO_MASK_DISABLE(x) (((unsigned)(x) & 0x1) << 11) argument
6956 #define G_02880C_ALPHA_TO_MASK_DISABLE(x) (((x) >> 11) & 0x1) argument
6958 #define S_02880C_DEPTH_BEFORE_SHADER(x) (((unsigned)(x) & 0x1) << 12) argument
6959 #define G_02880C_DEPTH_BEFORE_SHADER(x) (((x) >> 12) & 0x1) argument
6962 #define S_02880C_CONSERVATIVE_Z_EXPORT(x) (((unsigned)(x) & 0x03) << 13) argument
6963 #define G_02880C_CONSERVATIVE_Z_EXPORT(x) (((x) >> 13) & 0x03) argument
6971 #define S_02880C_DUAL_QUAD_DISABLE(x) (((unsigned)(x) & 0x1) << 15) argument
6972 #define G_02880C_DUAL_QUAD_DISABLE(x) (((x) >> 15) & 0x1) argument
6976 #define S_028810_UCP_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
6977 #define G_028810_UCP_ENA_0(x) (((x) >> 0) & 0x1) argument
6979 #define S_028810_UCP_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
6980 #define G_028810_UCP_ENA_1(x) (((x) >> 1) & 0x1) argument
6982 #define S_028810_UCP_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
6983 #define G_028810_UCP_ENA_2(x) (((x) >> 2) & 0x1) argument
6985 #define S_028810_UCP_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
6986 #define G_028810_UCP_ENA_3(x) (((x) >> 3) & 0x1) argument
6988 #define S_028810_UCP_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
6989 #define G_028810_UCP_ENA_4(x) (((x) >> 4) & 0x1) argument
6991 #define S_028810_UCP_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
6992 #define G_028810_UCP_ENA_5(x) (((x) >> 5) & 0x1) argument
6994 #define S_028810_PS_UCP_Y_SCALE_NEG(x) (((unsigned)(x) & 0x1) << 13) argument
6995 #define G_028810_PS_UCP_Y_SCALE_NEG(x) (((x) >> 13) & 0x1) argument
6997 #define S_028810_PS_UCP_MODE(x) (((unsigned)(x) & 0x03) << 14) argument
6998 #define G_028810_PS_UCP_MODE(x) (((x) >> 14) & 0x03) argument
7000 #define S_028810_CLIP_DISABLE(x) (((unsigned)(x) & 0x1) << 16) argument
7001 #define G_028810_CLIP_DISABLE(x) (((x) >> 16) & 0x1) argument
7003 #define S_028810_UCP_CULL_ONLY_ENA(x) (((unsigned)(x) & 0x1) << 17) argument
7004 #define G_028810_UCP_CULL_ONLY_ENA(x) (((x) >> 17) & 0x1) argument
7006 #define S_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((unsigned)(x) & 0x1) << 18) argument
7007 #define G_028810_BOUNDARY_EDGE_FLAG_ENA(x) (((x) >> 18) & 0x1) argument
7009 #define S_028810_DX_CLIP_SPACE_DEF(x) (((unsigned)(x) & 0x1) << 19) argument
7010 #define G_028810_DX_CLIP_SPACE_DEF(x) (((x) >> 19) & 0x1) argument
7012 #define S_028810_DIS_CLIP_ERR_DETECT(x) (((unsigned)(x) & 0x1) << 20) argument
7013 #define G_028810_DIS_CLIP_ERR_DETECT(x) (((x) >> 20) & 0x1) argument
7015 #define S_028810_VTX_KILL_OR(x) (((unsigned)(x) & 0x1) << 21) argument
7016 #define G_028810_VTX_KILL_OR(x) (((x) >> 21) & 0x1) argument
7018 #define S_028810_DX_RASTERIZATION_KILL(x) (((unsigned)(x) & 0x1) << 22) argument
7019 #define G_028810_DX_RASTERIZATION_KILL(x) (((x) >> 22) & 0x1) argument
7021 #define S_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
7022 #define G_028810_DX_LINEAR_ATTR_CLIP_ENA(x) (((x) >> 24) & 0x1) argument
7024 #define S_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((unsigned)(x) & 0x1) << 25) argument
7025 #define G_028810_VTE_VPORT_PROVOKE_DISABLE(x) (((x) >> 25) & 0x1) argument
7027 #define S_028810_ZCLIP_NEAR_DISABLE(x) (((unsigned)(x) & 0x1) << 26) argument
7028 #define G_028810_ZCLIP_NEAR_DISABLE(x) (((x) >> 26) & 0x1) argument
7030 #define S_028810_ZCLIP_FAR_DISABLE(x) (((unsigned)(x) & 0x1) << 27) argument
7031 #define G_028810_ZCLIP_FAR_DISABLE(x) (((x) >> 27) & 0x1) argument
7034 #define S_028814_CULL_FRONT(x) (((unsigned)(x) & 0x1) << 0) argument
7035 #define G_028814_CULL_FRONT(x) (((x) >> 0) & 0x1) argument
7037 #define S_028814_CULL_BACK(x) (((unsigned)(x) & 0x1) << 1) argument
7038 #define G_028814_CULL_BACK(x) (((x) >> 1) & 0x1) argument
7040 #define S_028814_FACE(x) (((unsigned)(x) & 0x1) << 2) argument
7041 #define G_028814_FACE(x) (((x) >> 2) & 0x1) argument
7043 #define S_028814_POLY_MODE(x) (((unsigned)(x) & 0x03) << 3) argument
7044 #define G_028814_POLY_MODE(x) (((x) >> 3) & 0x03) argument
7048 #define S_028814_POLYMODE_FRONT_PTYPE(x) (((unsigned)(x) & 0x07) << 5) argument
7049 #define G_028814_POLYMODE_FRONT_PTYPE(x) (((x) >> 5) & 0x07) argument
7054 #define S_028814_POLYMODE_BACK_PTYPE(x) (((unsigned)(x) & 0x07) << 8) argument
7055 #define G_028814_POLYMODE_BACK_PTYPE(x) (((x) >> 8) & 0x07) argument
7060 #define S_028814_POLY_OFFSET_FRONT_ENABLE(x) (((unsigned)(x) & 0x1) << 11) argument
7061 #define G_028814_POLY_OFFSET_FRONT_ENABLE(x) (((x) >> 11) & 0x1) argument
7063 #define S_028814_POLY_OFFSET_BACK_ENABLE(x) (((unsigned)(x) & 0x1) << 12) argument
7064 #define G_028814_POLY_OFFSET_BACK_ENABLE(x) (((x) >> 12) & 0x1) argument
7066 #define S_028814_POLY_OFFSET_PARA_ENABLE(x) (((unsigned)(x) & 0x1) << 13) argument
7067 #define G_028814_POLY_OFFSET_PARA_ENABLE(x) (((x) >> 13) & 0x1) argument
7069 #define S_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((unsigned)(x) & 0x1) << 16) argument
7070 #define G_028814_VTX_WINDOW_OFFSET_ENABLE(x) (((x) >> 16) & 0x1) argument
7072 #define S_028814_PROVOKING_VTX_LAST(x) (((unsigned)(x) & 0x1) << 19) argument
7073 #define G_028814_PROVOKING_VTX_LAST(x) (((x) >> 19) & 0x1) argument
7075 #define S_028814_PERSP_CORR_DIS(x) (((unsigned)(x) & 0x1) << 20) argument
7076 #define G_028814_PERSP_CORR_DIS(x) (((x) >> 20) & 0x1) argument
7078 #define S_028814_MULTI_PRIM_IB_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
7079 #define G_028814_MULTI_PRIM_IB_ENA(x) (((x) >> 21) & 0x1) argument
7082 #define S_028818_VPORT_X_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 0) argument
7083 #define G_028818_VPORT_X_SCALE_ENA(x) (((x) >> 0) & 0x1) argument
7085 #define S_028818_VPORT_X_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 1) argument
7086 #define G_028818_VPORT_X_OFFSET_ENA(x) (((x) >> 1) & 0x1) argument
7088 #define S_028818_VPORT_Y_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 2) argument
7089 #define G_028818_VPORT_Y_SCALE_ENA(x) (((x) >> 2) & 0x1) argument
7091 #define S_028818_VPORT_Y_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 3) argument
7092 #define G_028818_VPORT_Y_OFFSET_ENA(x) (((x) >> 3) & 0x1) argument
7094 #define S_028818_VPORT_Z_SCALE_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
7095 #define G_028818_VPORT_Z_SCALE_ENA(x) (((x) >> 4) & 0x1) argument
7097 #define S_028818_VPORT_Z_OFFSET_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
7098 #define G_028818_VPORT_Z_OFFSET_ENA(x) (((x) >> 5) & 0x1) argument
7100 #define S_028818_VTX_XY_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
7101 #define G_028818_VTX_XY_FMT(x) (((x) >> 8) & 0x1) argument
7103 #define S_028818_VTX_Z_FMT(x) (((unsigned)(x) & 0x1) << 9) argument
7104 #define G_028818_VTX_Z_FMT(x) (((x) >> 9) & 0x1) argument
7106 #define S_028818_VTX_W0_FMT(x) (((unsigned)(x) & 0x1) << 10) argument
7107 #define G_028818_VTX_W0_FMT(x) (((x) >> 10) & 0x1) argument
7110 #define S_02881C_CLIP_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 0) argument
7111 #define G_02881C_CLIP_DIST_ENA_0(x) (((x) >> 0) & 0x1) argument
7113 #define S_02881C_CLIP_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 1) argument
7114 #define G_02881C_CLIP_DIST_ENA_1(x) (((x) >> 1) & 0x1) argument
7116 #define S_02881C_CLIP_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 2) argument
7117 #define G_02881C_CLIP_DIST_ENA_2(x) (((x) >> 2) & 0x1) argument
7119 #define S_02881C_CLIP_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 3) argument
7120 #define G_02881C_CLIP_DIST_ENA_3(x) (((x) >> 3) & 0x1) argument
7122 #define S_02881C_CLIP_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 4) argument
7123 #define G_02881C_CLIP_DIST_ENA_4(x) (((x) >> 4) & 0x1) argument
7125 #define S_02881C_CLIP_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 5) argument
7126 #define G_02881C_CLIP_DIST_ENA_5(x) (((x) >> 5) & 0x1) argument
7128 #define S_02881C_CLIP_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 6) argument
7129 #define G_02881C_CLIP_DIST_ENA_6(x) (((x) >> 6) & 0x1) argument
7131 #define S_02881C_CLIP_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 7) argument
7132 #define G_02881C_CLIP_DIST_ENA_7(x) (((x) >> 7) & 0x1) argument
7134 #define S_02881C_CULL_DIST_ENA_0(x) (((unsigned)(x) & 0x1) << 8) argument
7135 #define G_02881C_CULL_DIST_ENA_0(x) (((x) >> 8) & 0x1) argument
7137 #define S_02881C_CULL_DIST_ENA_1(x) (((unsigned)(x) & 0x1) << 9) argument
7138 #define G_02881C_CULL_DIST_ENA_1(x) (((x) >> 9) & 0x1) argument
7140 #define S_02881C_CULL_DIST_ENA_2(x) (((unsigned)(x) & 0x1) << 10) argument
7141 #define G_02881C_CULL_DIST_ENA_2(x) (((x) >> 10) & 0x1) argument
7143 #define S_02881C_CULL_DIST_ENA_3(x) (((unsigned)(x) & 0x1) << 11) argument
7144 #define G_02881C_CULL_DIST_ENA_3(x) (((x) >> 11) & 0x1) argument
7146 #define S_02881C_CULL_DIST_ENA_4(x) (((unsigned)(x) & 0x1) << 12) argument
7147 #define G_02881C_CULL_DIST_ENA_4(x) (((x) >> 12) & 0x1) argument
7149 #define S_02881C_CULL_DIST_ENA_5(x) (((unsigned)(x) & 0x1) << 13) argument
7150 #define G_02881C_CULL_DIST_ENA_5(x) (((x) >> 13) & 0x1) argument
7152 #define S_02881C_CULL_DIST_ENA_6(x) (((unsigned)(x) & 0x1) << 14) argument
7153 #define G_02881C_CULL_DIST_ENA_6(x) (((x) >> 14) & 0x1) argument
7155 #define S_02881C_CULL_DIST_ENA_7(x) (((unsigned)(x) & 0x1) << 15) argument
7156 #define G_02881C_CULL_DIST_ENA_7(x) (((x) >> 15) & 0x1) argument
7158 #define S_02881C_USE_VTX_POINT_SIZE(x) (((unsigned)(x) & 0x1) << 16) argument
7159 #define G_02881C_USE_VTX_POINT_SIZE(x) (((x) >> 16) & 0x1) argument
7161 #define S_02881C_USE_VTX_EDGE_FLAG(x) (((unsigned)(x) & 0x1) << 17) argument
7162 #define G_02881C_USE_VTX_EDGE_FLAG(x) (((x) >> 17) & 0x1) argument
7164 #define S_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((unsigned)(x) & 0x1) << 18) argument
7165 #define G_02881C_USE_VTX_RENDER_TARGET_INDX(x) (((x) >> 18) & 0x1) argument
7167 #define S_02881C_USE_VTX_VIEWPORT_INDX(x) (((unsigned)(x) & 0x1) << 19) argument
7168 #define G_02881C_USE_VTX_VIEWPORT_INDX(x) (((x) >> 19) & 0x1) argument
7170 #define S_02881C_USE_VTX_KILL_FLAG(x) (((unsigned)(x) & 0x1) << 20) argument
7171 #define G_02881C_USE_VTX_KILL_FLAG(x) (((x) >> 20) & 0x1) argument
7173 #define S_02881C_VS_OUT_MISC_VEC_ENA(x) (((unsigned)(x) & 0x1) << 21) argument
7174 #define G_02881C_VS_OUT_MISC_VEC_ENA(x) (((x) >> 21) & 0x1) argument
7176 #define S_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((unsigned)(x) & 0x1) << 22) argument
7177 #define G_02881C_VS_OUT_CCDIST0_VEC_ENA(x) (((x) >> 22) & 0x1) argument
7179 #define S_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((unsigned)(x) & 0x1) << 23) argument
7180 #define G_02881C_VS_OUT_CCDIST1_VEC_ENA(x) (((x) >> 23) & 0x1) argument
7182 #define S_02881C_VS_OUT_MISC_SIDE_BUS_ENA(x) (((unsigned)(x) & 0x1) << 24) argument
7183 #define G_02881C_VS_OUT_MISC_SIDE_BUS_ENA(x) (((x) >> 24) & 0x1) argument
7185 #define S_02881C_USE_VTX_GS_CUT_FLAG(x) (((unsigned)(x) & 0x1) << 25) argument
7186 #define G_02881C_USE_VTX_GS_CUT_FLAG(x) (((x) >> 25) & 0x1) argument
7189 #define S_02881C_USE_VTX_LINE_WIDTH(x) (((unsigned)(x) & 0x1) << 26) argument
7190 #define G_02881C_USE_VTX_LINE_WIDTH(x) (((x) >> 26) & 0x1) argument
7194 #define S_028820_VTE_XY_INF_DISCARD(x) (((unsigned)(x) & 0x1) << 0) argument
7195 #define G_028820_VTE_XY_INF_DISCARD(x) (((x) >> 0) & 0x1) argument
7197 #define S_028820_VTE_Z_INF_DISCARD(x) (((unsigned)(x) & 0x1) << 1) argument
7198 #define G_028820_VTE_Z_INF_DISCARD(x) (((x) >> 1) & 0x1) argument
7200 #define S_028820_VTE_W_INF_DISCARD(x) (((unsigned)(x) & 0x1) << 2) argument
7201 #define G_028820_VTE_W_INF_DISCARD(x) (((x) >> 2) & 0x1) argument
7203 #define S_028820_VTE_0XNANINF_IS_0(x) (((unsigned)(x) & 0x1) << 3) argument
7204 #define G_028820_VTE_0XNANINF_IS_0(x) (((x) >> 3) & 0x1) argument
7206 #define S_028820_VTE_XY_NAN_RETAIN(x) (((unsigned)(x) & 0x1) << 4) argument
7207 #define G_028820_VTE_XY_NAN_RETAIN(x) (((x) >> 4) & 0x1) argument
7209 #define S_028820_VTE_Z_NAN_RETAIN(x) (((unsigned)(x) & 0x1) << 5) argument
7210 #define G_028820_VTE_Z_NAN_RETAIN(x) (((x) >> 5) & 0x1) argument
7212 #define S_028820_VTE_W_NAN_RETAIN(x) (((unsigned)(x) & 0x1) << 6) argument
7213 #define G_028820_VTE_W_NAN_RETAIN(x) (((x) >> 6) & 0x1) argument
7215 #define S_028820_VTE_W_RECIP_NAN_IS_0(x) (((unsigned)(x) & 0x1) << 7) argument
7216 #define G_028820_VTE_W_RECIP_NAN_IS_0(x) (((x) >> 7) & 0x1) argument
7218 #define S_028820_VS_XY_NAN_TO_INF(x) (((unsigned)(x) & 0x1) << 8) argument
7219 #define G_028820_VS_XY_NAN_TO_INF(x) (((x) >> 8) & 0x1) argument
7221 #define S_028820_VS_XY_INF_RETAIN(x) (((unsigned)(x) & 0x1) << 9) argument
7222 #define G_028820_VS_XY_INF_RETAIN(x) (((x) >> 9) & 0x1) argument
7224 #define S_028820_VS_Z_NAN_TO_INF(x) (((unsigned)(x) & 0x1) << 10) argument
7225 #define G_028820_VS_Z_NAN_TO_INF(x) (((x) >> 10) & 0x1) argument
7227 #define S_028820_VS_Z_INF_RETAIN(x) (((unsigned)(x) & 0x1) << 11) argument
7228 #define G_028820_VS_Z_INF_RETAIN(x) (((x) >> 11) & 0x1) argument
7230 #define S_028820_VS_W_NAN_TO_INF(x) (((unsigned)(x) & 0x1) << 12) argument
7231 #define G_028820_VS_W_NAN_TO_INF(x) (((x) >> 12) & 0x1) argument
7233 #define S_028820_VS_W_INF_RETAIN(x) (((unsigned)(x) & 0x1) << 13) argument
7234 #define G_028820_VS_W_INF_RETAIN(x) (((x) >> 13) & 0x1) argument
7236 #define S_028820_VS_CLIP_DIST_INF_DISCARD(x) (((unsigned)(x) & 0x1) << 14) argument
7237 #define G_028820_VS_CLIP_DIST_INF_DISCARD(x) (((x) >> 14) & 0x1) argument
7239 #define S_028820_VTE_NO_OUTPUT_NEG_0(x) (((unsigned)(x) & 0x1) << 20) argument
7240 #define G_028820_VTE_NO_OUTPUT_NEG_0(x) (((x) >> 20) & 0x1) argument
7243 #define S_028824_LINE_STIPPLE_RESET(x) (((unsigned)(x) & 0x03) << 0) argument
7244 #define G_028824_LINE_STIPPLE_RESET(x) (((x) >> 0) & 0x03) argument
7246 #define S_028824_EXPAND_FULL_LENGTH(x) (((unsigned)(x) & 0x1) << 2) argument
7247 #define G_028824_EXPAND_FULL_LENGTH(x) (((x) >> 2) & 0x1) argument
7249 #define S_028824_FRACTIONAL_ACCUM(x) (((unsigned)(x) & 0x1) << 3) argument
7250 #define G_028824_FRACTIONAL_ACCUM(x) (((x) >> 3) & 0x1) argument
7252 #define S_028824_DIAMOND_ADJUST(x) (((unsigned)(x) & 0x1) << 4) argument
7253 #define G_028824_DIAMOND_ADJUST(x) (((x) >> 4) & 0x1) argument
7257 #define S_02882C_TRIANGLE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
7258 #define G_02882C_TRIANGLE_FILTER_DISABLE(x) (((x) >> 0) & 0x1) argument
7260 #define S_02882C_LINE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 1) argument
7261 #define G_02882C_LINE_FILTER_DISABLE(x) (((x) >> 1) & 0x1) argument
7263 #define S_02882C_POINT_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 2) argument
7264 #define G_02882C_POINT_FILTER_DISABLE(x) (((x) >> 2) & 0x1) argument
7266 #define S_02882C_RECTANGLE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 3) argument
7267 #define G_02882C_RECTANGLE_FILTER_DISABLE(x) (((x) >> 3) & 0x1) argument
7269 #define S_02882C_TRIANGLE_EXPAND_ENA(x) (((unsigned)(x) & 0x1) << 4) argument
7270 #define G_02882C_TRIANGLE_EXPAND_ENA(x) (((x) >> 4) & 0x1) argument
7272 #define S_02882C_LINE_EXPAND_ENA(x) (((unsigned)(x) & 0x1) << 5) argument
7273 #define G_02882C_LINE_EXPAND_ENA(x) (((x) >> 5) & 0x1) argument
7275 #define S_02882C_POINT_EXPAND_ENA(x) (((unsigned)(x) & 0x1) << 6) argument
7276 #define G_02882C_POINT_EXPAND_ENA(x) (((x) >> 6) & 0x1) argument
7278 #define S_02882C_RECTANGLE_EXPAND_ENA(x) (((unsigned)(x) & 0x1) << 7) argument
7279 #define G_02882C_RECTANGLE_EXPAND_ENA(x) (((x) >> 7) & 0x1) argument
7281 #define S_02882C_PRIM_EXPAND_CONSTANT(x) (((unsigned)(x) & 0xFF) << 8) argument
7282 #define G_02882C_PRIM_EXPAND_CONSTANT(x) (((x) >> 8) & 0xFF) argument
7285 #define S_02882C_XMAX_RIGHT_EXCLUSION(x) (((unsigned)(x) & 0x1) << 30) argument
7286 #define G_02882C_XMAX_RIGHT_EXCLUSION(x) (((x) >> 30) & 0x1) argument
7288 #define S_02882C_YMAX_BOTTOM_EXCLUSION(x) (((unsigned)(x) & 0x1) << 31) argument
7289 #define G_02882C_YMAX_BOTTOM_EXCLUSION(x) (((x) >> 31) & 0x1) argument
7293 #define S_028830_SMALL_PRIM_FILTER_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
7294 #define G_028830_SMALL_PRIM_FILTER_ENABLE(x) (((x) >> 0) & 0x1) argument
7296 #define S_028830_TRIANGLE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 1) argument
7297 #define G_028830_TRIANGLE_FILTER_DISABLE(x) (((x) >> 1) & 0x1) argument
7299 #define S_028830_LINE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 2) argument
7300 #define G_028830_LINE_FILTER_DISABLE(x) (((x) >> 2) & 0x1) argument
7302 #define S_028830_POINT_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 3) argument
7303 #define G_028830_POINT_FILTER_DISABLE(x) (((x) >> 3) & 0x1) argument
7305 #define S_028830_RECTANGLE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 4) argument
7306 #define G_028830_RECTANGLE_FILTER_DISABLE(x) (((x) >> 4) & 0x1) argument
7309 #define S_028A00_HEIGHT(x) (((unsigned)(x) & 0xFFFF) << … argument
7310 #define G_028A00_HEIGHT(x) (((x) >> 0) & 0xFFFF) argument
7312 #define S_028A00_WIDTH(x) (((unsigned)(x) & 0xFFFF) << … argument
7313 #define G_028A00_WIDTH(x) (((x) >> 16) & 0xFFFF) argument
7316 #define S_028A04_MIN_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
7317 #define G_028A04_MIN_SIZE(x) (((x) >> 0) & 0xFFFF) argument
7319 #define S_028A04_MAX_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
7320 #define G_028A04_MAX_SIZE(x) (((x) >> 16) & 0xFFFF) argument
7323 #define S_028A08_WIDTH(x) (((unsigned)(x) & 0xFFFF) << … argument
7324 #define G_028A08_WIDTH(x) (((x) >> 0) & 0xFFFF) argument
7327 #define S_028A0C_LINE_PATTERN(x) (((unsigned)(x) & 0xFFFF) << … argument
7328 #define G_028A0C_LINE_PATTERN(x) (((x) >> 0) & 0xFFFF) argument
7330 #define S_028A0C_REPEAT_COUNT(x) (((unsigned)(x) & 0xFF) << 16) argument
7331 #define G_028A0C_REPEAT_COUNT(x) (((x) >> 16) & 0xFF) argument
7333 #define S_028A0C_PATTERN_BIT_ORDER(x) (((unsigned)(x) & 0x1) << 28) argument
7334 #define G_028A0C_PATTERN_BIT_ORDER(x) (((x) >> 28) & 0x1) argument
7336 #define S_028A0C_AUTO_RESET_CNTL(x) (((unsigned)(x) & 0x03) << 29) argument
7337 #define G_028A0C_AUTO_RESET_CNTL(x) (((x) >> 29) & 0x03) argument
7340 #define S_028A10_PATH_SELECT(x) (((unsigned)(x) & 0x07) << 0) argument
7341 #define G_028A10_PATH_SELECT(x) (((x) >> 0) & 0x07) argument
7349 #define S_028A14_TESS_MODE(x) (((unsigned)(x) & 0x03) << 0) argument
7350 #define G_028A14_TESS_MODE(x) (((x) >> 0) & 0x03) argument
7355 #define S_028A20_REUSE_DEPTH(x) (((unsigned)(x) & 0xFF) << 0) argument
7356 #define G_028A20_REUSE_DEPTH(x) (((x) >> 0) & 0xFF) argument
7359 #define S_028A24_PRIM_TYPE(x) (((unsigned)(x) & 0x1F) << 0) argument
7360 #define G_028A24_PRIM_TYPE(x) (((x) >> 0) & 0x1F) argument
7380 #define S_028A24_RETAIN_ORDER(x) (((unsigned)(x) & 0x1) << 14) argument
7381 #define G_028A24_RETAIN_ORDER(x) (((x) >> 14) & 0x1) argument
7383 #define S_028A24_RETAIN_QUADS(x) (((unsigned)(x) & 0x1) << 15) argument
7384 #define G_028A24_RETAIN_QUADS(x) (((x) >> 15) & 0x1) argument
7386 #define S_028A24_PRIM_ORDER(x) (((unsigned)(x) & 0x07) << 16) argument
7387 #define G_028A24_PRIM_ORDER(x) (((x) >> 16) & 0x07) argument
7395 #define S_028A28_FIRST_DECR(x) (((unsigned)(x) & 0x0F) << 0) argument
7396 #define G_028A28_FIRST_DECR(x) (((x) >> 0) & 0x0F) argument
7399 #define S_028A2C_DECR(x) (((unsigned)(x) & 0x0F) << 0) argument
7400 #define G_028A2C_DECR(x) (((x) >> 0) & 0x0F) argument
7403 #define S_028A30_COMP_X_EN(x) (((unsigned)(x) & 0x1) << 0) argument
7404 #define G_028A30_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
7406 #define S_028A30_COMP_Y_EN(x) (((unsigned)(x) & 0x1) << 1) argument
7407 #define G_028A30_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
7409 #define S_028A30_COMP_Z_EN(x) (((unsigned)(x) & 0x1) << 2) argument
7410 #define G_028A30_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
7412 #define S_028A30_COMP_W_EN(x) (((unsigned)(x) & 0x1) << 3) argument
7413 #define G_028A30_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
7415 #define S_028A30_STRIDE(x) (((unsigned)(x) & 0xFF) << 8) argument
7416 #define G_028A30_STRIDE(x) (((x) >> 8) & 0xFF) argument
7418 #define S_028A30_SHIFT(x) (((unsigned)(x) & 0xFF) << 16) argument
7419 #define G_028A30_SHIFT(x) (((x) >> 16) & 0xFF) argument
7422 #define S_028A34_COMP_X_EN(x) (((unsigned)(x) & 0x1) << 0) argument
7423 #define G_028A34_COMP_X_EN(x) (((x) >> 0) & 0x1) argument
7425 #define S_028A34_COMP_Y_EN(x) (((unsigned)(x) & 0x1) << 1) argument
7426 #define G_028A34_COMP_Y_EN(x) (((x) >> 1) & 0x1) argument
7428 #define S_028A34_COMP_Z_EN(x) (((unsigned)(x) & 0x1) << 2) argument
7429 #define G_028A34_COMP_Z_EN(x) (((x) >> 2) & 0x1) argument
7431 #define S_028A34_COMP_W_EN(x) (((unsigned)(x) & 0x1) << 3) argument
7432 #define G_028A34_COMP_W_EN(x) (((x) >> 3) & 0x1) argument
7434 #define S_028A34_STRIDE(x) (((unsigned)(x) & 0xFF) << 8) argument
7435 #define G_028A34_STRIDE(x) (((x) >> 8) & 0xFF) argument
7437 #define S_028A34_SHIFT(x) (((unsigned)(x) & 0xFF) << 16) argument
7438 #define G_028A34_SHIFT(x) (((x) >> 16) & 0xFF) argument
7441 #define S_028A38_X_CONV(x) (((unsigned)(x) & 0x0F) << 0) argument
7442 #define G_028A38_X_CONV(x) (((x) >> 0) & 0x0F) argument
7453 #define S_028A38_X_OFFSET(x) (((unsigned)(x) & 0x0F) << 4) argument
7454 #define G_028A38_X_OFFSET(x) (((x) >> 4) & 0x0F) argument
7456 #define S_028A38_Y_CONV(x) (((unsigned)(x) & 0x0F) << 8) argument
7457 #define G_028A38_Y_CONV(x) (((x) >> 8) & 0x0F) argument
7468 #define S_028A38_Y_OFFSET(x) (((unsigned)(x) & 0x0F) << 12) argument
7469 #define G_028A38_Y_OFFSET(x) (((x) >> 12) & 0x0F) argument
7471 #define S_028A38_Z_CONV(x) (((unsigned)(x) & 0x0F) << 16) argument
7472 #define G_028A38_Z_CONV(x) (((x) >> 16) & 0x0F) argument
7483 #define S_028A38_Z_OFFSET(x) (((unsigned)(x) & 0x0F) << 20) argument
7484 #define G_028A38_Z_OFFSET(x) (((x) >> 20) & 0x0F) argument
7486 #define S_028A38_W_CONV(x) (((unsigned)(x) & 0x0F) << 24) argument
7487 #define G_028A38_W_CONV(x) (((x) >> 24) & 0x0F) argument
7498 #define S_028A38_W_OFFSET(x) (((unsigned)(x) & 0x0F) << 28) argument
7499 #define G_028A38_W_OFFSET(x) (((x) >> 28) & 0x0F) argument
7502 #define S_028A3C_X_CONV(x) (((unsigned)(x) & 0x0F) << 0) argument
7503 #define G_028A3C_X_CONV(x) (((x) >> 0) & 0x0F) argument
7514 #define S_028A3C_X_OFFSET(x) (((unsigned)(x) & 0x0F) << 4) argument
7515 #define G_028A3C_X_OFFSET(x) (((x) >> 4) & 0x0F) argument
7517 #define S_028A3C_Y_CONV(x) (((unsigned)(x) & 0x0F) << 8) argument
7518 #define G_028A3C_Y_CONV(x) (((x) >> 8) & 0x0F) argument
7529 #define S_028A3C_Y_OFFSET(x) (((unsigned)(x) & 0x0F) << 12) argument
7530 #define G_028A3C_Y_OFFSET(x) (((x) >> 12) & 0x0F) argument
7532 #define S_028A3C_Z_CONV(x) (((unsigned)(x) & 0x0F) << 16) argument
7533 #define G_028A3C_Z_CONV(x) (((x) >> 16) & 0x0F) argument
7544 #define S_028A3C_Z_OFFSET(x) (((unsigned)(x) & 0x0F) << 20) argument
7545 #define G_028A3C_Z_OFFSET(x) (((x) >> 20) & 0x0F) argument
7547 #define S_028A3C_W_CONV(x) (((unsigned)(x) & 0x0F) << 24) argument
7548 #define G_028A3C_W_CONV(x) (((x) >> 24) & 0x0F) argument
7559 #define S_028A3C_W_OFFSET(x) (((unsigned)(x) & 0x0F) << 28) argument
7560 #define G_028A3C_W_OFFSET(x) (((x) >> 28) & 0x0F) argument
7563 #define S_028A40_MODE(x) (((unsigned)(x) & 0x07) << 0) argument
7564 #define G_028A40_MODE(x) (((x) >> 0) & 0x07) argument
7572 #define S_028A40_RESERVED_0(x) (((unsigned)(x) & 0x1) << 3) argument
7573 #define G_028A40_RESERVED_0(x) (((x) >> 3) & 0x1) argument
7575 #define S_028A40_CUT_MODE(x) (((unsigned)(x) & 0x03) << 4) argument
7576 #define G_028A40_CUT_MODE(x) (((x) >> 4) & 0x03) argument
7582 #define S_028A40_RESERVED_1(x) (((unsigned)(x) & 0x1F) << 6) argument
7583 #define G_028A40_RESERVED_1(x) (((x) >> 6) & 0x1F) argument
7585 #define S_028A40_GS_C_PACK_EN(x) (((unsigned)(x) & 0x1) << 11) argument
7586 #define G_028A40_GS_C_PACK_EN(x) (((x) >> 11) & 0x1) argument
7588 #define S_028A40_RESERVED_2(x) (((unsigned)(x) & 0x1) << 12) argument
7589 #define G_028A40_RESERVED_2(x) (((x) >> 12) & 0x1) argument
7591 #define S_028A40_ES_PASSTHRU(x) (((unsigned)(x) & 0x1) << 13) argument
7592 #define G_028A40_ES_PASSTHRU(x) (((x) >> 13) & 0x1) argument
7595 #define S_028A40_COMPUTE_MODE(x) (((unsigned)(x) & 0x1) << 14) argument
7596 #define G_028A40_COMPUTE_MODE(x) (((x) >> 14) & 0x1) argument
7598 #define S_028A40_FAST_COMPUTE_MODE(x) (((unsigned)(x) & 0x1) << 15) argument
7599 #define G_028A40_FAST_COMPUTE_MODE(x) (((x) >> 15) & 0x1) argument
7601 #define S_028A40_ELEMENT_INFO_EN(x) (((unsigned)(x) & 0x1) << 16) argument
7602 #define G_028A40_ELEMENT_INFO_EN(x) (((x) >> 16) & 0x1) argument
7605 #define S_028A40_PARTIAL_THD_AT_EOI(x) (((unsigned)(x) & 0x1) << 17) argument
7606 #define G_028A40_PARTIAL_THD_AT_EOI(x) (((x) >> 17) & 0x1) argument
7608 #define S_028A40_SUPPRESS_CUTS(x) (((unsigned)(x) & 0x1) << 18) argument
7609 #define G_028A40_SUPPRESS_CUTS(x) (((x) >> 18) & 0x1) argument
7611 #define S_028A40_ES_WRITE_OPTIMIZE(x) (((unsigned)(x) & 0x1) << 19) argument
7612 #define G_028A40_ES_WRITE_OPTIMIZE(x) (((x) >> 19) & 0x1) argument
7614 #define S_028A40_GS_WRITE_OPTIMIZE(x) (((unsigned)(x) & 0x1) << 20) argument
7615 #define G_028A40_GS_WRITE_OPTIMIZE(x) (((x) >> 20) & 0x1) argument
7618 #define S_028A40_ONCHIP(x) (((unsigned)(x) & 0x03) << 21) argument
7619 #define G_028A40_ONCHIP(x) (((x) >> 21) & 0x03) argument
7624 #define S_028A44_ES_VERTS_PER_SUBGRP(x) (((unsigned)(x) & 0x7FF) << 0) argument
7625 #define G_028A44_ES_VERTS_PER_SUBGRP(x) (((x) >> 0) & 0x7FF) argument
7627 #define S_028A44_GS_PRIMS_PER_SUBGRP(x) (((unsigned)(x) & 0x7FF) << 1… argument
7628 #define G_028A44_GS_PRIMS_PER_SUBGRP(x) (((x) >> 11) & 0x7FF) argument
7632 #define S_028A48_MSAA_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
7633 #define G_028A48_MSAA_ENABLE(x) (((x) >> 0) & 0x1) argument
7635 #define S_028A48_VPORT_SCISSOR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
7636 #define G_028A48_VPORT_SCISSOR_ENABLE(x) (((x) >> 1) & 0x1) argument
7638 #define S_028A48_LINE_STIPPLE_ENABLE(x) (((unsigned)(x) & 0x1) << 2) argument
7639 #define G_028A48_LINE_STIPPLE_ENABLE(x) (((x) >> 2) & 0x1) argument
7641 #define S_028A48_SEND_UNLIT_STILES_TO_PKR(x) (((unsigned)(x) & 0x1) << 3) argument
7642 #define G_028A48_SEND_UNLIT_STILES_TO_PKR(x) (((x) >> 3) & 0x1) argument
7645 #define S_028A4C_WALK_SIZE(x) (((unsigned)(x) & 0x1) << 0) argument
7646 #define G_028A4C_WALK_SIZE(x) (((x) >> 0) & 0x1) argument
7648 #define S_028A4C_WALK_ALIGNMENT(x) (((unsigned)(x) & 0x1) << 1) argument
7649 #define G_028A4C_WALK_ALIGNMENT(x) (((x) >> 1) & 0x1) argument
7651 #define S_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((unsigned)(x) & 0x1) << 2) argument
7652 #define G_028A4C_WALK_ALIGN8_PRIM_FITS_ST(x) (((x) >> 2) & 0x1) argument
7654 #define S_028A4C_WALK_FENCE_ENABLE(x) (((unsigned)(x) & 0x1) << 3) argument
7655 #define G_028A4C_WALK_FENCE_ENABLE(x) (((x) >> 3) & 0x1) argument
7657 #define S_028A4C_WALK_FENCE_SIZE(x) (((unsigned)(x) & 0x07) << 4) argument
7658 #define G_028A4C_WALK_FENCE_SIZE(x) (((x) >> 4) & 0x07) argument
7660 #define S_028A4C_SUPERTILE_WALK_ORDER_ENABLE(x) (((unsigned)(x) & 0x1) << 7) argument
7661 #define G_028A4C_SUPERTILE_WALK_ORDER_ENABLE(x) (((x) >> 7) & 0x1) argument
7663 #define S_028A4C_TILE_WALK_ORDER_ENABLE(x) (((unsigned)(x) & 0x1) << 8) argument
7664 #define G_028A4C_TILE_WALK_ORDER_ENABLE(x) (((x) >> 8) & 0x1) argument
7666 #define S_028A4C_TILE_COVER_DISABLE(x) (((unsigned)(x) & 0x1) << 9) argument
7667 #define G_028A4C_TILE_COVER_DISABLE(x) (((x) >> 9) & 0x1) argument
7669 #define S_028A4C_TILE_COVER_NO_SCISSOR(x) (((unsigned)(x) & 0x1) << 10) argument
7670 #define G_028A4C_TILE_COVER_NO_SCISSOR(x) (((x) >> 10) & 0x1) argument
7672 #define S_028A4C_ZMM_LINE_EXTENT(x) (((unsigned)(x) & 0x1) << 11) argument
7673 #define G_028A4C_ZMM_LINE_EXTENT(x) (((x) >> 11) & 0x1) argument
7675 #define S_028A4C_ZMM_LINE_OFFSET(x) (((unsigned)(x) & 0x1) << 12) argument
7676 #define G_028A4C_ZMM_LINE_OFFSET(x) (((x) >> 12) & 0x1) argument
7678 #define S_028A4C_ZMM_RECT_EXTENT(x) (((unsigned)(x) & 0x1) << 13) argument
7679 #define G_028A4C_ZMM_RECT_EXTENT(x) (((x) >> 13) & 0x1) argument
7681 #define S_028A4C_KILL_PIX_POST_HI_Z(x) (((unsigned)(x) & 0x1) << 14) argument
7682 #define G_028A4C_KILL_PIX_POST_HI_Z(x) (((x) >> 14) & 0x1) argument
7684 #define S_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((unsigned)(x) & 0x1) << 15) argument
7685 #define G_028A4C_KILL_PIX_POST_DETAIL_MASK(x) (((x) >> 15) & 0x1) argument
7687 #define S_028A4C_PS_ITER_SAMPLE(x) (((unsigned)(x) & 0x1) << 16) argument
7688 #define G_028A4C_PS_ITER_SAMPLE(x) (((x) >> 16) & 0x1) argument
7690 #define S_028A4C_MULTI_SHADER_ENGINE_PRIM_DISCARD_ENABLE(x) (((unsigned)(x) & 0x1) << 17) argument
7691 #define G_028A4C_MULTI_SHADER_ENGINE_PRIM_DISCARD_ENABLE(x) (((x) >> 17) & 0x1) argument
7693 #define S_028A4C_MULTI_GPU_SUPERTILE_ENABLE(x) (((unsigned)(x) & 0x1) << 18) argument
7694 #define G_028A4C_MULTI_GPU_SUPERTILE_ENABLE(x) (((x) >> 18) & 0x1) argument
7696 #define S_028A4C_GPU_ID_OVERRIDE_ENABLE(x) (((unsigned)(x) & 0x1) << 19) argument
7697 #define G_028A4C_GPU_ID_OVERRIDE_ENABLE(x) (((x) >> 19) & 0x1) argument
7699 #define S_028A4C_GPU_ID_OVERRIDE(x) (((unsigned)(x) & 0x0F) << 20) argument
7700 #define G_028A4C_GPU_ID_OVERRIDE(x) (((x) >> 20) & 0x0F) argument
7702 #define S_028A4C_MULTI_GPU_PRIM_DISCARD_ENABLE(x) (((unsigned)(x) & 0x1) << 24) argument
7703 #define G_028A4C_MULTI_GPU_PRIM_DISCARD_ENABLE(x) (((x) >> 24) & 0x1) argument
7705 #define S_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((unsigned)(x) & 0x1) << 25) argument
7706 #define G_028A4C_FORCE_EOV_CNTDWN_ENABLE(x) (((x) >> 25) & 0x1) argument
7708 #define S_028A4C_FORCE_EOV_REZ_ENABLE(x) (((unsigned)(x) & 0x1) << 26) argument
7709 #define G_028A4C_FORCE_EOV_REZ_ENABLE(x) (((x) >> 26) & 0x1) argument
7711 #define S_028A4C_OUT_OF_ORDER_PRIMITIVE_ENABLE(x) (((unsigned)(x) & 0x1) << 27) argument
7712 #define G_028A4C_OUT_OF_ORDER_PRIMITIVE_ENABLE(x) (((x) >> 27) & 0x1) argument
7714 #define S_028A4C_OUT_OF_ORDER_WATER_MARK(x) (((unsigned)(x) & 0x07) << 28) argument
7715 #define G_028A4C_OUT_OF_ORDER_WATER_MARK(x) (((x) >> 28) & 0x07) argument
7719 #define S_028A54_GS_PER_ES(x) (((unsigned)(x) & 0x7FF) << 0) argument
7720 #define G_028A54_GS_PER_ES(x) (((x) >> 0) & 0x7FF) argument
7723 #define S_028A58_ES_PER_GS(x) (((unsigned)(x) & 0x7FF) << 0) argument
7724 #define G_028A58_ES_PER_GS(x) (((x) >> 0) & 0x7FF) argument
7727 #define S_028A5C_GS_PER_VS(x) (((unsigned)(x) & 0x0F) << 0) argument
7728 #define G_028A5C_GS_PER_VS(x) (((x) >> 0) & 0x0F) argument
7731 #define S_028A60_OFFSET(x) (((unsigned)(x) & 0x7FFF) << … argument
7732 #define G_028A60_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
7735 #define S_028A64_OFFSET(x) (((unsigned)(x) & 0x7FFF) << … argument
7736 #define G_028A64_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
7739 #define S_028A68_OFFSET(x) (((unsigned)(x) & 0x7FFF) << … argument
7740 #define G_028A68_OFFSET(x) (((x) >> 0) & 0x7FFF) argument
7743 #define S_028A6C_OUTPRIM_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
7744 #define G_028A6C_OUTPRIM_TYPE(x) (((x) >> 0) & 0x3F) argument
7749 #define S_028A6C_OUTPRIM_TYPE_1(x) (((unsigned)(x) & 0x3F) << 8) argument
7750 #define G_028A6C_OUTPRIM_TYPE_1(x) (((x) >> 8) & 0x3F) argument
7752 #define S_028A6C_OUTPRIM_TYPE_2(x) (((unsigned)(x) & 0x3F) << 16) argument
7753 #define G_028A6C_OUTPRIM_TYPE_2(x) (((x) >> 16) & 0x3F) argument
7755 #define S_028A6C_OUTPRIM_TYPE_3(x) (((unsigned)(x) & 0x3F) << 22) argument
7756 #define G_028A6C_OUTPRIM_TYPE_3(x) (((x) >> 22) & 0x3F) argument
7758 #define S_028A6C_UNIQUE_TYPE_PER_STREAM(x) (((unsigned)(x) & 0x1) << 31) argument
7759 #define G_028A6C_UNIQUE_TYPE_PER_STREAM(x) (((x) >> 31) & 0x1) argument
7765 #define S_028A7C_INDEX_TYPE(x) (((unsigned)(x) & 0x03) << 0) argument
7766 #define G_028A7C_INDEX_TYPE(x) (((x) >> 0) & 0x03) argument
7771 #define S_028A7C_SWAP_MODE(x) (((unsigned)(x) & 0x03) << 2) argument
7772 #define G_028A7C_SWAP_MODE(x) (((x) >> 2) & 0x03) argument
7779 #define S_028A7C_BUF_TYPE(x) (((unsigned)(x) & 0x03) << 4) argument
7780 #define G_028A7C_BUF_TYPE(x) (((x) >> 4) & 0x03) argument
7785 #define S_028A7C_RDREQ_POLICY_CIK(x) (((unsigned)(x) & 0x03) << 6) argument
7786 #define G_028A7C_RDREQ_POLICY_CIK(x) (((x) >> 6) & 0x03) argument
7790 #define S_028A7C_RDREQ_POLICY(x) (((unsigned)(x) & 0x1) << 6) … argument
7791 #define G_028A7C_RDREQ_POLICY(x) (((x) >> 6) & 0x1) argument
7793 #define S_028A7C_ATC(x) (((unsigned)(x) & 0x1) << 8) argument
7794 #define G_028A7C_ATC(x) (((x) >> 8) & 0x1) argument
7796 #define S_028A7C_NOT_EOP(x) (((unsigned)(x) & 0x1) << 9) argument
7797 #define G_028A7C_NOT_EOP(x) (((x) >> 9) & 0x1) argument
7799 #define S_028A7C_REQ_PATH(x) (((unsigned)(x) & 0x1) << 10) argument
7800 #define G_028A7C_REQ_PATH(x) (((x) >> 10) & 0x1) argument
7804 #define S_028A7C_MTYPE(x) (((unsigned)(x) & 0x03) << 11) argument
7805 #define G_028A7C_MTYPE(x) (((x) >> 11) & 0x03) argument
7811 #define S_028A84_PRIMITIVEID_EN(x) (((unsigned)(x) & 0x1) << 0) argument
7812 #define G_028A84_PRIMITIVEID_EN(x) (((x) >> 0) & 0x1) argument
7814 #define S_028A84_DISABLE_RESET_ON_EOI(x) (((unsigned)(x) & 0x1) << 1) … argument
7815 #define G_028A84_DISABLE_RESET_ON_EOI(x) (((x) >> 1) & 0x1) /* not on … argument
7820 #define S_028A90_EVENT_TYPE(x) (((unsigned)(x) & 0x3F) << 0) argument
7821 #define G_028A90_EVENT_TYPE(x) (((x) >> 0) & 0x3F) argument
7876 #define S_028A90_ADDRESS_HI_GFX6(x) (((unsigned)(x) & 0x1FF) << 1… argument
7877 #define G_028A90_ADDRESS_HI_GFX6(x) (((x) >> 18) & 0x1FF) argument
7879 #define S_028A90_EXTENDED_EVENT(x) (((unsigned)(x) & 0x1) << 27) argument
7880 #define G_028A90_EXTENDED_EVENT(x) (((x) >> 27) & 0x1) argument
7883 #define S_028A94_RESET_EN(x) (((unsigned)(x) & 0x1) << 0) argument
7884 #define G_028A94_RESET_EN(x) (((x) >> 0) & 0x1) argument
7889 #define S_028AA8_PRIMGROUP_SIZE(x) (((unsigned)(x) & 0xFFFF) << … argument
7890 #define G_028AA8_PRIMGROUP_SIZE(x) (((x) >> 0) & 0xFFFF) argument
7892 #define S_028AA8_PARTIAL_VS_WAVE_ON(x) (((unsigned)(x) & 0x1) << 16) argument
7893 #define G_028AA8_PARTIAL_VS_WAVE_ON(x) (((x) >> 16) & 0x1) argument
7895 #define S_028AA8_SWITCH_ON_EOP(x) (((unsigned)(x) & 0x1) << 17) argument
7896 #define G_028AA8_SWITCH_ON_EOP(x) (((x) >> 17) & 0x1) argument
7898 #define S_028AA8_PARTIAL_ES_WAVE_ON(x) (((unsigned)(x) & 0x1) << 18) argument
7899 #define G_028AA8_PARTIAL_ES_WAVE_ON(x) (((x) >> 18) & 0x1) argument
7901 #define S_028AA8_SWITCH_ON_EOI(x) (((unsigned)(x) & 0x1) << 19) argument
7902 #define G_028AA8_SWITCH_ON_EOI(x) (((x) >> 19) & 0x1) argument
7905 #define S_028AA8_WD_SWITCH_ON_EOP(x) (((unsigned)(x) & 0x1) << 20) argument
7906 #define G_028AA8_WD_SWITCH_ON_EOP(x) (((x) >> 20) & 0x1) argument
7909 #define S_028AA8_MAX_PRIMGRP_IN_WAVE(x) (((unsigned)(x) & 0x0F) << 28) argument
7910 #define G_028AA8_MAX_PRIMGRP_IN_WAVE(x) (((x) >> 28) & 0x0F) argument
7914 #define S_028AAC_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
7915 #define G_028AAC_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
7918 #define S_028AB0_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
7919 #define G_028AB0_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
7922 #define S_028AB4_REUSE_OFF(x) (((unsigned)(x) & 0x1) << 0) argument
7923 #define G_028AB4_REUSE_OFF(x) (((x) >> 0) & 0x1) argument
7926 #define S_028AB8_VTX_CNT_EN(x) (((unsigned)(x) & 0x1) << 0) argument
7927 #define G_028AB8_VTX_CNT_EN(x) (((x) >> 0) & 0x1) argument
7930 #define S_028ABC_LINEAR(x) (((unsigned)(x) & 0x1) << 0) argument
7931 #define G_028ABC_LINEAR(x) (((x) >> 0) & 0x1) argument
7933 #define S_028ABC_FULL_CACHE(x) (((unsigned)(x) & 0x1) << 1) argument
7934 #define G_028ABC_FULL_CACHE(x) (((x) >> 1) & 0x1) argument
7936 #define S_028ABC_HTILE_USES_PRELOAD_WIN(x) (((unsigned)(x) & 0x1) << 2) argument
7937 #define G_028ABC_HTILE_USES_PRELOAD_WIN(x) (((x) >> 2) & 0x1) argument
7939 #define S_028ABC_PRELOAD(x) (((unsigned)(x) & 0x1) << 3) argument
7940 #define G_028ABC_PRELOAD(x) (((x) >> 3) & 0x1) argument
7942 #define S_028ABC_PREFETCH_WIDTH(x) (((unsigned)(x) & 0x3F) << 4) argument
7943 #define G_028ABC_PREFETCH_WIDTH(x) (((x) >> 4) & 0x3F) argument
7945 #define S_028ABC_PREFETCH_HEIGHT(x) (((unsigned)(x) & 0x3F) << 10) argument
7946 #define G_028ABC_PREFETCH_HEIGHT(x) (((x) >> 10) & 0x3F) argument
7948 #define S_028ABC_DST_OUTSIDE_ZERO_TO_ONE(x) (((unsigned)(x) & 0x1) << 16) argument
7949 #define G_028ABC_DST_OUTSIDE_ZERO_TO_ONE(x) (((x) >> 16) & 0x1) argument
7952 #define S_028ABC_TC_COMPATIBLE(x) (((unsigned)(x) & 0x1) << 17) argument
7953 #define G_028ABC_TC_COMPATIBLE(x) (((x) >> 17) & 0x1) argument
7957 #define S_028AC0_COMPAREFUNC0(x) (((unsigned)(x) & 0x07) << 0) argument
7958 #define G_028AC0_COMPAREFUNC0(x) (((x) >> 0) & 0x07) argument
7968 #define S_028AC0_COMPAREVALUE0(x) (((unsigned)(x) & 0xFF) << 4) argument
7969 #define G_028AC0_COMPAREVALUE0(x) (((x) >> 4) & 0xFF) argument
7971 #define S_028AC0_COMPAREMASK0(x) (((unsigned)(x) & 0xFF) << 12) argument
7972 #define G_028AC0_COMPAREMASK0(x) (((x) >> 12) & 0xFF) argument
7974 #define S_028AC0_ENABLE0(x) (((unsigned)(x) & 0x1) << 24) argument
7975 #define G_028AC0_ENABLE0(x) (((x) >> 24) & 0x1) argument
7978 #define S_028AC4_COMPAREFUNC1(x) (((unsigned)(x) & 0x07) << 0) argument
7979 #define G_028AC4_COMPAREFUNC1(x) (((x) >> 0) & 0x07) argument
7989 #define S_028AC4_COMPAREVALUE1(x) (((unsigned)(x) & 0xFF) << 4) argument
7990 #define G_028AC4_COMPAREVALUE1(x) (((x) >> 4) & 0xFF) argument
7992 #define S_028AC4_COMPAREMASK1(x) (((unsigned)(x) & 0xFF) << 12) argument
7993 #define G_028AC4_COMPAREMASK1(x) (((x) >> 12) & 0xFF) argument
7995 #define S_028AC4_ENABLE1(x) (((unsigned)(x) & 0x1) << 24) argument
7996 #define G_028AC4_ENABLE1(x) (((x) >> 24) & 0x1) argument
7999 #define S_028AC8_START_X(x) (((unsigned)(x) & 0xFF) << 0) argument
8000 #define G_028AC8_START_X(x) (((x) >> 0) & 0xFF) argument
8002 #define S_028AC8_START_Y(x) (((unsigned)(x) & 0xFF) << 8) argument
8003 #define G_028AC8_START_Y(x) (((x) >> 8) & 0xFF) argument
8005 #define S_028AC8_MAX_X(x) (((unsigned)(x) & 0xFF) << 16) argument
8006 #define G_028AC8_MAX_X(x) (((x) >> 16) & 0xFF) argument
8008 #define S_028AC8_MAX_Y(x) (((unsigned)(x) & 0xFF) << 24) argument
8009 #define G_028AC8_MAX_Y(x) (((x) >> 24) & 0xFF) argument
8013 #define S_028AD4_STRIDE(x) (((unsigned)(x) & 0x3FF) << 0) argument
8014 #define G_028AD4_STRIDE(x) (((x) >> 0) & 0x3FF) argument
8019 #define S_028AE4_STRIDE(x) (((unsigned)(x) & 0x3FF) << 0) argument
8020 #define G_028AE4_STRIDE(x) (((x) >> 0) & 0x3FF) argument
8025 #define S_028AF4_STRIDE(x) (((unsigned)(x) & 0x3FF) << 0) argument
8026 #define G_028AF4_STRIDE(x) (((x) >> 0) & 0x3FF) argument
8031 #define S_028B04_STRIDE(x) (((unsigned)(x) & 0x3FF) << 0) argument
8032 #define G_028B04_STRIDE(x) (((x) >> 0) & 0x3FF) argument
8038 #define S_028B30_VERTEX_STRIDE(x) (((unsigned)(x) & 0x1FF) << 0) argument
8039 #define G_028B30_VERTEX_STRIDE(x) (((x) >> 0) & 0x1FF) argument
8042 #define S_028B38_MAX_VERT_OUT(x) (((unsigned)(x) & 0x7FF) << 0) argument
8043 #define G_028B38_MAX_VERT_OUT(x) (((x) >> 0) & 0x7FF) argument
8047 #define S_028B50_ACCUM_ISOLINE(x) (((unsigned)(x) & 0xFF) << 0) argument
8048 #define G_028B50_ACCUM_ISOLINE(x) (((x) >> 0) & 0xFF) argument
8050 #define S_028B50_ACCUM_TRI(x) (((unsigned)(x) & 0xFF) << 8) argument
8051 #define G_028B50_ACCUM_TRI(x) (((x) >> 8) & 0xFF) argument
8053 #define S_028B50_ACCUM_QUAD(x) (((unsigned)(x) & 0xFF) << 16) argument
8054 #define G_028B50_ACCUM_QUAD(x) (((x) >> 16) & 0xFF) argument
8056 #define S_028B50_DONUT_SPLIT(x) (((unsigned)(x) & 0x1F) << 24) argument
8057 #define G_028B50_DONUT_SPLIT(x) (((x) >> 24) & 0x1F) argument
8059 #define S_028B50_TRAP_SPLIT(x) (((unsigned)(x) & 0x07) << 29… argument
8060 #define G_028B50_TRAP_SPLIT(x) (((x) >> 29) & 0x07) argument
8064 #define S_028B54_LS_EN(x) (((unsigned)(x) & 0x03) << 0) argument
8065 #define G_028B54_LS_EN(x) (((x) >> 0) & 0x03) argument
8070 #define S_028B54_HS_EN(x) (((unsigned)(x) & 0x1) << 2) argument
8071 #define G_028B54_HS_EN(x) (((x) >> 2) & 0x1) argument
8073 #define S_028B54_ES_EN(x) (((unsigned)(x) & 0x03) << 3) argument
8074 #define G_028B54_ES_EN(x) (((x) >> 3) & 0x03) argument
8079 #define S_028B54_GS_EN(x) (((unsigned)(x) & 0x1) << 5) argument
8080 #define G_028B54_GS_EN(x) (((x) >> 5) & 0x1) argument
8082 #define S_028B54_VS_EN(x) (((unsigned)(x) & 0x03) << 6) argument
8083 #define G_028B54_VS_EN(x) (((x) >> 6) & 0x03) argument
8088 #define S_028B54_DYNAMIC_HS(x) (((unsigned)(x) & 0x1) << 8) argument
8089 #define G_028B54_DYNAMIC_HS(x) (((x) >> 8) & 0x1) argument
8092 #define S_028B54_DISPATCH_DRAW_EN(x) (((unsigned)(x) & 0x1) << 9) argument
8093 #define G_028B54_DISPATCH_DRAW_EN(x) (((x) >> 9) & 0x1) argument
8095 #define S_028B54_DIS_DEALLOC_ACCUM_0(x) (((unsigned)(x) & 0x1) << 10) argument
8096 #define G_028B54_DIS_DEALLOC_ACCUM_0(x) (((x) >> 10) & 0x1) argument
8098 #define S_028B54_DIS_DEALLOC_ACCUM_1(x) (((unsigned)(x) & 0x1) << 11) argument
8099 #define G_028B54_DIS_DEALLOC_ACCUM_1(x) (((x) >> 11) & 0x1) argument
8101 #define S_028B54_VS_WAVE_ID_EN(x) (((unsigned)(x) & 0x1) << 12) argument
8102 #define G_028B54_VS_WAVE_ID_EN(x) (((x) >> 12) & 0x1) argument
8106 #define S_028B58_NUM_PATCHES(x) (((unsigned)(x) & 0xFF) << 0) argument
8107 #define G_028B58_NUM_PATCHES(x) (((x) >> 0) & 0xFF) argument
8109 #define S_028B58_HS_NUM_INPUT_CP(x) (((unsigned)(x) & 0x3F) << 8) argument
8110 #define G_028B58_HS_NUM_INPUT_CP(x) (((x) >> 8) & 0x3F) argument
8112 #define S_028B58_HS_NUM_OUTPUT_CP(x) (((unsigned)(x) & 0x3F) << 14) argument
8113 #define G_028B58_HS_NUM_OUTPUT_CP(x) (((x) >> 14) & 0x3F) argument
8116 #define S_028B5C_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
8117 #define G_028B5C_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
8120 #define S_028B60_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
8121 #define G_028B60_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
8124 #define S_028B64_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
8125 #define G_028B64_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
8128 #define S_028B68_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << … argument
8129 #define G_028B68_ITEMSIZE(x) (((x) >> 0) & 0x7FFF) argument
8132 #define S_028B6C_TYPE(x) (((unsigned)(x) & 0x03) << 0) argument
8133 #define G_028B6C_TYPE(x) (((x) >> 0) & 0x03) argument
8138 #define S_028B6C_PARTITIONING(x) (((unsigned)(x) & 0x07) << 2) argument
8139 #define G_028B6C_PARTITIONING(x) (((x) >> 2) & 0x07) argument
8145 #define S_028B6C_TOPOLOGY(x) (((unsigned)(x) & 0x07) << 5) argument
8146 #define G_028B6C_TOPOLOGY(x) (((x) >> 5) & 0x07) argument
8152 #define S_028B6C_RESERVED_REDUC_AXIS(x) (((unsigned)(x) & 0x1) << 8) … argument
8153 #define G_028B6C_RESERVED_REDUC_AXIS(x) (((x) >> 8) & 0x1) /* not on … argument
8155 #define S_028B6C_DEPRECATED(x) (((unsigned)(x) & 0x1) << 9) argument
8156 #define G_028B6C_DEPRECATED(x) (((x) >> 9) & 0x1) argument
8158 #define S_028B6C_NUM_DS_WAVES_PER_SIMD(x) (((unsigned)(x) & 0x0F) << 10) argument
8159 #define G_028B6C_NUM_DS_WAVES_PER_SIMD(x) (((x) >> 10) & 0x0F) argument
8161 #define S_028B6C_DISABLE_DONUTS(x) (((unsigned)(x) & 0x1) << 14) argument
8162 #define G_028B6C_DISABLE_DONUTS(x) (((x) >> 14) & 0x1) argument
8165 #define S_028B6C_RDREQ_POLICY_CIK(x) (((unsigned)(x) & 0x03) << 15) argument
8166 #define G_028B6C_RDREQ_POLICY_CIK(x) (((x) >> 15) & 0x03) argument
8173 #define S_028B6C_RDREQ_POLICY(x) (((unsigned)(x) & 0x1) << 15)… argument
8174 #define G_028B6C_RDREQ_POLICY(x) (((x) >> 15) & 0x1) argument
8176 #define S_028B6C_DISTRIBUTION_MODE(x) (((unsigned)(x) & 0x03) << 17) argument
8177 #define G_028B6C_DISTRIBUTION_MODE(x) (((x) >> 17) & 0x03) argument
8183 #define S_028B6C_MTYPE(x) (((unsigned)(x) & 0x03) << 19) argument
8184 #define G_028B6C_MTYPE(x) (((x) >> 19) & 0x03) argument
8188 #define S_028B70_ALPHA_TO_MASK_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
8189 #define G_028B70_ALPHA_TO_MASK_ENABLE(x) (((x) >> 0) & 0x1) argument
8191 #define S_028B70_ALPHA_TO_MASK_OFFSET0(x) (((unsigned)(x) & 0x03) << 8) argument
8192 #define G_028B70_ALPHA_TO_MASK_OFFSET0(x) (((x) >> 8) & 0x03) argument
8194 #define S_028B70_ALPHA_TO_MASK_OFFSET1(x) (((unsigned)(x) & 0x03) << 10) argument
8195 #define G_028B70_ALPHA_TO_MASK_OFFSET1(x) (((x) >> 10) & 0x03) argument
8197 #define S_028B70_ALPHA_TO_MASK_OFFSET2(x) (((unsigned)(x) & 0x03) << 12) argument
8198 #define G_028B70_ALPHA_TO_MASK_OFFSET2(x) (((x) >> 12) & 0x03) argument
8200 #define S_028B70_ALPHA_TO_MASK_OFFSET3(x) (((unsigned)(x) & 0x03) << 14) argument
8201 #define G_028B70_ALPHA_TO_MASK_OFFSET3(x) (((x) >> 14) & 0x03) argument
8203 #define S_028B70_OFFSET_ROUND(x) (((unsigned)(x) & 0x1) << 16) argument
8204 #define G_028B70_OFFSET_ROUND(x) (((x) >> 16) & 0x1) argument
8210 #define S_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((unsigned)(x) & 0xFF) << 0) argument
8211 #define G_028B78_POLY_OFFSET_NEG_NUM_DB_BITS(x) (((x) >> 0) & 0xFF) argument
8213 #define S_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((unsigned)(x) & 0x1) << 8) argument
8214 #define G_028B78_POLY_OFFSET_DB_IS_FLOAT_FMT(x) (((x) >> 8) & 0x1) argument
8222 #define S_028B90_ENABLE(x) (((unsigned)(x) & 0x1) << 0) argument
8223 #define G_028B90_ENABLE(x) (((x) >> 0) & 0x1) argument
8225 #define S_028B90_CNT(x) (((unsigned)(x) & 0x7F) << 2) argument
8226 #define G_028B90_CNT(x) (((x) >> 2) & 0x7F) argument
8229 #define S_028B94_STREAMOUT_0_EN(x) (((unsigned)(x) & 0x1) << 0) argument
8230 #define G_028B94_STREAMOUT_0_EN(x) (((x) >> 0) & 0x1) argument
8232 #define S_028B94_STREAMOUT_1_EN(x) (((unsigned)(x) & 0x1) << 1) argument
8233 #define G_028B94_STREAMOUT_1_EN(x) (((x) >> 1) & 0x1) argument
8235 #define S_028B94_STREAMOUT_2_EN(x) (((unsigned)(x) & 0x1) << 2) argument
8236 #define G_028B94_STREAMOUT_2_EN(x) (((x) >> 2) & 0x1) argument
8238 #define S_028B94_STREAMOUT_3_EN(x) (((unsigned)(x) & 0x1) << 3) argument
8239 #define G_028B94_STREAMOUT_3_EN(x) (((x) >> 3) & 0x1) argument
8241 #define S_028B94_RAST_STREAM(x) (((unsigned)(x) & 0x07) << 4) argument
8242 #define G_028B94_RAST_STREAM(x) (((x) >> 4) & 0x07) argument
8244 #define S_028B94_RAST_STREAM_MASK(x) (((unsigned)(x) & 0x0F) << 8) argument
8245 #define G_028B94_RAST_STREAM_MASK(x) (((x) >> 8) & 0x0F) argument
8247 #define S_028B94_USE_RAST_STREAM_MASK(x) (((unsigned)(x) & 0x1) << 31) argument
8248 #define G_028B94_USE_RAST_STREAM_MASK(x) (((x) >> 31) & 0x1) argument
8251 #define S_028B98_STREAM_0_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 0) argument
8252 #define G_028B98_STREAM_0_BUFFER_EN(x) (((x) >> 0) & 0x0F) argument
8254 #define S_028B98_STREAM_1_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 4) argument
8255 #define G_028B98_STREAM_1_BUFFER_EN(x) (((x) >> 4) & 0x0F) argument
8257 #define S_028B98_STREAM_2_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 8) argument
8258 #define G_028B98_STREAM_2_BUFFER_EN(x) (((x) >> 8) & 0x0F) argument
8260 #define S_028B98_STREAM_3_BUFFER_EN(x) (((unsigned)(x) & 0x0F) << 12) argument
8261 #define G_028B98_STREAM_3_BUFFER_EN(x) (((x) >> 12) & 0x0F) argument
8264 #define S_028BD4_DISTANCE_0(x) (((unsigned)(x) & 0x0F) << 0) argument
8265 #define G_028BD4_DISTANCE_0(x) (((x) >> 0) & 0x0F) argument
8267 #define S_028BD4_DISTANCE_1(x) (((unsigned)(x) & 0x0F) << 4) argument
8268 #define G_028BD4_DISTANCE_1(x) (((x) >> 4) & 0x0F) argument
8270 #define S_028BD4_DISTANCE_2(x) (((unsigned)(x) & 0x0F) << 8) argument
8271 #define G_028BD4_DISTANCE_2(x) (((x) >> 8) & 0x0F) argument
8273 #define S_028BD4_DISTANCE_3(x) (((unsigned)(x) & 0x0F) << 12) argument
8274 #define G_028BD4_DISTANCE_3(x) (((x) >> 12) & 0x0F) argument
8276 #define S_028BD4_DISTANCE_4(x) (((unsigned)(x) & 0x0F) << 16) argument
8277 #define G_028BD4_DISTANCE_4(x) (((x) >> 16) & 0x0F) argument
8279 #define S_028BD4_DISTANCE_5(x) (((unsigned)(x) & 0x0F) << 20) argument
8280 #define G_028BD4_DISTANCE_5(x) (((x) >> 20) & 0x0F) argument
8282 #define S_028BD4_DISTANCE_6(x) (((unsigned)(x) & 0x0F) << 24) argument
8283 #define G_028BD4_DISTANCE_6(x) (((x) >> 24) & 0x0F) argument
8285 #define S_028BD4_DISTANCE_7(x) (((unsigned)(x) & 0x0F) << 28) argument
8286 #define G_028BD4_DISTANCE_7(x) (((x) >> 28) & 0x0F) argument
8289 #define S_028BD8_DISTANCE_8(x) (((unsigned)(x) & 0x0F) << 0) argument
8290 #define G_028BD8_DISTANCE_8(x) (((x) >> 0) & 0x0F) argument
8292 #define S_028BD8_DISTANCE_9(x) (((unsigned)(x) & 0x0F) << 4) argument
8293 #define G_028BD8_DISTANCE_9(x) (((x) >> 4) & 0x0F) argument
8295 #define S_028BD8_DISTANCE_10(x) (((unsigned)(x) & 0x0F) << 8) argument
8296 #define G_028BD8_DISTANCE_10(x) (((x) >> 8) & 0x0F) argument
8298 #define S_028BD8_DISTANCE_11(x) (((unsigned)(x) & 0x0F) << 12) argument
8299 #define G_028BD8_DISTANCE_11(x) (((x) >> 12) & 0x0F) argument
8301 #define S_028BD8_DISTANCE_12(x) (((unsigned)(x) & 0x0F) << 16) argument
8302 #define G_028BD8_DISTANCE_12(x) (((x) >> 16) & 0x0F) argument
8304 #define S_028BD8_DISTANCE_13(x) (((unsigned)(x) & 0x0F) << 20) argument
8305 #define G_028BD8_DISTANCE_13(x) (((x) >> 20) & 0x0F) argument
8307 #define S_028BD8_DISTANCE_14(x) (((unsigned)(x) & 0x0F) << 24) argument
8308 #define G_028BD8_DISTANCE_14(x) (((x) >> 24) & 0x0F) argument
8310 #define S_028BD8_DISTANCE_15(x) (((unsigned)(x) & 0x0F) << 28) argument
8311 #define G_028BD8_DISTANCE_15(x) (((x) >> 28) & 0x0F) argument
8314 #define S_028BDC_EXPAND_LINE_WIDTH(x) (((unsigned)(x) & 0x1) << 9) argument
8315 #define G_028BDC_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1) argument
8317 #define S_028BDC_LAST_PIXEL(x) (((unsigned)(x) & 0x1) << 10) argument
8318 #define G_028BDC_LAST_PIXEL(x) (((x) >> 10) & 0x1) argument
8320 #define S_028BDC_PERPENDICULAR_ENDCAP_ENA(x) (((unsigned)(x) & 0x1) << 11) argument
8321 #define G_028BDC_PERPENDICULAR_ENDCAP_ENA(x) (((x) >> 11) & 0x1) argument
8323 #define S_028BDC_DX10_DIAMOND_TEST_ENA(x) (((unsigned)(x) & 0x1) << 12) argument
8324 #define G_028BDC_DX10_DIAMOND_TEST_ENA(x) (((x) >> 12) & 0x1) argument
8327 #define S_028BE0_MSAA_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 0) argument
8328 #define G_028BE0_MSAA_NUM_SAMPLES(x) (((x) >> 0) & 0x07) argument
8330 #define S_028BE0_AA_MASK_CENTROID_DTMN(x) (((unsigned)(x) & 0x1) << 4) argument
8331 #define G_028BE0_AA_MASK_CENTROID_DTMN(x) (((x) >> 4) & 0x1) argument
8333 #define S_028BE0_MAX_SAMPLE_DIST(x) (((unsigned)(x) & 0x0F) << 13) argument
8334 #define G_028BE0_MAX_SAMPLE_DIST(x) (((x) >> 13) & 0x0F) argument
8336 #define S_028BE0_MSAA_EXPOSED_SAMPLES(x) (((unsigned)(x) & 0x07) << 20) argument
8337 #define G_028BE0_MSAA_EXPOSED_SAMPLES(x) (((x) >> 20) & 0x07) argument
8339 #define S_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((unsigned)(x) & 0x03) << 24) argument
8340 #define G_028BE0_DETAIL_TO_EXPOSED_MODE(x) (((x) >> 24) & 0x03) argument
8343 #define S_028BE4_PIX_CENTER(x) (((unsigned)(x) & 0x1) << 0) argument
8344 #define G_028BE4_PIX_CENTER(x) (((x) >> 0) & 0x1) argument
8346 #define S_028BE4_ROUND_MODE(x) (((unsigned)(x) & 0x03) << 1) argument
8347 #define G_028BE4_ROUND_MODE(x) (((x) >> 1) & 0x03) argument
8353 #define S_028BE4_QUANT_MODE(x) (((unsigned)(x) & 0x07) << 3) argument
8354 #define G_028BE4_QUANT_MODE(x) (((x) >> 3) & 0x07) argument
8369 #define S_028BF8_S0_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8370 #define G_028BF8_S0_X(x) (((x) >> 0) & 0x0F) argument
8372 #define S_028BF8_S0_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8373 #define G_028BF8_S0_Y(x) (((x) >> 4) & 0x0F) argument
8375 #define S_028BF8_S1_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8376 #define G_028BF8_S1_X(x) (((x) >> 8) & 0x0F) argument
8378 #define S_028BF8_S1_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8379 #define G_028BF8_S1_Y(x) (((x) >> 12) & 0x0F) argument
8381 #define S_028BF8_S2_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8382 #define G_028BF8_S2_X(x) (((x) >> 16) & 0x0F) argument
8384 #define S_028BF8_S2_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8385 #define G_028BF8_S2_Y(x) (((x) >> 20) & 0x0F) argument
8387 #define S_028BF8_S3_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8388 #define G_028BF8_S3_X(x) (((x) >> 24) & 0x0F) argument
8390 #define S_028BF8_S3_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8391 #define G_028BF8_S3_Y(x) (((x) >> 28) & 0x0F) argument
8394 #define S_028BFC_S4_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8395 #define G_028BFC_S4_X(x) (((x) >> 0) & 0x0F) argument
8397 #define S_028BFC_S4_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8398 #define G_028BFC_S4_Y(x) (((x) >> 4) & 0x0F) argument
8400 #define S_028BFC_S5_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8401 #define G_028BFC_S5_X(x) (((x) >> 8) & 0x0F) argument
8403 #define S_028BFC_S5_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8404 #define G_028BFC_S5_Y(x) (((x) >> 12) & 0x0F) argument
8406 #define S_028BFC_S6_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8407 #define G_028BFC_S6_X(x) (((x) >> 16) & 0x0F) argument
8409 #define S_028BFC_S6_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8410 #define G_028BFC_S6_Y(x) (((x) >> 20) & 0x0F) argument
8412 #define S_028BFC_S7_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8413 #define G_028BFC_S7_X(x) (((x) >> 24) & 0x0F) argument
8415 #define S_028BFC_S7_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8416 #define G_028BFC_S7_Y(x) (((x) >> 28) & 0x0F) argument
8419 #define S_028C00_S8_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8420 #define G_028C00_S8_X(x) (((x) >> 0) & 0x0F) argument
8422 #define S_028C00_S8_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8423 #define G_028C00_S8_Y(x) (((x) >> 4) & 0x0F) argument
8425 #define S_028C00_S9_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8426 #define G_028C00_S9_X(x) (((x) >> 8) & 0x0F) argument
8428 #define S_028C00_S9_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8429 #define G_028C00_S9_Y(x) (((x) >> 12) & 0x0F) argument
8431 #define S_028C00_S10_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8432 #define G_028C00_S10_X(x) (((x) >> 16) & 0x0F) argument
8434 #define S_028C00_S10_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8435 #define G_028C00_S10_Y(x) (((x) >> 20) & 0x0F) argument
8437 #define S_028C00_S11_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8438 #define G_028C00_S11_X(x) (((x) >> 24) & 0x0F) argument
8440 #define S_028C00_S11_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8441 #define G_028C00_S11_Y(x) (((x) >> 28) & 0x0F) argument
8444 #define S_028C04_S12_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8445 #define G_028C04_S12_X(x) (((x) >> 0) & 0x0F) argument
8447 #define S_028C04_S12_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8448 #define G_028C04_S12_Y(x) (((x) >> 4) & 0x0F) argument
8450 #define S_028C04_S13_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8451 #define G_028C04_S13_X(x) (((x) >> 8) & 0x0F) argument
8453 #define S_028C04_S13_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8454 #define G_028C04_S13_Y(x) (((x) >> 12) & 0x0F) argument
8456 #define S_028C04_S14_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8457 #define G_028C04_S14_X(x) (((x) >> 16) & 0x0F) argument
8459 #define S_028C04_S14_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8460 #define G_028C04_S14_Y(x) (((x) >> 20) & 0x0F) argument
8462 #define S_028C04_S15_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8463 #define G_028C04_S15_X(x) (((x) >> 24) & 0x0F) argument
8465 #define S_028C04_S15_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8466 #define G_028C04_S15_Y(x) (((x) >> 28) & 0x0F) argument
8469 #define S_028C08_S0_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8470 #define G_028C08_S0_X(x) (((x) >> 0) & 0x0F) argument
8472 #define S_028C08_S0_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8473 #define G_028C08_S0_Y(x) (((x) >> 4) & 0x0F) argument
8475 #define S_028C08_S1_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8476 #define G_028C08_S1_X(x) (((x) >> 8) & 0x0F) argument
8478 #define S_028C08_S1_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8479 #define G_028C08_S1_Y(x) (((x) >> 12) & 0x0F) argument
8481 #define S_028C08_S2_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8482 #define G_028C08_S2_X(x) (((x) >> 16) & 0x0F) argument
8484 #define S_028C08_S2_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8485 #define G_028C08_S2_Y(x) (((x) >> 20) & 0x0F) argument
8487 #define S_028C08_S3_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8488 #define G_028C08_S3_X(x) (((x) >> 24) & 0x0F) argument
8490 #define S_028C08_S3_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8491 #define G_028C08_S3_Y(x) (((x) >> 28) & 0x0F) argument
8494 #define S_028C0C_S4_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8495 #define G_028C0C_S4_X(x) (((x) >> 0) & 0x0F) argument
8497 #define S_028C0C_S4_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8498 #define G_028C0C_S4_Y(x) (((x) >> 4) & 0x0F) argument
8500 #define S_028C0C_S5_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8501 #define G_028C0C_S5_X(x) (((x) >> 8) & 0x0F) argument
8503 #define S_028C0C_S5_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8504 #define G_028C0C_S5_Y(x) (((x) >> 12) & 0x0F) argument
8506 #define S_028C0C_S6_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8507 #define G_028C0C_S6_X(x) (((x) >> 16) & 0x0F) argument
8509 #define S_028C0C_S6_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8510 #define G_028C0C_S6_Y(x) (((x) >> 20) & 0x0F) argument
8512 #define S_028C0C_S7_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8513 #define G_028C0C_S7_X(x) (((x) >> 24) & 0x0F) argument
8515 #define S_028C0C_S7_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8516 #define G_028C0C_S7_Y(x) (((x) >> 28) & 0x0F) argument
8519 #define S_028C10_S8_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8520 #define G_028C10_S8_X(x) (((x) >> 0) & 0x0F) argument
8522 #define S_028C10_S8_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8523 #define G_028C10_S8_Y(x) (((x) >> 4) & 0x0F) argument
8525 #define S_028C10_S9_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8526 #define G_028C10_S9_X(x) (((x) >> 8) & 0x0F) argument
8528 #define S_028C10_S9_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8529 #define G_028C10_S9_Y(x) (((x) >> 12) & 0x0F) argument
8531 #define S_028C10_S10_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8532 #define G_028C10_S10_X(x) (((x) >> 16) & 0x0F) argument
8534 #define S_028C10_S10_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8535 #define G_028C10_S10_Y(x) (((x) >> 20) & 0x0F) argument
8537 #define S_028C10_S11_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8538 #define G_028C10_S11_X(x) (((x) >> 24) & 0x0F) argument
8540 #define S_028C10_S11_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8541 #define G_028C10_S11_Y(x) (((x) >> 28) & 0x0F) argument
8544 #define S_028C14_S12_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8545 #define G_028C14_S12_X(x) (((x) >> 0) & 0x0F) argument
8547 #define S_028C14_S12_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8548 #define G_028C14_S12_Y(x) (((x) >> 4) & 0x0F) argument
8550 #define S_028C14_S13_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8551 #define G_028C14_S13_X(x) (((x) >> 8) & 0x0F) argument
8553 #define S_028C14_S13_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8554 #define G_028C14_S13_Y(x) (((x) >> 12) & 0x0F) argument
8556 #define S_028C14_S14_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8557 #define G_028C14_S14_X(x) (((x) >> 16) & 0x0F) argument
8559 #define S_028C14_S14_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8560 #define G_028C14_S14_Y(x) (((x) >> 20) & 0x0F) argument
8562 #define S_028C14_S15_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8563 #define G_028C14_S15_X(x) (((x) >> 24) & 0x0F) argument
8565 #define S_028C14_S15_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8566 #define G_028C14_S15_Y(x) (((x) >> 28) & 0x0F) argument
8569 #define S_028C18_S0_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8570 #define G_028C18_S0_X(x) (((x) >> 0) & 0x0F) argument
8572 #define S_028C18_S0_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8573 #define G_028C18_S0_Y(x) (((x) >> 4) & 0x0F) argument
8575 #define S_028C18_S1_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8576 #define G_028C18_S1_X(x) (((x) >> 8) & 0x0F) argument
8578 #define S_028C18_S1_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8579 #define G_028C18_S1_Y(x) (((x) >> 12) & 0x0F) argument
8581 #define S_028C18_S2_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8582 #define G_028C18_S2_X(x) (((x) >> 16) & 0x0F) argument
8584 #define S_028C18_S2_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8585 #define G_028C18_S2_Y(x) (((x) >> 20) & 0x0F) argument
8587 #define S_028C18_S3_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8588 #define G_028C18_S3_X(x) (((x) >> 24) & 0x0F) argument
8590 #define S_028C18_S3_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8591 #define G_028C18_S3_Y(x) (((x) >> 28) & 0x0F) argument
8594 #define S_028C1C_S4_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8595 #define G_028C1C_S4_X(x) (((x) >> 0) & 0x0F) argument
8597 #define S_028C1C_S4_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8598 #define G_028C1C_S4_Y(x) (((x) >> 4) & 0x0F) argument
8600 #define S_028C1C_S5_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8601 #define G_028C1C_S5_X(x) (((x) >> 8) & 0x0F) argument
8603 #define S_028C1C_S5_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8604 #define G_028C1C_S5_Y(x) (((x) >> 12) & 0x0F) argument
8606 #define S_028C1C_S6_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8607 #define G_028C1C_S6_X(x) (((x) >> 16) & 0x0F) argument
8609 #define S_028C1C_S6_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8610 #define G_028C1C_S6_Y(x) (((x) >> 20) & 0x0F) argument
8612 #define S_028C1C_S7_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8613 #define G_028C1C_S7_X(x) (((x) >> 24) & 0x0F) argument
8615 #define S_028C1C_S7_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8616 #define G_028C1C_S7_Y(x) (((x) >> 28) & 0x0F) argument
8619 #define S_028C20_S8_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8620 #define G_028C20_S8_X(x) (((x) >> 0) & 0x0F) argument
8622 #define S_028C20_S8_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8623 #define G_028C20_S8_Y(x) (((x) >> 4) & 0x0F) argument
8625 #define S_028C20_S9_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8626 #define G_028C20_S9_X(x) (((x) >> 8) & 0x0F) argument
8628 #define S_028C20_S9_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8629 #define G_028C20_S9_Y(x) (((x) >> 12) & 0x0F) argument
8631 #define S_028C20_S10_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8632 #define G_028C20_S10_X(x) (((x) >> 16) & 0x0F) argument
8634 #define S_028C20_S10_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8635 #define G_028C20_S10_Y(x) (((x) >> 20) & 0x0F) argument
8637 #define S_028C20_S11_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8638 #define G_028C20_S11_X(x) (((x) >> 24) & 0x0F) argument
8640 #define S_028C20_S11_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8641 #define G_028C20_S11_Y(x) (((x) >> 28) & 0x0F) argument
8644 #define S_028C24_S12_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8645 #define G_028C24_S12_X(x) (((x) >> 0) & 0x0F) argument
8647 #define S_028C24_S12_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8648 #define G_028C24_S12_Y(x) (((x) >> 4) & 0x0F) argument
8650 #define S_028C24_S13_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8651 #define G_028C24_S13_X(x) (((x) >> 8) & 0x0F) argument
8653 #define S_028C24_S13_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8654 #define G_028C24_S13_Y(x) (((x) >> 12) & 0x0F) argument
8656 #define S_028C24_S14_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8657 #define G_028C24_S14_X(x) (((x) >> 16) & 0x0F) argument
8659 #define S_028C24_S14_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8660 #define G_028C24_S14_Y(x) (((x) >> 20) & 0x0F) argument
8662 #define S_028C24_S15_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8663 #define G_028C24_S15_X(x) (((x) >> 24) & 0x0F) argument
8665 #define S_028C24_S15_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8666 #define G_028C24_S15_Y(x) (((x) >> 28) & 0x0F) argument
8669 #define S_028C28_S0_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8670 #define G_028C28_S0_X(x) (((x) >> 0) & 0x0F) argument
8672 #define S_028C28_S0_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8673 #define G_028C28_S0_Y(x) (((x) >> 4) & 0x0F) argument
8675 #define S_028C28_S1_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8676 #define G_028C28_S1_X(x) (((x) >> 8) & 0x0F) argument
8678 #define S_028C28_S1_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8679 #define G_028C28_S1_Y(x) (((x) >> 12) & 0x0F) argument
8681 #define S_028C28_S2_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8682 #define G_028C28_S2_X(x) (((x) >> 16) & 0x0F) argument
8684 #define S_028C28_S2_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8685 #define G_028C28_S2_Y(x) (((x) >> 20) & 0x0F) argument
8687 #define S_028C28_S3_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8688 #define G_028C28_S3_X(x) (((x) >> 24) & 0x0F) argument
8690 #define S_028C28_S3_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8691 #define G_028C28_S3_Y(x) (((x) >> 28) & 0x0F) argument
8694 #define S_028C2C_S4_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8695 #define G_028C2C_S4_X(x) (((x) >> 0) & 0x0F) argument
8697 #define S_028C2C_S4_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8698 #define G_028C2C_S4_Y(x) (((x) >> 4) & 0x0F) argument
8700 #define S_028C2C_S5_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8701 #define G_028C2C_S5_X(x) (((x) >> 8) & 0x0F) argument
8703 #define S_028C2C_S5_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8704 #define G_028C2C_S5_Y(x) (((x) >> 12) & 0x0F) argument
8706 #define S_028C2C_S6_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8707 #define G_028C2C_S6_X(x) (((x) >> 16) & 0x0F) argument
8709 #define S_028C2C_S6_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8710 #define G_028C2C_S6_Y(x) (((x) >> 20) & 0x0F) argument
8712 #define S_028C2C_S7_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8713 #define G_028C2C_S7_X(x) (((x) >> 24) & 0x0F) argument
8715 #define S_028C2C_S7_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8716 #define G_028C2C_S7_Y(x) (((x) >> 28) & 0x0F) argument
8719 #define S_028C30_S8_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8720 #define G_028C30_S8_X(x) (((x) >> 0) & 0x0F) argument
8722 #define S_028C30_S8_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8723 #define G_028C30_S8_Y(x) (((x) >> 4) & 0x0F) argument
8725 #define S_028C30_S9_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8726 #define G_028C30_S9_X(x) (((x) >> 8) & 0x0F) argument
8728 #define S_028C30_S9_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8729 #define G_028C30_S9_Y(x) (((x) >> 12) & 0x0F) argument
8731 #define S_028C30_S10_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8732 #define G_028C30_S10_X(x) (((x) >> 16) & 0x0F) argument
8734 #define S_028C30_S10_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8735 #define G_028C30_S10_Y(x) (((x) >> 20) & 0x0F) argument
8737 #define S_028C30_S11_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8738 #define G_028C30_S11_X(x) (((x) >> 24) & 0x0F) argument
8740 #define S_028C30_S11_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8741 #define G_028C30_S11_Y(x) (((x) >> 28) & 0x0F) argument
8744 #define S_028C34_S12_X(x) (((unsigned)(x) & 0x0F) << 0) argument
8745 #define G_028C34_S12_X(x) (((x) >> 0) & 0x0F) argument
8747 #define S_028C34_S12_Y(x) (((unsigned)(x) & 0x0F) << 4) argument
8748 #define G_028C34_S12_Y(x) (((x) >> 4) & 0x0F) argument
8750 #define S_028C34_S13_X(x) (((unsigned)(x) & 0x0F) << 8) argument
8751 #define G_028C34_S13_X(x) (((x) >> 8) & 0x0F) argument
8753 #define S_028C34_S13_Y(x) (((unsigned)(x) & 0x0F) << 12) argument
8754 #define G_028C34_S13_Y(x) (((x) >> 12) & 0x0F) argument
8756 #define S_028C34_S14_X(x) (((unsigned)(x) & 0x0F) << 16) argument
8757 #define G_028C34_S14_X(x) (((x) >> 16) & 0x0F) argument
8759 #define S_028C34_S14_Y(x) (((unsigned)(x) & 0x0F) << 20) argument
8760 #define G_028C34_S14_Y(x) (((x) >> 20) & 0x0F) argument
8762 #define S_028C34_S15_X(x) (((unsigned)(x) & 0x0F) << 24) argument
8763 #define G_028C34_S15_X(x) (((x) >> 24) & 0x0F) argument
8765 #define S_028C34_S15_Y(x) (((unsigned)(x) & 0x0F) << 28) argument
8766 #define G_028C34_S15_Y(x) (((x) >> 28) & 0x0F) argument
8769 #define S_028C38_AA_MASK_X0Y0(x) (((unsigned)(x) & 0xFFFF) << … argument
8770 #define G_028C38_AA_MASK_X0Y0(x) (((x) >> 0) & 0xFFFF) argument
8772 #define S_028C38_AA_MASK_X1Y0(x) (((unsigned)(x) & 0xFFFF) << … argument
8773 #define G_028C38_AA_MASK_X1Y0(x) (((x) >> 16) & 0xFFFF) argument
8776 #define S_028C3C_AA_MASK_X0Y1(x) (((unsigned)(x) & 0xFFFF) << … argument
8777 #define G_028C3C_AA_MASK_X0Y1(x) (((x) >> 0) & 0xFFFF) argument
8779 #define S_028C3C_AA_MASK_X1Y1(x) (((unsigned)(x) & 0xFFFF) << … argument
8780 #define G_028C3C_AA_MASK_X1Y1(x) (((x) >> 16) & 0xFFFF) argument
8784 #define S_028C40_REALIGN_DQUADS_AFTER_N_WAVES(x) (((unsigned)(x) & 0x03) << 0) argument
8785 #define G_028C40_REALIGN_DQUADS_AFTER_N_WAVES(x) (((x) >> 0) & 0x03) argument
8789 #define S_028C58_VTX_REUSE_DEPTH(x) (((unsigned)(x) & 0xFF) << 0) argument
8790 #define G_028C58_VTX_REUSE_DEPTH(x) (((x) >> 0) & 0xFF) argument
8793 #define S_028C5C_DEALLOC_DIST(x) (((unsigned)(x) & 0x7F) << 0) argument
8794 #define G_028C5C_DEALLOC_DIST(x) (((x) >> 0) & 0x7F) argument
8798 #define S_028C64_TILE_MAX(x) (((unsigned)(x) & 0x7FF) << 0) argument
8799 #define G_028C64_TILE_MAX(x) (((x) >> 0) & 0x7FF) argument
8802 #define S_028C64_FMASK_TILE_MAX(x) (((unsigned)(x) & 0x7FF) << 2… argument
8803 #define G_028C64_FMASK_TILE_MAX(x) (((x) >> 20) & 0x7FF) argument
8807 #define S_028C68_TILE_MAX(x) (((unsigned)(x) & 0x3FFFFF) <… argument
8808 #define G_028C68_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument
8811 #define S_028C6C_SLICE_START(x) (((unsigned)(x) & 0x7FF) << 0) argument
8812 #define G_028C6C_SLICE_START(x) (((x) >> 0) & 0x7FF) argument
8814 #define S_028C6C_SLICE_MAX(x) (((unsigned)(x) & 0x7FF) << 1… argument
8815 #define G_028C6C_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument
8818 #define S_028C70_ENDIAN(x) (((unsigned)(x) & 0x03) << 0) argument
8819 #define G_028C70_ENDIAN(x) (((x) >> 0) & 0x03) argument
8825 #define S_028C70_FORMAT(x) (((unsigned)(x) & 0x1F) << 2) argument
8826 #define G_028C70_FORMAT(x) (((x) >> 2) & 0x1F) argument
8849 #define S_028C70_LINEAR_GENERAL(x) (((unsigned)(x) & 0x1) << 7) argument
8850 #define G_028C70_LINEAR_GENERAL(x) (((x) >> 7) & 0x1) argument
8852 #define S_028C70_NUMBER_TYPE(x) (((unsigned)(x) & 0x07) << 8) argument
8853 #define G_028C70_NUMBER_TYPE(x) (((x) >> 8) & 0x07) argument
8861 #define S_028C70_COMP_SWAP(x) (((unsigned)(x) & 0x03) << 11) argument
8862 #define G_028C70_COMP_SWAP(x) (((x) >> 11) & 0x03) argument
8868 #define S_028C70_FAST_CLEAR(x) (((unsigned)(x) & 0x1) << 13) argument
8869 #define G_028C70_FAST_CLEAR(x) (((x) >> 13) & 0x1) argument
8871 #define S_028C70_COMPRESSION(x) (((unsigned)(x) & 0x1) << 14) argument
8872 #define G_028C70_COMPRESSION(x) (((x) >> 14) & 0x1) argument
8874 #define S_028C70_BLEND_CLAMP(x) (((unsigned)(x) & 0x1) << 15) argument
8875 #define G_028C70_BLEND_CLAMP(x) (((x) >> 15) & 0x1) argument
8877 #define S_028C70_BLEND_BYPASS(x) (((unsigned)(x) & 0x1) << 16) argument
8878 #define G_028C70_BLEND_BYPASS(x) (((x) >> 16) & 0x1) argument
8880 #define S_028C70_SIMPLE_FLOAT(x) (((unsigned)(x) & 0x1) << 17) argument
8881 #define G_028C70_SIMPLE_FLOAT(x) (((x) >> 17) & 0x1) argument
8883 #define S_028C70_ROUND_MODE(x) (((unsigned)(x) & 0x1) << 18) argument
8884 #define G_028C70_ROUND_MODE(x) (((x) >> 18) & 0x1) argument
8886 #define S_028C70_CMASK_IS_LINEAR(x) (((unsigned)(x) & 0x1) << 19) argument
8887 #define G_028C70_CMASK_IS_LINEAR(x) (((x) >> 19) & 0x1) argument
8889 #define S_028C70_BLEND_OPT_DONT_RD_DST(x) (((unsigned)(x) & 0x07) << 20) argument
8890 #define G_028C70_BLEND_OPT_DONT_RD_DST(x) (((x) >> 20) & 0x07) argument
8900 #define S_028C70_BLEND_OPT_DISCARD_PIXEL(x) (((unsigned)(x) & 0x07) << 23) argument
8901 #define G_028C70_BLEND_OPT_DISCARD_PIXEL(x) (((x) >> 23) & 0x07) argument
8912 #define S_028C70_FMASK_COMPRESSION_DISABLE(x) (((unsigned)(x) & 0x1) << 26) argument
8913 #define G_028C70_FMASK_COMPRESSION_DISABLE(x) (((x) >> 26) & 0x1) argument
8917 #define S_028C70_FMASK_COMPRESS_1FRAG_ONLY(x) (((unsigned)(x) & 0x1) << 27) argument
8918 #define G_028C70_FMASK_COMPRESS_1FRAG_ONLY(x) (((x) >> 27) & 0x1) argument
8920 #define S_028C70_DCC_ENABLE(x) (((unsigned)(x) & 0x1) << 28) argument
8921 #define G_028C70_DCC_ENABLE(x) (((x) >> 28) & 0x1) argument
8923 #define S_028C70_CMASK_ADDR_TYPE(x) (((unsigned)(x) & 0x03) << 29) argument
8924 #define G_028C70_CMASK_ADDR_TYPE(x) (((x) >> 29) & 0x03) argument
8928 #define S_028C74_TILE_MODE_INDEX(x) (((unsigned)(x) & 0x1F) << 0) argument
8929 #define G_028C74_TILE_MODE_INDEX(x) (((x) >> 0) & 0x1F) argument
8931 #define S_028C74_FMASK_TILE_MODE_INDEX(x) (((unsigned)(x) & 0x1F) << 5) argument
8932 #define G_028C74_FMASK_TILE_MODE_INDEX(x) (((x) >> 5) & 0x1F) argument
8934 #define S_028C74_FMASK_BANK_HEIGHT(x) (((unsigned)(x) & 0x03) << 10) argument
8935 #define G_028C74_FMASK_BANK_HEIGHT(x) (((x) >> 10) & 0x03) argument
8937 #define S_028C74_NUM_SAMPLES(x) (((unsigned)(x) & 0x07) << 12) argument
8938 #define G_028C74_NUM_SAMPLES(x) (((x) >> 12) & 0x07) argument
8940 #define S_028C74_NUM_FRAGMENTS(x) (((unsigned)(x) & 0x03) << 15) argument
8941 #define G_028C74_NUM_FRAGMENTS(x) (((x) >> 15) & 0x03) argument
8943 #define S_028C74_FORCE_DST_ALPHA_1(x) (((unsigned)(x) & 0x1) << 17) argument
8944 #define G_028C74_FORCE_DST_ALPHA_1(x) (((x) >> 17) & 0x1) argument
8948 #define S_028C78_OVERWRITE_COMBINER_DISABLE(x) (((unsigned)(x) & 0x1) << 0) argument
8949 #define G_028C78_OVERWRITE_COMBINER_DISABLE(x) (((x) >> 0) & 0x1) argument
8951 #define S_028C78_KEY_CLEAR_ENABLE(x) (((unsigned)(x) & 0x1) << 1) argument
8952 #define G_028C78_KEY_CLEAR_ENABLE(x) (((x) >> 1) & 0x1) argument
8954 #define S_028C78_MAX_UNCOMPRESSED_BLOCK_SIZE(x) (((unsigned)(x) & 0x03) << 2) argument
8955 #define G_028C78_MAX_UNCOMPRESSED_BLOCK_SIZE(x) (((x) >> 2) & 0x03) argument
8961 #define S_028C78_MIN_COMPRESSED_BLOCK_SIZE(x) (((unsigned)(x) & 0x1) << 4) argument
8962 #define G_028C78_MIN_COMPRESSED_BLOCK_SIZE(x) (((x) >> 4) & 0x1) argument
8966 #define S_028C78_MAX_COMPRESSED_BLOCK_SIZE(x) (((unsigned)(x) & 0x03) << 5) argument
8967 #define G_028C78_MAX_COMPRESSED_BLOCK_SIZE(x) (((x) >> 5) & 0x03) argument
8969 #define S_028C78_COLOR_TRANSFORM(x) (((unsigned)(x) & 0x03) << 7) argument
8970 #define G_028C78_COLOR_TRANSFORM(x) (((x) >> 7) & 0x03) argument
8972 #define S_028C78_INDEPENDENT_64B_BLOCKS(x) (((unsigned)(x) & 0x1) << 9) argument
8973 #define G_028C78_INDEPENDENT_64B_BLOCKS(x) (((x) >> 9) & 0x1) argument
8975 #define S_028C78_LOSSY_RGB_PRECISION(x) (((unsigned)(x) & 0x0F) << 10) argument
8976 #define G_028C78_LOSSY_RGB_PRECISION(x) (((x) >> 10) & 0x0F) argument
8978 #define S_028C78_LOSSY_ALPHA_PRECISION(x) (((unsigned)(x) & 0x0F) << 14) argument
8979 #define G_028C78_LOSSY_ALPHA_PRECISION(x) (((x) >> 14) & 0x0F) argument
8984 #define S_028C80_TILE_MAX(x) (((unsigned)(x) & 0x3FFF) << … argument
8985 #define G_028C80_TILE_MAX(x) (((x) >> 0) & 0x3FFF) argument
8989 #define S_028C88_TILE_MAX(x) (((unsigned)(x) & 0x3FFFFF) <… argument
8990 #define G_028C88_TILE_MAX(x) (((x) >> 0) & 0x3FFFFF) argument