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

Go to the source code of this file.

Macros

#define R600_PCIE_PORT_INDEX   0x0038
 
#define R600_PCIE_PORT_DATA   0x003c
 
#define R600_MC_VM_FB_LOCATION   0x2180
 
#define R600_MC_FB_BASE_MASK   0x0000FFFF
 
#define R600_MC_FB_BASE_SHIFT   0
 
#define R600_MC_FB_TOP_MASK   0xFFFF0000
 
#define R600_MC_FB_TOP_SHIFT   16
 
#define R600_MC_VM_AGP_TOP   0x2184
 
#define R600_MC_AGP_TOP_MASK   0x0003FFFF
 
#define R600_MC_AGP_TOP_SHIFT   0
 
#define R600_MC_VM_AGP_BOT   0x2188
 
#define R600_MC_AGP_BOT_MASK   0x0003FFFF
 
#define R600_MC_AGP_BOT_SHIFT   0
 
#define R600_MC_VM_AGP_BASE   0x218c
 
#define R600_MC_VM_SYSTEM_APERTURE_LOW_ADDR   0x2190
 
#define R600_LOGICAL_PAGE_NUMBER_MASK   0x000FFFFF
 
#define R600_LOGICAL_PAGE_NUMBER_SHIFT   0
 
#define R600_MC_VM_SYSTEM_APERTURE_HIGH_ADDR   0x2194
 
#define R600_MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR   0x2198
 
#define R700_MC_VM_FB_LOCATION   0x2024
 
#define R700_MC_FB_BASE_MASK   0x0000FFFF
 
#define R700_MC_FB_BASE_SHIFT   0
 
#define R700_MC_FB_TOP_MASK   0xFFFF0000
 
#define R700_MC_FB_TOP_SHIFT   16
 
#define R700_MC_VM_AGP_TOP   0x2028
 
#define R700_MC_AGP_TOP_MASK   0x0003FFFF
 
#define R700_MC_AGP_TOP_SHIFT   0
 
#define R700_MC_VM_AGP_BOT   0x202c
 
#define R700_MC_AGP_BOT_MASK   0x0003FFFF
 
#define R700_MC_AGP_BOT_SHIFT   0
 
#define R700_MC_VM_AGP_BASE   0x2030
 
#define R700_MC_VM_SYSTEM_APERTURE_LOW_ADDR   0x2034
 
#define R700_LOGICAL_PAGE_NUMBER_MASK   0x000FFFFF
 
#define R700_LOGICAL_PAGE_NUMBER_SHIFT   0
 
#define R700_MC_VM_SYSTEM_APERTURE_HIGH_ADDR   0x2038
 
#define R700_MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR   0x203c
 
#define R600_RAMCFG   0x2408
 
#define R600_CHANSIZE   (1 << 7)
 
#define R600_CHANSIZE_OVERRIDE   (1 << 10)
 
#define R600_GENERAL_PWRMGT   0x618
 
#define R600_OPEN_DRAIN_PADS   (1 << 11)
 
#define R600_LOWER_GPIO_ENABLE   0x710
 
#define R600_CTXSW_VID_LOWER_GPIO_CNTL   0x718
 
#define R600_HIGH_VID_LOWER_GPIO_CNTL   0x71c
 
#define R600_MEDIUM_VID_LOWER_GPIO_CNTL   0x720
 
#define R600_LOW_VID_LOWER_GPIO_CNTL   0x724
 
#define R600_D1GRPH_SWAP_CONTROL   0x610C
 
#define R600_D1GRPH_SWAP_ENDIAN_NONE   (0 << 0)
 
#define R600_D1GRPH_SWAP_ENDIAN_16BIT   (1 << 0)
 
#define R600_D1GRPH_SWAP_ENDIAN_32BIT   (2 << 0)
 
#define R600_D1GRPH_SWAP_ENDIAN_64BIT   (3 << 0)
 
#define R600_HDP_NONSURFACE_BASE   0x2c04
 
#define R600_BUS_CNTL   0x5420
 
