Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
r100d.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_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_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_SE(x)   (((x) & 0x1) << 2)
 
#define G_0000F0_SOFT_RESET_SE(x)   (((x) >> 2) & 0x1)
 
#define C_0000F0_SOFT_RESET_SE   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 R_000030_BUS_CNTL   0x000030
 
#define S_000030_BUS_DBL_RESYNC(x)   (((x) & 0x1) << 0)
 
#define G_000030_BUS_DBL_RESYNC(x)   (((x) >> 0) & 0x1)
 
#define C_000030_BUS_DBL_RESYNC   0xFFFFFFFE
 
#define S_000030_BUS_MSTR_RESET(x)   (((x) & 0x1) << 1)
 
#define G_000030_BUS_MSTR_RESET(x)   (((x) >> 1) & 0x1)
 
#define C_000030_BUS_MSTR_RESET   0xFFFFFFFD
 
#define S_000030_BUS_FLUSH_BUF(x)   (((x) & 0x1) << 2)
 
#define G_000030_BUS_FLUSH_BUF(x)   (((x) >> 2) & 0x1)
 
#define C_000030_BUS_FLUSH_BUF   0xFFFFFFFB
 
#define S_000030_BUS_STOP_REQ_DIS(x)   (((x) & 0x1) << 3)
 
#define G_000030_BUS_STOP_REQ_DIS(x)   (((x) >> 3) & 0x1)
 
#define C_000030_BUS_STOP_REQ_DIS   0xFFFFFFF7
 
#define S_000030_BUS_PM4_READ_COMBINE_EN(x)   (((x) & 0x1) << 4)
 
#define G_000030_BUS_PM4_READ_COMBINE_EN(x)   (((x) >> 4) & 0x1)
 
#define C_000030_BUS_PM4_READ_COMBINE_EN   0xFFFFFFEF
 
#define S_000030_BUS_WRT_COMBINE_EN(x)   (((x) & 0x1) << 5)
 
#define G_000030_BUS_WRT_COMBINE_EN(x)   (((x) >> 5) & 0x1)
 
#define C_000030_BUS_WRT_COMBINE_EN   0xFFFFFFDF
 
#define S_000030_BUS_MASTER_DIS(x)   (((x) & 0x1) << 6)
 
#define G_000030_BUS_MASTER_DIS(x)   (((x) >> 6) & 0x1)
 
#define C_000030_BUS_MASTER_DIS   0xFFFFFFBF
 
#define S_000030_BIOS_ROM_WRT_EN(x)   (((x) & 0x1) << 7)
 
#define G_000030_BIOS_ROM_WRT_EN(x)   (((x) >> 7) & 0x1)
 
#define C_000030_BIOS_ROM_WRT_EN   0xFFFFFF7F
 
#define S_000030_BM_DAC_CRIPPLE(x)   (((x) & 0x1) << 8)
 
#define G_000030_BM_DAC_CRIPPLE(x)   (((x) >> 8) & 0x1)
 
#define C_000030_BM_DAC_CRIPPLE   0xFFFFFEFF
 
#define S_000030_BUS_NON_PM4_READ_COMBINE_EN(x)   (((x) & 0x1) << 9)
 
#define G_000030_BUS_NON_PM4_READ_COMBINE_EN(x)   (((x) >> 9) & 0x1)
 
#define C_000030_BUS_NON_PM4_READ_COMBINE_EN   0xFFFFFDFF
 
#define S_000030_BUS_XFERD_DISCARD_EN(x)   (((x) & 0x1) << 10)
 
#define G_000030_BUS_XFERD_DISCARD_EN(x)   (((x) >> 10) & 0x1)
 
#define C_000030_BUS_XFERD_DISCARD_EN   0xFFFFFBFF
 
#define S_000030_BUS_SGL_READ_DISABLE(x)   (((x) & 0x1) << 11)
 
#define G_000030_BUS_SGL_READ_DISABLE(x)   (((x) >> 11) & 0x1)
 
#define C_000030_BUS_SGL_READ_DISABLE   0xFFFFF7FF
 
#define S_000030_BIOS_DIS_ROM(x)   (((x) & 0x1) << 12)
 
#define G_000030_BIOS_DIS_ROM(x)   (((x) >> 12) & 0x1)
 
#define C_000030_BIOS_DIS_ROM   0xFFFFEFFF
 
#define S_000030_BUS_PCI_READ_RETRY_EN(x)   (((x) & 0x1) << 13)
 
#define G_000030_BUS_PCI_READ_RETRY_EN(x)   (((x) >> 13) & 0x1)
 
#define C_000030_BUS_PCI_READ_RETRY_EN   0xFFFFDFFF
 
#define S_000030_BUS_AGP_AD_STEPPING_EN(x)   (((x) & 0x1) << 14)
 
#define G_000030_BUS_AGP_AD_STEPPING_EN(x)   (((x) >> 14) & 0x1)
 
#define C_000030_BUS_AGP_AD_STEPPING_EN   0xFFFFBFFF
 
#define S_000030_BUS_PCI_WRT_RETRY_EN(x)   (((x) & 0x1) << 15)
 
#define G_000030_BUS_PCI_WRT_RETRY_EN(x)   (((x) >> 15) & 0x1)
 
#define C_000030_BUS_PCI_WRT_RETRY_EN   0xFFFF7FFF
 
#define S_000030_BUS_RETRY_WS(x)   (((x) & 0xF) << 16)
 
#define G_000030_BUS_RETRY_WS(x)   (((x) >> 16) & 0xF)
 
#define C_000030_BUS_RETRY_WS   0xFFF0FFFF
 
#define S_000030_BUS_MSTR_RD_MULT(x)   (((x) & 0x1) << 20)
 
#define G_000030_BUS_MSTR_RD_MULT(x)   (((x) >> 20) & 0x1)
 
#define C_000030_BUS_MSTR_RD_MULT   0xFFEFFFFF
 
#define S_000030_BUS_MSTR_RD_LINE(x)   (((x) & 0x1) << 21)
 
#define G_000030_BUS_MSTR_RD_LINE(x)   (((x) >> 21) & 0x1)
 
#define C_000030_BUS_MSTR_RD_LINE   0xFFDFFFFF
 
#define S_000030_BUS_SUSPEND(x)   (((x) & 0x1) << 22)
 
#define G_000030_BUS_SUSPEND(x)   (((x) >> 22) & 0x1)
 
#define C_000030_BUS_SUSPEND   0xFFBFFFFF
 
#define S_000030_LAT_16X(x)   (((x) & 0x1) << 23)
 
#define G_000030_LAT_16X(x)   (((x) >> 23) & 0x1)
 
#define C_000030_LAT_16X   0xFF7FFFFF
 
#define S_000030_BUS_RD_DISCARD_EN(x)   (((x) & 0x1) << 24)
 
#define G_000030_BUS_RD_DISCARD_EN(x)   (((x) >> 24) & 0x1)
 
#define C_000030_BUS_RD_DISCARD_EN   0xFEFFFFFF
 
#define S_000030_ENFRCWRDY(x)   (((x) & 0x1) << 25)
 
#define G_000030_ENFRCWRDY(x)   (((x) >> 25) & 0x1)
 
#define C_000030_ENFRCWRDY   0xFDFFFFFF
 
#define S_000030_BUS_MSTR_WS(x)   (((x) & 0x1) << 26)
 
#define G_000030_BUS_MSTR_WS(x)   (((x) >> 26) & 0x1)
 
#define C_000030_BUS_MSTR_WS   0xFBFFFFFF
 
#define S_000030_BUS_PARKING_DIS(x)   (((x) & 0x1) << 27)
 
#define G_000030_BUS_PARKING_DIS(x)   (((x) >> 27) & 0x1)
 
#define C_000030_BUS_PARKING_DIS   0xF7FFFFFF
 
#define S_000030_BUS_MSTR_DISCONNECT_EN(x)   (((x) & 0x1) << 28)
 
#define G_000030_BUS_MSTR_DISCONNECT_EN(x)   (((x) >> 28) & 0x1)
 
#define C_000030_BUS_MSTR_DISCONNECT_EN   0xEFFFFFFF
 
#define S_000030_SERR_EN(x)   (((x) & 0x1) << 29)
 
#define G_000030_SERR_EN(x)   (((x) >> 29) & 0x1)
 
#define C_000030_SERR_EN   0xDFFFFFFF
 
#define S_000030_BUS_READ_BURST(x)   (((x) & 0x1) << 30)
 
#define G_000030_BUS_READ_BURST(x)   (((x) >> 30) & 0x1)
 
#define C_000030_BUS_READ_BURST   0xBFFFFFFF
 
#define S_000030_BUS_RDY_READ_DLY(x)   (((x) & 0x1) << 31)
 
#define G_000030_BUS_RDY_READ_DLY(x)   (((x) >> 31) & 0x1)
 
#define C_000030_BUS_RDY_READ_DLY   0x7FFFFFFF
 
#define R_000040_GEN_INT_CNTL   0x000040
 
#define S_000040_CRTC_VBLANK(x)   (((x) & 0x1) << 0)
 
#define G_000040_CRTC_VBLANK(x)   (((x) >> 0) & 0x1)
 
#define C_000040_CRTC_VBLANK   0xFFFFFFFE
 
#define S_000040_CRTC_VLINE(x)   (((x) & 0x1) << 1)
 
#define G_000040_CRTC_VLINE(x)   (((x) >> 1) & 0x1)
 
#define C_000040_CRTC_VLINE   0xFFFFFFFD
 
#define S_000040_CRTC_VSYNC(x)   (((x) & 0x1) << 2)
 
#define G_000040_CRTC_VSYNC(x)   (((x) >> 2) & 0x1)
 
#define C_000040_CRTC_VSYNC   0xFFFFFFFB
 
#define S_000040_SNAPSHOT(x)   (((x) & 0x1) << 3)
 
#define G_000040_SNAPSHOT(x)   (((x) >> 3) & 0x1)
 
#define C_000040_SNAPSHOT   0xFFFFFFF7
 
#define S_000040_FP_DETECT(x)   (((x) & 0x1) << 4)
 
#define G_000040_FP_DETECT(x)   (((x) >> 4) & 0x1)
 
#define C_000040_FP_DETECT   0xFFFFFFEF
 
#define S_000040_CRTC2_VLINE(x)   (((x) & 0x1) << 5)
 
#define G_000040_CRTC2_VLINE(x)   (((x) >> 5) & 0x1)
 
#define C_000040_CRTC2_VLINE   0xFFFFFFDF
 
#define S_000040_DMA_VIPH0_INT_EN(x)   (((x) & 0x1) << 12)
 
#define G_000040_DMA_VIPH0_INT_EN(x)   (((x) >> 12) & 0x1)
 
#define C_000040_DMA_VIPH0_INT_EN   0xFFFFEFFF
 
#define S_000040_CRTC2_VSYNC(x)   (((x) & 0x1) << 6)
 
#define G_000040_CRTC2_VSYNC(x)   (((x) >> 6) & 0x1)
 
#define C_000040_CRTC2_VSYNC   0xFFFFFFBF
 
#define S_000040_SNAPSHOT2(x)   (((x) & 0x1) << 7)
 
#define G_000040_SNAPSHOT2(x)   (((x) >> 7) & 0x1)
 
#define C_000040_SNAPSHOT2   0xFFFFFF7F
 
#define S_000040_CRTC2_VBLANK(x)   (((x) & 0x1) << 9)
 
#define G_000040_CRTC2_VBLANK(x)   (((x) >> 9) & 0x1)
 
#define C_000040_CRTC2_VBLANK   0xFFFFFDFF
 
#define S_000040_FP2_DETECT(x)   (((x) & 0x1) << 10)
 
#define G_000040_FP2_DETECT(x)   (((x) >> 10) & 0x1)
 
#define C_000040_FP2_DETECT   0xFFFFFBFF
 
#define S_000040_VSYNC_DIFF_OVER_LIMIT(x)   (((x) & 0x1) << 11)
 
#define G_000040_VSYNC_DIFF_OVER_LIMIT(x)   (((x) >> 11) & 0x1)
 
#define C_000040_VSYNC_DIFF_OVER_LIMIT   0xFFFFF7FF
 
#define S_000040_DMA_VIPH1_INT_EN(x)   (((x) & 0x1) << 13)
 
#define G_000040_DMA_VIPH1_INT_EN(x)   (((x) >> 13) & 0x1)
 
#define C_000040_DMA_VIPH1_INT_EN   0xFFFFDFFF
 
#define S_000040_DMA_VIPH2_INT_EN(x)   (((x) & 0x1) << 14)
 
#define G_000040_DMA_VIPH2_INT_EN(x)   (((x) >> 14) & 0x1)
 
#define C_000040_DMA_VIPH2_INT_EN   0xFFFFBFFF
 
#define S_000040_DMA_VIPH3_INT_EN(x)   (((x) & 0x1) << 15)
 
#define G_000040_DMA_VIPH3_INT_EN(x)   (((x) >> 15) & 0x1)
 
#define C_000040_DMA_VIPH3_INT_EN   0xFFFF7FFF
 
#define S_000040_I2C_INT_EN(x)   (((x) & 0x1) << 17)
 
#define G_000040_I2C_INT_EN(x)   (((x) >> 17) & 0x1)
 
#define C_000040_I2C_INT_EN   0xFFFDFFFF
 
#define S_000040_GUI_IDLE(x)   (((x) & 0x1) << 19)
 
#define G_000040_GUI_IDLE(x)   (((x) >> 19) & 0x1)
 
#define C_000040_GUI_IDLE   0xFFF7FFFF
 
#define S_000040_VIPH_INT_EN(x)   (((x) & 0x1) << 24)
 
#define G_000040_VIPH_INT_EN(x)   (((x) >> 24) & 0x1)
 
#define C_000040_VIPH_INT_EN   0xFEFFFFFF
 
#define S_000040_SW_INT_EN(x)   (((x) & 0x1) << 25)
 
#define G_000040_SW_INT_EN(x)   (((x) >> 25) & 0x1)
 
#define C_000040_SW_INT_EN   0xFDFFFFFF
 
#define S_000040_GEYSERVILLE(x)   (((x) & 0x1) << 27)
 
#define G_000040_GEYSERVILLE(x)   (((x) >> 27) & 0x1)
 
#define C_000040_GEYSERVILLE   0xF7FFFFFF
 
#define S_000040_HDCP_AUTHORIZED_INT(x)   (((x) & 0x1) << 28)
 
#define G_000040_HDCP_AUTHORIZED_INT(x)   (((x) >> 28) & 0x1)
 
#define C_000040_HDCP_AUTHORIZED_INT   0xEFFFFFFF
 
#define S_000040_DVI_I2C_INT(x)   (((x) & 0x1) << 29)
 
#define G_000040_DVI_I2C_INT(x)   (((x) >> 29) & 0x1)
 
#define C_000040_DVI_I2C_INT   0xDFFFFFFF
 
#define S_000040_GUIDMA(x)   (((x) & 0x1) << 30)
 
#define G_000040_GUIDMA(x)   (((x) >> 30) & 0x1)
 
#define C_000040_GUIDMA   0xBFFFFFFF
 
#define S_000040_VIDDMA(x)   (((x) & 0x1) << 31)
 
#define G_000040_VIDDMA(x)   (((x) >> 31) & 0x1)
 
#define C_000040_VIDDMA   0x7FFFFFFF
 
