Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
r300d.h File Reference

Go to the source code of this file.

Macros

#define CP_PACKET0   0x00000000
 
#define PACKET0_BASE_INDEX_SHIFT   0
 
#define PACKET0_BASE_INDEX_MASK   (0x1ffff << 0)
 
#define PACKET0_COUNT_SHIFT   16
 
#define PACKET0_COUNT_MASK   (0x3fff << 16)
 
#define CP_PACKET1   0x40000000
 
#define CP_PACKET2   0x80000000
 
#define PACKET2_PAD_SHIFT   0
 
#define PACKET2_PAD_MASK   (0x3fffffff << 0)
 
#define CP_PACKET3   0xC0000000
 
#define PACKET3_IT_OPCODE_SHIFT   8
 
#define PACKET3_IT_OPCODE_MASK   (0xff << 8)
 
#define PACKET3_COUNT_SHIFT   16
 
#define PACKET3_COUNT_MASK   (0x3fff << 16)
 
#define PACKET3_NOP   0x10
 
#define PACKET3_3D_DRAW_VBUF   0x28
 
#define PACKET3_3D_DRAW_IMMD   0x29
 
#define PACKET3_3D_DRAW_INDX   0x2A
 
#define PACKET3_3D_LOAD_VBPNTR   0x2F
 
#define PACKET3_3D_CLEAR_ZMASK   0x32
 
#define PACKET3_INDX_BUFFER   0x33
 
#define PACKET3_3D_DRAW_VBUF_2   0x34
 
#define PACKET3_3D_DRAW_IMMD_2   0x35
 
#define PACKET3_3D_DRAW_INDX_2   0x36
 
#define PACKET3_3D_CLEAR_HIZ   0x37
 
#define PACKET3_3D_CLEAR_CMASK   0x38
 
#define PACKET3_BITBLT_MULTI   0x9B
 
#define PACKET0(reg, n)
 
#define PACKET2(v)   (CP_PACKET2 | REG_SET(PACKET2_PAD, (v)))
 
#define PACKET3(op, n)
 
#define PACKET_TYPE0   0
 
#define PACKET_TYPE1   1
 
#define PACKET_TYPE2   2
 
#define PACKET_TYPE3   3
 
#define CP_PACKET_GET_TYPE(h)   (((h) >> 30) & 3)
 
#define CP_PACKET_GET_COUNT(h)   (((h) >> 16) & 0x3FFF)
 
#define CP_PACKET0_GET_REG(h)   (((h) & 0x1FFF) << 2)
 
#define CP_PACKET0_GET_ONE_REG_WR(h)   (((h) >> 15) & 1)
 
#define CP_PACKET3_GET_OPCODE(h)   (((h) >> 8) & 0xFF)
 
#define R_000148_MC_FB_LOCATION   0x000148
 
#define S_000148_MC_FB_START(x)   (((x) & 0xFFFF) << 0)
 
#define G_000148_MC_FB_START(x)   (((x) >> 0) & 0xFFFF)
 
#define C_000148_MC_FB_START   0xFFFF0000
 
#define S_000148_MC_FB_TOP(x)   (((x) & 0xFFFF) << 16)
 
#define G_000148_MC_FB_TOP(x)   (((x) >> 16) & 0xFFFF)
 
#define C_000148_MC_FB_TOP   0x0000FFFF
 
#define R_00014C_MC_AGP_LOCATION   0x00014C
 
#define S_00014C_MC_AGP_START(x)   (((x) & 0xFFFF) << 0)
 
#define G_00014C_MC_AGP_START(x)   (((x) >> 0) & 0xFFFF)
 
#define C_00014C_MC_AGP_START   0xFFFF0000
 
#define S_00014C_MC_AGP_TOP(x)   (((x) & 0xFFFF) << 16)
 
#define G_00014C_MC_AGP_TOP(x)   (((x) >> 16) & 0xFFFF)
 
#define C_00014C_MC_AGP_TOP   0x0000FFFF
 
#define R_00015C_AGP_BASE_2   0x00015C
 
#define S_00015C_AGP_BASE_ADDR_2(x)   (((x) & 0xF) << 0)
 
#define G_00015C_AGP_BASE_ADDR_2(x)   (((x) >> 0) & 0xF)
 
#define C_00015C_AGP_BASE_ADDR_2   0xFFFFFFF0
 
#define R_000170_AGP_BASE   0x000170
 
#define S_000170_AGP_BASE_ADDR(x)   (((x) & 0xFFFFFFFF) << 0)
 
#define G_000170_AGP_BASE_ADDR(x)   (((x) >> 0) & 0xFFFFFFFF)
 
#define C_000170_AGP_BASE_ADDR   0x00000000
 
#define R_0007C0_CP_STAT   0x0007C0
 
#define S_0007C0_MRU_BUSY(x)   (((x) & 0x1) << 0)
 
#define G_0007C0_MRU_BUSY(x)   (((x) >> 0) & 0x1)
 
#define C_0007C0_MRU_BUSY   0xFFFFFFFE
 
#define S_0007C0_MWU_BUSY(x)   (((x) & 0x1) << 1)
 
#define G_0007C0_MWU_BUSY(x)   (((x) >> 1) & 0x1)
 
#define C_0007C0_MWU_BUSY   0xFFFFFFFD
 
#define S_0007C0_RSIU_BUSY(x)   (((x) & 0x1) << 2)
 
#define G_0007C0_RSIU_BUSY(x)   (((x) >> 2) & 0x1)
 
#define C_0007C0_RSIU_BUSY   0xFFFFFFFB
 
#define S_0007C0_RCIU_BUSY(x)   (((x) & 0x1) << 3)
 
#define G_0007C0_RCIU_BUSY(x)   (((x) >> 3) & 0x1)
 
#define C_0007C0_RCIU_BUSY   0xFFFFFFF7
 
#define S_0007C0_CSF_PRIMARY_BUSY(x)   (((x) & 0x1) << 9)
 
#define G_0007C0_CSF_PRIMARY_BUSY(x)   (((x) >> 9) & 0x1)
 
#define C_0007C0_CSF_PRIMARY_BUSY   0xFFFFFDFF
 
#define S_0007C0_CSF_INDIRECT_BUSY(x)   (((x) & 0x1) << 10)
 
#define G_0007C0_CSF_INDIRECT_BUSY(x)   (((x) >> 10) & 0x1)
 
#define C_0007C0_CSF_INDIRECT_BUSY   0xFFFFFBFF
 
#define S_0007C0_CSQ_PRIMARY_BUSY(x)   (((x) & 0x1) << 11)
 
#define G_0007C0_CSQ_PRIMARY_BUSY(x)   (((x) >> 11) & 0x1)
 
#define C_0007C0_CSQ_PRIMARY_BUSY   0xFFFFF7FF
 
#define S_0007C0_CSQ_INDIRECT_BUSY(x)   (((x) & 0x1) << 12)
 
#define G_0007C0_CSQ_INDIRECT_BUSY(x)   (((x) >> 12) & 0x1)
 
#define C_0007C0_CSQ_INDIRECT_BUSY   0xFFFFEFFF
 
#define S_0007C0_CSI_BUSY(x)   (((x) & 0x1) << 13)
 
#define G_0007C0_CSI_BUSY(x)   (((x) >> 13) & 0x1)
 
#define C_0007C0_CSI_BUSY   0xFFFFDFFF
 
#define S_0007C0_CSF_INDIRECT2_BUSY(x)   (((x) & 0x1) << 14)
 
#define G_0007C0_CSF_INDIRECT2_BUSY(x)   (((x) >> 14) & 0x1)
 
#define C_0007C0_CSF_INDIRECT2_BUSY   0xFFFFBFFF
 
#define S_0007C0_CSQ_INDIRECT2_BUSY(x)   (((x) & 0x1) << 15)
 
#define G_0007C0_CSQ_INDIRECT2_BUSY(x)   (((x) >> 15) & 0x1)
 
#define C_0007C0_CSQ_INDIRECT2_BUSY   0xFFFF7FFF
 
#define S_0007C0_GUIDMA_BUSY(x)   (((x) & 0x1) << 28)
 
#define G_0007C0_GUIDMA_BUSY(x)   (((x) >> 28) & 0x1)
 
#define C_0007C0_GUIDMA_BUSY   0xEFFFFFFF
 
#define S_0007C0_VIDDMA_BUSY(x)   (((x) & 0x1) << 29)
 
#define G_0007C0_VIDDMA_BUSY(x)   (((x) >> 29) & 0x1)
 