#define R600_BIOS_ROM_DIS   (1 << 1)
 
#define R600_CONFIG_CNTL   0x5424
 
#define R600_CONFIG_MEMSIZE   0x5428
 
#define R600_CONFIG_F0_BASE   0x542C
 
#define R600_CONFIG_APER_SIZE   0x5430
 
#define R600_ROM_CNTL   0x1600
 
#define R600_SCK_OVERWRITE   (1 << 1)
 
#define R600_SCK_PRESCALE_CRYSTAL_CLK_SHIFT   28
 
#define R600_SCK_PRESCALE_CRYSTAL_CLK_MASK   (0xf << 28)
 
#define R600_CG_SPLL_FUNC_CNTL   0x600
 
#define R600_SPLL_BYPASS_EN   (1 << 3)
 
#define R600_CG_SPLL_STATUS   0x60c
 
#define R600_SPLL_CHG_STATUS   (1 << 1)
 
#define R600_BIOS_0_SCRATCH   0x1724
 
#define R600_BIOS_1_SCRATCH   0x1728
 
#define R600_BIOS_2_SCRATCH   0x172c
 
#define R600_BIOS_3_SCRATCH   0x1730
 
#define R600_BIOS_4_SCRATCH   0x1734
 
#define R600_BIOS_5_SCRATCH   0x1738
 
#define R600_BIOS_6_SCRATCH   0x173c
 
#define R600_BIOS_7_SCRATCH   0x1740
 
#define R600_AUDIO_PLL1_MUL   0x0514
 
#define R600_AUDIO_PLL1_DIV   0x0518
 
#define R600_AUDIO_PLL2_MUL   0x0524
 
#define R600_AUDIO_PLL2_DIV   0x0528
 
#define R600_AUDIO_CLK_SRCSEL   0x0534
 
#define R600_AUDIO_ENABLE   0x7300
 
#define R600_AUDIO_TIMING   0x7344
 
#define R600_AUDIO_VENDOR_ID   0x7380
 
#define R600_AUDIO_REVISION_ID   0x7384
 
#define R600_AUDIO_ROOT_NODE_COUNT   0x7388
 
#define R600_AUDIO_NID1_NODE_COUNT   0x738c
 
#define R600_AUDIO_NID1_TYPE   0x7390
 
#define R600_AUDIO_SUPPORTED_SIZE_RATE   0x7394
 
#define R600_AUDIO_SUPPORTED_CODEC   0x7398
 
#define R600_AUDIO_SUPPORTED_POWER_STATES   0x739c
 
#define R600_AUDIO_NID2_CAPS   0x73a0
 
#define R600_AUDIO_NID3_CAPS   0x73a4
 
#define R600_AUDIO_NID3_PIN_CAPS   0x73a8
 
#define R600_AUDIO_CONN_LIST_LEN   0x73ac
 
#define R600_AUDIO_CONN_LIST   0x73b0
 
#define R600_AUDIO_RATE_BPS_CHANNEL   0x73c0
 
#define R600_AUDIO_PLAYING   0x73c4
 
#define R600_AUDIO_IMPLEMENTATION_ID   0x73c8
 
#define R600_AUDIO_CONFIG_DEFAULT   0x73cc
 
#define R600_AUDIO_PIN_SENSE   0x73d0
 
#define R600_AUDIO_PIN_WIDGET_CNTL   0x73d4
 
#define R600_AUDIO_STATUS_BITS   0x73d8
 
#define DCE2_HDMI_OFFSET0   (0x7400 - 0x7400)
 
#define DCE2_HDMI_OFFSET1   (0x7700 - 0x7400)
 
#define DCE3_HDMI_OFFSET0   (0x7400 - 0x7400)
 
#define DCE3_HDMI_OFFSET1   (0x7800 - 0x7400)
 

Macro Definition Documentation

#define DCE2_HDMI_OFFSET0   (0x7400 - 0x7400)

Definition at line 159 of file r600_reg.h.

#define DCE2_HDMI_OFFSET1   (0x7700 - 0x7400)