#define R_000044_GEN_INT_STATUS   0x000044
 
#define S_000044_CRTC_VBLANK_STAT(x)   (((x) & 0x1) << 0)
 
#define G_000044_CRTC_VBLANK_STAT(x)   (((x) >> 0) & 0x1)
 
#define C_000044_CRTC_VBLANK_STAT   0xFFFFFFFE
 
#define S_000044_CRTC_VBLANK_STAT_AK(x)   (((x) & 0x1) << 0)
 
#define G_000044_CRTC_VBLANK_STAT_AK(x)   (((x) >> 0) & 0x1)
 
#define C_000044_CRTC_VBLANK_STAT_AK   0xFFFFFFFE
 
#define S_000044_CRTC_VLINE_STAT(x)   (((x) & 0x1) << 1)
 
#define G_000044_CRTC_VLINE_STAT(x)   (((x) >> 1) & 0x1)
 
#define C_000044_CRTC_VLINE_STAT   0xFFFFFFFD
 
#define S_000044_CRTC_VLINE_STAT_AK(x)   (((x) & 0x1) << 1)
 
#define G_000044_CRTC_VLINE_STAT_AK(x)   (((x) >> 1) & 0x1)
 
#define C_000044_CRTC_VLINE_STAT_AK   0xFFFFFFFD
 
#define S_000044_CRTC_VSYNC_STAT(x)   (((x) & 0x1) << 2)
 
#define G_000044_CRTC_VSYNC_STAT(x)   (((x) >> 2) & 0x1)
 
#define C_000044_CRTC_VSYNC_STAT   0xFFFFFFFB
 
#define S_000044_CRTC_VSYNC_STAT_AK(x)   (((x) & 0x1) << 2)
 
#define G_000044_CRTC_VSYNC_STAT_AK(x)   (((x) >> 2) & 0x1)
 
#define C_000044_CRTC_VSYNC_STAT_AK   0xFFFFFFFB
 
#define S_000044_SNAPSHOT_STAT(x)   (((x) & 0x1) << 3)
 
#define G_000044_SNAPSHOT_STAT(x)   (((x) >> 3) & 0x1)
 
#define C_000044_SNAPSHOT_STAT   0xFFFFFFF7
 
#define S_000044_SNAPSHOT_STAT_AK(x)   (((x) & 0x1) << 3)
 
#define G_000044_SNAPSHOT_STAT_AK(x)   (((x) >> 3) & 0x1)
 
#define C_000044_SNAPSHOT_STAT_AK   0xFFFFFFF7
 
#define S_000044_FP_DETECT_STAT(x)   (((x) & 0x1) << 4)
 
#define G_000044_FP_DETECT_STAT(x)   (((x) >> 4) & 0x1)
 
#define C_000044_FP_DETECT_STAT   0xFFFFFFEF
 
#define S_000044_FP_DETECT_STAT_AK(x)   (((x) & 0x1) << 4)
 
#define G_000044_FP_DETECT_STAT_AK(x)   (((x) >> 4) & 0x1)
 
#define C_000044_FP_DETECT_STAT_AK   0xFFFFFFEF
 
#define S_000044_CRTC2_VLINE_STAT(x)   (((x) & 0x1) << 5)
 
#define G_000044_CRTC2_VLINE_STAT(x)   (((x) >> 5) & 0x1)
 
#define C_000044_CRTC2_VLINE_STAT   0xFFFFFFDF
 
#define S_000044_CRTC2_VLINE_STAT_AK(x)   (((x) & 0x1) << 5)
 
#define G_000044_CRTC2_VLINE_STAT_AK(x)   (((x) >> 5) & 0x1)
 
#define C_000044_CRTC2_VLINE_STAT_AK   0xFFFFFFDF
 
#define S_000044_CRTC2_VSYNC_STAT(x)   (((x) & 0x1) << 6)
 
#define G_000044_CRTC2_VSYNC_STAT(x)   (((x) >> 6) & 0x1)
 
#define C_000044_CRTC2_VSYNC_STAT   0xFFFFFFBF
 
#define S_000044_CRTC2_VSYNC_STAT_AK(x)   (((x) & 0x1) << 6)
 
#define G_000044_CRTC2_VSYNC_STAT_AK(x)   (((x) >> 6) & 0x1)
 
#define C_000044_CRTC2_VSYNC_STAT_AK   0xFFFFFFBF
 
#define S_000044_SNAPSHOT2_STAT(x)   (((x) & 0x1) << 7)
 
#define G_000044_SNAPSHOT2_STAT(x)   (((x) >> 7) & 0x1)
 
#define C_000044_SNAPSHOT2_STAT   0xFFFFFF7F
 
#define S_000044_SNAPSHOT2_STAT_AK(x)   (((x) & 0x1) << 7)
 
#define G_000044_SNAPSHOT2_STAT_AK(x)   (((x) >> 7) & 0x1)
 
#define C_000044_SNAPSHOT2_STAT_AK   0xFFFFFF7F
 
#define S_000044_CAP0_INT_ACTIVE(x)   (((x) & 0x1) << 8)
 
#define G_000044_CAP0_INT_ACTIVE(x)   (((x) >> 8) & 0x1)
 
#define C_000044_CAP0_INT_ACTIVE   0xFFFFFEFF
 
#define S_000044_CRTC2_VBLANK_STAT(x)   (((x) & 0x1) << 9)
 
#define G_000044_CRTC2_VBLANK_STAT(x)   (((x) >> 9) & 0x1)
 
#define C_000044_CRTC2_VBLANK_STAT   0xFFFFFDFF
 
#define S_000044_CRTC2_VBLANK_STAT_AK(x)   (((x) & 0x1) << 9)
 
#define G_000044_CRTC2_VBLANK_STAT_AK(x)   (((x) >> 9) & 0x1)
 
#define C_000044_CRTC2_VBLANK_STAT_AK   0xFFFFFDFF
 
#define S_000044_FP2_DETECT_STAT(x)   (((x) & 0x1) << 10)
 
#define G_000044_FP2_DETECT_STAT(x)   (((x) >> 10) & 0x1)
 
#define C_000044_FP2_DETECT_STAT   0xFFFFFBFF
 
#define S_000044_FP2_DETECT_STAT_AK(x)   (((x) & 0x1) << 10)
 
#define G_000044_FP2_DETECT_STAT_AK(x)   (((x) >> 10) & 0x1)
 
#define C_000044_FP2_DETECT_STAT_AK   0xFFFFFBFF
 
#define S_000044_VSYNC_DIFF_OVER_LIMIT_STAT(x)   (((x) & 0x1) << 11)
 
#define G_000044_VSYNC_DIFF_OVER_LIMIT_STAT(x)   (((x) >> 11) & 0x1)
 
#define C_000044_VSYNC_DIFF_OVER_LIMIT_STAT   0xFFFFF7FF
 
#define S_000044_VSYNC_DIFF_OVER_LIMIT_STAT_AK(x)   (((x) & 0x1) << 11)
 
#define G_000044_VSYNC_DIFF_OVER_LIMIT_STAT_AK(x)   (((x) >> 11) & 0x1)
 
#define C_000044_VSYNC_DIFF_OVER_LIMIT_STAT_AK   0xFFFFF7FF
 
#define S_000044_DMA_VIPH0_INT(x)   (((x) & 0x1) << 12)
 
#define G_000044_DMA_VIPH0_INT(x)   (((x) >> 12) & 0x1)
 
#define C_000044_DMA_VIPH0_INT   0xFFFFEFFF
 
#define S_000044_DMA_VIPH0_INT_AK(x)   (((x) & 0x1) << 12)
 
#define G_000044_DMA_VIPH0_INT_AK(x)   (((x) >> 12) & 0x1)
 
#define C_000044_DMA_VIPH0_INT_AK   0xFFFFEFFF
 
#define S_000044_DMA_VIPH1_INT(x)   (((x) & 0x1) << 13)
 
#define G_000044_DMA_VIPH1_INT(x)   (((x) >> 13) & 0x1)
 
#define C_000044_DMA_VIPH1_INT   0xFFFFDFFF
 
#define S_000044_DMA_VIPH1_INT_AK(x)   (((x) & 0x1) << 13)
 
#define G_000044_DMA_VIPH1_INT_AK(x)   (((x) >> 13) & 0x1)
 
#define C_000044_DMA_VIPH1_INT_AK   0xFFFFDFFF
 
#define S_000044_DMA_VIPH2_INT(x)   (((x) & 0x1) << 14)
 
#define G_000044_DMA_VIPH2_INT(x)   (((x) >> 14) & 0x1)
 
#define C_000044_DMA_VIPH2_INT   0xFFFFBFFF
 
#define S_000044_DMA_VIPH2_INT_AK(x)   (((x) & 0x1) << 14)
 
#define G_000044_DMA_VIPH2_INT_AK(x)   (((x) >> 14) & 0x1)
 
#define C_000044_DMA_VIPH2_INT_AK   0xFFFFBFFF
 
#define S_000044_DMA_VIPH3_INT(x)   (((x) & 0x1) << 15)
 
#define G_000044_DMA_VIPH3_INT(x)   (((x) >> 15) & 0x1)
 
#define C_000044_DMA_VIPH3_INT   0xFFFF7FFF
 
#define S_000044_DMA_VIPH3_INT_AK(x)   (((x) & 0x1) << 15)
 
#define G_000044_DMA_VIPH3_INT_AK(x)   (((x) >> 15) & 0x1)
 
#define C_000044_DMA_VIPH3_INT_AK   0xFFFF7FFF
 
#define S_000044_I2C_INT(x)   (((x) & 0x1) << 17)
 
#define G_000044_I2C_INT(x)   (((x) >> 17) & 0x1)
 
#define C_000044_I2C_INT   0xFFFDFFFF
 
#define S_000044_I2C_INT_AK(x)   (((x) & 0x1) << 17)
 
#define G_000044_I2C_INT_AK(x)   (((x) >> 17) & 0x1)
 
#define C_000044_I2C_INT_AK   0xFFFDFFFF
 
#define S_000044_GUI_IDLE_STAT(x)   (((x) & 0x1) << 19)
 
#define G_000044_GUI_IDLE_STAT(x)   (((x) >> 19) & 0x1)
 
#define C_000044_GUI_IDLE_STAT   0xFFF7FFFF
 
#define S_000044_GUI_IDLE_STAT_AK(x)   (((x) & 0x1) << 19)
 
#define G_000044_GUI_IDLE_STAT_AK(x)   (((x) >> 19) & 0x1)
 
#define C_000044_GUI_IDLE_STAT_AK   0xFFF7FFFF
 
#define S_000044_VIPH_INT(x)   (((x) & 0x1) << 24)
 
#define G_000044_VIPH_INT(x)   (((x) >> 24) & 0x1)
 
#define C_000044_VIPH_INT   0xFEFFFFFF
 
#define S_000044_SW_INT(x)   (((x) & 0x1) << 25)
 
#define G_000044_SW_INT(x)   (((x) >> 25) & 0x1)
 
#define C_000044_SW_INT   0xFDFFFFFF
 
#define S_000044_SW_INT_AK(x)   (((x) & 0x1) << 25)
 
#define G_000044_SW_INT_AK(x)   (((x) >> 25) & 0x1)
 
#define C_000044_SW_INT_AK   0xFDFFFFFF
 
#define S_000044_SW_INT_SET(x)   (((x) & 0x1) << 26)
 
#define G_000044_SW_INT_SET(x)   (((x) >> 26) & 0x1)
 
#define C_000044_SW_INT_SET   0xFBFFFFFF
 
#define S_000044_GEYSERVILLE_STAT(x)   (((x) & 0x1) << 27)
 
#define G_000044_GEYSERVILLE_STAT(x)   (((x) >> 27) & 0x1)
 
#define C_000044_GEYSERVILLE_STAT   0xF7FFFFFF
 
#define S_000044_GEYSERVILLE_STAT_AK(x)   (((x) & 0x1) << 27)
 
#define G_000044_GEYSERVILLE_STAT_AK(x)   (((x) >> 27) & 0x1)
 
#define C_000044_GEYSERVILLE_STAT_AK   0xF7FFFFFF
 
#define S_000044_HDCP_AUTHORIZED_INT_STAT(x)   (((x) & 0x1) << 28)
 
#define G_000044_HDCP_AUTHORIZED_INT_STAT(x)   (((x) >> 28) & 0x1)
 
#define C_000044_HDCP_AUTHORIZED_INT_STAT   0xEFFFFFFF
 
#define S_000044_HDCP_AUTHORIZED_INT_AK(x)   (((x) & 0x1) << 28)
 
#define G_000044_HDCP_AUTHORIZED_INT_AK(x)   (((x) >> 28) & 0x1)
 
#define C_000044_HDCP_AUTHORIZED_INT_AK   0xEFFFFFFF
 
#define S_000044_DVI_I2C_INT_STAT(x)   (((x) & 0x1) << 29)
 
#define G_000044_DVI_I2C_INT_STAT(x)   (((x) >> 29) & 0x1)
 
#define C_000044_DVI_I2C_INT_STAT   0xDFFFFFFF
 
#define S_000044_DVI_I2C_INT_AK(x)   (((x) & 0x1) << 29)
 
#define G_000044_DVI_I2C_INT_AK(x)   (((x) >> 29) & 0x1)
 
#define C_000044_DVI_I2C_INT_AK   0xDFFFFFFF
 
#define S_000044_GUIDMA_STAT(x)   (((x) & 0x1) << 30)
 
#define G_000044_GUIDMA_STAT(x)   (((x) >> 30) & 0x1)
 
#define C_000044_GUIDMA_STAT   0xBFFFFFFF
 
#define S_000044_GUIDMA_AK(x)   (((x) & 0x1) << 30)
 
#define G_000044_GUIDMA_AK(x)   (((x) >> 30) & 0x1)
 
#define C_000044_GUIDMA_AK   0xBFFFFFFF
 
#define S_000044_VIDDMA_STAT(x)   (((x) & 0x1) << 31)
 
#define G_000044_VIDDMA_STAT(x)   (((x) >> 31) & 0x1)
 
#define C_000044_VIDDMA_STAT   0x7FFFFFFF
 
#define S_000044_VIDDMA_AK(x)   (((x) & 0x1) << 31)
 
#define G_000044_VIDDMA_AK(x)   (((x) >> 31) & 0x1)
 
#define C_000044_VIDDMA_AK   0x7FFFFFFF
 
#define R_000050_CRTC_GEN_CNTL   0x000050
 
#define S_000050_CRTC_DBL_SCAN_EN(x)   (((x) & 0x1) << 0)
 
#define G_000050_CRTC_DBL_SCAN_EN(x)   (((x) >> 0) & 0x1)
 
#define C_000050_CRTC_DBL_SCAN_EN   0xFFFFFFFE
 
#define S_000050_CRTC_INTERLACE_EN(x)   (((x) & 0x1) << 1)
 
#define G_000050_CRTC_INTERLACE_EN(x)   (((x) >> 1) & 0x1)
 
#define C_000050_CRTC_INTERLACE_EN   0xFFFFFFFD
 
#define S_000050_CRTC_C_SYNC_EN(x)   (((x) & 0x1) << 4)
 
#define G_000050_CRTC_C_SYNC_EN(x)   (((x) >> 4) & 0x1)
 
#define C_000050_CRTC_C_SYNC_EN   0xFFFFFFEF
 