#define C_0007C0_VIDDMA_BUSY   0xDFFFFFFF
 
#define S_0007C0_CMDSTRM_BUSY(x)   (((x) & 0x1) << 30)
 
#define G_0007C0_CMDSTRM_BUSY(x)   (((x) >> 30) & 0x1)
 
#define C_0007C0_CMDSTRM_BUSY   0xBFFFFFFF
 
#define S_0007C0_CP_BUSY(x)   (((x) & 0x1) << 31)
 
#define G_0007C0_CP_BUSY(x)   (((x) >> 31) & 0x1)
 
#define C_0007C0_CP_BUSY   0x7FFFFFFF
 
#define R_000E40_RBBM_STATUS   0x000E40
 
#define S_000E40_CMDFIFO_AVAIL(x)   (((x) & 0x7F) << 0)
 
#define G_000E40_CMDFIFO_AVAIL(x)   (((x) >> 0) & 0x7F)
 
#define C_000E40_CMDFIFO_AVAIL   0xFFFFFF80
 
#define S_000E40_HIRQ_ON_RBB(x)   (((x) & 0x1) << 8)
 
#define G_000E40_HIRQ_ON_RBB(x)   (((x) >> 8) & 0x1)
 
#define C_000E40_HIRQ_ON_RBB   0xFFFFFEFF
 
#define S_000E40_CPRQ_ON_RBB(x)   (((x) & 0x1) << 9)
 
#define G_000E40_CPRQ_ON_RBB(x)   (((x) >> 9) & 0x1)
 
#define C_000E40_CPRQ_ON_RBB   0xFFFFFDFF
 
#define S_000E40_CFRQ_ON_RBB(x)   (((x) & 0x1) << 10)
 
#define G_000E40_CFRQ_ON_RBB(x)   (((x) >> 10) & 0x1)
 
#define C_000E40_CFRQ_ON_RBB   0xFFFFFBFF
 
#define S_000E40_HIRQ_IN_RTBUF(x)   (((x) & 0x1) << 11)
 
#define G_000E40_HIRQ_IN_RTBUF(x)   (((x) >> 11) & 0x1)
 
#define C_000E40_HIRQ_IN_RTBUF   0xFFFFF7FF
 
#define S_000E40_CPRQ_IN_RTBUF(x)   (((x) & 0x1) << 12)
 
#define G_000E40_CPRQ_IN_RTBUF(x)   (((x) >> 12) & 0x1)
 
#define C_000E40_CPRQ_IN_RTBUF   0xFFFFEFFF
 
#define S_000E40_CFRQ_IN_RTBUF(x)   (((x) & 0x1) << 13)
 
#define G_000E40_CFRQ_IN_RTBUF(x)   (((x) >> 13) & 0x1)
 
#define C_000E40_CFRQ_IN_RTBUF   0xFFFFDFFF
 
#define S_000E40_CF_PIPE_BUSY(x)   (((x) & 0x1) << 14)
 
#define G_000E40_CF_PIPE_BUSY(x)   (((x) >> 14) & 0x1)
 
#define C_000E40_CF_PIPE_BUSY   0xFFFFBFFF
 
#define S_000E40_ENG_EV_BUSY(x)   (((x) & 0x1) << 15)
 
#define G_000E40_ENG_EV_BUSY(x)   (((x) >> 15) & 0x1)
 
#define C_000E40_ENG_EV_BUSY   0xFFFF7FFF
 
#define S_000E40_CP_CMDSTRM_BUSY(x)   (((x) & 0x1) << 16)
 
#define G_000E40_CP_CMDSTRM_BUSY(x)   (((x) >> 16) & 0x1)
 
#define C_000E40_CP_CMDSTRM_BUSY   0xFFFEFFFF
 
#define S_000E40_E2_BUSY(x)   (((x) & 0x1) << 17)
 
#define G_000E40_E2_BUSY(x)   (((x) >> 17) & 0x1)
 
#define C_000E40_E2_BUSY   0xFFFDFFFF
 
#define S_000E40_RB2D_BUSY(x)   (((x) & 0x1) << 18)
 
#define G_000E40_RB2D_BUSY(x)   (((x) >> 18) & 0x1)
 
#define C_000E40_RB2D_BUSY   0xFFFBFFFF
 
#define S_000E40_RB3D_BUSY(x)   (((x) & 0x1) << 19)
 
#define G_000E40_RB3D_BUSY(x)   (((x) >> 19) & 0x1)
 
#define C_000E40_RB3D_BUSY   0xFFF7FFFF
 
#define S_000E40_VAP_BUSY(x)   (((x) & 0x1) << 20)
 
#define G_000E40_VAP_BUSY(x)   (((x) >> 20) & 0x1)
 
#define C_000E40_VAP_BUSY   0xFFEFFFFF
 
#define S_000E40_RE_BUSY(x)   (((x) & 0x1) << 21)
 
#define G_000E40_RE_BUSY(x)   (((x) >> 21) & 0x1)
 
#define C_000E40_RE_BUSY   0xFFDFFFFF
 
#define S_000E40_TAM_BUSY(x)   (((x) & 0x1) << 22)
 
#define G_000E40_TAM_BUSY(x)   (((x) >> 22) & 0x1)
 
#define C_000E40_TAM_BUSY   0xFFBFFFFF
 
#define S_000E40_TDM_BUSY(x)   (((x) & 0x1) << 23)
 
#define G_000E40_TDM_BUSY(x)   (((x) >> 23) & 0x1)
 
#define C_000E40_TDM_BUSY   0xFF7FFFFF
 
#define S_000E40_PB_BUSY(x)   (((x) & 0x1) << 24)
 
#define G_000E40_PB_BUSY(x)   (((x) >> 24) & 0x1)
 
#define C_000E40_PB_BUSY   0xFEFFFFFF
 
#define S_000E40_TIM_BUSY(x)   (((x) & 0x1) << 25)
 
#define G_000E40_TIM_BUSY(x)   (((x) >> 25) & 0x1)
 
#define C_000E40_TIM_BUSY   0xFDFFFFFF
 
#define S_000E40_GA_BUSY(x)   (((x) & 0x1) << 26)
 
#define G_000E40_GA_BUSY(x)   (((x) >> 26) & 0x1)
 
#define C_000E40_GA_BUSY   0xFBFFFFFF
 
#define S_000E40_CBA2D_BUSY(x)   (((x) & 0x1) << 27)
 
#define G_000E40_CBA2D_BUSY(x)   (((x) >> 27) & 0x1)
 
#define C_000E40_CBA2D_BUSY   0xF7FFFFFF
 
#define S_000E40_GUI_ACTIVE(x)   (((x) & 0x1) << 31)
 
#define G_000E40_GUI_ACTIVE(x)   (((x) >> 31) & 0x1)
 
#define C_000E40_GUI_ACTIVE   0x7FFFFFFF
 
#define R_0000F0_RBBM_SOFT_RESET   0x0000F0
 
#define S_0000F0_SOFT_RESET_CP(x)   (((x) & 0x1) << 0)
 
#define G_0000F0_SOFT_RESET_CP(x)   (((x) >> 0) & 0x1)
 
#define C_0000F0_SOFT_RESET_CP   0xFFFFFFFE
 
#define S_0000F0_SOFT_RESET_HI(x)   (((x) & 0x1) << 1)
 
#define G_0000F0_SOFT_RESET_HI(x)   (((x) >> 1) & 0x1)
 
#define C_0000F0_SOFT_RESET_HI   0xFFFFFFFD
 
#define S_0000F0_SOFT_RESET_VAP(x)   (((x) & 0x1) << 2)
 
#define G_0000F0_SOFT_RESET_VAP(x)   (((x) >> 2) & 0x1)
 
#define C_0000F0_SOFT_RESET_VAP   0xFFFFFFFB
 
#define S_0000F0_SOFT_RESET_RE(x)   (((x) & 0x1) << 3)
 
#define G_0000F0_SOFT_RESET_RE(x)   (((x) >> 3) & 0x1)
 
#define C_0000F0_SOFT_RESET_RE   0xFFFFFFF7
 
#define S_0000F0_SOFT_RESET_PP(x)   (((x) & 0x1) << 4)
 
#define G_0000F0_SOFT_RESET_PP(x)   (((x) >> 4) & 0x1)
 
#define C_0000F0_SOFT_RESET_PP   0xFFFFFFEF
 
#define S_0000F0_SOFT_RESET_E2(x)   (((x) & 0x1) << 5)
 
#define G_0000F0_SOFT_RESET_E2(x)   (((x) >> 5) & 0x1)
 