Definition at line 160 of file r600_reg.h.

#define DCE3_HDMI_OFFSET0   (0x7400 - 0x7400)

Definition at line 162 of file r600_reg.h.

#define DCE3_HDMI_OFFSET1   (0x7800 - 0x7400)

Definition at line 163 of file r600_reg.h.

#define R600_AUDIO_CLK_SRCSEL   0x0534

Definition at line 127 of file r600_reg.h.

#define R600_AUDIO_CONFIG_DEFAULT   0x73cc

Definition at line 154 of file r600_reg.h.

#define R600_AUDIO_CONN_LIST   0x73b0

Definition at line 148 of file r600_reg.h.

#define R600_AUDIO_CONN_LIST_LEN   0x73ac

Definition at line 147 of file r600_reg.h.

#define R600_AUDIO_ENABLE   0x7300

Definition at line 130 of file r600_reg.h.

#define R600_AUDIO_IMPLEMENTATION_ID   0x73c8

Definition at line 153 of file r600_reg.h.

#define R600_AUDIO_NID1_NODE_COUNT   0x738c

Definition at line 137 of file r600_reg.h.

#define R600_AUDIO_NID1_TYPE   0x7390

Definition at line 138 of file r600_reg.h.

#define R600_AUDIO_NID2_CAPS   0x73a0

Definition at line 142 of file r600_reg.h.

#define R600_AUDIO_NID3_CAPS   0x73a4

Definition at line 143 of file r600_reg.h.

#define R600_AUDIO_NID3_PIN_CAPS   0x73a8

Definition at line 144 of file r600_reg.h.

#define R600_AUDIO_PIN_SENSE   0x73d0

Definition at line 155 of file r600_reg.h.

#define R600_AUDIO_PIN_WIDGET_CNTL   0x73d4

Definition at line 156 of file r600_reg.h.

#define R600_AUDIO_PLAYING   0x73c4

Definition at line 152 of file r600_reg.h.

#define R600_AUDIO_PLL1_DIV   0x0518

Definition at line 124 of file r600_reg.h.

#define R600_AUDIO_PLL1_MUL   0x0514

Definition at line 123 of file r600_reg.h.

#define R600_AUDIO_PLL2_DIV   0x0528

Definition at line 126 of file r600_reg.h.

#define R600_AUDIO_PLL2_MUL   0x0524

Definition at line 125 of file r600_reg.h.

#define R600_AUDIO_RATE_BPS_CHANNEL   0x73c0

Definition at line 151 of file r600_reg.h.

#define R600_AUDIO_REVISION_ID   0x7384

Definition at line 135 of file r600_reg.h.

#define R600_AUDIO_ROOT_NODE_COUNT   0x7388

Definition at line 136 of file r600_reg.h.

#define R600_AUDIO_STATUS_BITS   0x73d8

Definition at line 157 of file r600_reg.h.

#define R600_AUDIO_SUPPORTED_CODEC   0x7398

Definition at line 140 of file r600_reg.h.

#define R600_AUDIO_SUPPORTED_POWER_STATES   0x739c

Definition at line 141 of file r600_reg.h.

#define R600_AUDIO_SUPPORTED_SIZE_RATE   0x7394

Definition at line 139 of file r600_reg.h.

#define R600_AUDIO_TIMING   0x7344

Definition at line 131 of file r600_reg.h.

#define R600_AUDIO_VENDOR_ID   0x7380

Definition at line 134 of file r600_reg.h.

#define R600_BIOS_0_SCRATCH   0x1724

Definition at line 109 of file r600_reg.h.

#define R600_BIOS_1_SCRATCH   0x1728

Definition at line 110 of file r600_reg.h.

#define R600_BIOS_2_SCRATCH   0x172c

Definition at line 111 of file r600_reg.h.

#define R600_BIOS_3_SCRATCH   0x1730

Definition at line 112 of file r600_reg.h.

#define R600_BIOS_4_SCRATCH   0x1734

Definition at line 113 of file r600_reg.h.