#define S_000050_CRTC_PIX_WIDTH(x)   (((x) & 0xF) << 8)
 
#define G_000050_CRTC_PIX_WIDTH(x)   (((x) >> 8) & 0xF)
 
#define C_000050_CRTC_PIX_WIDTH   0xFFFFF0FF
 
#define S_000050_CRTC_ICON_EN(x)   (((x) & 0x1) << 15)
 
#define G_000050_CRTC_ICON_EN(x)   (((x) >> 15) & 0x1)
 
#define C_000050_CRTC_ICON_EN   0xFFFF7FFF
 
#define S_000050_CRTC_CUR_EN(x)   (((x) & 0x1) << 16)
 
#define G_000050_CRTC_CUR_EN(x)   (((x) >> 16) & 0x1)
 
#define C_000050_CRTC_CUR_EN   0xFFFEFFFF
 
#define S_000050_CRTC_VSTAT_MODE(x)   (((x) & 0x3) << 17)
 
#define G_000050_CRTC_VSTAT_MODE(x)   (((x) >> 17) & 0x3)
 
#define C_000050_CRTC_VSTAT_MODE   0xFFF9FFFF
 
#define S_000050_CRTC_CUR_MODE(x)   (((x) & 0x7) << 20)
 
#define G_000050_CRTC_CUR_MODE(x)   (((x) >> 20) & 0x7)
 
#define C_000050_CRTC_CUR_MODE   0xFF8FFFFF
 
#define S_000050_CRTC_EXT_DISP_EN(x)   (((x) & 0x1) << 24)
 
#define G_000050_CRTC_EXT_DISP_EN(x)   (((x) >> 24) & 0x1)
 
#define C_000050_CRTC_EXT_DISP_EN   0xFEFFFFFF
 
#define S_000050_CRTC_EN(x)   (((x) & 0x1) << 25)
 
#define G_000050_CRTC_EN(x)   (((x) >> 25) & 0x1)
 
#define C_000050_CRTC_EN   0xFDFFFFFF
 
#define S_000050_CRTC_DISP_REQ_EN_B(x)   (((x) & 0x1) << 26)
 
#define G_000050_CRTC_DISP_REQ_EN_B(x)   (((x) >> 26) & 0x1)
 
#define C_000050_CRTC_DISP_REQ_EN_B   0xFBFFFFFF
 
#define R_000054_CRTC_EXT_CNTL   0x000054
 
#define S_000054_CRTC_VGA_XOVERSCAN(x)   (((x) & 0x1) << 0)
 
#define G_000054_CRTC_VGA_XOVERSCAN(x)   (((x) >> 0) & 0x1)
 
#define C_000054_CRTC_VGA_XOVERSCAN   0xFFFFFFFE
 
#define S_000054_VGA_BLINK_RATE(x)   (((x) & 0x3) << 1)
 
#define G_000054_VGA_BLINK_RATE(x)   (((x) >> 1) & 0x3)
 
#define C_000054_VGA_BLINK_RATE   0xFFFFFFF9
 
#define S_000054_VGA_ATI_LINEAR(x)   (((x) & 0x1) << 3)
 
#define G_000054_VGA_ATI_LINEAR(x)   (((x) >> 3) & 0x1)
 
#define C_000054_VGA_ATI_LINEAR   0xFFFFFFF7
 
#define S_000054_VGA_128KAP_PAGING(x)   (((x) & 0x1) << 4)
 
#define G_000054_VGA_128KAP_PAGING(x)   (((x) >> 4) & 0x1)
 
#define C_000054_VGA_128KAP_PAGING   0xFFFFFFEF
 
#define S_000054_VGA_TEXT_132(x)   (((x) & 0x1) << 5)
 
#define G_000054_VGA_TEXT_132(x)   (((x) >> 5) & 0x1)
 
#define C_000054_VGA_TEXT_132   0xFFFFFFDF
 
#define S_000054_VGA_XCRT_CNT_EN(x)   (((x) & 0x1) << 6)
 
#define G_000054_VGA_XCRT_CNT_EN(x)   (((x) >> 6) & 0x1)
 
#define C_000054_VGA_XCRT_CNT_EN   0xFFFFFFBF
 
#define S_000054_CRTC_HSYNC_DIS(x)   (((x) & 0x1) << 8)
 
#define G_000054_CRTC_HSYNC_DIS(x)   (((x) >> 8) & 0x1)
 
#define C_000054_CRTC_HSYNC_DIS   0xFFFFFEFF
 
#define S_000054_CRTC_VSYNC_DIS(x)   (((x) & 0x1) << 9)
 
#define G_000054_CRTC_VSYNC_DIS(x)   (((x) >> 9) & 0x1)
 
#define C_000054_CRTC_VSYNC_DIS   0xFFFFFDFF
 
#define S_000054_CRTC_DISPLAY_DIS(x)   (((x) & 0x1) << 10)
 
#define G_000054_CRTC_DISPLAY_DIS(x)   (((x) >> 10) & 0x1)
 
#define C_000054_CRTC_DISPLAY_DIS   0xFFFFFBFF
 
#define S_000054_CRTC_SYNC_TRISTATE(x)   (((x) & 0x1) << 11)
 
#define G_000054_CRTC_SYNC_TRISTATE(x)   (((x) >> 11) & 0x1)
 
#define C_000054_CRTC_SYNC_TRISTATE   0xFFFFF7FF
 
#define S_000054_CRTC_HSYNC_TRISTATE(x)   (((x) & 0x1) << 12)
 
#define G_000054_CRTC_HSYNC_TRISTATE(x)   (((x) >> 12) & 0x1)
 
#define C_000054_CRTC_HSYNC_TRISTATE   0xFFFFEFFF
 
#define S_000054_CRTC_VSYNC_TRISTATE(x)   (((x) & 0x1) << 13)
 
#define G_000054_CRTC_VSYNC_TRISTATE(x)   (((x) >> 13) & 0x1)
 
#define C_000054_CRTC_VSYNC_TRISTATE   0xFFFFDFFF
 
#define S_000054_CRT_ON(x)   (((x) & 0x1) << 15)
 
#define G_000054_CRT_ON(x)   (((x) >> 15) & 0x1)
 
#define C_000054_CRT_ON   0xFFFF7FFF
 
#define S_000054_VGA_CUR_B_TEST(x)   (((x) & 0x1) << 17)
 
#define G_000054_VGA_CUR_B_TEST(x)   (((x) >> 17) & 0x1)
 
#define C_000054_VGA_CUR_B_TEST   0xFFFDFFFF
 
#define S_000054_VGA_PACK_DIS(x)   (((x) & 0x1) << 18)
 
#define G_000054_VGA_PACK_DIS(x)   (((x) >> 18) & 0x1)
 
#define C_000054_VGA_PACK_DIS   0xFFFBFFFF
 
#define S_000054_VGA_MEM_PS_EN(x)   (((x) & 0x1) << 19)
 
#define G_000054_VGA_MEM_PS_EN(x)   (((x) >> 19) & 0x1)
 
#define C_000054_VGA_MEM_PS_EN   0xFFF7FFFF
 
#define S_000054_VCRTC_IDX_MASTER(x)   (((x) & 0x7F) << 24)
 
#define G_000054_VCRTC_IDX_MASTER(x)   (((x) >> 24) & 0x7F)
 
#define C_000054_VCRTC_IDX_MASTER   0x80FFFFFF
 
#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_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_00023C_DISPLAY_BASE_ADDR   0x00023C
 
#define S_00023C_DISPLAY_BASE_ADDR(x)   (((x) & 0xFFFFFFFF) << 0)
 
#define G_00023C_DISPLAY_BASE_ADDR(x)   (((x) >> 0) & 0xFFFFFFFF)
 
#define C_00023C_DISPLAY_BASE_ADDR   0x00000000
 
#define R_000260_CUR_OFFSET   0x000260
 
#define S_000260_CUR_OFFSET(x)   (((x) & 0x7FFFFFF) << 0)
 
#define G_000260_CUR_OFFSET(x)   (((x) >> 0) & 0x7FFFFFF)
 
#define C_000260_CUR_OFFSET   0xF8000000
 
#define S_000260_CUR_LOCK(x)   (((x) & 0x1) << 31)
 
#define G_000260_CUR_LOCK(x)   (((x) >> 31) & 0x1)
 
#define C_000260_CUR_LOCK   0x7FFFFFFF
 
#define R_00033C_CRTC2_DISPLAY_BASE_ADDR   0x00033C
 
#define S_00033C_CRTC2_DISPLAY_BASE_ADDR(x)   (((x) & 0xFFFFFFFF) << 0)
 
#define G_00033C_CRTC2_DISPLAY_BASE_ADDR(x)   (((x) >> 0) & 0xFFFFFFFF)
 
#define C_00033C_CRTC2_DISPLAY_BASE_ADDR   0x00000000
 
#define R_000360_CUR2_OFFSET   0x000360
 
#define S_000360_CUR2_OFFSET(x)   (((x) & 0x7FFFFFF) << 0)
 
#define G_000360_CUR2_OFFSET(x)   (((x) >> 0) & 0x7FFFFFF)
 
#define C_000360_CUR2_OFFSET   0xF8000000
 
#define S_000360_CUR2_LOCK(x)   (((x) & 0x1) << 31)
 
#define G_000360_CUR2_LOCK(x)   (((x) >> 31) & 0x1)
 
#define C_000360_CUR2_LOCK   0x7FFFFFFF
 
#define R_0003C2_GENMO_WT   0x0003C2
 
#define S_0003C2_GENMO_MONO_ADDRESS_B(x)   (((x) & 0x1) << 0)
 
#define G_0003C2_GENMO_MONO_ADDRESS_B(x)   (((x) >> 0) & 0x1)
 
#define C_0003C2_GENMO_MONO_ADDRESS_B   0xFE
 
#define S_0003C2_VGA_RAM_EN(x)   (((x) & 0x1) << 1)
 
#define G_0003C2_VGA_RAM_EN(x)   (((x) >> 1) & 0x1)
 
#define C_0003C2_VGA_RAM_EN   0xFD
 
#define S_0003C2_VGA_CKSEL(x)   (((x) & 0x3) << 2)
 
#define G_0003C2_VGA_CKSEL(x)   (((x) >> 2) & 0x3)
 
#define C_0003C2_VGA_CKSEL   0xF3
 
#define S_0003C2_ODD_EVEN_MD_PGSEL(x)   (((x) & 0x1) << 5)
 
#define G_0003C2_ODD_EVEN_MD_PGSEL(x)   (((x) >> 5) & 0x1)
 
#define C_0003C2_ODD_EVEN_MD_PGSEL   0xDF
 
#define S_0003C2_VGA_HSYNC_POL(x)   (((x) & 0x1) << 6)
 
#define G_0003C2_VGA_HSYNC_POL(x)   (((x) >> 6) & 0x1)
 
#define C_0003C2_VGA_HSYNC_POL   0xBF
 
#define S_0003C2_VGA_VSYNC_POL(x)   (((x) & 0x1) << 7)
 
#define G_0003C2_VGA_VSYNC_POL(x)   (((x) >> 7) & 0x1)
 
#define C_0003C2_VGA_VSYNC_POL   0x7F
 
#define R_0003F8_CRTC2_GEN_CNTL   0x0003F8
 
#define S_0003F8_CRTC2_DBL_SCAN_EN(x)   (((x) & 0x1) << 0)
 
#define G_0003F8_CRTC2_DBL_SCAN_EN(x)   (((x) >> 0) & 0x1)
 
#define C_0003F8_CRTC2_DBL_SCAN_EN   0xFFFFFFFE
 
#define S_0003F8_CRTC2_INTERLACE_EN(x)   (((x) & 0x1) << 1)
 
#define G_0003F8_CRTC2_INTERLACE_EN(x)   (((x) >> 1) & 0x1)
 
#define C_0003F8_CRTC2_INTERLACE_EN   0xFFFFFFFD
 
#define S_0003F8_CRTC2_SYNC_TRISTATE(x)   (((x) & 0x1) << 4)
 
#define G_0003F8_CRTC2_SYNC_TRISTATE(x)   (((x) >> 4) & 0x1)
 
#define C_0003F8_CRTC2_SYNC_TRISTATE   0xFFFFFFEF
 
#define S_0003F8_CRTC2_HSYNC_TRISTATE(x)   (((x) & 0x1) << 5)
 
#define G_0003F8_CRTC2_HSYNC_TRISTATE(x)   (((x) >> 5) & 0x1)
 
#define C_0003F8_CRTC2_HSYNC_TRISTATE   0xFFFFFFDF
 
#define S_0003F8_CRTC2_VSYNC_TRISTATE(x)   (((x) & 0x1) << 6)
 
#define G_0003F8_CRTC2_VSYNC_TRISTATE(x)   (((x) >> 6) & 0x1)
 
#define C_0003F8_CRTC2_VSYNC_TRISTATE   0xFFFFFFBF
 
#define S_0003F8_CRT2_ON(x)   (((x) & 0x1) << 7)
 
#define G_0003F8_CRT2_ON(x)   (((x) >> 7) & 0x1)
 
#define C_0003F8_CRT2_ON   0xFFFFFF7F
 
#define S_0003F8_CRTC2_PIX_WIDTH(x)   (((x) & 0xF) << 8)
 
#define G_0003F8_CRTC2_PIX_WIDTH(x)   (((x) >> 8) & 0xF)
 
#define C_0003F8_CRTC2_PIX_WIDTH   0xFFFFF0FF
 
#define S_0003F8_CRTC2_ICON_EN(x)   (((x) & 0x1) << 15)
 
#define G_0003F8_CRTC2_ICON_EN(x)   (((x) >> 15) & 0x1)
 
#define C_0003F8_CRTC2_ICON_EN   0xFFFF7FFF
 
#define S_0003F8_CRTC2_CUR_EN(x)   (((x) & 0x1) << 16)
 
#define G_0003F8_CRTC2_CUR_EN(x)   (((x) >> 16) & 0x1)
 
#define C_0003F8_CRTC2_CUR_EN   0xFFFEFFFF
 
#define S_0003F8_CRTC2_CUR_MODE(x)   (((x) & 0x7) << 20)
 
#define G_0003F8_CRTC2_CUR_MODE(x)   (((x) >> 20) & 0x7)
 
#define C_0003F8_CRTC2_CUR_MODE   0xFF8FFFFF
 
#define S_0003F8_CRTC2_DISPLAY_DIS(x)   (((x) & 0x1) << 23)
 
#define G_0003F8_CRTC2_DISPLAY_DIS(x)   (((x) >> 23) & 0x1)
 
#define C_0003F8_CRTC2_DISPLAY_DIS   0xFF7FFFFF
 
#define S_0003F8_CRTC2_EN(x)   (((x) & 0x1) << 25)
 
#define G_0003F8_CRTC2_EN(x)   (((x) >> 25) & 0x1)
 
#define C_0003F8_CRTC2_EN   0xFDFFFFFF
 
#define S_0003F8_CRTC2_DISP_REQ_EN_B(x)   (((x) & 0x1) << 26)
 
#define G_0003F8_CRTC2_DISP_REQ_EN_B(x)   (((x) >> 26) & 0x1)
 
#define C_0003F8_CRTC2_DISP_REQ_EN_B   0xFBFFFFFF
 
#define S_0003F8_CRTC2_C_SYNC_EN(x)   (((x) & 0x1) << 27)
 