#define C_0000F0_SOFT_RESET_E2   0xFFFFFFDF
 
#define S_0000F0_SOFT_RESET_RB(x)   (((x) & 0x1) << 6)
 
#define G_0000F0_SOFT_RESET_RB(x)   (((x) >> 6) & 0x1)
 
#define C_0000F0_SOFT_RESET_RB   0xFFFFFFBF
 
#define S_0000F0_SOFT_RESET_HDP(x)   (((x) & 0x1) << 7)
 
#define G_0000F0_SOFT_RESET_HDP(x)   (((x) >> 7) & 0x1)
 
#define C_0000F0_SOFT_RESET_HDP   0xFFFFFF7F
 
#define S_0000F0_SOFT_RESET_MC(x)   (((x) & 0x1) << 8)
 
#define G_0000F0_SOFT_RESET_MC(x)   (((x) >> 8) & 0x1)
 
#define C_0000F0_SOFT_RESET_MC   0xFFFFFEFF
 
#define S_0000F0_SOFT_RESET_AIC(x)   (((x) & 0x1) << 9)
 
#define G_0000F0_SOFT_RESET_AIC(x)   (((x) >> 9) & 0x1)
 
#define C_0000F0_SOFT_RESET_AIC   0xFFFFFDFF
 
#define S_0000F0_SOFT_RESET_VIP(x)   (((x) & 0x1) << 10)
 
#define G_0000F0_SOFT_RESET_VIP(x)   (((x) >> 10) & 0x1)
 
#define C_0000F0_SOFT_RESET_VIP   0xFFFFFBFF
 
#define S_0000F0_SOFT_RESET_DISP(x)   (((x) & 0x1) << 11)
 
#define G_0000F0_SOFT_RESET_DISP(x)   (((x) >> 11) & 0x1)
 
#define C_0000F0_SOFT_RESET_DISP   0xFFFFF7FF
 
#define S_0000F0_SOFT_RESET_CG(x)   (((x) & 0x1) << 12)
 
#define G_0000F0_SOFT_RESET_CG(x)   (((x) >> 12) & 0x1)
 
#define C_0000F0_SOFT_RESET_CG   0xFFFFEFFF
 
#define S_0000F0_SOFT_RESET_GA(x)   (((x) & 0x1) << 13)
 
#define G_0000F0_SOFT_RESET_GA(x)   (((x) >> 13) & 0x1)
 
#define C_0000F0_SOFT_RESET_GA   0xFFFFDFFF
 
#define S_0000F0_SOFT_RESET_IDCT(x)   (((x) & 0x1) << 14)
 
#define G_0000F0_SOFT_RESET_IDCT(x)   (((x) >> 14) & 0x1)
 
#define C_0000F0_SOFT_RESET_IDCT   0xFFFFBFFF
 
#define R_00000D_SCLK_CNTL   0x00000D
 
#define S_00000D_SCLK_SRC_SEL(x)   (((x) & 0x7) << 0)
 
#define G_00000D_SCLK_SRC_SEL(x)   (((x) >> 0) & 0x7)
 
#define C_00000D_SCLK_SRC_SEL   0xFFFFFFF8
 
#define S_00000D_CP_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 3)
 
#define G_00000D_CP_MAX_DYN_STOP_LAT(x)   (((x) >> 3) & 0x1)
 
#define C_00000D_CP_MAX_DYN_STOP_LAT   0xFFFFFFF7
 
#define S_00000D_HDP_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 4)
 
#define G_00000D_HDP_MAX_DYN_STOP_LAT(x)   (((x) >> 4) & 0x1)
 
#define C_00000D_HDP_MAX_DYN_STOP_LAT   0xFFFFFFEF
 
#define S_00000D_TV_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 5)
 
#define G_00000D_TV_MAX_DYN_STOP_LAT(x)   (((x) >> 5) & 0x1)
 
#define C_00000D_TV_MAX_DYN_STOP_LAT   0xFFFFFFDF
 
#define S_00000D_E2_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 6)
 
#define G_00000D_E2_MAX_DYN_STOP_LAT(x)   (((x) >> 6) & 0x1)
 
#define C_00000D_E2_MAX_DYN_STOP_LAT   0xFFFFFFBF
 
#define S_00000D_SE_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 7)
 
#define G_00000D_SE_MAX_DYN_STOP_LAT(x)   (((x) >> 7) & 0x1)
 
#define C_00000D_SE_MAX_DYN_STOP_LAT   0xFFFFFF7F
 
#define S_00000D_IDCT_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 8)
 
#define G_00000D_IDCT_MAX_DYN_STOP_LAT(x)   (((x) >> 8) & 0x1)
 
#define C_00000D_IDCT_MAX_DYN_STOP_LAT   0xFFFFFEFF
 
#define S_00000D_VIP_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 9)
 
#define G_00000D_VIP_MAX_DYN_STOP_LAT(x)   (((x) >> 9) & 0x1)
 
#define C_00000D_VIP_MAX_DYN_STOP_LAT   0xFFFFFDFF
 
#define S_00000D_RE_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 10)
 
#define G_00000D_RE_MAX_DYN_STOP_LAT(x)   (((x) >> 10) & 0x1)
 
#define C_00000D_RE_MAX_DYN_STOP_LAT   0xFFFFFBFF
 
#define S_00000D_PB_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 11)
 
#define G_00000D_PB_MAX_DYN_STOP_LAT(x)   (((x) >> 11) & 0x1)
 
#define C_00000D_PB_MAX_DYN_STOP_LAT   0xFFFFF7FF
 
#define S_00000D_TAM_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 12)
 
#define G_00000D_TAM_MAX_DYN_STOP_LAT(x)   (((x) >> 12) & 0x1)
 
#define C_00000D_TAM_MAX_DYN_STOP_LAT   0xFFFFEFFF
 
#define S_00000D_TDM_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 13)
 
#define G_00000D_TDM_MAX_DYN_STOP_LAT(x)   (((x) >> 13) & 0x1)
 
#define C_00000D_TDM_MAX_DYN_STOP_LAT   0xFFFFDFFF
 
#define S_00000D_RB_MAX_DYN_STOP_LAT(x)   (((x) & 0x1) << 14)
 
#define G_00000D_RB_MAX_DYN_STOP_LAT(x)   (((x) >> 14) & 0x1)
 
#define C_00000D_RB_MAX_DYN_STOP_LAT   0xFFFFBFFF
 
#define S_00000D_FORCE_DISP2(x)   (((x) & 0x1) << 15)
 
#define G_00000D_FORCE_DISP2(x)   (((x) >> 15) & 0x1)
 
#define C_00000D_FORCE_DISP2   0xFFFF7FFF
 
#define S_00000D_FORCE_CP(x)   (((x) & 0x1) << 16)
 
#define G_00000D_FORCE_CP(x)   (((x) >> 16) & 0x1)
 
#define C_00000D_FORCE_CP   0xFFFEFFFF
 
#define S_00000D_FORCE_HDP(x)   (((x) & 0x1) << 17)
 
#define G_00000D_FORCE_HDP(x)   (((x) >> 17) & 0x1)
 
#define C_00000D_FORCE_HDP   0xFFFDFFFF
 
#define S_00000D_FORCE_DISP1(x)   (((x) & 0x1) << 18)
 
#define G_00000D_FORCE_DISP1(x)   (((x) >> 18) & 0x1)
 
#define C_00000D_FORCE_DISP1   0xFFFBFFFF
 
#define S_00000D_FORCE_TOP(x)   (((x) & 0x1) << 19)
 
#define G_00000D_FORCE_TOP(x)   (((x) >> 19) & 0x1)
 
#define C_00000D_FORCE_TOP   0xFFF7FFFF
 
#define S_00000D_FORCE_E2(x)   (((x) & 0x1) << 20)
 
#define G_00000D_FORCE_E2(x)   (((x) >> 20) & 0x1)
 
#define C_00000D_FORCE_E2   0xFFEFFFFF
 
#define S_00000D_FORCE_SE(x)   (((x) & 0x1) << 21)
 
#define G_00000D_FORCE_SE(x)   (((x) >> 21) & 0x1)
 
#define C_00000D_FORCE_SE   0xFFDFFFFF
 
#define S_00000D_FORCE_IDCT(x)   (((x) & 0x1) << 22)
 
#define G_00000D_FORCE_IDCT(x)   (((x) >> 22) & 0x1)
 
#define C_00000D_FORCE_IDCT   0xFFBFFFFF
 