#define R600_BIOS_5_SCRATCH   0x1738

Definition at line 114 of file r600_reg.h.

#define R600_BIOS_6_SCRATCH   0x173c

Definition at line 115 of file r600_reg.h.

#define R600_BIOS_7_SCRATCH   0x1740

Definition at line 116 of file r600_reg.h.

#define R600_BIOS_ROM_DIS   (1 << 1)

Definition at line 93 of file r600_reg.h.

#define R600_BUS_CNTL   0x5420

Definition at line 92 of file r600_reg.h.

#define R600_CG_SPLL_FUNC_CNTL   0x600

Definition at line 104 of file r600_reg.h.

#define R600_CG_SPLL_STATUS   0x60c

Definition at line 106 of file r600_reg.h.

#define R600_CHANSIZE   (1 << 7)

Definition at line 71 of file r600_reg.h.

#define R600_CHANSIZE_OVERRIDE   (1 << 10)

Definition at line 72 of file r600_reg.h.

#define R600_CONFIG_APER_SIZE   0x5430

Definition at line 97 of file r600_reg.h.

#define R600_CONFIG_CNTL   0x5424

Definition at line 94 of file r600_reg.h.

#define R600_CONFIG_F0_BASE   0x542C

Definition at line 96 of file r600_reg.h.

#define R600_CONFIG_MEMSIZE   0x5428

Definition at line 95 of file r600_reg.h.

#define R600_CTXSW_VID_LOWER_GPIO_CNTL   0x718

Definition at line 79 of file r600_reg.h.

#define R600_D1GRPH_SWAP_CONTROL   0x610C

Definition at line 84 of file r600_reg.h.

#define R600_D1GRPH_SWAP_ENDIAN_16BIT   (1 << 0)

Definition at line 86 of file r600_reg.h.

#define R600_D1GRPH_SWAP_ENDIAN_32BIT   (2 << 0)

Definition at line 87 of file r600_reg.h.

#define R600_D1GRPH_SWAP_ENDIAN_64BIT   (3 << 0)

Definition at line 88 of file r600_reg.h.

#define R600_D1GRPH_SWAP_ENDIAN_NONE   (0 << 0)

Definition at line 85 of file r600_reg.h.

#define R600_GENERAL_PWRMGT   0x618

Definition at line 75 of file r600_reg.h.

#define R600_HDP_NONSURFACE_BASE   0x2c04

Definition at line 90 of file r600_reg.h.

#define R600_HIGH_VID_LOWER_GPIO_CNTL   0x71c

Definition at line 80 of file r600_reg.h.

#define R600_LOGICAL_PAGE_NUMBER_MASK   0x000FFFFF

Definition at line 47 of file r600_reg.h.

#define R600_LOGICAL_PAGE_NUMBER_SHIFT   0

Definition at line 48 of file r600_reg.h.

#define R600_LOW_VID_LOWER_GPIO_CNTL   0x724

Definition at line 82 of file r600_reg.h.

#define R600_LOWER_GPIO_ENABLE   0x710

Definition at line 78 of file r600_reg.h.

#define R600_MC_AGP_BOT_MASK   0x0003FFFF

Definition at line 43 of file r600_reg.h.

#define R600_MC_AGP_BOT_SHIFT   0

Definition at line 44 of file r600_reg.h.

#define R600_MC_AGP_TOP_MASK   0x0003FFFF

Definition at line 40 of file r600_reg.h.

#define R600_MC_AGP_TOP_SHIFT   0

Definition at line 41 of file r600_reg.h.

#define R600_MC_FB_BASE_MASK   0x0000FFFF

Definition at line 35 of file r600_reg.h.

#define R600_MC_FB_BASE_SHIFT   0

Definition at line 36 of file r600_reg.h.

#define R600_MC_FB_TOP_MASK   0xFFFF0000

Definition at line 37 of file r600_reg.h.

#define R600_MC_FB_TOP_SHIFT   16

Definition at line 38 of file r600_reg.h.

#define R600_MC_VM_AGP_BASE   0x218c