#define G_0003F8_CRTC2_C_SYNC_EN(x)   (((x) >> 27) & 0x1)
 
#define C_0003F8_CRTC2_C_SYNC_EN   0xF7FFFFFF
 
#define S_0003F8_CRTC2_HSYNC_DIS(x)   (((x) & 0x1) << 28)
 
#define G_0003F8_CRTC2_HSYNC_DIS(x)   (((x) >> 28) & 0x1)
 
#define C_0003F8_CRTC2_HSYNC_DIS   0xEFFFFFFF
 
#define S_0003F8_CRTC2_VSYNC_DIS(x)   (((x) & 0x1) << 29)
 
#define G_0003F8_CRTC2_VSYNC_DIS(x)   (((x) >> 29) & 0x1)
 
#define C_0003F8_CRTC2_VSYNC_DIS   0xDFFFFFFF
 
#define R_000420_OV0_SCALE_CNTL   0x000420
 
#define S_000420_OV0_NO_READ_BEHIND_SCAN(x)   (((x) & 0x1) << 1)
 
#define G_000420_OV0_NO_READ_BEHIND_SCAN(x)   (((x) >> 1) & 0x1)
 
#define C_000420_OV0_NO_READ_BEHIND_SCAN   0xFFFFFFFD
 
#define S_000420_OV0_HORZ_PICK_NEAREST(x)   (((x) & 0x1) << 2)
 
#define G_000420_OV0_HORZ_PICK_NEAREST(x)   (((x) >> 2) & 0x1)
 
#define C_000420_OV0_HORZ_PICK_NEAREST   0xFFFFFFFB
 
#define S_000420_OV0_VERT_PICK_NEAREST(x)   (((x) & 0x1) << 3)
 
#define G_000420_OV0_VERT_PICK_NEAREST(x)   (((x) >> 3) & 0x1)
 
#define C_000420_OV0_VERT_PICK_NEAREST   0xFFFFFFF7
 
#define S_000420_OV0_SIGNED_UV(x)   (((x) & 0x1) << 4)
 
#define G_000420_OV0_SIGNED_UV(x)   (((x) >> 4) & 0x1)
 
#define C_000420_OV0_SIGNED_UV   0xFFFFFFEF
 
#define S_000420_OV0_GAMMA_SEL(x)   (((x) & 0x7) << 5)
 
#define G_000420_OV0_GAMMA_SEL(x)   (((x) >> 5) & 0x7)
 
#define C_000420_OV0_GAMMA_SEL   0xFFFFFF1F
 
#define S_000420_OV0_SURFACE_FORMAT(x)   (((x) & 0xF) << 8)
 
#define G_000420_OV0_SURFACE_FORMAT(x)   (((x) >> 8) & 0xF)
 
#define C_000420_OV0_SURFACE_FORMAT   0xFFFFF0FF
 
#define S_000420_OV0_ADAPTIVE_DEINT(x)   (((x) & 0x1) << 12)
 
#define G_000420_OV0_ADAPTIVE_DEINT(x)   (((x) >> 12) & 0x1)
 
#define C_000420_OV0_ADAPTIVE_DEINT   0xFFFFEFFF
 
#define S_000420_OV0_CRTC_SEL(x)   (((x) & 0x1) << 14)
 
#define G_000420_OV0_CRTC_SEL(x)   (((x) >> 14) & 0x1)
 
#define C_000420_OV0_CRTC_SEL   0xFFFFBFFF
 
#define S_000420_OV0_BURST_PER_PLANE(x)   (((x) & 0x7F) << 16)
 
#define G_000420_OV0_BURST_PER_PLANE(x)   (((x) >> 16) & 0x7F)
 
#define C_000420_OV0_BURST_PER_PLANE   0xFF80FFFF
 
#define S_000420_OV0_DOUBLE_BUFFER_REGS(x)   (((x) & 0x1) << 24)
 
#define G_000420_OV0_DOUBLE_BUFFER_REGS(x)   (((x) >> 24) & 0x1)
 
#define C_000420_OV0_DOUBLE_BUFFER_REGS   0xFEFFFFFF
 
#define S_000420_OV0_BANDWIDTH(x)   (((x) & 0x1) << 26)
 
#define G_000420_OV0_BANDWIDTH(x)   (((x) >> 26) & 0x1)
 
#define C_000420_OV0_BANDWIDTH   0xFBFFFFFF
 
#define S_000420_OV0_LIN_TRANS_BYPASS(x)   (((x) & 0x1) << 28)
 
#define G_000420_OV0_LIN_TRANS_BYPASS(x)   (((x) >> 28) & 0x1)
 
#define C_000420_OV0_LIN_TRANS_BYPASS   0xEFFFFFFF
 
#define S_000420_OV0_INT_EMU(x)   (((x) & 0x1) << 29)
 
#define G_000420_OV0_INT_EMU(x)   (((x) >> 29) & 0x1)
 
#define C_000420_OV0_INT_EMU   0xDFFFFFFF
 
#define S_000420_OV0_OVERLAY_EN(x)   (((x) & 0x1) << 30)
 
#define G_000420_OV0_OVERLAY_EN(x)   (((x) >> 30) & 0x1)
 
#define C_000420_OV0_OVERLAY_EN   0xBFFFFFFF
 
#define S_000420_OV0_SOFT_RESET(x)   (((x) & 0x1) << 31)
 
#define G_000420_OV0_SOFT_RESET(x)   (((x) >> 31) & 0x1)
 
#define C_000420_OV0_SOFT_RESET   0x7FFFFFFF
 
#define R_00070C_CP_RB_RPTR_ADDR   0x00070C
 
#define S_00070C_RB_RPTR_SWAP(x)   (((x) & 0x3) << 0)
 
#define G_00070C_RB_RPTR_SWAP(x)   (((x) >> 0) & 0x3)
 
#define C_00070C_RB_RPTR_SWAP   0xFFFFFFFC
 
#define S_00070C_RB_RPTR_ADDR(x)   (((x) & 0x3FFFFFFF) << 2)
 
#define G_00070C_RB_RPTR_ADDR(x)   (((x) >> 2) & 0x3FFFFFFF)
 
#define C_00070C_RB_RPTR_ADDR   0x00000003
 
#define R_000740_CP_CSQ_CNTL   0x000740
 
#define S_000740_CSQ_CNT_PRIMARY(x)   (((x) & 0xFF) << 0)
 
#define G_000740_CSQ_CNT_PRIMARY(x)   (((x) >> 0) & 0xFF)
 
#define C_000740_CSQ_CNT_PRIMARY   0xFFFFFF00
 
#define S_000740_CSQ_CNT_INDIRECT(x)   (((x) & 0xFF) << 8)
 
#define G_000740_CSQ_CNT_INDIRECT(x)   (((x) >> 8) & 0xFF)
 
#define C_000740_CSQ_CNT_INDIRECT   0xFFFF00FF
 
#define S_000740_CSQ_MODE(x)   (((x) & 0xF) << 28)
 
#define G_000740_CSQ_MODE(x)   (((x) >> 28) & 0xF)
 
#define C_000740_CSQ_MODE   0x0FFFFFFF
 
#define R_000770_SCRATCH_UMSK   0x000770
 
#define S_000770_SCRATCH_UMSK(x)   (((x) & 0x3F) << 0)
 
#define G_000770_SCRATCH_UMSK(x)   (((x) >> 0) & 0x3F)
 
#define C_000770_SCRATCH_UMSK   0xFFFFFFC0
 
#define S_000770_SCRATCH_SWAP(x)   (((x) & 0x3) << 16)
 
#define G_000770_SCRATCH_SWAP(x)   (((x) >> 16) & 0x3)
 
#define C_000770_SCRATCH_SWAP   0xFFFCFFFF
 
#define R_000774_SCRATCH_ADDR   0x000774
 
#define S_000774_SCRATCH_ADDR(x)   (((x) & 0x7FFFFFF) << 5)
 
#define G_000774_SCRATCH_ADDR(x)   (((x) >> 5) & 0x7FFFFFF)
 
#define C_000774_SCRATCH_ADDR   0x0000001F
 
#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_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_SE_BUSY(x)   (((x) & 0x1) << 20)
 
#define G_000E40_SE_BUSY(x)   (((x) >> 20) & 0x1)
 
#define C_000E40_SE_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_GUI_ACTIVE(x)   (((x) & 0x1) << 31)
 
#define G_000E40_GUI_ACTIVE(x)   (((x) >> 31) & 0x1)
 
#define C_000E40_GUI_ACTIVE   0x7FFFFFFF
 
#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_TCLK_SRC_SEL(x)   (((x) & 0x7) << 8)
 
#define G_00000D_TCLK_SRC_SEL(x)   (((x) >> 8) & 0x7)
 
#define C_00000D_TCLK_SRC_SEL   0xFFFFF8FF
 
#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_DISP(x)   (((x) & 0x1) << 18)
 
#define G_00000D_FORCE_DISP(x)   (((x) >> 18) & 0x1)
 
#define C_00000D_FORCE_DISP   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 SCLK_CNTL   0xd
 
#define FORCE_HDP   (1 << 17)
 
#define CLK_PWRMGT_CNTL   0x14
 
#define GLOBAL_PMAN_EN   (1 << 10)
 
#define DISP_PM   (1 << 20)
 
#define PLL_PWRMGT_CNTL   0x15
 
#define MPLL_TURNOFF   (1 << 0)
 
#define SPLL_TURNOFF   (1 << 1)
 
#define PPLL_TURNOFF   (1 << 2)
 
#define P2PLL_TURNOFF   (1 << 3)
 
#define TVPLL_TURNOFF   (1 << 4)
 
#define MOBILE_SU   (1 << 16)
 
#define SU_SCLK_USE_BCLK   (1 << 17)
 
#define SCLK_CNTL2   0x1e
 
#define REDUCED_SPEED_SCLK_MODE   (1 << 16)
 
#define REDUCED_SPEED_SCLK_SEL(x)   ((x) << 17)
 
#define MCLK_MISC   0x1f
 
#define EN_MCLK_TRISTATE_IN_SUSPEND   (1 << 18)
 
#define SCLK_MORE_CNTL   0x35
 
#define REDUCED_SPEED_SCLK_EN   (1 << 16)
 
#define IO_CG_VOLTAGE_DROP   (1 << 17)
 
#define VOLTAGE_DELAY_SEL(x)   ((x) << 20)
 
#define VOLTAGE_DROP_SYNC   (1 << 19)
 
#define DISP_PWR_MAN   0xd08
 
#define DISP_D3_GRPH_RST   (1 << 18)
 
#define DISP_D3_SUBPIC_RST   (1 << 19)
 
#define DISP_D3_OV0_RST   (1 << 20)
 
#define DISP_D1D2_GRPH_RST   (1 << 21)
 
#define DISP_D1D2_SUBPIC_RST   (1 << 22)
 
#define DISP_D1D2_OV0_RST   (1 << 23)
 
#define DISP_DVO_ENABLE_RST   (1 << 24)
 
#define TV_ENABLE_RST   (1 << 25)
 
#define AUTO_PWRUP_EN   (1 << 26)
 

Macro Definition Documentation

#define AUTO_PWRUP_EN   (1 << 26)

Definition at line 878 of file r100d.h.

#define C_00000D_FORCE_CP   0xFFFEFFFF

Definition at line 805 of file r100d.h.

#define C_00000D_FORCE_DISP   0xFFFBFFFF

Definition at line 811 of file r100d.h.

#define C_00000D_FORCE_E2   0xFFEFFFFF

Definition at line 817 of file r100d.h.

#define C_00000D_FORCE_HDP   0xFFFDFFFF

Definition at line 808 of file r100d.h.

#define C_00000D_FORCE_IDCT   0xFFBFFFFF

Definition at line 823 of file r100d.h.

#define C_00000D_FORCE_PB   0xFDFFFFFF

Definition at line 832 of file r100d.h.

#define C_00000D_FORCE_RB   0xEFFFFFFF

Definition at line 841 of file r100d.h.

#define C_00000D_FORCE_RE   0xFEFFFFFF

Definition at line 829 of file r100d.h.

#define C_00000D_FORCE_SE   0xFFDFFFFF

Definition at line 820 of file r100d.h.

#define C_00000D_FORCE_TAM   0xFBFFFFFF

Definition at line 835 of file r100d.h.

#define C_00000D_FORCE_TDM   0xF7FFFFFF

Definition at line 838 of file r100d.h.

#define C_00000D_FORCE_TOP   0xFFF7FFFF

Definition at line 814 of file r100d.h.

#define C_00000D_FORCE_VIP   0xFF7FFFFF

Definition at line 826 of file r100d.h.

#define C_00000D_SCLK_SRC_SEL   0xFFFFFFF8

Definition at line 799 of file r100d.h.

#define C_00000D_TCLK_SRC_SEL   0xFFFFF8FF

Definition at line 802 of file r100d.h.

#define C_000030_BIOS_DIS_ROM   0xFFFFEFFF

Definition at line 158 of file r100d.h.

#define C_000030_BIOS_ROM_WRT_EN   0xFFFFFF7F

Definition at line 143 of file r100d.h.

#define C_000030_BM_DAC_CRIPPLE   0xFFFFFEFF

Definition at line 146 of file r100d.h.

#define C_000030_BUS_AGP_AD_STEPPING_EN   0xFFFFBFFF

Definition at line 164 of file r100d.h.

#define C_000030_BUS_DBL_RESYNC   0xFFFFFFFE

Definition at line 122 of file r100d.h.

#define C_000030_BUS_FLUSH_BUF   0xFFFFFFFB

Definition at line 128 of file r100d.h.

#define C_000030_BUS_MASTER_DIS   0xFFFFFFBF

Definition at line 140 of file r100d.h.

#define C_000030_BUS_MSTR_DISCONNECT_EN   0xEFFFFFFF

Definition at line 197 of file r100d.h.

#define C_000030_BUS_MSTR_RD_LINE   0xFFDFFFFF

Definition at line 176 of file r100d.h.

#define C_000030_BUS_MSTR_RD_MULT   0xFFEFFFFF

Definition at line 173 of file r100d.h.

#define C_000030_BUS_MSTR_RESET   0xFFFFFFFD

Definition at line 125 of file r100d.h.

#define C_000030_BUS_MSTR_WS   0xFBFFFFFF

Definition at line 191 of file r100d.h.

#define C_000030_BUS_NON_PM4_READ_COMBINE_EN   0xFFFFFDFF

Definition at line 149 of file r100d.h.

#define C_000030_BUS_PARKING_DIS   0xF7FFFFFF

Definition at line 194 of file r100d.h.

#define C_000030_BUS_PCI_READ_RETRY_EN   0xFFFFDFFF

Definition at line 161 of file r100d.h.

#define C_000030_BUS_PCI_WRT_RETRY_EN   0xFFFF7FFF

Definition at line 167 of file r100d.h.

#define C_000030_BUS_PM4_READ_COMBINE_EN   0xFFFFFFEF

Definition at line 134 of file r100d.h.

#define C_000030_BUS_RD_DISCARD_EN   0xFEFFFFFF

Definition at line 185 of file r100d.h.

#define C_000030_BUS_RDY_READ_DLY   0x7FFFFFFF

Definition at line 206 of file r100d.h.

#define C_000030_BUS_READ_BURST   0xBFFFFFFF

Definition at line 203 of file r100d.h.

#define C_000030_BUS_RETRY_WS   0xFFF0FFFF