#define S_00000D_FORCE_VIP(x)   (((x) & 0x1) << 23)
 
#define G_00000D_FORCE_VIP(x)   (((x) >> 23) & 0x1)
 
#define C_00000D_FORCE_VIP   0xFF7FFFFF
 
#define S_00000D_FORCE_RE(x)   (((x) & 0x1) << 24)
 
#define G_00000D_FORCE_RE(x)   (((x) >> 24) & 0x1)
 
#define C_00000D_FORCE_RE   0xFEFFFFFF
 
#define S_00000D_FORCE_PB(x)   (((x) & 0x1) << 25)
 
#define G_00000D_FORCE_PB(x)   (((x) >> 25) & 0x1)
 
#define C_00000D_FORCE_PB   0xFDFFFFFF
 
#define S_00000D_FORCE_TAM(x)   (((x) & 0x1) << 26)
 
#define G_00000D_FORCE_TAM(x)   (((x) >> 26) & 0x1)
 
#define C_00000D_FORCE_TAM   0xFBFFFFFF
 
#define S_00000D_FORCE_TDM(x)   (((x) & 0x1) << 27)
 
#define G_00000D_FORCE_TDM(x)   (((x) >> 27) & 0x1)
 
#define C_00000D_FORCE_TDM   0xF7FFFFFF
 
#define S_00000D_FORCE_RB(x)   (((x) & 0x1) << 28)
 
#define G_00000D_FORCE_RB(x)   (((x) >> 28) & 0x1)
 
#define C_00000D_FORCE_RB   0xEFFFFFFF
 
#define S_00000D_FORCE_TV_SCLK(x)   (((x) & 0x1) << 29)
 
#define G_00000D_FORCE_TV_SCLK(x)   (((x) >> 29) & 0x1)
 
#define C_00000D_FORCE_TV_SCLK   0xDFFFFFFF
 
#define S_00000D_FORCE_SUBPIC(x)   (((x) & 0x1) << 30)
 
#define G_00000D_FORCE_SUBPIC(x)   (((x) >> 30) & 0x1)
 
#define C_00000D_FORCE_SUBPIC   0xBFFFFFFF
 
#define S_00000D_FORCE_OV0(x)   (((x) & 0x1) << 31)
 
#define G_00000D_FORCE_OV0(x)   (((x) >> 31) & 0x1)
 
#define C_00000D_FORCE_OV0   0x7FFFFFFF
 

Macro Definition Documentation

#define C_00000D_CP_MAX_DYN_STOP_LAT   0xFFFFFFF7

Definition at line 268 of file r300d.h.

#define C_00000D_E2_MAX_DYN_STOP_LAT   0xFFFFFFBF

Definition at line 277 of file r300d.h.

#define C_00000D_FORCE_CP   0xFFFEFFFF

Definition at line 307 of file r300d.h.

#define C_00000D_FORCE_DISP1   0xFFFBFFFF

Definition at line 313 of file r300d.h.

#define C_00000D_FORCE_DISP2   0xFFFF7FFF

Definition at line 304 of file r300d.h.

#define C_00000D_FORCE_E2   0xFFEFFFFF

Definition at line 319 of file r300d.h.

#define C_00000D_FORCE_HDP   0xFFFDFFFF

Definition at line 310 of file r300d.h.

#define C_00000D_FORCE_IDCT   0xFFBFFFFF

Definition at line 325 of file r300d.h.

#define C_00000D_FORCE_OV0   0x7FFFFFFF

Definition at line 352 of file r300d.h.

#define C_00000D_FORCE_PB   0xFDFFFFFF

Definition at line 334 of file r300d.h.

#define C_00000D_FORCE_RB   0xEFFFFFFF

Definition at line 343 of file r300d.h.

#define C_00000D_FORCE_RE   0xFEFFFFFF

Definition at line 331 of file r300d.h.

#define C_00000D_FORCE_SE   0xFFDFFFFF

Definition at line 322 of file r300d.h.

#define C_00000D_FORCE_SUBPIC   0xBFFFFFFF

Definition at line 349 of file r300d.h.

#define C_00000D_FORCE_TAM   0xFBFFFFFF

Definition at line 337 of file r300d.h.

#define C_00000D_FORCE_TDM   0xF7FFFFFF

Definition at line 340 of file r300d.h.

#define C_00000D_FORCE_TOP   0xFFF7FFFF

Definition at line 316 of file r300d.h.

#define C_00000D_FORCE_TV_SCLK   0xDFFFFFFF

Definition at line 346 of file r300d.h.

#define C_00000D_FORCE_VIP   0xFF7FFFFF

Definition at line 328 of file r300d.h.

#define C_00000D_HDP_MAX_DYN_STOP_LAT   0xFFFFFFEF

Definition at line 271 of file r300d.h.

#define C_00000D_IDCT_MAX_DYN_STOP_LAT   0xFFFFFEFF

Definition at line 283 of file r300d.h.

#define C_00000D_PB_MAX_DYN_STOP_LAT   0xFFFFF7FF

Definition at line 292 of file r300d.h.

#define C_00000D_RB_MAX_DYN_STOP_LAT   0xFFFFBFFF

Definition at line 301 of file r300d.h.

#define C_00000D_RE_MAX_DYN_STOP_LAT   0xFFFFFBFF

Definition at line 289 of file r300d.h.

#define C_00000D_SCLK_SRC_SEL   0xFFFFFFF8

Definition at line 265 of file r300d.h.

#define C_00000D_SE_MAX_DYN_STOP_LAT   0xFFFFFF7F

Definition at line 280 of file r300d.h.

#define C_00000D_TAM_MAX_DYN_STOP_LAT   0xFFFFEFFF

Definition at line 295 of file r300d.h.

#define C_00000D_TDM_MAX_DYN_STOP_LAT   0xFFFFDFFF

Definition at line 298 of file r300d.h.

#define C_00000D_TV_MAX_DYN_STOP_LAT   0xFFFFFFDF

Definition at line 274 of file r300d.h.

#define C_00000D_VIP_MAX_DYN_STOP_LAT   0xFFFFFDFF

Definition at line 286 of file r300d.h.

#define C_0000F0_SOFT_RESET_AIC   0xFFFFFDFF

Definition at line 245 of file r300d.h.

#define C_0000F0_SOFT_RESET_CG   0xFFFFEFFF

Definition at line 254 of file r300d.h.

#define C_0000F0_SOFT_RESET_CP   0xFFFFFFFE

Definition at line 218 of file r300d.h.

#define C_0000F0_SOFT_RESET_DISP   0xFFFFF7FF

Definition at line 251 of file r300d.h.

#define C_0000F0_SOFT_RESET_E2   0xFFFFFFDF

Definition at line 233 of file r300d.h.

#define C_0000F0_SOFT_RESET_GA   0xFFFFDFFF

Definition at line 257 of file r300d.h.

#define C_0000F0_SOFT_RESET_HDP   0xFFFFFF7F

Definition at line 239 of file r300d.h.

#define C_0000F0_SOFT_RESET_HI   0xFFFFFFFD

Definition at line 221 of file r300d.h.

#define C_0000F0_SOFT_RESET_IDCT   0xFFFFBFFF

Definition at line 260 of file r300d.h.

#define C_0000F0_SOFT_RESET_MC   0xFFFFFEFF

Definition at line 242 of file r300d.h.

#define C_0000F0_SOFT_RESET_PP   0xFFFFFFEF

Definition at line 230 of file r300d.h.

#define C_0000F0_SOFT_RESET_RB   0xFFFFFFBF

Definition at line 236 of file r300d.h.

#define C_0000F0_SOFT_RESET_RE   0xFFFFFFF7

Definition at line 227 of file r300d.h.

#define C_0000F0_SOFT_RESET_VAP   0xFFFFFFFB

Definition at line 224 of file r300d.h.

#define C_0000F0_SOFT_RESET_VIP   0xFFFFFBFF

Definition at line 248 of file r300d.h.

#define C_000148_MC_FB_START   0xFFFF0000

Definition at line 83 of file r300d.h.

#define C_000148_MC_FB_TOP   0x0000FFFF

Definition at line 86 of file r300d.h.

#define C_00014C_MC_AGP_START   0xFFFF0000

Definition at line 90 of file r300d.h.

#define C_00014C_MC_AGP_TOP   0x0000FFFF

Definition at line 93 of file r300d.h.

#define C_00015C_AGP_BASE_ADDR_2   0xFFFFFFF0

Definition at line 97 of file r300d.h.

#define C_000170_AGP_BASE_ADDR   0x00000000