Definition at line 45 of file r600_reg.h.

#define R600_MC_VM_AGP_BOT   0x2188

Definition at line 42 of file r600_reg.h.

#define R600_MC_VM_AGP_TOP   0x2184

Definition at line 39 of file r600_reg.h.

#define R600_MC_VM_FB_LOCATION   0x2180

Definition at line 34 of file r600_reg.h.

#define R600_MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR   0x2198

Definition at line 50 of file r600_reg.h.

#define R600_MC_VM_SYSTEM_APERTURE_HIGH_ADDR   0x2194

Definition at line 49 of file r600_reg.h.

#define R600_MC_VM_SYSTEM_APERTURE_LOW_ADDR   0x2190

Definition at line 46 of file r600_reg.h.

#define R600_MEDIUM_VID_LOWER_GPIO_CNTL   0x720

Definition at line 81 of file r600_reg.h.

#define R600_OPEN_DRAIN_PADS   (1 << 11)

Definition at line 76 of file r600_reg.h.

#define R600_PCIE_PORT_DATA   0x003c

Definition at line 32 of file r600_reg.h.

#define R600_PCIE_PORT_INDEX   0x0038

Definition at line 31 of file r600_reg.h.

#define R600_RAMCFG   0x2408

Definition at line 70 of file r600_reg.h.

#define R600_ROM_CNTL   0x1600

Definition at line 99 of file r600_reg.h.

#define R600_SCK_OVERWRITE   (1 << 1)

Definition at line 100 of file r600_reg.h.

#define R600_SCK_PRESCALE_CRYSTAL_CLK_MASK   (0xf << 28)

Definition at line 102 of file r600_reg.h.

#define R600_SCK_PRESCALE_CRYSTAL_CLK_SHIFT   28

Definition at line 101 of file r600_reg.h.

#define R600_SPLL_BYPASS_EN   (1 << 3)

Definition at line 105 of file r600_reg.h.

#define R600_SPLL_CHG_STATUS   (1 << 1)

Definition at line 107 of file r600_reg.h.

#define R700_LOGICAL_PAGE_NUMBER_MASK   0x000FFFFF

Definition at line 65 of file r600_reg.h.

#define R700_LOGICAL_PAGE_NUMBER_SHIFT   0

Definition at line 66 of file r600_reg.h.

#define R700_MC_AGP_BOT_MASK   0x0003FFFF

Definition at line 61 of file r600_reg.h.

#define R700_MC_AGP_BOT_SHIFT   0

Definition at line 62 of file r600_reg.h.

#define R700_MC_AGP_TOP_MASK   0x0003FFFF

Definition at line 58 of file r600_reg.h.

#define R700_MC_AGP_TOP_SHIFT   0

Definition at line 59 of file r600_reg.h.

#define R700_MC_FB_BASE_MASK   0x0000FFFF

Definition at line 53 of file r600_reg.h.

#define R700_MC_FB_BASE_SHIFT   0

Definition at line 54 of file r600_reg.h.

#define R700_MC_FB_TOP_MASK   0xFFFF0000

Definition at line 55 of file r600_reg.h.

#define R700_MC_FB_TOP_SHIFT   16

Definition at line 56 of file r600_reg.h.

#define R700_MC_VM_AGP_BASE   0x2030

Definition at line 63 of file r600_reg.h.

#define R700_MC_VM_AGP_BOT   0x202c

Definition at line 60 of file r600_reg.h.

#define R700_MC_VM_AGP_TOP   0x2028

Definition at line 57 of file r600_reg.h.

#define R700_MC_VM_FB_LOCATION   0x2024

Definition at line 52 of file r600_reg.h.

#define R700_MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR   0x203c

Definition at line 68 of file r600_reg.h.

#define R700_MC_VM_SYSTEM_APERTURE_HIGH_ADDR   0x2038

Definition at line 67 of file r600_reg.h.

#define R700_MC_VM_SYSTEM_APERTURE_LOW_ADDR   0x2034

Definition at line 64 of file r600_reg.h.