Definition at line 170 of file r100d.h.

#define C_000030_BUS_SGL_READ_DISABLE   0xFFFFF7FF

Definition at line 155 of file r100d.h.

#define C_000030_BUS_STOP_REQ_DIS   0xFFFFFFF7

Definition at line 131 of file r100d.h.

#define C_000030_BUS_SUSPEND   0xFFBFFFFF

Definition at line 179 of file r100d.h.

#define C_000030_BUS_WRT_COMBINE_EN   0xFFFFFFDF

Definition at line 137 of file r100d.h.

#define C_000030_BUS_XFERD_DISCARD_EN   0xFFFFFBFF

Definition at line 152 of file r100d.h.

#define C_000030_ENFRCWRDY   0xFDFFFFFF

Definition at line 188 of file r100d.h.

#define C_000030_LAT_16X   0xFF7FFFFF

Definition at line 182 of file r100d.h.

#define C_000030_SERR_EN   0xDFFFFFFF

Definition at line 200 of file r100d.h.

#define C_000040_CRTC2_VBLANK   0xFFFFFDFF

Definition at line 237 of file r100d.h.

#define C_000040_CRTC2_VLINE   0xFFFFFFDF

Definition at line 225 of file r100d.h.

#define C_000040_CRTC2_VSYNC   0xFFFFFFBF

Definition at line 231 of file r100d.h.

#define C_000040_CRTC_VBLANK   0xFFFFFFFE

Definition at line 210 of file r100d.h.

#define C_000040_CRTC_VLINE   0xFFFFFFFD

Definition at line 213 of file r100d.h.

#define C_000040_CRTC_VSYNC   0xFFFFFFFB

Definition at line 216 of file r100d.h.

#define C_000040_DMA_VIPH0_INT_EN   0xFFFFEFFF

Definition at line 228 of file r100d.h.

#define C_000040_DMA_VIPH1_INT_EN   0xFFFFDFFF

Definition at line 246 of file r100d.h.

#define C_000040_DMA_VIPH2_INT_EN   0xFFFFBFFF

Definition at line 249 of file r100d.h.

#define C_000040_DMA_VIPH3_INT_EN   0xFFFF7FFF

Definition at line 252 of file r100d.h.

#define C_000040_DVI_I2C_INT   0xDFFFFFFF

Definition at line 273 of file r100d.h.

#define C_000040_FP2_DETECT   0xFFFFFBFF

Definition at line 240 of file r100d.h.

#define C_000040_FP_DETECT   0xFFFFFFEF

Definition at line 222 of file r100d.h.

#define C_000040_GEYSERVILLE   0xF7FFFFFF

Definition at line 267 of file r100d.h.

#define C_000040_GUI_IDLE   0xFFF7FFFF

Definition at line 258 of file r100d.h.

#define C_000040_GUIDMA   0xBFFFFFFF

Definition at line 276 of file r100d.h.

#define C_000040_HDCP_AUTHORIZED_INT   0xEFFFFFFF

Definition at line 270 of file r100d.h.

#define C_000040_I2C_INT_EN   0xFFFDFFFF

Definition at line 255 of file r100d.h.

#define C_000040_SNAPSHOT   0xFFFFFFF7

Definition at line 219 of file r100d.h.

#define C_000040_SNAPSHOT2   0xFFFFFF7F

Definition at line 234 of file r100d.h.

#define C_000040_SW_INT_EN   0xFDFFFFFF

Definition at line 264 of file r100d.h.

#define C_000040_VIDDMA   0x7FFFFFFF

Definition at line 279 of file r100d.h.

#define C_000040_VIPH_INT_EN   0xFEFFFFFF

Definition at line 261 of file r100d.h.

#define C_000040_VSYNC_DIFF_OVER_LIMIT   0xFFFFF7FF

Definition at line 243 of file r100d.h.

#define C_000044_CAP0_INT_ACTIVE   0xFFFFFEFF

Definition at line 331 of file r100d.h.

#define C_000044_CRTC2_VBLANK_STAT   0xFFFFFDFF

Definition at line 334 of file r100d.h.

#define C_000044_CRTC2_VBLANK_STAT_AK   0xFFFFFDFF

Definition at line 337 of file r100d.h.

#define C_000044_CRTC2_VLINE_STAT   0xFFFFFFDF

Definition at line 313 of file r100d.h.

#define C_000044_CRTC2_VLINE_STAT_AK   0xFFFFFFDF

Definition at line 316 of file r100d.h.

#define C_000044_CRTC2_VSYNC_STAT   0xFFFFFFBF

Definition at line 319 of file r100d.h.

#define C_000044_CRTC2_VSYNC_STAT_AK   0xFFFFFFBF

Definition at line 322 of file r100d.h.

#define C_000044_CRTC_VBLANK_STAT   0xFFFFFFFE

Definition at line 283 of file r100d.h.

#define C_000044_CRTC_VBLANK_STAT_AK   0xFFFFFFFE

Definition at line 286 of file r100d.h.

#define C_000044_CRTC_VLINE_STAT   0xFFFFFFFD

Definition at line 289 of file r100d.h.

#define C_000044_CRTC_VLINE_STAT_AK   0xFFFFFFFD

Definition at line 292 of file r100d.h.

#define C_000044_CRTC_VSYNC_STAT   0xFFFFFFFB

Definition at line 295 of file r100d.h.

#define C_000044_CRTC_VSYNC_STAT_AK   0xFFFFFFFB

Definition at line 298 of file r100d.h.

#define C_000044_DMA_VIPH0_INT   0xFFFFEFFF

Definition at line 352 of file r100d.h.

#define C_000044_DMA_VIPH0_INT_AK   0xFFFFEFFF

Definition at line 355 of file r100d.h.

#define C_000044_DMA_VIPH1_INT   0xFFFFDFFF

Definition at line 358 of file r100d.h.

#define C_000044_DMA_VIPH1_INT_AK   0xFFFFDFFF

Definition at line 361 of file r100d.h.

#define C_000044_DMA_VIPH2_INT   0xFFFFBFFF

Definition at line 364 of file r100d.h.

#define C_000044_DMA_VIPH2_INT_AK   0xFFFFBFFF

Definition at line 367 of file r100d.h.

#define C_000044_DMA_VIPH3_INT   0xFFFF7FFF

Definition at line 370 of file r100d.h.

#define C_000044_DMA_VIPH3_INT_AK   0xFFFF7FFF

Definition at line 373 of file r100d.h.

#define C_000044_DVI_I2C_INT_AK   0xDFFFFFFF

Definition at line 415 of file r100d.h.

#define C_000044_DVI_I2C_INT_STAT   0xDFFFFFFF

Definition at line 412 of file r100d.h.

#define C_000044_FP2_DETECT_STAT   0xFFFFFBFF

Definition at line 340 of file r100d.h.

#define C_000044_FP2_DETECT_STAT_AK   0xFFFFFBFF

Definition at line 343 of file r100d.h.

#define C_000044_FP_DETECT_STAT   0xFFFFFFEF

Definition at line 307 of file r100d.h.

#define C_000044_FP_DETECT_STAT_AK   0xFFFFFFEF

Definition at line 310 of file r100d.h.

#define C_000044_GEYSERVILLE_STAT   0xF7FFFFFF

Definition at line 400 of file r100d.h.

#define C_000044_GEYSERVILLE_STAT_AK   0xF7FFFFFF

Definition at line 403 of file r100d.h.

#define C_000044_GUI_IDLE_STAT   0xFFF7FFFF

Definition at line 382 of file r100d.h.

#define C_000044_GUI_IDLE_STAT_AK   0xFFF7FFFF

Definition at line 385 of file r100d.h.

#define C_000044_GUIDMA_AK   0xBFFFFFFF

Definition at line 421 of file r100d.h.

#define C_000044_GUIDMA_STAT   0xBFFFFFFF

Definition at line 418 of file r100d.h.

#define C_000044_HDCP_AUTHORIZED_INT_AK   0xEFFFFFFF

Definition at line 409 of file r100d.h.

#define C_000044_HDCP_AUTHORIZED_INT_STAT   0xEFFFFFFF

Definition at line 406 of file r100d.h.

#define C_000044_I2C_INT   0xFFFDFFFF

Definition at line 376 of file r100d.h.

#define C_000044_I2C_INT_AK   0xFFFDFFFF

Definition at line 379 of file r100d.h.

#define C_000044_SNAPSHOT2_STAT   0xFFFFFF7F

Definition at line 325 of file r100d.h.

#define C_000044_SNAPSHOT2_STAT_AK   0xFFFFFF7F

Definition at line 328 of file r100d.h.

#define C_000044_SNAPSHOT_STAT   0xFFFFFFF7

Definition at line 301 of file r100d.h.

#define C_000044_SNAPSHOT_STAT_AK   0xFFFFFFF7

Definition at line 304 of file r100d.h.

#define C_000044_SW_INT   0xFDFFFFFF

Definition at line 391 of file r100d.h.

#define C_000044_SW_INT_AK   0xFDFFFFFF

Definition at line 394 of file r100d.h.

#define C_000044_SW_INT_SET   0xFBFFFFFF

Definition at line 397 of file r100d.h.

#define C_000044_VIDDMA_AK   0x7FFFFFFF

Definition at line 427 of file r100d.h.

#define C_000044_VIDDMA_STAT   0x7FFFFFFF

Definition at line 424 of file r100d.h.

#define C_000044_VIPH_INT   0xFEFFFFFF

Definition at line 388 of file r100d.h.

#define C_000044_VSYNC_DIFF_OVER_LIMIT_STAT   0xFFFFF7FF

Definition at line 346 of file r100d.h.

#define C_000044_VSYNC_DIFF_OVER_LIMIT_STAT_AK   0xFFFFF7FF

Definition at line 349 of file r100d.h.

#define C_000050_CRTC_C_SYNC_EN   0xFFFFFFEF

Definition at line 437 of file r100d.h.

#define C_000050_CRTC_CUR_EN   0xFFFEFFFF

Definition at line 446 of file r100d.h.

#define C_000050_CRTC_CUR_MODE   0xFF8FFFFF

Definition at line 452 of file r100d.h.

#define C_000050_CRTC_DBL_SCAN_EN   0xFFFFFFFE

Definition at line 431 of file r100d.h.

#define C_000050_CRTC_DISP_REQ_EN_B   0xFBFFFFFF

Definition at line 461 of file r100d.h.

#define C_000050_CRTC_EN   0xFDFFFFFF

Definition at line 458 of file r100d.h.

#define C_000050_CRTC_EXT_DISP_EN   0xFEFFFFFF

Definition at line 455 of file r100d.h.

#define C_000050_CRTC_ICON_EN   0xFFFF7FFF

Definition at line 443 of file r100d.h.

#define C_000050_CRTC_INTERLACE_EN   0xFFFFFFFD

Definition at line 434 of file r100d.h.

#define C_000050_CRTC_PIX_WIDTH   0xFFFFF0FF

Definition at line 440 of file r100d.h.

#define C_000050_CRTC_VSTAT_MODE   0xFFF9FFFF

Definition at line 449 of file r100d.h.

#define C_000054_CRT_ON   0xFFFF7FFF

Definition at line 501 of file r100d.h.

#define C_000054_CRTC_DISPLAY_DIS   0xFFFFFBFF

Definition at line 489 of file r100d.h.

#define C_000054_CRTC_HSYNC_DIS   0xFFFFFEFF

Definition at line 483 of file r100d.h.

#define C_000054_CRTC_HSYNC_TRISTATE   0xFFFFEFFF

Definition at line 495 of file r100d.h.

#define C_000054_CRTC_SYNC_TRISTATE   0xFFFFF7FF

Definition at line 492 of file r100d.h.

#define C_000054_CRTC_VGA_XOVERSCAN   0xFFFFFFFE

Definition at line 465 of file r100d.h.

#define C_000054_CRTC_VSYNC_DIS   0xFFFFFDFF

Definition at line 486 of file r100d.h.

#define C_000054_CRTC_VSYNC_TRISTATE   0xFFFFDFFF

Definition at line 498 of file r100d.h.

#define C_000054_VCRTC_IDX_MASTER   0x80FFFFFF

Definition at line 513 of file r100d.h.

#define C_000054_VGA_128KAP_PAGING   0xFFFFFFEF

Definition at line 474 of file r100d.h.

#define C_000054_VGA_ATI_LINEAR   0xFFFFFFF7

Definition at line 471 of file r100d.h.

#define C_000054_VGA_BLINK_RATE   0xFFFFFFF9

Definition at line 468 of file r100d.h.

#define C_000054_VGA_CUR_B_TEST   0xFFFDFFFF

Definition at line 504 of file r100d.h.

#define C_000054_VGA_MEM_PS_EN   0xFFF7FFFF

Definition at line 510 of file r100d.h.

#define C_000054_VGA_PACK_DIS   0xFFFBFFFF

Definition at line 507 of file r100d.h.

#define C_000054_VGA_TEXT_132   0xFFFFFFDF

Definition at line 477 of file r100d.h.

#define C_000054_VGA_XCRT_CNT_EN   0xFFFFFFBF

Definition at line 480 of file r100d.h.

#define C_0000F0_SOFT_RESET_AIC   0xFFFFFDFF

Definition at line 109 of file r100d.h.

#define C_0000F0_SOFT_RESET_CG   0xFFFFEFFF

Definition at line 118 of file r100d.h.

#define C_0000F0_SOFT_RESET_CP   0xFFFFFFFE

Definition at line 82 of file r100d.h.

#define C_0000F0_SOFT_RESET_DISP   0xFFFFF7FF

Definition at line 115 of file r100d.h.

#define C_0000F0_SOFT_RESET_E2   0xFFFFFFDF

Definition at line 97 of file r100d.h.

#define C_0000F0_SOFT_RESET_HDP   0xFFFFFF7F

Definition at line 103 of file r100d.h.

#define C_0000F0_SOFT_RESET_HI   0xFFFFFFFD

Definition at line 85 of file r100d.h.

#define C_0000F0_SOFT_RESET_MC   0xFFFFFEFF

Definition at line 106 of file r100d.h.

#define C_0000F0_SOFT_RESET_PP   0xFFFFFFEF

Definition at line 94 of file r100d.h.

#define C_0000F0_SOFT_RESET_RB   0xFFFFFFBF

Definition at line 100 of file r100d.h.

#define C_0000F0_SOFT_RESET_RE   0xFFFFFFF7

Definition at line 91 of file r100d.h.

#define C_0000F0_SOFT_RESET_SE   0xFFFFFFFB

Definition at line 88 of file r100d.h.

#define C_0000F0_SOFT_RESET_VIP   0xFFFFFBFF

Definition at line 112 of file r100d.h.

#define C_000148_MC_FB_START   0xFFFF0000

Definition at line 517 of file r100d.h.

#define C_000148_MC_FB_TOP   0x0000FFFF

Definition at line 520 of file r100d.h.

#define C_00014C_MC_AGP_START   0xFFFF0000

Definition at line 524 of file r100d.h.

#define C_00014C_MC_AGP_TOP   0x0000FFFF

Definition at line 527 of file r100d.h.

#define C_000170_AGP_BASE_ADDR   0x00000000

Definition at line 531 of file r100d.h.

#define C_00023C_DISPLAY_BASE_ADDR   0x00000000

Definition at line 535 of file r100d.h.

#define C_000260_CUR_LOCK   0x7FFFFFFF