Definition at line 101 of file r300d.h.

#define C_0007C0_CMDSTRM_BUSY   0xBFFFFFFF

Definition at line 144 of file r300d.h.

#define C_0007C0_CP_BUSY   0x7FFFFFFF

Definition at line 147 of file r300d.h.

#define C_0007C0_CSF_INDIRECT2_BUSY   0xFFFFBFFF

Definition at line 132 of file r300d.h.

#define C_0007C0_CSF_INDIRECT_BUSY   0xFFFFFBFF

Definition at line 120 of file r300d.h.

#define C_0007C0_CSF_PRIMARY_BUSY   0xFFFFFDFF

Definition at line 117 of file r300d.h.

#define C_0007C0_CSI_BUSY   0xFFFFDFFF

Definition at line 129 of file r300d.h.

#define C_0007C0_CSQ_INDIRECT2_BUSY   0xFFFF7FFF

Definition at line 135 of file r300d.h.

#define C_0007C0_CSQ_INDIRECT_BUSY   0xFFFFEFFF

Definition at line 126 of file r300d.h.

#define C_0007C0_CSQ_PRIMARY_BUSY   0xFFFFF7FF

Definition at line 123 of file r300d.h.

#define C_0007C0_GUIDMA_BUSY   0xEFFFFFFF

Definition at line 138 of file r300d.h.

#define C_0007C0_MRU_BUSY   0xFFFFFFFE

Definition at line 105 of file r300d.h.

#define C_0007C0_MWU_BUSY   0xFFFFFFFD

Definition at line 108 of file r300d.h.

#define C_0007C0_RCIU_BUSY   0xFFFFFFF7

Definition at line 114 of file r300d.h.

#define C_0007C0_RSIU_BUSY   0xFFFFFFFB

Definition at line 111 of file r300d.h.

#define C_0007C0_VIDDMA_BUSY   0xDFFFFFFF

Definition at line 141 of file r300d.h.

#define C_000E40_CBA2D_BUSY   0xF7FFFFFF

Definition at line 211 of file r300d.h.

#define C_000E40_CF_PIPE_BUSY   0xFFFFBFFF

Definition at line 172 of file r300d.h.

#define C_000E40_CFRQ_IN_RTBUF   0xFFFFDFFF

Definition at line 169 of file r300d.h.

#define C_000E40_CFRQ_ON_RBB   0xFFFFFBFF

Definition at line 160 of file r300d.h.

#define C_000E40_CMDFIFO_AVAIL   0xFFFFFF80

Definition at line 151 of file r300d.h.

#define C_000E40_CP_CMDSTRM_BUSY   0xFFFEFFFF

Definition at line 178 of file r300d.h.

#define C_000E40_CPRQ_IN_RTBUF   0xFFFFEFFF

Definition at line 166 of file r300d.h.

#define C_000E40_CPRQ_ON_RBB   0xFFFFFDFF

Definition at line 157 of file r300d.h.

#define C_000E40_E2_BUSY   0xFFFDFFFF

Definition at line 181 of file r300d.h.

#define C_000E40_ENG_EV_BUSY   0xFFFF7FFF

Definition at line 175 of file r300d.h.

#define C_000E40_GA_BUSY   0xFBFFFFFF

Definition at line 208 of file r300d.h.

#define C_000E40_GUI_ACTIVE   0x7FFFFFFF

Definition at line 214 of file r300d.h.

#define C_000E40_HIRQ_IN_RTBUF   0xFFFFF7FF

Definition at line 163 of file r300d.h.

#define C_000E40_HIRQ_ON_RBB   0xFFFFFEFF

Definition at line 154 of file r300d.h.

#define C_000E40_PB_BUSY   0xFEFFFFFF

Definition at line 202 of file r300d.h.

#define C_000E40_RB2D_BUSY   0xFFFBFFFF

Definition at line 184 of file r300d.h.

#define C_000E40_RB3D_BUSY   0xFFF7FFFF

Definition at line 187 of file r300d.h.

#define C_000E40_RE_BUSY   0xFFDFFFFF

Definition at line 193 of file r300d.h.

#define C_000E40_TAM_BUSY   0xFFBFFFFF

Definition at line 196 of file r300d.h.

#define C_000E40_TDM_BUSY   0xFF7FFFFF

Definition at line 199 of file r300d.h.

#define C_000E40_TIM_BUSY   0xFDFFFFFF

Definition at line 205 of file r300d.h.

#define C_000E40_VAP_BUSY   0xFFEFFFFF

Definition at line 190 of file r300d.h.

#define CP_PACKET0   0x00000000

Definition at line 31 of file r300d.h.

#define CP_PACKET0_GET_ONE_REG_WR (   h)    (((h) >> 15) & 1)

Definition at line 76 of file r300d.h.

#define CP_PACKET0_GET_REG (   h)    (((h) & 0x1FFF) << 2)

Definition at line 75 of file r300d.h.

#define CP_PACKET1   0x40000000

Definition at line 36 of file r300d.h.

#define CP_PACKET2   0x80000000

Definition at line 37 of file r300d.h.

#define CP_PACKET3   0xC0000000

Definition at line 40 of file r300d.h.

#define CP_PACKET3_GET_OPCODE (   h)    (((h) >> 8) & 0xFF)

Definition at line 77 of file r300d.h.

#define CP_PACKET_GET_COUNT (   h)    (((h) >> 16) & 0x3FFF)

Definition at line 74 of file r300d.h.

#define CP_PACKET_GET_TYPE (   h)    (((h) >> 30) & 3)

Definition at line 73 of file r300d.h.

#define G_00000D_CP_MAX_DYN_STOP_LAT (   x)    (((x) >> 3) & 0x1)

Definition at line 267 of file r300d.h.

#define G_00000D_E2_MAX_DYN_STOP_LAT (   x)    (((x) >> 6) & 0x1)

Definition at line 276 of file r300d.h.

#define G_00000D_FORCE_CP (   x)    (((x) >> 16) & 0x1)

Definition at line 306 of file r300d.h.

#define G_00000D_FORCE_DISP1 (   x)    (((x) >> 18) & 0x1)

Definition at line 312 of file r300d.h.

#define G_00000D_FORCE_DISP2 (   x)    (((x) >> 15) & 0x1)

Definition at line 303 of file r300d.h.

#define G_00000D_FORCE_E2 (   x)    (((x) >> 20) & 0x1)

Definition at line 318 of file r300d.h.

#define G_00000D_FORCE_HDP (   x)    (((x) >> 17) & 0x1)

Definition at line 309 of file r300d.h.

#define G_00000D_FORCE_IDCT (   x)    (((x) >> 22) & 0x1)

Definition at line 324 of file r300d.h.

#define G_00000D_FORCE_OV0 (   x)    (((x) >> 31) & 0x1)

Definition at line 351 of file r300d.h.

#define G_00000D_FORCE_PB (   x)    (((x) >> 25) & 0x1)

Definition at line 333 of file r300d.h.

#define G_00000D_FORCE_RB (   x)    (((x) >> 28) & 0x1)

Definition at line 342 of file r300d.h.

#define G_00000D_FORCE_RE (   x)    (((x) >> 24) & 0x1)

Definition at line 330 of file r300d.h.

#define G_00000D_FORCE_SE (   x)    (((x) >> 21) & 0x1)

Definition at line 321 of file r300d.h.

#define G_00000D_FORCE_SUBPIC (   x)    (((x) >> 30) & 0x1)

Definition at line 348 of file r300d.h.

#define G_00000D_FORCE_TAM (   x)    (((x) >> 26) & 0x1)

Definition at line 336 of file r300d.h.

#define G_00000D_FORCE_TDM (   x)    (((x) >> 27) & 0x1)

Definition at line 339 of file r300d.h.

#define G_00000D_FORCE_TOP (   x)    (((x) >> 19) & 0x1)

Definition at line 315 of file r300d.h.

#define G_00000D_FORCE_TV_SCLK (   x)    (((x) >> 29) & 0x1)

Definition at line 345 of file r300d.h.

#define G_00000D_FORCE_VIP (   x)    (((x) >> 23) & 0x1)

Definition at line 327 of file r300d.h.

#define G_00000D_HDP_MAX_DYN_STOP_LAT (   x)    (((x) >> 4) & 0x1)

Definition at line 270 of file r300d.h.

#define G_00000D_IDCT_MAX_DYN_STOP_LAT (   x)    (((x) >> 8) & 0x1)

Definition at line 282 of file r300d.h.

#define G_00000D_PB_MAX_DYN_STOP_LAT (   x)    (((x) >> 11) & 0x1)

Definition at line 291 of file r300d.h.

#define G_00000D_RB_MAX_DYN_STOP_LAT (   x)    (((x) >> 14) & 0x1)

Definition at line 300 of file r300d.h.

#define G_00000D_RE_MAX_DYN_STOP_LAT (   x)    (((x) >> 10) & 0x1)

Definition at line 288 of file r300d.h.

#define G_00000D_SCLK_SRC_SEL (   x)    (((x) >> 0) & 0x7)

Definition at line 264 of file r300d.h.

#define G_00000D_SE_MAX_DYN_STOP_LAT (   x)    (((x) >> 7) & 0x1)

Definition at line 279 of file r300d.h.

#define G_00000D_TAM_MAX_DYN_STOP_LAT (   x)    (((x) >> 12) & 0x1)

Definition at line 294 of file r300d.h.

#define G_00000D_TDM_MAX_DYN_STOP_LAT (   x)    (((x) >> 13) & 0x1)

Definition at line 297 of file r300d.h.

#define G_00000D_TV_MAX_DYN_STOP_LAT (   x)    (((x) >> 5) & 0x1)

Definition at line 273 of file r300d.h.

#define G_00000D_VIP_MAX_DYN_STOP_LAT (   x)    (((x) >> 9) & 0x1)

Definition at line 285 of file r300d.h.

#define G_0000F0_SOFT_RESET_AIC (   x)    (((x) >> 9) & 0x1)

Definition at line 244 of file r300d.h.

#define G_0000F0_SOFT_RESET_CG (   x)    (((x) >> 12) & 0x1)

Definition at line 253 of file r300d.h.

#define G_0000F0_SOFT_RESET_CP (   x)    (((x) >> 0) & 0x1)

Definition at line 217 of file r300d.h.

#define G_0000F0_SOFT_RESET_DISP (   x)    (((x) >> 11) & 0x1)

Definition at line 250 of file r300d.h.

#define G_0000F0_SOFT_RESET_E2 (   x)    (((x) >> 5) & 0x1)

Definition at line 232 of file r300d.h.

#define G_0000F0_SOFT_RESET_GA (   x)    (((x) >> 13) & 0x1)

Definition at line 256 of file r300d.h.

#define G_0000F0_SOFT_RESET_HDP (   x)    (((x) >> 7) & 0x1)

Definition at line 238 of file r300d.h.

#define G_0000F0_SOFT_RESET_HI (   x)    (((x) >> 1) & 0x1)

Definition at line 220 of file r300d.h.

#define G_0000F0_SOFT_RESET_IDCT (   x)    (((x) >> 14) & 0x1)

Definition at line 259 of file r300d.h.

#define G_0000F0_SOFT_RESET_MC (   x)    (((x) >> 8) & 0x1)

Definition at line 241 of file r300d.h.

#define G_0000F0_SOFT_RESET_PP (   x)    (((x) >> 4) & 0x1)

Definition at line 229 of file r300d.h.

#define G_0000F0_SOFT_RESET_RB (   x)    (((x) >> 6) & 0x1)

Definition at line 235 of file r300d.h.

#define G_0000F0_SOFT_RESET_RE (   x)    (((x) >> 3) & 0x1)

Definition at line 226 of file r300d.h.

#define G_0000F0_SOFT_RESET_VAP (   x)    (((x) >> 2) & 0x1)

Definition at line 223 of file r300d.h.

#define G_0000F0_SOFT_RESET_VIP (   x)    (((x) >> 10) & 0x1)

Definition at line 247 of file r300d.h.

#define G_000148_MC_FB_START (   x)    (((x) >> 0) & 0xFFFF)

Definition at line 82 of file r300d.h.

#define G_000148_MC_FB_TOP (   x)    (((x) >> 16) & 0xFFFF)

Definition at line 85 of file r300d.h.

#define G_00014C_MC_AGP_START (   x)    (((x) >> 0) & 0xFFFF)

Definition at line 89 of file r300d.h.

#define G_00014C_MC_AGP_TOP (   x)    (((x) >> 16) & 0xFFFF)

Definition at line 92 of file r300d.h.

#define G_00015C_AGP_BASE_ADDR_2 (   x)    (((x) >> 0) & 0xF)

Definition at line 96 of file r300d.h.

#define G_000170_AGP_BASE_ADDR (   x)    (((x) >> 0) & 0xFFFFFFFF)

Definition at line 100 of file r300d.h.

#define G_0007C0_CMDSTRM_BUSY (   x)    (((x) >> 30) & 0x1)

Definition at line 143 of file r300d.h.

#define G_0007C0_CP_BUSY (   x)    (((x) >> 31) & 0x1)

Definition at line 146 of file r300d.h.

#define G_0007C0_CSF_INDIRECT2_BUSY (   x)    (((x) >> 14) & 0x1)

Definition at line 131 of file r300d.h.

#define G_0007C0_CSF_INDIRECT_BUSY (   x)    (((x) >> 10) & 0x1)

Definition at line 119 of file r300d.h.

#define G_0007C0_CSF_PRIMARY_BUSY (   x)    (((x) >> 9) & 0x1)

Definition at line 116 of file r300d.h.

#define G_0007C0_CSI_BUSY (   x)    (((x) >> 13) & 0x1)

Definition at line 128 of file r300d.h.

#define G_0007C0_CSQ_INDIRECT2_BUSY (   x)    (((x) >> 15) & 0x1)

Definition at line 134 of file r300d.h.

#define G_0007C0_CSQ_INDIRECT_BUSY (   x)    (((x) >> 12) & 0x1)

Definition at line 125 of file r300d.h.

#define G_0007C0_CSQ_PRIMARY_BUSY (   x)    (((x) >> 11) & 0x1)

Definition at line 122 of file r300d.h.

#define G_0007C0_GUIDMA_BUSY (   x)    (((x) >> 28) & 0x1)

Definition at line 137 of file r300d.h.

#define G_0007C0_MRU_BUSY (   x)    (((x) >> 0) & 0x1)

Definition at line 104 of file r300d.h.

#define G_0007C0_MWU_BUSY (   x)    (((x) >> 1) & 0x1)

Definition at line 107 of file r300d.h.

#define G_0007C0_RCIU_BUSY (   x)    (((x) >> 3) & 0x1)

Definition at line 113 of file r300d.h.

#define G_0007C0_RSIU_BUSY (   x)    (((x) >> 2) & 0x1)

Definition at line 110 of file r300d.h.

#define G_0007C0_VIDDMA_BUSY (   x)    (((x) >> 29) & 0x1)

Definition at line 140 of file r300d.h.

#define G_000E40_CBA2D_BUSY (   x)    (((x) >> 27) & 0x1)

Definition at line 210 of file r300d.h.

#define G_000E40_CF_PIPE_BUSY (   x)    (((x) >> 14) & 0x1)

Definition at line 171 of file r300d.h.

#define G_000E40_CFRQ_IN_RTBUF (   x)    (((x) >> 13) & 0x1)

Definition at line 168 of file r300d.h.

#define G_000E40_CFRQ_ON_RBB (   x)    (((x) >> 10) & 0x1)

Definition at line 159 of file r300d.h.

#define G_000E40_CMDFIFO_AVAIL (   x)    (((x) >> 0) & 0x7F)

Definition at line 150 of file r300d.h.

#define G_000E40_CP_CMDSTRM_BUSY (   x)    (((x) >> 16) & 0x1)

Definition at line 177 of file r300d.h.

#define G_000E40_CPRQ_IN_RTBUF (   x)    (((x) >> 12) & 0x1)

Definition at line 165 of file r300d.h.

#define G_000E40_CPRQ_ON_RBB (   x)    (((x) >> 9) & 0x1)

Definition at line 156 of file r300d.h.

#define G_000E40_E2_BUSY (   x)    (((x) >> 17) & 0x1)

Definition at line 180 of file r300d.h.

#define G_000E40_ENG_EV_BUSY (   x)    (((x) >> 15) & 0x1)

Definition at line 174 of file r300d.h.

#define G_000E40_GA_BUSY (   x)    (((x) >> 26) & 0x1)

Definition at line 207 of file r300d.h.

#define G_000E40_GUI_ACTIVE (   x)    (((x) >> 31) & 0x1)

Definition at line 213 of file r300d.h.

#define G_000E40_HIRQ_IN_RTBUF (   x)    (((x) >> 11) & 0x1)

Definition at line 162 of file r300d.h.