Definition at line 542 of file r100d.h.

#define C_000260_CUR_OFFSET   0xF8000000

Definition at line 539 of file r100d.h.

#define C_00033C_CRTC2_DISPLAY_BASE_ADDR   0x00000000

Definition at line 546 of file r100d.h.

#define C_000360_CUR2_LOCK   0x7FFFFFFF

Definition at line 553 of file r100d.h.

#define C_000360_CUR2_OFFSET   0xF8000000

Definition at line 550 of file r100d.h.

#define C_0003C2_GENMO_MONO_ADDRESS_B   0xFE

Definition at line 557 of file r100d.h.

#define C_0003C2_ODD_EVEN_MD_PGSEL   0xDF

Definition at line 566 of file r100d.h.

#define C_0003C2_VGA_CKSEL   0xF3

Definition at line 563 of file r100d.h.

#define C_0003C2_VGA_HSYNC_POL   0xBF

Definition at line 569 of file r100d.h.

#define C_0003C2_VGA_RAM_EN   0xFD

Definition at line 560 of file r100d.h.

#define C_0003C2_VGA_VSYNC_POL   0x7F

Definition at line 572 of file r100d.h.

#define C_0003F8_CRT2_ON   0xFFFFFF7F

Definition at line 591 of file r100d.h.

#define C_0003F8_CRTC2_C_SYNC_EN   0xF7FFFFFF

Definition at line 615 of file r100d.h.

#define C_0003F8_CRTC2_CUR_EN   0xFFFEFFFF

Definition at line 600 of file r100d.h.

#define C_0003F8_CRTC2_CUR_MODE   0xFF8FFFFF

Definition at line 603 of file r100d.h.

#define C_0003F8_CRTC2_DBL_SCAN_EN   0xFFFFFFFE

Definition at line 576 of file r100d.h.

#define C_0003F8_CRTC2_DISP_REQ_EN_B   0xFBFFFFFF

Definition at line 612 of file r100d.h.

#define C_0003F8_CRTC2_DISPLAY_DIS   0xFF7FFFFF

Definition at line 606 of file r100d.h.

#define C_0003F8_CRTC2_EN   0xFDFFFFFF

Definition at line 609 of file r100d.h.

#define C_0003F8_CRTC2_HSYNC_DIS   0xEFFFFFFF

Definition at line 618 of file r100d.h.

#define C_0003F8_CRTC2_HSYNC_TRISTATE   0xFFFFFFDF

Definition at line 585 of file r100d.h.

#define C_0003F8_CRTC2_ICON_EN   0xFFFF7FFF

Definition at line 597 of file r100d.h.

#define C_0003F8_CRTC2_INTERLACE_EN   0xFFFFFFFD

Definition at line 579 of file r100d.h.

#define C_0003F8_CRTC2_PIX_WIDTH   0xFFFFF0FF

Definition at line 594 of file r100d.h.

#define C_0003F8_CRTC2_SYNC_TRISTATE   0xFFFFFFEF

Definition at line 582 of file r100d.h.

#define C_0003F8_CRTC2_VSYNC_DIS   0xDFFFFFFF

Definition at line 621 of file r100d.h.

#define C_0003F8_CRTC2_VSYNC_TRISTATE   0xFFFFFFBF

Definition at line 588 of file r100d.h.

#define C_000420_OV0_ADAPTIVE_DEINT   0xFFFFEFFF

Definition at line 643 of file r100d.h.

#define C_000420_OV0_BANDWIDTH   0xFBFFFFFF

Definition at line 655 of file r100d.h.

#define C_000420_OV0_BURST_PER_PLANE   0xFF80FFFF

Definition at line 649 of file r100d.h.

#define C_000420_OV0_CRTC_SEL   0xFFFFBFFF

Definition at line 646 of file r100d.h.

#define C_000420_OV0_DOUBLE_BUFFER_REGS   0xFEFFFFFF

Definition at line 652 of file r100d.h.

#define C_000420_OV0_GAMMA_SEL   0xFFFFFF1F

Definition at line 637 of file r100d.h.

#define C_000420_OV0_HORZ_PICK_NEAREST   0xFFFFFFFB

Definition at line 628 of file r100d.h.

#define C_000420_OV0_INT_EMU   0xDFFFFFFF

Definition at line 661 of file r100d.h.

#define C_000420_OV0_LIN_TRANS_BYPASS   0xEFFFFFFF

Definition at line 658 of file r100d.h.

#define C_000420_OV0_NO_READ_BEHIND_SCAN   0xFFFFFFFD

Definition at line 625 of file r100d.h.

#define C_000420_OV0_OVERLAY_EN   0xBFFFFFFF

Definition at line 664 of file r100d.h.

#define C_000420_OV0_SIGNED_UV   0xFFFFFFEF

Definition at line 634 of file r100d.h.

#define C_000420_OV0_SOFT_RESET   0x7FFFFFFF

Definition at line 667 of file r100d.h.

#define C_000420_OV0_SURFACE_FORMAT   0xFFFFF0FF

Definition at line 640 of file r100d.h.

#define C_000420_OV0_VERT_PICK_NEAREST   0xFFFFFFF7

Definition at line 631 of file r100d.h.

#define C_00070C_RB_RPTR_ADDR   0x00000003

Definition at line 674 of file r100d.h.

#define C_00070C_RB_RPTR_SWAP   0xFFFFFFFC

Definition at line 671 of file r100d.h.

#define C_000740_CSQ_CNT_INDIRECT   0xFFFF00FF

Definition at line 681 of file r100d.h.

#define C_000740_CSQ_CNT_PRIMARY   0xFFFFFF00

Definition at line 678 of file r100d.h.

#define C_000740_CSQ_MODE   0x0FFFFFFF

Definition at line 684 of file r100d.h.

#define C_000770_SCRATCH_SWAP   0xFFFCFFFF

Definition at line 691 of file r100d.h.

#define C_000770_SCRATCH_UMSK   0xFFFFFFC0

Definition at line 688 of file r100d.h.

#define C_000774_SCRATCH_ADDR   0x0000001F

Definition at line 695 of file r100d.h.

#define C_0007C0_CMDSTRM_BUSY   0xBFFFFFFF

Definition at line 732 of file r100d.h.

#define C_0007C0_CP_BUSY   0x7FFFFFFF

Definition at line 735 of file r100d.h.

#define C_0007C0_CSF_INDIRECT_BUSY   0xFFFFFBFF

Definition at line 714 of file r100d.h.

#define C_0007C0_CSF_PRIMARY_BUSY   0xFFFFFDFF

Definition at line 711 of file r100d.h.

#define C_0007C0_CSI_BUSY   0xFFFFDFFF

Definition at line 723 of file r100d.h.

#define C_0007C0_CSQ_INDIRECT_BUSY   0xFFFFEFFF

Definition at line 720 of file r100d.h.

#define C_0007C0_CSQ_PRIMARY_BUSY   0xFFFFF7FF

Definition at line 717 of file r100d.h.

#define C_0007C0_GUIDMA_BUSY   0xEFFFFFFF

Definition at line 726 of file r100d.h.

#define C_0007C0_MRU_BUSY   0xFFFFFFFE

Definition at line 699 of file r100d.h.

#define C_0007C0_MWU_BUSY   0xFFFFFFFD

Definition at line 702 of file r100d.h.

#define C_0007C0_RCIU_BUSY   0xFFFFFFF7

Definition at line 708 of file r100d.h.

#define C_0007C0_RSIU_BUSY   0xFFFFFFFB

Definition at line 705 of file r100d.h.

#define C_0007C0_VIDDMA_BUSY   0xDFFFFFFF

Definition at line 729 of file r100d.h.

#define C_000E40_CF_PIPE_BUSY   0xFFFFBFFF

Definition at line 760 of file r100d.h.

#define C_000E40_CFRQ_IN_RTBUF   0xFFFFDFFF

Definition at line 757 of file r100d.h.

#define C_000E40_CFRQ_ON_RBB   0xFFFFFBFF

Definition at line 748 of file r100d.h.

#define C_000E40_CMDFIFO_AVAIL   0xFFFFFF80

Definition at line 739 of file r100d.h.

#define C_000E40_CP_CMDSTRM_BUSY   0xFFFEFFFF

Definition at line 766 of file r100d.h.

#define C_000E40_CPRQ_IN_RTBUF   0xFFFFEFFF

Definition at line 754 of file r100d.h.

#define C_000E40_CPRQ_ON_RBB   0xFFFFFDFF

Definition at line 745 of file r100d.h.

#define C_000E40_E2_BUSY   0xFFFDFFFF

Definition at line 769 of file r100d.h.

#define C_000E40_ENG_EV_BUSY   0xFFFF7FFF

Definition at line 763 of file r100d.h.

#define C_000E40_GUI_ACTIVE   0x7FFFFFFF

Definition at line 793 of file r100d.h.

#define C_000E40_HIRQ_IN_RTBUF   0xFFFFF7FF

Definition at line 751 of file r100d.h.

#define C_000E40_HIRQ_ON_RBB   0xFFFFFEFF

Definition at line 742 of file r100d.h.

#define C_000E40_PB_BUSY   0xFEFFFFFF

Definition at line 790 of file r100d.h.

#define C_000E40_RB2D_BUSY   0xFFFBFFFF

Definition at line 772 of file r100d.h.

#define C_000E40_RB3D_BUSY   0xFFF7FFFF

Definition at line 775 of file r100d.h.

#define C_000E40_RE_BUSY   0xFFDFFFFF

Definition at line 781 of file r100d.h.

#define C_000E40_SE_BUSY   0xFFEFFFFF

Definition at line 778 of file r100d.h.

#define C_000E40_TAM_BUSY   0xFFBFFFFF

Definition at line 784 of file r100d.h.

#define C_000E40_TDM_BUSY   0xFF7FFFFF

Definition at line 787 of file r100d.h.

#define CLK_PWRMGT_CNTL   0x14

Definition at line 846 of file r100d.h.

#define CP_PACKET0   0x00000000

Definition at line 31 of file r100d.h.

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

Definition at line 75 of file r100d.h.

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

Definition at line 74 of file r100d.h.

#define CP_PACKET1   0x40000000

Definition at line 36 of file r100d.h.

#define CP_PACKET2   0x80000000

Definition at line 37 of file r100d.h.

#define CP_PACKET3   0xC0000000

Definition at line 40 of file r100d.h.

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

Definition at line 76 of file r100d.h.

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

Definition at line 73 of file r100d.h.

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

Definition at line 72 of file r100d.h.

#define DISP_D1D2_GRPH_RST   (1 << 21)

Definition at line 873 of file r100d.h.

#define DISP_D1D2_OV0_RST   (1 << 23)

Definition at line 875 of file r100d.h.

#define DISP_D1D2_SUBPIC_RST   (1 << 22)

Definition at line 874 of file r100d.h.

#define DISP_D3_GRPH_RST   (1 << 18)

Definition at line 870 of file r100d.h.

#define DISP_D3_OV0_RST   (1 << 20)

Definition at line 872 of file r100d.h.

#define DISP_D3_SUBPIC_RST   (1 << 19)

Definition at line 871 of file r100d.h.

#define DISP_DVO_ENABLE_RST   (1 << 24)

Definition at line 876 of file r100d.h.

#define DISP_PM   (1 << 20)

Definition at line 848 of file r100d.h.

#define DISP_PWR_MAN   0xd08

Definition at line 869 of file r100d.h.

#define EN_MCLK_TRISTATE_IN_SUSPEND   (1 << 18)

Definition at line 861 of file r100d.h.

#define FORCE_HDP   (1 << 17)

Definition at line 845 of file r100d.h.

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

Definition at line 804 of file r100d.h.

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

Definition at line 810 of file r100d.h.

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

Definition at line 816 of file r100d.h.

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

Definition at line 807 of file r100d.h.

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

Definition at line 822 of file r100d.h.

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

Definition at line 831 of file r100d.h.

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

Definition at line 840 of file r100d.h.

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

Definition at line 828 of file r100d.h.

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

Definition at line 819 of file r100d.h.

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

Definition at line 834 of file r100d.h.

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

Definition at line 837 of file r100d.h.

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

Definition at line 813 of file r100d.h.

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

Definition at line 825 of file r100d.h.

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

Definition at line 798 of file r100d.h.

#define G_00000D_TCLK_SRC_SEL (   x)    (((x) >> 8) & 0x7)

Definition at line 801 of file r100d.h.

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

Definition at line 157 of file r100d.h.

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

Definition at line 142 of file r100d.h.

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

Definition at line 145 of file r100d.h.

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

Definition at line 163 of file r100d.h.

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

Definition at line 121 of file r100d.h.

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

Definition at line 127 of file r100d.h.

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

Definition at line 139 of file r100d.h.

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

Definition at line 196 of file r100d.h.

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

Definition at line 175 of file r100d.h.

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

Definition at line 172 of file r100d.h.

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

Definition at line 124 of file r100d.h.

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

Definition at line 190 of file r100d.h.

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

Definition at line 148 of file r100d.h.

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

Definition at line 193 of file r100d.h.

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

Definition at line 160 of file r100d.h.

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

Definition at line 166 of file r100d.h.

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

Definition at line 133 of file r100d.h.

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

Definition at line 184 of file r100d.h.

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

Definition at line 205 of file r100d.h.

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

Definition at line 202 of file r100d.h.

#define G_000030_BUS_RETRY_WS (   x)    (((x) >> 16) & 0xF)

Definition at line 169 of file r100d.h.

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

Definition at line 154 of file r100d.h.

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

Definition at line 130 of file r100d.h.

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

Definition at line 178 of file r100d.h.

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

Definition at line 136 of file r100d.h.

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

Definition at line 151 of file r100d.h.

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

Definition at line 187 of file r100d.h.

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

Definition at line 181 of file r100d.h.

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

Definition at line 199 of file r100d.h.

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

Definition at line 236 of file r100d.h.

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

Definition at line 224 of file r100d.h.

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

Definition at line 230 of file r100d.h.

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

Definition at line 209 of file r100d.h.

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

Definition at line 212 of file r100d.h.

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

Definition at line 215 of file r100d.h.

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

Definition at line 227 of file r100d.h.

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

Definition at line 245 of file r100d.h.

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

Definition at line 248 of file r100d.h.

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

Definition at line 251 of file r100d.h.

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

Definition at line 272 of file r100d.h.

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

Definition at line 239 of file r100d.h.

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

Definition at line 221 of file r100d.h.

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

Definition at line 266 of file r100d.h.

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

Definition at line 257 of file r100d.h.

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

Definition at line 275 of file r100d.h.

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

Definition at line 269 of file r100d.h.

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

Definition at line 254 of file r100d.h.

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

Definition at line 218 of file r100d.h.

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

Definition at line 233 of file r100d.h.

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

Definition at line 263 of file r100d.h.

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

Definition at line 278 of file r100d.h.

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

Definition at line 260 of file r100d.h.

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

Definition at line 242 of file r100d.h.

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

Definition at line 330 of file r100d.h.

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

Definition at line 333 of file r100d.h.

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

Definition at line 336 of file r100d.h.

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

Definition at line 312 of file r100d.h.

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

Definition at line 315 of file r100d.h.

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

Definition at line 318 of file r100d.h.

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

Definition at line 321 of file r100d.h.

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

Definition at line 282 of file r100d.h.

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

Definition at line 285 of file r100d.h.

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