#define G_000E40_HIRQ_ON_RBB (   x)    (((x) >> 8) & 0x1)

Definition at line 153 of file r300d.h.

#define G_000E40_PB_BUSY (   x)    (((x) >> 24) & 0x1)

Definition at line 201 of file r300d.h.

#define G_000E40_RB2D_BUSY (   x)    (((x) >> 18) & 0x1)

Definition at line 183 of file r300d.h.

#define G_000E40_RB3D_BUSY (   x)    (((x) >> 19) & 0x1)

Definition at line 186 of file r300d.h.

#define G_000E40_RE_BUSY (   x)    (((x) >> 21) & 0x1)

Definition at line 192 of file r300d.h.

#define G_000E40_TAM_BUSY (   x)    (((x) >> 22) & 0x1)

Definition at line 195 of file r300d.h.

#define G_000E40_TDM_BUSY (   x)    (((x) >> 23) & 0x1)

Definition at line 198 of file r300d.h.

#define G_000E40_TIM_BUSY (   x)    (((x) >> 25) & 0x1)

Definition at line 204 of file r300d.h.

#define G_000E40_VAP_BUSY (   x)    (((x) >> 20) & 0x1)

Definition at line 189 of file r300d.h.

#define PACKET0 (   reg,
  n 
)
Value:
REG_SET(PACKET0_BASE_INDEX, (reg) >> 2) | \
REG_SET(PACKET0_COUNT, (n)))

Definition at line 60 of file r300d.h.

#define PACKET0_BASE_INDEX_MASK   (0x1ffff << 0)

Definition at line 33 of file r300d.h.

#define PACKET0_BASE_INDEX_SHIFT   0

Definition at line 32 of file r300d.h.

#define PACKET0_COUNT_MASK   (0x3fff << 16)

Definition at line 35 of file r300d.h.

#define PACKET0_COUNT_SHIFT   16

Definition at line 34 of file r300d.h.

#define PACKET2 (   v)    (CP_PACKET2 | REG_SET(PACKET2_PAD, (v)))

Definition at line 63 of file r300d.h.

#define PACKET2_PAD_MASK   (0x3fffffff << 0)

Definition at line 39 of file r300d.h.

#define PACKET2_PAD_SHIFT   0

Definition at line 38 of file r300d.h.

#define PACKET3 (   op,
  n 
)
Value:
REG_SET(PACKET3_IT_OPCODE, (op)) | \
REG_SET(PACKET3_COUNT, (n)))

Definition at line 64 of file r300d.h.

#define PACKET3_3D_CLEAR_CMASK   0x38

Definition at line 57 of file r300d.h.

#define PACKET3_3D_CLEAR_HIZ   0x37

Definition at line 56 of file r300d.h.

#define PACKET3_3D_CLEAR_ZMASK   0x32

Definition at line 51 of file r300d.h.

#define PACKET3_3D_DRAW_IMMD   0x29

Definition at line 48 of file r300d.h.

#define PACKET3_3D_DRAW_IMMD_2   0x35

Definition at line 54 of file r300d.h.

#define PACKET3_3D_DRAW_INDX   0x2A

Definition at line 49 of file r300d.h.

#define PACKET3_3D_DRAW_INDX_2   0x36

Definition at line 55 of file r300d.h.

#define PACKET3_3D_DRAW_VBUF   0x28

Definition at line 47 of file r300d.h.

#define PACKET3_3D_DRAW_VBUF_2   0x34

Definition at line 53 of file r300d.h.

#define PACKET3_3D_LOAD_VBPNTR   0x2F

Definition at line 50 of file r300d.h.

#define PACKET3_BITBLT_MULTI   0x9B

Definition at line 58 of file r300d.h.

#define PACKET3_COUNT_MASK   (0x3fff << 16)

Definition at line 44 of file r300d.h.

#define PACKET3_COUNT_SHIFT   16

Definition at line 43 of file r300d.h.

#define PACKET3_INDX_BUFFER   0x33

Definition at line 52 of file r300d.h.

#define PACKET3_IT_OPCODE_MASK   (0xff << 8)

Definition at line 42 of file r300d.h.

#define PACKET3_IT_OPCODE_SHIFT   8

Definition at line 41 of file r300d.h.

#define PACKET3_NOP   0x10

Definition at line 46 of file r300d.h.

#define PACKET_TYPE0   0

Definition at line 68 of file r300d.h.

#define PACKET_TYPE1   1

Definition at line 69 of file r300d.h.

#define PACKET_TYPE2   2

Definition at line 70 of file r300d.h.

#define PACKET_TYPE3   3

Definition at line 71 of file r300d.h.

#define R_00000D_SCLK_CNTL   0x00000D

Definition at line 262 of file r300d.h.

#define R_0000F0_RBBM_SOFT_RESET   0x0000F0

Definition at line 215 of file r300d.h.

#define R_000148_MC_FB_LOCATION   0x000148

Definition at line 80 of file r300d.h.

#define R_00014C_MC_AGP_LOCATION   0x00014C

Definition at line 87 of file r300d.h.

#define R_00015C_AGP_BASE_2   0x00015C

Definition at line 94 of file r300d.h.

#define R_000170_AGP_BASE   0x000170

Definition at line 98 of file r300d.h.

#define R_0007C0_CP_STAT   0x0007C0

Definition at line 102 of file r300d.h.

#define R_000E40_RBBM_STATUS   0x000E40

Definition at line 148 of file r300d.h.

#define S_00000D_CP_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 3)

Definition at line 266 of file r300d.h.

#define S_00000D_E2_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 6)

Definition at line 275 of file r300d.h.

#define S_00000D_FORCE_CP (   x)    (((x) & 0x1) << 16)

Definition at line 305 of file r300d.h.

#define S_00000D_FORCE_DISP1 (   x)    (((x) & 0x1) << 18)

Definition at line 311 of file r300d.h.

#define S_00000D_FORCE_DISP2 (   x)    (((x) & 0x1) << 15)

Definition at line 302 of file r300d.h.

#define S_00000D_FORCE_E2 (   x)    (((x) & 0x1) << 20)

Definition at line 317 of file r300d.h.

#define S_00000D_FORCE_HDP (   x)    (((x) & 0x1) << 17)

Definition at line 308 of file r300d.h.

#define S_00000D_FORCE_IDCT (   x)    (((x) & 0x1) << 22)

Definition at line 323 of file r300d.h.

#define S_00000D_FORCE_OV0 (   x)    (((x) & 0x1) << 31)

Definition at line 350 of file r300d.h.

#define S_00000D_FORCE_PB (   x)    (((x) & 0x1) << 25)

Definition at line 332 of file r300d.h.

#define S_00000D_FORCE_RB (   x)    (((x) & 0x1) << 28)

Definition at line 341 of file r300d.h.

#define S_00000D_FORCE_RE (   x)    (((x) & 0x1) << 24)

Definition at line 329 of file r300d.h.

#define S_00000D_FORCE_SE (   x)    (((x) & 0x1) << 21)

Definition at line 320 of file r300d.h.

#define S_00000D_FORCE_SUBPIC (   x)    (((x) & 0x1) << 30)

Definition at line 347 of file r300d.h.

#define S_00000D_FORCE_TAM (   x)    (((x) & 0x1) << 26)

Definition at line 335 of file r300d.h.

#define S_00000D_FORCE_TDM (   x)    (((x) & 0x1) << 27)

Definition at line 338 of file r300d.h.

#define S_00000D_FORCE_TOP (   x)    (((x) & 0x1) << 19)

Definition at line 314 of file r300d.h.

#define S_00000D_FORCE_TV_SCLK (   x)    (((x) & 0x1) << 29)

Definition at line 344 of file r300d.h.

#define S_00000D_FORCE_VIP (   x)    (((x) & 0x1) << 23)

Definition at line 326 of file r300d.h.

#define S_00000D_HDP_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 4)

Definition at line 269 of file r300d.h.

#define S_00000D_IDCT_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 8)

Definition at line 281 of file r300d.h.

#define S_00000D_PB_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 11)

Definition at line 290 of file r300d.h.

#define S_00000D_RB_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 14)

Definition at line 299 of file r300d.h.

#define S_00000D_RE_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 10)

Definition at line 287 of file r300d.h.

#define S_00000D_SCLK_SRC_SEL (   x)    (((x) & 0x7) << 0)

Definition at line 263 of file r300d.h.

#define S_00000D_SE_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 7)

Definition at line 278 of file r300d.h.

#define S_00000D_TAM_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 12)

Definition at line 293 of file r300d.h.