Definition at line 288 of file r100d.h.

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

Definition at line 291 of file r100d.h.

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

Definition at line 294 of file r100d.h.

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

Definition at line 297 of file r100d.h.

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

Definition at line 351 of file r100d.h.

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

Definition at line 354 of file r100d.h.

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

Definition at line 357 of file r100d.h.

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

Definition at line 360 of file r100d.h.

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

Definition at line 363 of file r100d.h.

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

Definition at line 366 of file r100d.h.

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

Definition at line 369 of file r100d.h.

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

Definition at line 372 of file r100d.h.

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

Definition at line 414 of file r100d.h.

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

Definition at line 411 of file r100d.h.

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

Definition at line 339 of file r100d.h.

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

Definition at line 342 of file r100d.h.

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

Definition at line 306 of file r100d.h.

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

Definition at line 309 of file r100d.h.

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

Definition at line 399 of file r100d.h.

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

Definition at line 402 of file r100d.h.

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

Definition at line 381 of file r100d.h.

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

Definition at line 384 of file r100d.h.

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

Definition at line 420 of file r100d.h.

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

Definition at line 417 of file r100d.h.

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

Definition at line 408 of file r100d.h.

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

Definition at line 405 of file r100d.h.

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

Definition at line 375 of file r100d.h.

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

Definition at line 378 of file r100d.h.

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

Definition at line 324 of file r100d.h.

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

Definition at line 327 of file r100d.h.

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

Definition at line 300 of file r100d.h.

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

Definition at line 303 of file r100d.h.

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

Definition at line 390 of file r100d.h.

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

Definition at line 393 of file r100d.h.

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

Definition at line 396 of file r100d.h.

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

Definition at line 426 of file r100d.h.

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

Definition at line 423 of file r100d.h.

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

Definition at line 387 of file r100d.h.

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

Definition at line 345 of file r100d.h.

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

Definition at line 348 of file r100d.h.

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

Definition at line 436 of file r100d.h.

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

Definition at line 445 of file r100d.h.

#define G_000050_CRTC_CUR_MODE (   x)    (((x) >> 20) & 0x7)

Definition at line 451 of file r100d.h.

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

Definition at line 430 of file r100d.h.

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

Definition at line 460 of file r100d.h.

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

Definition at line 457 of file r100d.h.

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

Definition at line 454 of file r100d.h.

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

Definition at line 442 of file r100d.h.

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

Definition at line 433 of file r100d.h.

#define G_000050_CRTC_PIX_WIDTH (   x)    (((x) >> 8) & 0xF)

Definition at line 439 of file r100d.h.

#define G_000050_CRTC_VSTAT_MODE (   x)    (((x) >> 17) & 0x3)

Definition at line 448 of file r100d.h.

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

Definition at line 500 of file r100d.h.

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

Definition at line 488 of file r100d.h.

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

Definition at line 482 of file r100d.h.

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

Definition at line 494 of file r100d.h.

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

Definition at line 491 of file r100d.h.

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

Definition at line 464 of file r100d.h.

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

Definition at line 485 of file r100d.h.

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

Definition at line 497 of file r100d.h.

#define G_000054_VCRTC_IDX_MASTER (   x)    (((x) >> 24) & 0x7F)

Definition at line 512 of file r100d.h.

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

Definition at line 473 of file r100d.h.

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

Definition at line 470 of file r100d.h.

#define G_000054_VGA_BLINK_RATE (   x)    (((x) >> 1) & 0x3)

Definition at line 467 of file r100d.h.

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

Definition at line 503 of file r100d.h.

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

Definition at line 509 of file r100d.h.

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

Definition at line 506 of file r100d.h.

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

Definition at line 476 of file r100d.h.

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

Definition at line 479 of file r100d.h.

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

Definition at line 108 of file r100d.h.

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

Definition at line 117 of file r100d.h.

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

Definition at line 81 of file r100d.h.

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

Definition at line 114 of file r100d.h.

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

Definition at line 96 of file r100d.h.

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

Definition at line 102 of file r100d.h.

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

Definition at line 84 of file r100d.h.

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

Definition at line 105 of file r100d.h.

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

Definition at line 93 of file r100d.h.

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

Definition at line 99 of file r100d.h.

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

Definition at line 90 of file r100d.h.

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

Definition at line 87 of file r100d.h.

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

Definition at line 111 of file r100d.h.

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

Definition at line 516 of file r100d.h.

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

Definition at line 519 of file r100d.h.

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

Definition at line 523 of file r100d.h.

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

Definition at line 526 of file r100d.h.

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

Definition at line 530 of file r100d.h.

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

Definition at line 534 of file r100d.h.

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

Definition at line 541 of file r100d.h.

#define G_000260_CUR_OFFSET (   x)    (((x) >> 0) & 0x7FFFFFF)

Definition at line 538 of file r100d.h.

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

Definition at line 545 of file r100d.h.

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

Definition at line 552 of file r100d.h.

#define G_000360_CUR2_OFFSET (   x)    (((x) >> 0) & 0x7FFFFFF)

Definition at line 549 of file r100d.h.

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

Definition at line 556 of file r100d.h.

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

Definition at line 565 of file r100d.h.

#define G_0003C2_VGA_CKSEL (   x)    (((x) >> 2) & 0x3)

Definition at line 562 of file r100d.h.

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

Definition at line 568 of file r100d.h.

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

Definition at line 559 of file r100d.h.

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

Definition at line 571 of file r100d.h.

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

Definition at line 590 of file r100d.h.

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

Definition at line 614 of file r100d.h.

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

Definition at line 599 of file r100d.h.

#define G_0003F8_CRTC2_CUR_MODE (   x)    (((x) >> 20) & 0x7)

Definition at line 602 of file r100d.h.

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

Definition at line 575 of file r100d.h.

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

Definition at line 611 of file r100d.h.

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

Definition at line 605 of file r100d.h.

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

Definition at line 608 of file r100d.h.

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

Definition at line 617 of file r100d.h.

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

Definition at line 584 of file r100d.h.

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

Definition at line 596 of file r100d.h.

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

Definition at line 578 of file r100d.h.

#define G_0003F8_CRTC2_PIX_WIDTH (   x)    (((x) >> 8) & 0xF)

Definition at line 593 of file r100d.h.

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

Definition at line 581 of file r100d.h.

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

Definition at line 620 of file r100d.h.

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

Definition at line 587 of file r100d.h.

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

Definition at line 642 of file r100d.h.

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

Definition at line 654 of file r100d.h.

#define G_000420_OV0_BURST_PER_PLANE (   x)    (((x) >> 16) & 0x7F)

Definition at line 648 of file r100d.h.

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

Definition at line 645 of file r100d.h.

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

Definition at line 651 of file r100d.h.

#define G_000420_OV0_GAMMA_SEL (   x)    (((x) >> 5) & 0x7)

Definition at line 636 of file r100d.h.

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

Definition at line 627 of file r100d.h.

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

Definition at line 660 of file r100d.h.

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

Definition at line 657 of file r100d.h.

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

Definition at line 624 of file r100d.h.

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

Definition at line 663 of file r100d.h.

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

Definition at line 633 of file r100d.h.

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

Definition at line 666 of file r100d.h.

#define G_000420_OV0_SURFACE_FORMAT (   x)    (((x) >> 8) & 0xF)

Definition at line 639 of file r100d.h.

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

Definition at line 630 of file r100d.h.

#define G_00070C_RB_RPTR_ADDR (   x)    (((x) >> 2) & 0x3FFFFFFF)

Definition at line 673 of file r100d.h.

#define G_00070C_RB_RPTR_SWAP (   x)    (((x) >> 0) & 0x3)

Definition at line 670 of file r100d.h.

#define G_000740_CSQ_CNT_INDIRECT (   x)    (((x) >> 8) & 0xFF)

Definition at line 680 of file r100d.h.

#define G_000740_CSQ_CNT_PRIMARY (   x)    (((x) >> 0) & 0xFF)

Definition at line 677 of file r100d.h.

#define G_000740_CSQ_MODE (   x)    (((x) >> 28) & 0xF)

Definition at line 683 of file r100d.h.

#define G_000770_SCRATCH_SWAP (   x)    (((x) >> 16) & 0x3)

Definition at line 690 of file r100d.h.

#define G_000770_SCRATCH_UMSK (   x)    (((x) >> 0) & 0x3F)

Definition at line 687 of file r100d.h.

#define G_000774_SCRATCH_ADDR (   x)    (((x) >> 5) & 0x7FFFFFF)

Definition at line 694 of file r100d.h.

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

Definition at line 731 of file r100d.h.

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

Definition at line 734 of file r100d.h.

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

Definition at line 713 of file r100d.h.

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

Definition at line 710 of file r100d.h.

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

Definition at line 722 of file r100d.h.

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

Definition at line 719 of file r100d.h.

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

Definition at line 716 of file r100d.h.

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

Definition at line 725 of file r100d.h.

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

Definition at line 698 of file r100d.h.

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

Definition at line 701 of file r100d.h.

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

Definition at line 707 of file r100d.h.

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

Definition at line 704 of file r100d.h.

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

Definition at line 728 of file r100d.h.

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

Definition at line 759 of file r100d.h.

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

Definition at line 756 of file r100d.h.

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

Definition at line 747 of file r100d.h.

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

Definition at line 738 of file r100d.h.

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

Definition at line 765 of file r100d.h.

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

Definition at line 753 of file r100d.h.

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

Definition at line 744 of file r100d.h.

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

Definition at line 768 of file r100d.h.

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

Definition at line 762 of file r100d.h.

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

Definition at line 792 of file r100d.h.

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

Definition at line 750 of file r100d.h.

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

Definition at line 741 of file r100d.h.

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

Definition at line 789 of file r100d.h.

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

Definition at line 771 of file r100d.h.

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

Definition at line 774 of file r100d.h.

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

Definition at line 780 of file r100d.h.

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

Definition at line 777 of file r100d.h.

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

Definition at line 783 of file r100d.h.

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

Definition at line 786 of file r100d.h.

#define GLOBAL_PMAN_EN   (1 << 10)

Definition at line 847 of file r100d.h.

#define IO_CG_VOLTAGE_DROP   (1 << 17)

Definition at line 864 of file r100d.h.

#define MCLK_MISC   0x1f

Definition at line 860 of file r100d.h.

#define MOBILE_SU   (1 << 16)

Definition at line 855 of file r100d.h.

#define MPLL_TURNOFF   (1 << 0)

Definition at line 850 of file r100d.h.

#define P2PLL_TURNOFF   (1 << 3)

Definition at line 853 of file r100d.h.

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

Definition at line 59 of file r100d.h.

#define PACKET0_BASE_INDEX_MASK   (0x1ffff << 0)

Definition at line 33 of file r100d.h.

#define PACKET0_BASE_INDEX_SHIFT   0

Definition at line 32 of file r100d.h.

#define PACKET0_COUNT_MASK   (0x3fff << 16)

Definition at line 35 of file r100d.h.

#define PACKET0_COUNT_SHIFT   16

Definition at line 34 of file r100d.h.

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

Definition at line 62 of file r100d.h.

#define PACKET2_PAD_MASK   (0x3fffffff << 0)

Definition at line 39 of file r100d.h.

#define PACKET2_PAD_SHIFT   0

Definition at line 38 of file r100d.h.

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

Definition at line 63 of file r100d.h.

#define PACKET3_3D_CLEAR_HIZ   0x37

Definition at line 56 of file r100d.h.

#define PACKET3_3D_CLEAR_ZMASK   0x32

Definition at line 51 of file r100d.h.

#define PACKET3_3D_DRAW_IMMD   0x29

Definition at line 48 of file r100d.h.

#define PACKET3_3D_DRAW_IMMD_2   0x35

Definition at line 54 of file r100d.h.

#define PACKET3_3D_DRAW_INDX   0x2A

Definition at line 49 of file r100d.h.

#define PACKET3_3D_DRAW_INDX_2   0x36

Definition at line 55 of file r100d.h.

#define PACKET3_3D_DRAW_VBUF   0x28

Definition at line 47 of file r100d.h.

#define PACKET3_3D_DRAW_VBUF_2   0x34

Definition at line 53 of file r100d.h.

#define PACKET3_3D_LOAD_VBPNTR   0x2F

Definition at line 50 of file r100d.h.

#define PACKET3_BITBLT_MULTI   0x9B

Definition at line 57 of file r100d.h.

#define PACKET3_COUNT_MASK   (0x3fff << 16)

Definition at line 44 of file r100d.h.

#define PACKET3_COUNT_SHIFT   16

Definition at line 43 of file r100d.h.

#define PACKET3_INDX_BUFFER   0x33

Definition at line 52 of file r100d.h.

#define PACKET3_IT_OPCODE_MASK   (0xff << 8)

Definition at line 42 of file r100d.h.

#define PACKET3_IT_OPCODE_SHIFT   8

Definition at line 41 of file r100d.h.

#define PACKET3_NOP   0x10

Definition at line 46 of file r100d.h.

#define PACKET_TYPE0   0

Definition at line 67 of file r100d.h.

#define PACKET_TYPE1   1

Definition at line 68 of file r100d.h.

#define PACKET_TYPE2   2

Definition at line 69 of file r100d.h.

#define PACKET_TYPE3   3

Definition at line 70 of file r100d.h.

#define PLL_PWRMGT_CNTL   0x15

Definition at line 849 of file r100d.h.

#define PPLL_TURNOFF   (1 << 2)

Definition at line 852 of file r100d.h.

#define R_00000D_SCLK_CNTL   0x00000D

Definition at line 796 of file r100d.h.

#define R_000030_BUS_CNTL   0x000030

Definition at line 119 of file r100d.h.

#define R_000040_GEN_INT_CNTL   0x000040

Definition at line 207 of file r100d.h.

#define R_000044_GEN_INT_STATUS   0x000044

Definition at line 280 of file r100d.h.

#define R_000050_CRTC_GEN_CNTL   0x000050

Definition at line 428 of file r100d.h.

#define R_000054_CRTC_EXT_CNTL   0x000054

Definition at line 462 of file r100d.h.

#define R_0000F0_RBBM_SOFT_RESET   0x0000F0

Definition at line 79 of file r100d.h.

#define R_000148_MC_FB_LOCATION   0x000148

Definition at line 514 of file r100d.h.

#define R_00014C_MC_AGP_LOCATION   0x00014C

Definition at line 521 of file r100d.h.

#define R_000170_AGP_BASE   0x000170

Definition at line 528 of file r100d.h.

#define R_00023C_DISPLAY_BASE_ADDR   0x00023C

Definition at line 532 of file r100d.h.

#define R_000260_CUR_OFFSET   0x000260

Definition at line 536 of file r100d.h.

#define R_00033C_CRTC2_DISPLAY_BASE_ADDR   0x00033C

Definition at line 543 of file r100d.h.

#define R_000360_CUR2_OFFSET   0x000360

Definition at line 547 of file r100d.h.

#define R_0003C2_GENMO_WT   0x0003C2

Definition at line 554 of file r100d.h.

#define R_0003F8_CRTC2_GEN_CNTL   0x0003F8

Definition at line 573 of file r100d.h.

#define R_000420_OV0_SCALE_CNTL   0x000420

Definition at line 622 of file r100d.h.

#define R_00070C_CP_RB_RPTR_ADDR   0x00070C

Definition at line 668 of file r100d.h.

#define R_000740_CP_CSQ_CNTL   0x000740