#define S_00000D_TDM_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 13)

Definition at line 296 of file r300d.h.

#define S_00000D_TV_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 5)

Definition at line 272 of file r300d.h.

#define S_00000D_VIP_MAX_DYN_STOP_LAT (   x)    (((x) & 0x1) << 9)

Definition at line 284 of file r300d.h.

#define S_0000F0_SOFT_RESET_AIC (   x)    (((x) & 0x1) << 9)

Definition at line 243 of file r300d.h.

#define S_0000F0_SOFT_RESET_CG (   x)    (((x) & 0x1) << 12)

Definition at line 252 of file r300d.h.

#define S_0000F0_SOFT_RESET_CP (   x)    (((x) & 0x1) << 0)

Definition at line 216 of file r300d.h.

#define S_0000F0_SOFT_RESET_DISP (   x)    (((x) & 0x1) << 11)

Definition at line 249 of file r300d.h.

#define S_0000F0_SOFT_RESET_E2 (   x)    (((x) & 0x1) << 5)

Definition at line 231 of file r300d.h.

#define S_0000F0_SOFT_RESET_GA (   x)    (((x) & 0x1) << 13)

Definition at line 255 of file r300d.h.

#define S_0000F0_SOFT_RESET_HDP (   x)    (((x) & 0x1) << 7)

Definition at line 237 of file r300d.h.

#define S_0000F0_SOFT_RESET_HI (   x)    (((x) & 0x1) << 1)

Definition at line 219 of file r300d.h.

#define S_0000F0_SOFT_RESET_IDCT (   x)    (((x) & 0x1) << 14)

Definition at line 258 of file r300d.h.

#define S_0000F0_SOFT_RESET_MC (   x)    (((x) & 0x1) << 8)

Definition at line 240 of file r300d.h.

#define S_0000F0_SOFT_RESET_PP (   x)    (((x) & 0x1) << 4)

Definition at line 228 of file r300d.h.

#define S_0000F0_SOFT_RESET_RB (   x)    (((x) & 0x1) << 6)

Definition at line 234 of file r300d.h.

#define S_0000F0_SOFT_RESET_RE (   x)    (((x) & 0x1) << 3)

Definition at line 225 of file r300d.h.

#define S_0000F0_SOFT_RESET_VAP (   x)    (((x) & 0x1) << 2)

Definition at line 222 of file r300d.h.

#define S_0000F0_SOFT_RESET_VIP (   x)    (((x) & 0x1) << 10)

Definition at line 246 of file r300d.h.

#define S_000148_MC_FB_START (   x)    (((x) & 0xFFFF) << 0)

Definition at line 81 of file r300d.h.

#define S_000148_MC_FB_TOP (   x)    (((x) & 0xFFFF) << 16)

Definition at line 84 of file r300d.h.

#define S_00014C_MC_AGP_START (   x)    (((x) & 0xFFFF) << 0)

Definition at line 88 of file r300d.h.

#define S_00014C_MC_AGP_TOP (   x)    (((x) & 0xFFFF) << 16)

Definition at line 91 of file r300d.h.

#define S_00015C_AGP_BASE_ADDR_2 (   x)    (((x) & 0xF) << 0)

Definition at line 95 of file r300d.h.

#define S_000170_AGP_BASE_ADDR (   x)    (((x) & 0xFFFFFFFF) << 0)

Definition at line 99 of file r300d.h.

#define S_0007C0_CMDSTRM_BUSY (   x)    (((x) & 0x1) << 30)

Definition at line 142 of file r300d.h.

#define S_0007C0_CP_BUSY (   x)    (((x) & 0x1) << 31)

Definition at line 145 of file r300d.h.

#define S_0007C0_CSF_INDIRECT2_BUSY (   x)    (((x) & 0x1) << 14)

Definition at line 130 of file r300d.h.

#define S_0007C0_CSF_INDIRECT_BUSY (   x)    (((x) & 0x1) << 10)

Definition at line 118 of file r300d.h.

#define S_0007C0_CSF_PRIMARY_BUSY (   x)    (((x) & 0x1) << 9)

Definition at line 115 of file r300d.h.

#define S_0007C0_CSI_BUSY (   x)    (((x) & 0x1) << 13)

Definition at line 127 of file r300d.h.

#define S_0007C0_CSQ_INDIRECT2_BUSY (   x)    (((x) & 0x1) << 15)

Definition at line 133 of file r300d.h.

#define S_0007C0_CSQ_INDIRECT_BUSY (   x)    (((x) & 0x1) << 12)

Definition at line 124 of file r300d.h.

#define S_0007C0_CSQ_PRIMARY_BUSY (   x)    (((x) & 0x1) << 11)

Definition at line 121 of file r300d.h.

#define S_0007C0_GUIDMA_BUSY (   x)    (((x) & 0x1) << 28)

Definition at line 136 of file r300d.h.

#define S_0007C0_MRU_BUSY (   x)    (((x) & 0x1) << 0)

Definition at line 103 of file r300d.h.

#define S_0007C0_MWU_BUSY (   x)    (((x) & 0x1) << 1)

Definition at line 106 of file r300d.h.

#define S_0007C0_RCIU_BUSY (   x)    (((x) & 0x1) << 3)

Definition at line 112 of file r300d.h.

#define S_0007C0_RSIU_BUSY (   x)    (((x) & 0x1) << 2)

Definition at line 109 of file r300d.h.

#define S_0007C0_VIDDMA_BUSY (   x)    (((x) & 0x1) << 29)

Definition at line 139 of file r300d.h.

#define S_000E40_CBA2D_BUSY (   x)    (((x) & 0x1) << 27)

Definition at line 209 of file r300d.h.

#define S_000E40_CF_PIPE_BUSY (   x)    (((x) & 0x1) << 14)

Definition at line 170 of file r300d.h.

#define S_000E40_CFRQ_IN_RTBUF (   x)    (((x) & 0x1) << 13)

Definition at line 167 of file r300d.h.

#define S_000E40_CFRQ_ON_RBB (   x)    (((x) & 0x1) << 10)

Definition at line 158 of file r300d.h.

#define S_000E40_CMDFIFO_AVAIL (   x)    (((x) & 0x7F) << 0)

Definition at line 149 of file r300d.h.

#define S_000E40_CP_CMDSTRM_BUSY (   x)    (((x) & 0x1) << 16)

Definition at line 176 of file r300d.h.

#define S_000E40_CPRQ_IN_RTBUF (   x)    (((x) & 0x1) << 12)

Definition at line 164 of file r300d.h.

#define S_000E40_CPRQ_ON_RBB (   x)    (((x) & 0x1) << 9)

Definition at line 155 of file r300d.h.

#define S_000E40_E2_BUSY (   x)    (((x) & 0x1) << 17)

Definition at line 179 of file r300d.h.

#define S_000E40_ENG_EV_BUSY (   x)    (((x) & 0x1) << 15)

Definition at line 173 of file r300d.h.

#define S_000E40_GA_BUSY (   x)    (((x) & 0x1) << 26)

Definition at line 206 of file r300d.h.

#define S_000E40_GUI_ACTIVE (   x)    (((x) & 0x1) << 31)

Definition at line 212 of file r300d.h.

#define S_000E40_HIRQ_IN_RTBUF (   x)    (((x) & 0x1) << 11)

Definition at line 161 of file r300d.h.

#define S_000E40_HIRQ_ON_RBB (   x)    (((x) & 0x1) << 8)

Definition at line 152 of file r300d.h.

#define S_000E40_PB_BUSY (   x)    (((x) & 0x1) << 24)

Definition at line 200 of file r300d.h.

#define S_000E40_RB2D_BUSY (   x)    (((x) & 0x1) << 18)

Definition at line 182 of file r300d.h.

#define S_000E40_RB3D_BUSY (   x)    (((x) & 0x1) << 19)

Definition at line 185 of file r300d.h.

#define S_000E40_RE_BUSY (   x)    (((x) & 0x1) << 21)

Definition at line 191 of file r300d.h.

#define S_000E40_TAM_BUSY (   x)    (((x) & 0x1) << 22)

Definition at line 194 of file r300d.h.

#define S_000E40_TDM_BUSY (   x)    (((x) & 0x1) << 23)

Definition at line 197 of file r300d.h.

#define S_000E40_TIM_BUSY (   x)    (((x) & 0x1) << 25)

Definition at line 203 of file r300d.h.

#define S_000E40_VAP_BUSY (   x)    (((x) & 0x1) << 20)

Definition at line 188 of file r300d.h.