Definition at line 675 of file r100d.h.

#define R_000770_SCRATCH_UMSK   0x000770

Definition at line 685 of file r100d.h.

#define R_000774_SCRATCH_ADDR   0x000774

Definition at line 692 of file r100d.h.

#define R_0007C0_CP_STAT   0x0007C0

Definition at line 696 of file r100d.h.

#define R_000E40_RBBM_STATUS   0x000E40

Definition at line 736 of file r100d.h.

#define REDUCED_SPEED_SCLK_EN   (1 << 16)

Definition at line 863 of file r100d.h.

#define REDUCED_SPEED_SCLK_MODE   (1 << 16)

Definition at line 858 of file r100d.h.

#define REDUCED_SPEED_SCLK_SEL (   x)    ((x) << 17)

Definition at line 859 of file r100d.h.

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

Definition at line 803 of file r100d.h.

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

Definition at line 809 of file r100d.h.

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

Definition at line 815 of file r100d.h.

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

Definition at line 806 of file r100d.h.

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

Definition at line 821 of file r100d.h.

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

Definition at line 830 of file r100d.h.

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

Definition at line 839 of file r100d.h.

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

Definition at line 827 of file r100d.h.

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

Definition at line 818 of file r100d.h.

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

Definition at line 833 of file r100d.h.

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

Definition at line 836 of file r100d.h.

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

Definition at line 812 of file r100d.h.

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

Definition at line 824 of file r100d.h.

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

Definition at line 797 of file r100d.h.

#define S_00000D_TCLK_SRC_SEL (   x)    (((x) & 0x7) << 8)

Definition at line 800 of file r100d.h.

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

Definition at line 156 of file r100d.h.

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

Definition at line 141 of file r100d.h.

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

Definition at line 144 of file r100d.h.

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

Definition at line 162 of file r100d.h.

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

Definition at line 120 of file r100d.h.

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

Definition at line 126 of file r100d.h.

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

Definition at line 138 of file r100d.h.

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

Definition at line 195 of file r100d.h.

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

Definition at line 174 of file r100d.h.

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

Definition at line 171 of file r100d.h.

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

Definition at line 123 of file r100d.h.

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

Definition at line 189 of file r100d.h.

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

Definition at line 147 of file r100d.h.

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

Definition at line 192 of file r100d.h.

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

Definition at line 159 of file r100d.h.

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

Definition at line 165 of file r100d.h.

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

Definition at line 132 of file r100d.h.

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

Definition at line 183 of file r100d.h.

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

Definition at line 204 of file r100d.h.

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

Definition at line 201 of file r100d.h.

#define S_000030_BUS_RETRY_WS (   x)    (((x) & 0xF) << 16)

Definition at line 168 of file r100d.h.

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

Definition at line 153 of file r100d.h.

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

Definition at line 129 of file r100d.h.

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

Definition at line 177 of file r100d.h.

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

Definition at line 135 of file r100d.h.

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

Definition at line 150 of file r100d.h.

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

Definition at line 186 of file r100d.h.

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

Definition at line 180 of file r100d.h.

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

Definition at line 198 of file r100d.h.

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

Definition at line 235 of file r100d.h.

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

Definition at line 223 of file r100d.h.

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

Definition at line 229 of file r100d.h.

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

Definition at line 208 of file r100d.h.

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

Definition at line 211 of file r100d.h.

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

Definition at line 214 of file r100d.h.

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

Definition at line 226 of file r100d.h.

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

Definition at line 244 of file r100d.h.

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

Definition at line 247 of file r100d.h.

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

Definition at line 250 of file r100d.h.

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

Definition at line 271 of file r100d.h.

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

Definition at line 238 of file r100d.h.

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

Definition at line 220 of file r100d.h.

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

Definition at line 265 of file r100d.h.

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

Definition at line 256 of file r100d.h.

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

Definition at line 274 of file r100d.h.

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

Definition at line 268 of file r100d.h.

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

Definition at line 253 of file r100d.h.

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

Definition at line 217 of file r100d.h.

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

Definition at line 232 of file r100d.h.

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

Definition at line 262 of file r100d.h.

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

Definition at line 277 of file r100d.h.

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

Definition at line 259 of file r100d.h.

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

Definition at line 241 of file r100d.h.

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

Definition at line 329 of file r100d.h.

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

Definition at line 332 of file r100d.h.

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

Definition at line 335 of file r100d.h.

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

Definition at line 311 of file r100d.h.

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

Definition at line 314 of file r100d.h.

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

Definition at line 317 of file r100d.h.

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

Definition at line 320 of file r100d.h.

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

Definition at line 281 of file r100d.h.

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

Definition at line 284 of file r100d.h.

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

Definition at line 287 of file r100d.h.

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

Definition at line 290 of file r100d.h.

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

Definition at line 293 of file r100d.h.

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

Definition at line 296 of file r100d.h.

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

Definition at line 350 of file r100d.h.

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

Definition at line 353 of file r100d.h.

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

Definition at line 356 of file r100d.h.

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

Definition at line 359 of file r100d.h.

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

Definition at line 362 of file r100d.h.

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

Definition at line 365 of file r100d.h.

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

Definition at line 368 of file r100d.h.

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

Definition at line 371 of file r100d.h.

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

Definition at line 413 of file r100d.h.

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

Definition at line 410 of file r100d.h.

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

Definition at line 338 of file r100d.h.

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

Definition at line 341 of file r100d.h.

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

Definition at line 305 of file r100d.h.

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

Definition at line 308 of file r100d.h.

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

Definition at line 398 of file r100d.h.

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

Definition at line 401 of file r100d.h.

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

Definition at line 380 of file r100d.h.

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

Definition at line 383 of file r100d.h.

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

Definition at line 419 of file r100d.h.

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

Definition at line 416 of file r100d.h.

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

Definition at line 407 of file r100d.h.

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

Definition at line 404 of file r100d.h.

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

Definition at line 374 of file r100d.h.

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

Definition at line 377 of file r100d.h.

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

Definition at line 323 of file r100d.h.

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

Definition at line 326 of file r100d.h.

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

Definition at line 299 of file r100d.h.

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

Definition at line 302 of file r100d.h.

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

Definition at line 389 of file r100d.h.

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

Definition at line 392 of file r100d.h.

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

Definition at line 395 of file r100d.h.

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

Definition at line 425 of file r100d.h.

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

Definition at line 422 of file r100d.h.

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

Definition at line 386 of file r100d.h.

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

Definition at line 344 of file r100d.h.

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

Definition at line 347 of file r100d.h.

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

Definition at line 435 of file r100d.h.

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

Definition at line 444 of file r100d.h.

#define S_000050_CRTC_CUR_MODE (   x)    (((x) & 0x7) << 20)

Definition at line 450 of file r100d.h.

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

Definition at line 429 of file r100d.h.

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

Definition at line 459 of file r100d.h.

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

Definition at line 456 of file r100d.h.

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

Definition at line 453 of file r100d.h.

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

Definition at line 441 of file r100d.h.

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

Definition at line 432 of file r100d.h.

#define S_000050_CRTC_PIX_WIDTH (   x)    (((x) & 0xF) << 8)

Definition at line 438 of file r100d.h.

#define S_000050_CRTC_VSTAT_MODE (   x)    (((x) & 0x3) << 17)

Definition at line 447 of file r100d.h.

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

Definition at line 499 of file r100d.h.

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

Definition at line 487 of file r100d.h.

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

Definition at line 481 of file r100d.h.

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

Definition at line 493 of file r100d.h.

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

Definition at line 490 of file r100d.h.

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

Definition at line 463 of file r100d.h.

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

Definition at line 484 of file r100d.h.

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

Definition at line 496 of file r100d.h.

#define S_000054_VCRTC_IDX_MASTER (   x)    (((x) & 0x7F) << 24)

Definition at line 511 of file r100d.h.

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

Definition at line 472 of file r100d.h.

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

Definition at line 469 of file r100d.h.

#define S_000054_VGA_BLINK_RATE (   x)    (((x) & 0x3) << 1)

Definition at line 466 of file r100d.h.

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

Definition at line 502 of file r100d.h.

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

Definition at line 508 of file r100d.h.

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

Definition at line 505 of file r100d.h.

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

Definition at line 475 of file r100d.h.

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

Definition at line 478 of file r100d.h.

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

Definition at line 107 of file r100d.h.

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

Definition at line 116 of file r100d.h.

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

Definition at line 80 of file r100d.h.

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

Definition at line 113 of file r100d.h.

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

Definition at line 95 of file r100d.h.

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

Definition at line 101 of file r100d.h.

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

Definition at line 83 of file r100d.h.

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

Definition at line 104 of file r100d.h.

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

Definition at line 92 of file r100d.h.

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

Definition at line 98 of file r100d.h.

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

Definition at line 89 of file r100d.h.

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

Definition at line 86 of file r100d.h.

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

Definition at line 110 of file r100d.h.

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

Definition at line 515 of file r100d.h.

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

Definition at line 518 of file r100d.h.

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

Definition at line 522 of file r100d.h.

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

Definition at line 525 of file r100d.h.

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

Definition at line 529 of file r100d.h.

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

Definition at line 533 of file r100d.h.

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

Definition at line 540 of file r100d.h.

#define S_000260_CUR_OFFSET (   x)    (((x) & 0x7FFFFFF) << 0)

Definition at line 537 of file r100d.h.

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

Definition at line 544 of file r100d.h.

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

Definition at line 551 of file r100d.h.

#define S_000360_CUR2_OFFSET (   x)    (((x) & 0x7FFFFFF) << 0)

Definition at line 548 of file r100d.h.

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

Definition at line 555 of file r100d.h.

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

Definition at line 564 of file r100d.h.

#define S_0003C2_VGA_CKSEL (   x)    (((x) & 0x3) << 2)

Definition at line 561 of file r100d.h.

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

Definition at line 567 of file r100d.h.

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

Definition at line 558 of file r100d.h.

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

Definition at line 570 of file r100d.h.

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

Definition at line 589 of file r100d.h.

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

Definition at line 613 of file r100d.h.

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

Definition at line 598 of file r100d.h.

#define S_0003F8_CRTC2_CUR_MODE (   x)    (((x) & 0x7) << 20)

Definition at line 601 of file r100d.h.

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

Definition at line 574 of file r100d.h.

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

Definition at line 610 of file r100d.h.

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

Definition at line 604 of file r100d.h.

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

Definition at line 607 of file r100d.h.

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

Definition at line 616 of file r100d.h.

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

Definition at line 583 of file r100d.h.

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

Definition at line 595 of file r100d.h.

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

Definition at line 577 of file r100d.h.

#define S_0003F8_CRTC2_PIX_WIDTH (   x)    (((x) & 0xF) << 8)

Definition at line 592 of file r100d.h.

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

Definition at line 580 of file r100d.h.

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

Definition at line 619 of file r100d.h.

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

Definition at line 586 of file r100d.h.

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

Definition at line 641 of file r100d.h.

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

Definition at line 653 of file r100d.h.

#define S_000420_OV0_BURST_PER_PLANE (   x)    (((x) & 0x7F) << 16)

Definition at line 647 of file r100d.h.

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

Definition at line 644 of file r100d.h.

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

Definition at line 650 of file r100d.h.

#define S_000420_OV0_GAMMA_SEL (   x)    (((x) & 0x7) << 5)

Definition at line 635 of file r100d.h.

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

Definition at line 626 of file r100d.h.

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

Definition at line 659 of file r100d.h.

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

Definition at line 656 of file r100d.h.

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

Definition at line 623 of file r100d.h.

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

Definition at line 662 of file r100d.h.

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

Definition at line 632 of file r100d.h.

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

Definition at line 665 of file r100d.h.

#define S_000420_OV0_SURFACE_FORMAT (   x)    (((x) & 0xF) << 8)

Definition at line 638 of file r100d.h.

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

Definition at line 629 of file r100d.h.

#define S_00070C_RB_RPTR_ADDR (   x)    (((x) & 0x3FFFFFFF) << 2)

Definition at line 672 of file r100d.h.

#define S_00070C_RB_RPTR_SWAP (   x)    (((x) & 0x3) << 0)

Definition at line 669 of file r100d.h.

#define S_000740_CSQ_CNT_INDIRECT (   x)    (((x) & 0xFF) << 8)

Definition at line 679 of file r100d.h.

#define S_000740_CSQ_CNT_PRIMARY (   x)    (((x) & 0xFF) << 0)

Definition at line 676 of file r100d.h.

#define S_000740_CSQ_MODE (   x)    (((x) & 0xF) << 28)

Definition at line 682 of file r100d.h.

#define S_000770_SCRATCH_SWAP (   x)    (((x) & 0x3) << 16)

Definition at line 689 of file r100d.h.

#define S_000770_SCRATCH_UMSK (   x)    (((x) & 0x3F) << 0)

Definition at line 686 of file r100d.h.

#define S_000774_SCRATCH_ADDR (   x)    (((x) & 0x7FFFFFF) << 5)

Definition at line 693 of file r100d.h.

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

Definition at line 730 of file r100d.h.

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

Definition at line 733 of file r100d.h.

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

Definition at line 712 of file r100d.h.

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

Definition at line 709 of file r100d.h.

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

Definition at line 721 of file r100d.h.

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

Definition at line 718 of file r100d.h.

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

Definition at line 715 of file r100d.h.

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

Definition at line 724 of file r100d.h.

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

Definition at line 697 of file r100d.h.

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

Definition at line 700 of file r100d.h.

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

Definition at line 706 of file r100d.h.

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

Definition at line 703 of file r100d.h.

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

Definition at line 727 of file r100d.h.

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

Definition at line 758 of file r100d.h.

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

Definition at line 755 of file r100d.h.

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

Definition at line 746 of file r100d.h.

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

Definition at line 737 of file r100d.h.

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

Definition at line 764 of file r100d.h.

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

Definition at line 752 of file r100d.h.

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

Definition at line 743 of file r100d.h.

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

Definition at line 767 of file r100d.h.

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

Definition at line 761 of file r100d.h.

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

Definition at line 791 of file r100d.h.

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

Definition at line 749 of file r100d.h.

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

Definition at line 740 of file r100d.h.

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

Definition at line 788 of file r100d.h.

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

Definition at line 770 of file r100d.h.

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

Definition at line 773 of file r100d.h.

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

Definition at line 779 of file r100d.h.

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

Definition at line 776 of file r100d.h.

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

Definition at line 782 of file r100d.h.

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

Definition at line 785 of file r100d.h.

#define SCLK_CNTL   0xd

Definition at line 844 of file r100d.h.

#define SCLK_CNTL2   0x1e

Definition at line 857 of file r100d.h.

#define SCLK_MORE_CNTL   0x35

Definition at line 862 of file r100d.h.

#define SPLL_TURNOFF   (1 << 1)

Definition at line 851 of file r100d.h.

#define SU_SCLK_USE_BCLK   (1 << 17)

Definition at line 856 of file r100d.h.

#define TV_ENABLE_RST   (1 << 25)

Definition at line 877 of file r100d.h.

#define TVPLL_TURNOFF   (1 << 4)

Definition at line 854 of file r100d.h.

#define VOLTAGE_DELAY_SEL (   x)    ((x) << 20)

Definition at line 865 of file r100d.h.

#define VOLTAGE_DROP_SYNC   (1 << 19)

Definition at line 866 of file r100d.h.