Mercurial > mplayer.hg
annotate drivers/radeon/radeon.h @ 3188:6c4a66168557
evading further misunderstatement
author | gabucino |
---|---|
date | Wed, 28 Nov 2001 17:41:23 +0000 |
parents | 3c5ad8d5ac00 |
children | 27be0e71c0ee |
rev | line source |
---|---|
1911 | 1 #ifndef _RADEON_H |
2 #define _RADEON_H | |
3 | |
4 | |
5 /* radeon PCI ids */ | |
6 #define PCI_DEVICE_ID_RADEON_QD 0x5144 | |
7 #define PCI_DEVICE_ID_RADEON_QE 0x5145 | |
8 #define PCI_DEVICE_ID_RADEON_QF 0x5146 | |
9 #define PCI_DEVICE_ID_RADEON_QG 0x5147 | |
1913 | 10 #define PCI_DEVICE_ID_RADEON_QY 0x5159 |
11 #define PCI_DEVICE_ID_RADEON_QZ 0x515A | |
1915 | 12 #define PCI_DEVICE_ID_RADEON_LY 0x4C59 |
13 #define PCI_DEVICE_ID_RADEON_LZ 0x4C5A | |
14 #define PCI_DEVICE_ID_RADEON_LW 0x4C57 | |
1967 | 15 #define PCI_DEVICE_ID_R200_QL 0x514C |
16 #define PCI_DEVICE_ID_RV200_QW 0x5157 | |
1911 | 17 |
18 #define RADEON_REGSIZE 0x4000 | |
19 | |
20 | |
2033
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
21 #define MM_INDEX 0x0000 |
1915 | 22 /* MM_INDEX bit constants */ |
23 # define MM_APER 0x80000000 | |
1911 | 24 #define MM_DATA 0x0004 |
25 #define BUS_CNTL 0x0030 | |
1915 | 26 /* BUS_CNTL bit constants */ |
27 # define BUS_DBL_RESYNC 0x00000001 | |
28 # define BUS_MSTR_RESET 0x00000002 | |
29 # define BUS_FLUSH_BUF 0x00000004 | |
30 # define BUS_STOP_REQ_DIS 0x00000008 | |
31 # define BUS_ROTATION_DIS 0x00000010 | |
32 # define BUS_MASTER_DIS 0x00000040 | |
33 # define BUS_ROM_WRT_EN 0x00000080 | |
34 # define BUS_DIS_ROM 0x00001000 | |
35 # define BUS_PCI_READ_RETRY_EN 0x00002000 | |
36 # define BUS_AGP_AD_STEPPING_EN 0x00004000 | |
37 # define BUS_PCI_WRT_RETRY_EN 0x00008000 | |
38 # define BUS_MSTR_RD_MULT 0x00100000 | |
39 # define BUS_MSTR_RD_LINE 0x00200000 | |
40 # define BUS_SUSPEND 0x00400000 | |
41 # define LAT_16X 0x00800000 | |
42 # define BUS_RD_DISCARD_EN 0x01000000 | |
43 # define BUS_RD_ABORT_EN 0x02000000 | |
44 # define BUS_MSTR_WS 0x04000000 | |
45 # define BUS_PARKING_DIS 0x08000000 | |
46 # define BUS_MSTR_DISCONNECT_EN 0x10000000 | |
47 # define BUS_WRT_BURST 0x20000000 | |
48 # define BUS_READ_BURST 0x40000000 | |
49 # define BUS_RDY_READ_DLY 0x80000000 | |
1911 | 50 #define HI_STAT 0x004C |
51 #define BUS_CNTL1 0x0034 | |
1915 | 52 # define BUS_WAIT_ON_LOCK_EN (1 << 4) |
2033
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
53 #define I2C_CNTL_0 0x0090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
54 # define I2C_DONE (1<<0) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
55 # define I2C_NACK (1<<1) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
56 # define I2C_HALT (1<<2) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
57 # define I2C_SOFT_RST (1<<5) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
58 # define I2C_DRIVE_EN (1<<6) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
59 # define I2C_DRIVE_SEL (1<<7) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
60 # define I2C_START (1<<8) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
61 # define I2C_STOP (1<<9) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
62 # define I2C_RECEIVE (1<<10) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
63 # define I2C_ABORT (1<<11) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
64 # define I2C_GO (1<<12) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
65 # define I2C_SEL (1<<16) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
66 # define I2C_EN (1<<17) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
67 #define I2C_CNTL_1 0x0094 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
68 #define I2C_DATA 0x0098 |
1911 | 69 #define CONFIG_CNTL 0x00E0 |
1915 | 70 /* CONFIG_CNTL bit constants */ |
71 # define CFG_VGA_RAM_EN 0x00000100 | |
1911 | 72 #define CONFIG_MEMSIZE 0x00F8 |
73 #define CONFIG_APER_0_BASE 0x0100 | |
74 #define CONFIG_APER_1_BASE 0x0104 | |
75 #define CONFIG_APER_SIZE 0x0108 | |
76 #define CONFIG_REG_1_BASE 0x010C | |
77 #define CONFIG_REG_APER_SIZE 0x0110 | |
78 #define PAD_AGPINPUT_DELAY 0x0164 | |
79 #define PAD_CTLR_STRENGTH 0x0168 | |
80 #define PAD_CTLR_UPDATE 0x016C | |
81 #define AGP_CNTL 0x0174 | |
1915 | 82 # define AGP_APER_SIZE_256MB (0x00 << 0) |
83 # define AGP_APER_SIZE_128MB (0x20 << 0) | |
84 # define AGP_APER_SIZE_64MB (0x30 << 0) | |
85 # define AGP_APER_SIZE_32MB (0x38 << 0) | |
86 # define AGP_APER_SIZE_16MB (0x3c << 0) | |
87 # define AGP_APER_SIZE_8MB (0x3e << 0) | |
88 # define AGP_APER_SIZE_4MB (0x3f << 0) | |
89 # define AGP_APER_SIZE_MASK (0x3f << 0) | |
1945 | 90 #define AMCGPIO_A_REG 0x01a0 |
91 #define AMCGPIO_EN_REG 0x01a8 | |
92 #define AMCGPIO_MASK 0x0194 | |
93 #define AMCGPIO_Y_REG 0x01a4 | |
1911 | 94 #define BM_STATUS 0x0160 |
1945 | 95 #define MPP_TB_CONFIG 0x01c0 /* ? */ |
96 #define MPP_GP_CONFIG 0x01c8 /* ? */ | |
1911 | 97 #define CAP0_TRIG_CNTL 0x0950 |
1945 | 98 #define CAP1_TRIG_CNTL 0x09c0 /* ? */ |
1911 | 99 #define VENDOR_ID 0x0F00 |
100 #define DEVICE_ID 0x0F02 | |
101 #define COMMAND 0x0F04 | |
102 #define STATUS 0x0F06 | |
103 #define REVISION_ID 0x0F08 | |
104 #define REGPROG_INF 0x0F09 | |
105 #define SUB_CLASS 0x0F0A | |
106 #define BASE_CODE 0x0F0B | |
107 #define CACHE_LINE 0x0F0C | |
108 #define LATENCY 0x0F0D | |
109 #define HEADER 0x0F0E | |
110 #define BIST 0x0F0F | |
111 #define REG_MEM_BASE 0x0F10 | |
112 #define REG_IO_BASE 0x0F14 | |
113 #define REG_REG_BASE 0x0F18 | |
114 #define ADAPTER_ID 0x0F2C | |
115 #define BIOS_ROM 0x0F30 | |
116 #define CAPABILITIES_PTR 0x0F34 | |
117 #define INTERRUPT_LINE 0x0F3C | |
118 #define INTERRUPT_PIN 0x0F3D | |
119 #define MIN_GRANT 0x0F3E | |
120 #define MAX_LATENCY 0x0F3F | |
121 #define ADAPTER_ID_W 0x0F4C | |
122 #define PMI_CAP_ID 0x0F50 | |
123 #define PMI_NXT_CAP_PTR 0x0F51 | |
124 #define PMI_PMC_REG 0x0F52 | |
125 #define PM_STATUS 0x0F54 | |
126 #define PMI_DATA 0x0F57 | |
127 #define AGP_CAP_ID 0x0F58 | |
128 #define AGP_STATUS 0x0F5C | |
1915 | 129 # define AGP_1X_MODE 0x01 |
130 # define AGP_2X_MODE 0x02 | |
131 # define AGP_4X_MODE 0x04 | |
132 # define AGP_MODE_MASK 0x07 | |
1911 | 133 #define AGP_COMMAND 0x0F60 |
134 #define AIC_CTRL 0x01D0 | |
135 #define AIC_STAT 0x01D4 | |
136 #define AIC_PT_BASE 0x01D8 | |
137 #define AIC_LO_ADDR 0x01DC | |
138 #define AIC_HI_ADDR 0x01E0 | |
139 #define AIC_TLB_ADDR 0x01E4 | |
140 #define AIC_TLB_DATA 0x01E8 | |
141 #define DAC_CNTL 0x0058 | |
1915 | 142 /* DAC_CNTL bit constants */ |
143 # define DAC_8BIT_EN 0x00000100 | |
144 # define DAC_4BPP_PIX_ORDER 0x00000200 | |
145 # define DAC_CRC_EN 0x00080000 | |
146 # define DAC_MASK_ALL (0xff << 24) | |
147 # define DAC_VGA_ADR_EN (1 << 13) | |
148 # define DAC_RANGE_CNTL (3 << 0) | |
149 # define DAC_BLANKING (1 << 2) | |
150 #define DAC_CNTL2 0x007c | |
151 /* DAC_CNTL2 bit constants */ | |
152 # define DAC2_DAC_CLK_SEL (1 << 0) | |
153 # define DAC2_DAC2_CLK_SEL (1 << 1) | |
154 # define DAC2_PALETTE_ACC_CTL (1 << 5) | |
155 #define TV_DAC_CNTL 0x088c | |
156 /* TV_DAC_CNTL bit constants */ | |
157 # define TV_DAC_STD_MASK 0x0300 | |
158 # define TV_DAC_RDACPD (1 << 24) | |
159 # define TV_DAC_GDACPD (1 << 25) | |
160 # define TV_DAC_BDACPD (1 << 26) | |
1911 | 161 #define CRTC_GEN_CNTL 0x0050 |
1915 | 162 /* CRTC_GEN_CNTL bit constants */ |
163 # define CRTC_DBL_SCAN_EN 0x00000001 | |
164 # define CRTC_INTERLACE_EN (1 << 1) | |
165 # define CRTC_CSYNC_EN (1 << 4) | |
166 # define CRTC_CUR_EN 0x00010000 | |
167 # define CRTC_CUR_MODE_MASK (7 << 17) | |
168 # define CRTC_ICON_EN (1 << 20) | |
169 # define CRTC_EXT_DISP_EN (1 << 24) | |
170 # define CRTC_EN (1 << 25) | |
171 # define CRTC_DISP_REQ_EN_B (1 << 26) | |
172 #define CRTC2_GEN_CNTL 0x03f8 | |
173 /* CRTC2_GEN_CNTL bit constants */ | |
174 # define CRTC2_DBL_SCAN_EN (1 << 0) | |
175 # define CRTC2_INTERLACE_EN (1 << 1) | |
176 # define CRTC2_SYNC_TRISTAT (1 << 4) | |
177 # define CRTC2_HSYNC_TRISTAT (1 << 5) | |
178 # define CRTC2_VSYNC_TRISTAT (1 << 6) | |
179 # define CRTC2_CRT2_ON (1 << 7) | |
180 # define CRTC2_ICON_EN (1 << 15) | |
181 # define CRTC2_CUR_EN (1 << 16) | |
182 # define CRTC2_CUR_MODE_MASK (7 << 20) | |
183 # define CRTC2_DISP_DIS (1 << 23) | |
184 # define CRTC2_EN (1 << 25) | |
185 # define CRTC2_DISP_REQ_EN_B (1 << 26) | |
186 # define CRTC2_HSYNC_DIS (1 << 28) | |
187 # define CRTC2_VSYNC_DIS (1 << 29) | |
1911 | 188 #define MEM_CNTL 0x0140 |
1915 | 189 /* MEM_CNTL bit constants */ |
190 # define MEM_CTLR_STATUS_IDLE 0x00000000 | |
191 # define MEM_CTLR_STATUS_BUSY 0x00100000 | |
192 # define MEM_SEQNCR_STATUS_IDLE 0x00000000 | |
193 # define MEM_SEQNCR_STATUS_BUSY 0x00200000 | |
194 # define MEM_ARBITER_STATUS_IDLE 0x00000000 | |
195 # define MEM_ARBITER_STATUS_BUSY 0x00400000 | |
196 # define MEM_REQ_UNLOCK 0x00000000 | |
197 # define MEM_REQ_LOCK 0x00800000 | |
1911 | 198 #define EXT_MEM_CNTL 0x0144 |
199 #define MC_AGP_LOCATION 0x014C | |
200 #define MEM_IO_CNTL_A0 0x0178 | |
201 #define MEM_INIT_LATENCY_TIMER 0x0154 | |
202 #define MEM_SDRAM_MODE_REG 0x0158 | |
203 #define AGP_BASE 0x0170 | |
204 #define MEM_IO_CNTL_A1 0x017C | |
205 #define MEM_IO_CNTL_B0 0x0180 | |
206 #define MEM_IO_CNTL_B1 0x0184 | |
207 #define MC_DEBUG 0x0188 | |
208 #define MC_STATUS 0x0150 | |
209 #define MEM_IO_OE_CNTL 0x018C | |
210 #define MC_FB_LOCATION 0x0148 | |
211 #define HOST_PATH_CNTL 0x0130 | |
212 #define MEM_VGA_WP_SEL 0x0038 | |
213 #define MEM_VGA_RP_SEL 0x003C | |
214 #define HDP_DEBUG 0x0138 | |
215 #define SW_SEMAPHORE 0x013C | |
216 #define SURFACE_CNTL 0x0B00 | |
1915 | 217 /* SURFACE_CNTL bit constants */ |
218 # define SURF_TRANSLATION_DIS (1 << 8) | |
219 # define NONSURF_AP0_SWP_16BPP (1 << 20) | |
220 # define NONSURF_AP0_SWP_32BPP (2 << 20) | |
1911 | 221 #define SURFACE0_LOWER_BOUND 0x0B04 |
222 #define SURFACE1_LOWER_BOUND 0x0B14 | |
223 #define SURFACE2_LOWER_BOUND 0x0B24 | |
224 #define SURFACE3_LOWER_BOUND 0x0B34 | |
225 #define SURFACE4_LOWER_BOUND 0x0B44 | |
226 #define SURFACE5_LOWER_BOUND 0x0B54 | |
227 #define SURFACE6_LOWER_BOUND 0x0B64 | |
228 #define SURFACE7_LOWER_BOUND 0x0B74 | |
229 #define SURFACE0_UPPER_BOUND 0x0B08 | |
230 #define SURFACE1_UPPER_BOUND 0x0B18 | |
231 #define SURFACE2_UPPER_BOUND 0x0B28 | |
232 #define SURFACE3_UPPER_BOUND 0x0B38 | |
233 #define SURFACE4_UPPER_BOUND 0x0B48 | |
234 #define SURFACE5_UPPER_BOUND 0x0B58 | |
235 #define SURFACE6_UPPER_BOUND 0x0B68 | |
236 #define SURFACE7_UPPER_BOUND 0x0B78 | |
237 #define SURFACE0_INFO 0x0B0C | |
238 #define SURFACE1_INFO 0x0B1C | |
239 #define SURFACE2_INFO 0x0B2C | |
240 #define SURFACE3_INFO 0x0B3C | |
241 #define SURFACE4_INFO 0x0B4C | |
242 #define SURFACE5_INFO 0x0B5C | |
243 #define SURFACE6_INFO 0x0B6C | |
244 #define SURFACE7_INFO 0x0B7C | |
245 #define SURFACE_ACCESS_FLAGS 0x0BF8 | |
246 #define SURFACE_ACCESS_CLR 0x0BFC | |
247 #define GEN_INT_CNTL 0x0040 | |
248 #define GEN_INT_STATUS 0x0044 | |
1915 | 249 # define VSYNC_INT_AK (1 << 2) |
250 # define VSYNC_INT (1 << 2) | |
1911 | 251 #define CRTC_EXT_CNTL 0x0054 |
1915 | 252 /* CRTC_EXT_CNTL bit constants */ |
253 # define CRTC_VGA_XOVERSCAN (1 << 0) | |
254 # define VGA_ATI_LINEAR 0x00000008 | |
255 # define VGA_128KAP_PAGING 0x00000010 | |
256 # define XCRT_CNT_EN (1 << 6) | |
257 # define CRTC_HSYNC_DIS (1 << 8) | |
258 # define CRTC_VSYNC_DIS (1 << 9) | |
259 # define CRTC_DISPLAY_DIS (1 << 10) | |
260 # define CRTC_SYNC_TRISTAT (1 << 11) | |
261 # define CRTC_CRT_ON (1 << 15) | |
262 #define CRTC_EXT_CNTL_DPMS_BYTE 0x0055 | |
263 # define CRTC_HSYNC_DIS_BYTE (1 << 0) | |
264 # define CRTC_VSYNC_DIS_BYTE (1 << 1) | |
265 # define CRTC_DISPLAY_DIS_BYTE (1 << 2) | |
1911 | 266 #define RB3D_CNTL 0x1C3C |
267 #define WAIT_UNTIL 0x1720 | |
268 #define ISYNC_CNTL 0x1724 | |
269 #define RBBM_GUICNTL 0x172C | |
270 #define RBBM_STATUS 0x0E40 | |
2037 | 271 # define RBBM_FIFOCNT_MASK 0x007f |
272 # define RBBM_ACTIVE (1 << 31) | |
1911 | 273 #define RBBM_STATUS_alt_1 0x1740 |
274 #define RBBM_CNTL 0x00EC | |
275 #define RBBM_CNTL_alt_1 0x0E44 | |
276 #define RBBM_SOFT_RESET 0x00F0 | |
1915 | 277 /* RBBM_SOFT_RESET bit constants */ |
278 # define SOFT_RESET_CP (1 << 0) | |
279 # define SOFT_RESET_HI (1 << 1) | |
280 # define SOFT_RESET_SE (1 << 2) | |
281 # define SOFT_RESET_RE (1 << 3) | |
282 # define SOFT_RESET_PP (1 << 4) | |
283 # define SOFT_RESET_E2 (1 << 5) | |
284 # define SOFT_RESET_RB (1 << 6) | |
285 # define SOFT_RESET_HDP (1 << 7) | |
1911 | 286 #define RBBM_SOFT_RESET_alt_1 0x0E48 |
287 #define NQWAIT_UNTIL 0x0E50 | |
288 #define RBBM_DEBUG 0x0E6C | |
289 #define RBBM_CMDFIFO_ADDR 0x0E70 | |
290 #define RBBM_CMDFIFO_DATAL 0x0E74 | |
291 #define RBBM_CMDFIFO_DATAH 0x0E78 | |
292 #define RBBM_CMDFIFO_STAT 0x0E7C | |
293 #define CRTC_STATUS 0x005C | |
1915 | 294 /* CRTC_STATUS bit constants */ |
295 # define CRTC_VBLANK 0x00000001 | |
296 # define CRTC_VBLANK_SAVE (1 << 1) | |
1911 | 297 #define GPIO_VGA_DDC 0x0060 |
298 #define GPIO_DVI_DDC 0x0064 | |
299 #define GPIO_MONID 0x0068 | |
300 #define PALETTE_INDEX 0x00B0 | |
301 #define PALETTE_DATA 0x00B4 | |
302 #define PALETTE_30_DATA 0x00B8 | |
303 #define CRTC_H_TOTAL_DISP 0x0200 | |
1915 | 304 # define CRTC_H_TOTAL (0x03ff << 0) |
305 # define CRTC_H_TOTAL_SHIFT 0 | |
306 # define CRTC_H_DISP (0x01ff << 16) | |
307 # define CRTC_H_DISP_SHIFT 16 | |
308 #define CRTC2_H_TOTAL_DISP 0x0300 | |
309 # define CRTC2_H_TOTAL (0x03ff << 0) | |
310 # define CRTC2_H_TOTAL_SHIFT 0 | |
311 # define CRTC2_H_DISP (0x01ff << 16) | |
312 # define CRTC2_H_DISP_SHIFT 16 | |
1911 | 313 #define CRTC_H_SYNC_STRT_WID 0x0204 |
1915 | 314 # define CRTC_H_SYNC_STRT_PIX (0x07 << 0) |
315 # define CRTC_H_SYNC_STRT_CHAR (0x3ff << 3) | |
316 # define CRTC_H_SYNC_STRT_CHAR_SHIFT 3 | |
317 # define CRTC_H_SYNC_WID (0x3f << 16) | |
318 # define CRTC_H_SYNC_WID_SHIFT 16 | |
319 # define CRTC_H_SYNC_POL (1 << 23) | |
320 #define CRTC2_H_SYNC_STRT_WID 0x0304 | |
321 # define CRTC2_H_SYNC_STRT_PIX (0x07 << 0) | |
322 # define CRTC2_H_SYNC_STRT_CHAR (0x3ff << 3) | |
323 # define CRTC2_H_SYNC_STRT_CHAR_SHIFT 3 | |
324 # define CRTC2_H_SYNC_WID (0x3f << 16) | |
325 # define CRTC2_H_SYNC_WID_SHIFT 16 | |
326 # define CRTC2_H_SYNC_POL (1 << 23) | |
1911 | 327 #define CRTC_V_TOTAL_DISP 0x0208 |
1915 | 328 # define CRTC_V_TOTAL (0x07ff << 0) |
329 # define CRTC_V_TOTAL_SHIFT 0 | |
330 # define CRTC_V_DISP (0x07ff << 16) | |
331 # define CRTC_V_DISP_SHIFT 16 | |
332 #define CRTC2_V_TOTAL_DISP 0x0308 | |
333 # define CRTC2_V_TOTAL (0x07ff << 0) | |
334 # define CRTC2_V_TOTAL_SHIFT 0 | |
335 # define CRTC2_V_DISP (0x07ff << 16) | |
336 # define CRTC2_V_DISP_SHIFT 16 | |
1911 | 337 #define CRTC_V_SYNC_STRT_WID 0x020C |
1915 | 338 # define CRTC_V_SYNC_STRT (0x7ff << 0) |
339 # define CRTC_V_SYNC_STRT_SHIFT 0 | |
340 # define CRTC_V_SYNC_WID (0x1f << 16) | |
341 # define CRTC_V_SYNC_WID_SHIFT 16 | |
342 # define CRTC_V_SYNC_POL (1 << 23) | |
343 #define CRTC2_V_SYNC_STRT_WID 0x030C | |
344 # define CRTC2_V_SYNC_STRT (0x7ff << 0) | |
345 # define CRTC2_V_SYNC_STRT_SHIFT 0 | |
346 # define CRTC2_V_SYNC_WID (0x1f << 16) | |
347 # define CRTC2_V_SYNC_WID_SHIFT 16 | |
348 # define CRTC2_V_SYNC_POL (1 << 23) | |
1911 | 349 #define CRTC_VLINE_CRNT_VLINE 0x0210 |
1915 | 350 # define CRTC_CRNT_VLINE_MASK (0x7ff << 16) |
351 #define CRTC2_VLINE_CRNT_VLINE 0x0310 | |
1911 | 352 #define CRTC_CRNT_FRAME 0x0214 |
1915 | 353 #define CRTC2_CRNT_FRAME 0x0314 |
1911 | 354 #define CRTC_GUI_TRIG_VLINE 0x0218 |
1915 | 355 #define CRTC2_GUI_TRIG_VLINE 0x0318 |
1911 | 356 #define CRTC_DEBUG 0x021C |
1915 | 357 #define CRTC2_DEBUG 0x031C |
1911 | 358 #define CRTC_OFFSET_RIGHT 0x0220 |
359 #define CRTC_OFFSET 0x0224 | |
1915 | 360 #define CRTC2_OFFSET 0x0324 |
1911 | 361 #define CRTC_OFFSET_CNTL 0x0228 |
1915 | 362 # define CRTC_TILE_EN (1 << 15) |
363 #define CRTC2_OFFSET_CNTL 0x0328 | |
364 # define CRTC2_TILE_EN (1 << 15) | |
1911 | 365 #define CRTC_PITCH 0x022C |
1915 | 366 #define CRTC2_PITCH 0x032C |
1945 | 367 #define TMDS_CRC 0x02a0 |
1911 | 368 #define OVR_CLR 0x0230 |
369 #define OVR_WID_LEFT_RIGHT 0x0234 | |
370 #define OVR_WID_TOP_BOTTOM 0x0238 | |
371 #define DISPLAY_BASE_ADDR 0x023C | |
372 #define SNAPSHOT_VH_COUNTS 0x0240 | |
373 #define SNAPSHOT_F_COUNT 0x0244 | |
374 #define N_VIF_COUNT 0x0248 | |
375 #define SNAPSHOT_VIF_COUNT 0x024C | |
376 #define FP_CRTC_H_TOTAL_DISP 0x0250 | |
1915 | 377 #define FP_CRTC2_H_TOTAL_DISP 0x0350 |
1911 | 378 #define FP_CRTC_V_TOTAL_DISP 0x0254 |
1915 | 379 #define FP_CRTC2_V_TOTAL_DISP 0x0354 |
1945 | 380 # define FP_CRTC_H_TOTAL_MASK 0x000003ff |
381 # define FP_CRTC_H_DISP_MASK 0x01ff0000 | |
382 # define FP_CRTC_V_TOTAL_MASK 0x00000fff | |
383 # define FP_CRTC_V_DISP_MASK 0x0fff0000 | |
384 # define FP_H_SYNC_STRT_CHAR_MASK 0x00001ff8 | |
385 # define FP_H_SYNC_WID_MASK 0x003f0000 | |
386 # define FP_V_SYNC_STRT_MASK 0x00000fff | |
387 # define FP_V_SYNC_WID_MASK 0x001f0000 | |
388 # define FP_CRTC_H_TOTAL_SHIFT 0x00000000 | |
389 # define FP_CRTC_H_DISP_SHIFT 0x00000010 | |
390 # define FP_CRTC_V_TOTAL_SHIFT 0x00000000 | |
391 # define FP_CRTC_V_DISP_SHIFT 0x00000010 | |
392 # define FP_H_SYNC_STRT_CHAR_SHIFT 0x00000003 | |
393 # define FP_H_SYNC_WID_SHIFT 0x00000010 | |
394 # define FP_V_SYNC_STRT_SHIFT 0x00000000 | |
395 # define FP_V_SYNC_WID_SHIFT 0x00000010 | |
1911 | 396 #define CRT_CRTC_H_SYNC_STRT_WID 0x0258 |
397 #define CRT_CRTC_V_SYNC_STRT_WID 0x025C | |
398 #define CUR_OFFSET 0x0260 | |
399 #define CUR_HORZ_VERT_POSN 0x0264 | |
400 #define CUR_HORZ_VERT_OFF 0x0268 | |
1915 | 401 /* CUR_OFFSET, CUR_HORZ_VERT_POSN, CUR_HORZ_VERT_OFF bit constants */ |
402 # define CUR_LOCK 0x80000000 | |
1911 | 403 #define CUR_CLR0 0x026C |
404 #define CUR_CLR1 0x0270 | |
1915 | 405 #define CUR2_OFFSET 0x0360 |
406 #define CUR2_HORZ_VERT_POSN 0x0364 | |
407 #define CUR2_HORZ_VERT_OFF 0x0368 | |
408 # define CUR2_LOCK (1 << 31) | |
409 #define CUR2_CLR0 0x036c | |
410 #define CUR2_CLR1 0x0370 | |
1911 | 411 #define FP_HORZ_VERT_ACTIVE 0x0278 |
412 #define CRTC_MORE_CNTL 0x027C | |
413 #define DAC_EXT_CNTL 0x0280 | |
414 #define FP_GEN_CNTL 0x0284 | |
1915 | 415 /* FP_GEN_CNTL bit constants */ |
416 # define FP_FPON (1 << 0) | |
417 # define FP_TMDS_EN (1 << 2) | |
418 # define FP_EN_TMDS (1 << 7) | |
419 # define FP_DETECT_SENSE (1 << 8) | |
420 # define FP_SEL_CRTC2 (1 << 13) | |
421 # define FP_CRTC_DONT_SHADOW_HPAR (1 << 15) | |
422 # define FP_CRTC_DONT_SHADOW_VPAR (1 << 16) | |
423 # define FP_CRTC_DONT_SHADOW_HEND (1 << 17) | |
424 # define FP_CRTC_USE_SHADOW_VEND (1 << 18) | |
425 # define FP_RMX_HVSYNC_CONTROL_EN (1 << 20) | |
426 # define FP_DFP_SYNC_SEL (1 << 21) | |
427 # define FP_CRTC_LOCK_8DOT (1 << 22) | |
428 # define FP_CRT_SYNC_SEL (1 << 23) | |
429 # define FP_USE_SHADOW_EN (1 << 24) | |
430 # define FP_CRT_SYNC_ALT (1 << 26) | |
431 #define FP2_GEN_CNTL 0x0288 | |
432 /* FP2_GEN_CNTL bit constants */ | |
433 # define FP2_FPON (1 << 0) | |
434 # define FP2_TMDS_EN (1 << 2) | |
435 # define FP2_EN_TMDS (1 << 7) | |
436 # define FP2_DETECT_SENSE (1 << 8) | |
437 # define FP2_SEL_CRTC2 (1 << 13) | |
438 # define FP2_FP_POL (1 << 16) | |
439 # define FP2_LP_POL (1 << 17) | |
440 # define FP2_SCK_POL (1 << 18) | |
441 # define FP2_LCD_CNTL_MASK (7 << 19) | |
442 # define FP2_PAD_FLOP_EN (1 << 22) | |
443 # define FP2_CRC_EN (1 << 23) | |
444 # define FP2_CRC_READ_EN (1 << 24) | |
445 #define FP_HORZ_STRETCH 0x028C | |
446 #define FP_HORZ2_STRETCH 0x038C | |
1945 | 447 # define HORZ_STRETCH_RATIO_MASK 0xffff |
448 # define HORZ_STRETCH_RATIO_MAX 4096 | |
449 # define HORZ_PANEL_SIZE (0x1ff << 16) | |
450 # define HORZ_PANEL_SHIFT 16 | |
451 # define HORZ_STRETCH_PIXREP (0 << 25) | |
452 # define HORZ_STRETCH_BLEND (1 << 26) | |
453 # define HORZ_STRETCH_ENABLE (1 << 25) | |
454 # define HORZ_AUTO_RATIO (1 << 27) | |
455 # define HORZ_FP_LOOP_STRETCH (0x7 << 28) | |
456 # define HORZ_AUTO_RATIO_INC (1 << 31) | |
1915 | 457 #define FP_VERT_STRETCH 0x0290 |
458 #define FP_VERT2_STRETCH 0x0390 | |
1945 | 459 # define VERT_PANEL_SIZE (0xfff << 12) |
460 # define VERT_PANEL_SHIFT 12 | |
461 # define VERT_STRETCH_RATIO_MASK 0xfff | |
462 # define VERT_STRETCH_RATIO_SHIFT 0 | |
463 # define VERT_STRETCH_RATIO_MAX 4096 | |
464 # define VERT_STRETCH_ENABLE (1 << 25) | |
465 # define VERT_STRETCH_LINEREP (0 << 26) | |
466 # define VERT_STRETCH_BLEND (1 << 26) | |
467 # define VERT_AUTO_RATIO_EN (1 << 27) | |
468 # define VERT_STRETCH_RESERVED 0xf1000000 | |
469 #define FP_H_SYNC_STRT_WID 0x02C4 | |
470 #define FP_H2_SYNC_STRT_WID 0x03C4 | |
471 #define FP_V_SYNC_STRT_WID 0x02C8 | |
472 #define FP_V2_SYNC_STRT_WID 0x03C8 | |
473 #define LVDS_GEN_CNTL 0x02d0 | |
474 # define LVDS_ON (1 << 0) | |
475 # define LVDS_DISPLAY_DIS (1 << 1) | |
476 # define LVDS_PANEL_TYPE (1 << 2) | |
477 # define LVDS_PANEL_FORMAT (1 << 3) | |
478 # define LVDS_EN (1 << 7) | |
479 # define LVDS_DIGON (1 << 18) | |
480 # define LVDS_BLON (1 << 19) | |
481 # define LVDS_SEL_CRTC2 (1 << 23) | |
482 #define LVDS_PLL_CNTL 0x02d4 | |
483 # define HSYNC_DELAY_SHIFT 28 | |
484 # define HSYNC_DELAY_MASK (0xf << 28) | |
1911 | 485 #define AUX_WINDOW_HORZ_CNTL 0x02D8 |
486 #define AUX_WINDOW_VERT_CNTL 0x02DC | |
487 #define DDA_CONFIG 0x02e0 | |
488 #define DDA_ON_OFF 0x02e4 | |
2037 | 489 |
1911 | 490 #define GRPH_BUFFER_CNTL 0x02F0 |
491 #define VGA_BUFFER_CNTL 0x02F4 | |
1945 | 492 /* first overlay unit (there is only one) */ |
1911 | 493 #define OV0_Y_X_START 0x0400 |
494 #define OV0_Y_X_END 0x0404 | |
495 #define OV0_PIPELINE_CNTL 0x0408 | |
1945 | 496 #define OV0_EXCLUSIVE_HORZ 0x0408 |
497 # define EXCL_HORZ_START_MASK 0x000000ff | |
498 # define EXCL_HORZ_END_MASK 0x0000ff00 | |
499 # define EXCL_HORZ_BACK_PORCH_MASK 0x00ff0000 | |
500 # define EXCL_HORZ_EXCLUSIVE_EN 0x80000000 | |
501 #define OV0_EXCLUSIVE_VERT 0x040C | |
502 # define EXCL_VERT_START_MASK 0x000003ff | |
503 # define EXCL_VERT_END_MASK 0x03ff0000 | |
1911 | 504 #define OV0_REG_LOAD_CNTL 0x0410 |
1945 | 505 # define REG_LD_CTL_LOCK 0x00000001L |
506 # define REG_LD_CTL_VBLANK_DURING_LOCK 0x00000002L | |
507 # define REG_LD_CTL_STALL_GUI_UNTIL_FLIP 0x00000004L | |
508 # define REG_LD_CTL_LOCK_READBACK 0x00000008L | |
3164 | 509 /*#define OV0_REG_SLICE_CNTL 0xXXXX*/ |
1911 | 510 #define OV0_SCALE_CNTL 0x0420 |
1945 | 511 # define SCALER_PIX_EXPAND 0x00000001L |
512 # define SCALER_Y2R_TEMP 0x00000002L | |
2925 | 513 # define SCALER_HORZ_PICK_NEAREST 0x00000004L |
514 # define SCALER_VERT_PICK_NEAREST 0x00000008L | |
1945 | 515 # define SCALER_SIGNED_UV 0x00000010L |
516 # define SCALER_GAMMA_SEL_MASK 0x00000060L | |
517 # define SCALER_GAMMA_SEL_BRIGHT 0x00000000L | |
518 # define SCALER_GAMMA_SEL_G22 0x00000020L | |
519 # define SCALER_GAMMA_SEL_G18 0x00000040L | |
520 # define SCALER_GAMMA_SEL_G14 0x00000060L | |
521 # define SCALER_COMCORE_SHIFT_UP_ONE 0x00000080L | |
522 # define SCALER_SURFAC_FORMAT 0x00000f00L | |
3122 | 523 # define SCALER_SOURCE_UNK0 0x00000000L /* 2 bpp ??? */ |
524 # define SCALER_SOURCE_UNK1 0x00000100L /* 4 bpp ??? */ | |
525 # define SCALER_SOURCE_UNK2 0x00000200L /* 8 bpp ??? */ | |
1945 | 526 # define SCALER_SOURCE_15BPP 0x00000300L |
527 # define SCALER_SOURCE_16BPP 0x00000400L | |
2870 | 528 # define SCALER_SOURCE_24BPP 0x00000500L |
1945 | 529 # define SCALER_SOURCE_32BPP 0x00000600L |
3122 | 530 # define SCALER_SOURCE_UNK3 0x00000700L /* 8BPP_RGB332 ??? */ |
531 # define SCALER_SOURCE_UNK4 0x00000800L /* 8BPP_Y8 ??? */ | |
532 # define SCALER_SOURCE_YUV9 0x00000900L /* 8BPP_RGB8 */ | |
1945 | 533 # define SCALER_SOURCE_YUV12 0x00000A00L |
534 # define SCALER_SOURCE_VYUY422 0x00000B00L | |
535 # define SCALER_SOURCE_YVYU422 0x00000C00L | |
3122 | 536 # define SCALER_SOURCE_UNK5 0x00000D00L /* ??? */ |
537 # define SCALER_SOURCE_UNK6 0x00000E00L /* 32BPP_AYUV444 */ | |
538 # define SCALER_SOURCE_UNK7 0x00000F00L /* 16BPP_ARGB4444 */ | |
2870 | 539 # define SCALER_ADAPTIVE_DEINT 0x00001000L |
3122 | 540 # define SCALER_UNKNOWN_FLAG0 0x00002000L /* ??? */ |
541 # define SCALER_UNKNOWN_FLAG1 0x00004000L /* ??? */ | |
1945 | 542 # define SCALER_SMART_SWITCH 0x00008000L |
543 # define SCALER_BURST_PER_PLANE 0x00ff0000L | |
544 # define SCALER_DOUBLE_BUFFER 0x01000000L | |
3122 | 545 # define SCALER_UNKNOWN_FLAG3 0x02000000L /* ??? */ |
546 # define SCALER_UNKNOWN_FLAG4 0x04000000L /* ??? */ | |
1945 | 547 # define SCALER_DIS_LIMIT 0x08000000L |
548 # define SCALER_PRG_LOAD_START 0x10000000L | |
549 # define SCALER_INT_EMU 0x20000000L | |
550 # define SCALER_ENABLE 0x40000000L | |
551 # define SCALER_SOFT_RESET 0x80000000L | |
1911 | 552 #define OV0_V_INC 0x0424 |
553 #define OV0_P1_V_ACCUM_INIT 0x0428 | |
1945 | 554 # define OV0_P1_MAX_LN_IN_PER_LN_OUT 0x00000003L |
555 # define OV0_P1_V_ACCUM_INIT_MASK 0x01ff8000L | |
1911 | 556 #define OV0_P23_V_ACCUM_INIT 0x042C |
3122 | 557 # define OV0_P23_MAX_LN_IN_PER_LN_OUT 0x00000003L |
558 # define OV0_P23_V_ACCUM_INIT_MASK 0x01ff8000L | |
1911 | 559 #define OV0_P1_BLANK_LINES_AT_TOP 0x0430 |
1945 | 560 # define P1_BLNK_LN_AT_TOP_M1_MASK 0x00000fffL |
561 # define P1_ACTIVE_LINES_M1 0x0fff0000L | |
1911 | 562 #define OV0_P23_BLANK_LINES_AT_TOP 0x0434 |
1945 | 563 # define P23_BLNK_LN_AT_TOP_M1_MASK 0x000007ffL |
564 # define P23_ACTIVE_LINES_M1 0x07ff0000L | |
1911 | 565 #define OV0_BASE_ADDR 0x043C |
566 #define OV0_VID_BUF0_BASE_ADRS 0x0440 | |
1945 | 567 # define VIF_BUF0_PITCH_SEL 0x00000001L |
568 # define VIF_BUF0_TILE_ADRS 0x00000002L | |
569 # define VIF_BUF0_BASE_ADRS_MASK 0x03fffff0L | |
570 # define VIF_BUF0_1ST_LINE_LSBS_MASK 0x48000000L | |
1911 | 571 #define OV0_VID_BUF1_BASE_ADRS 0x0444 |
1945 | 572 # define VIF_BUF1_PITCH_SEL 0x00000001L |
573 # define VIF_BUF1_TILE_ADRS 0x00000002L | |
574 # define VIF_BUF1_BASE_ADRS_MASK 0x03fffff0L | |
575 # define VIF_BUF1_1ST_LINE_LSBS_MASK 0x48000000L | |
1911 | 576 #define OV0_VID_BUF2_BASE_ADRS 0x0448 |
1945 | 577 # define VIF_BUF2_PITCH_SEL 0x00000001L |
578 # define VIF_BUF2_TILE_ADRS 0x00000002L | |
579 # define VIF_BUF2_BASE_ADRS_MASK 0x03fffff0L | |
580 # define VIF_BUF2_1ST_LINE_LSBS_MASK 0x48000000L | |
1911 | 581 #define OV0_VID_BUF3_BASE_ADRS 0x044C |
3122 | 582 # define VIF_BUF3_PITCH_SEL 0x00000001L |
583 # define VIF_BUF3_TILE_ADRS 0x00000002L | |
584 # define VIF_BUF3_BASE_ADRS_MASK 0x03fffff0L | |
585 # define VIF_BUF3_1ST_LINE_LSBS_MASK 0x48000000L | |
1911 | 586 #define OV0_VID_BUF4_BASE_ADRS 0x0450 |
3122 | 587 # define VIF_BUF4_PITCH_SEL 0x00000001L |
588 # define VIF_BUF4_TILE_ADRS 0x00000002L | |
589 # define VIF_BUF4_BASE_ADRS_MASK 0x03fffff0L | |
590 # define VIF_BUF4_1ST_LINE_LSBS_MASK 0x48000000L | |
1911 | 591 #define OV0_VID_BUF5_BASE_ADRS 0x0454 |
3122 | 592 # define VIF_BUF5_PITCH_SEL 0x00000001L |
593 # define VIF_BUF5_TILE_ADRS 0x00000002L | |
594 # define VIF_BUF5_BASE_ADRS_MASK 0x03fffff0L | |
595 # define VIF_BUF5_1ST_LINE_LSBS_MASK 0x48000000L | |
1911 | 596 #define OV0_VID_BUF_PITCH0_VALUE 0x0460 |
597 #define OV0_VID_BUF_PITCH1_VALUE 0x0464 | |
2870 | 598 #define OV0_AUTO_FLIP_CNTL 0x0470 |
599 # define OV0_AUTO_FLIP_CNTL_SOFT_BUF_NUM 0x00000007 | |
600 # define OV0_AUTO_FLIP_CNTL_SOFT_REPEAT_FIELD 0x00000008 | |
601 # define OV0_AUTO_FLIP_CNTL_SOFT_BUF_ODD 0x00000010 | |
602 # define OV0_AUTO_FLIP_CNTL_IGNORE_REPEAT_FIELD 0x00000020 | |
603 # define OV0_AUTO_FLIP_CNTL_SOFT_EOF_TOGGLE 0x00000040 | |
604 # define OV0_AUTO_FLIP_CNTL_VID_PORT_SELECT 0x00000300 | |
605 # define OV0_AUTO_FLIP_CNTL_P1_FIRST_LINE_EVEN 0x00010000 | |
606 # define OV0_AUTO_FLIP_CNTL_SHIFT_EVEN_DOWN 0x00040000 | |
607 # define OV0_AUTO_FLIP_CNTL_SHIFT_ODD_DOWN 0x00080000 | |
608 # define OV0_AUTO_FLIP_CNTL_FIELD_POL_SOURCE 0x00800000 | |
1911 | 609 #define OV0_DEINTERLACE_PATTERN 0x0474 |
610 #define OV0_SUBMIT_HISTORY 0x0478 | |
611 #define OV0_H_INC 0x0480 | |
612 #define OV0_STEP_BY 0x0484 | |
613 #define OV0_P1_H_ACCUM_INIT 0x0488 | |
614 #define OV0_P23_H_ACCUM_INIT 0x048C | |
615 #define OV0_P1_X_START_END 0x0494 | |
616 #define OV0_P2_X_START_END 0x0498 | |
617 #define OV0_P3_X_START_END 0x049C | |
618 #define OV0_FILTER_CNTL 0x04A0 | |
619 #define OV0_FOUR_TAP_COEF_0 0x04B0 | |
620 #define OV0_FOUR_TAP_COEF_1 0x04B4 | |
621 #define OV0_FOUR_TAP_COEF_2 0x04B8 | |
622 #define OV0_FOUR_TAP_COEF_3 0x04BC | |
623 #define OV0_FOUR_TAP_COEF_4 0x04C0 | |
624 #define OV0_FLAG_CNTRL 0x04DC | |
2870 | 625 #define OV0_COLOUR_CNTL 0x04E0 |
1911 | 626 #define OV0_VID_KEY_CLR_LOW 0x04E4 |
627 #define OV0_VID_KEY_CLR_HIGH 0x04E8 | |
2870 | 628 #define OV0_GRAPHICS_KEY_CLR 0x04EC |
629 #define OV0_GRAPHICS_KEY_MSK 0x04F0 | |
1911 | 630 #define OV0_KEY_CNTL 0x04F4 |
1945 | 631 # define VIDEO_KEY_FN_MASK 0x00000007L |
632 # define VIDEO_KEY_FN_FALSE 0x00000000L | |
633 # define VIDEO_KEY_FN_TRUE 0x00000001L | |
634 # define VIDEO_KEY_FN_EQ 0x00000004L | |
635 # define VIDEO_KEY_FN_NE 0x00000005L | |
636 # define GRAPHIC_KEY_FN_MASK 0x00000070L | |
637 # define GRAPHIC_KEY_FN_FALSE 0x00000000L | |
638 # define GRAPHIC_KEY_FN_TRUE 0x00000010L | |
639 # define GRAPHIC_KEY_FN_EQ 0x00000040L | |
640 # define GRAPHIC_KEY_FN_NE 0x00000050L | |
641 # define CMP_MIX_MASK 0x00000100L | |
642 # define CMP_MIX_OR 0x00000000L | |
643 # define CMP_MIX_AND 0x00000100L | |
1911 | 644 #define OV0_TEST 0x04F8 |
645 #define SUBPIC_CNTL 0x0540 | |
646 #define SUBPIC_DEFCOLCON 0x0544 | |
647 #define SUBPIC_Y_X_START 0x054C | |
648 #define SUBPIC_Y_X_END 0x0550 | |
649 #define SUBPIC_V_INC 0x0554 | |
650 #define SUBPIC_H_INC 0x0558 | |
651 #define SUBPIC_BUF0_OFFSET 0x055C | |
652 #define SUBPIC_BUF1_OFFSET 0x0560 | |
653 #define SUBPIC_LC0_OFFSET 0x0564 | |
654 #define SUBPIC_LC1_OFFSET 0x0568 | |
655 #define SUBPIC_PITCH 0x056C | |
656 #define SUBPIC_BTN_HLI_COLCON 0x0570 | |
657 #define SUBPIC_BTN_HLI_Y_X_START 0x0574 | |
658 #define SUBPIC_BTN_HLI_Y_X_END 0x0578 | |
659 #define SUBPIC_PALETTE_INDEX 0x057C | |
660 #define SUBPIC_PALETTE_DATA 0x0580 | |
661 #define SUBPIC_H_ACCUM_INIT 0x0584 | |
662 #define SUBPIC_V_ACCUM_INIT 0x0588 | |
663 #define DISP_MISC_CNTL 0x0D00 | |
1915 | 664 # define SOFT_RESET_GRPH_PP (1 << 0) |
1911 | 665 #define DAC_MACRO_CNTL 0x0D04 |
666 #define DISP_PWR_MAN 0x0D08 | |
667 #define DISP_TEST_DEBUG_CNTL 0x0D10 | |
668 #define DISP_HW_DEBUG 0x0D14 | |
669 #define DAC_CRC_SIG1 0x0D18 | |
670 #define DAC_CRC_SIG2 0x0D1C | |
671 #define OV0_LIN_TRANS_A 0x0D20 | |
672 #define OV0_LIN_TRANS_B 0x0D24 | |
673 #define OV0_LIN_TRANS_C 0x0D28 | |
674 #define OV0_LIN_TRANS_D 0x0D2C | |
675 #define OV0_LIN_TRANS_E 0x0D30 | |
676 #define OV0_LIN_TRANS_F 0x0D34 | |
677 #define OV0_GAMMA_0_F 0x0D40 | |
678 #define OV0_GAMMA_10_1F 0x0D44 | |
679 #define OV0_GAMMA_20_3F 0x0D48 | |
680 #define OV0_GAMMA_40_7F 0x0D4C | |
681 #define OV0_GAMMA_380_3BF 0x0D50 | |
682 #define OV0_GAMMA_3C0_3FF 0x0D54 | |
683 #define DISP_MERGE_CNTL 0x0D60 | |
684 #define DISP_OUTPUT_CNTL 0x0D64 | |
1915 | 685 # define DISP_DAC_SOURCE_MASK 0x03 |
686 # define DISP_DAC_SOURCE_CRTC2 0x01 | |
1911 | 687 #define DISP_LIN_TRANS_GRPH_A 0x0D80 |
688 #define DISP_LIN_TRANS_GRPH_B 0x0D84 | |
689 #define DISP_LIN_TRANS_GRPH_C 0x0D88 | |
690 #define DISP_LIN_TRANS_GRPH_D 0x0D8C | |
691 #define DISP_LIN_TRANS_GRPH_E 0x0D90 | |
692 #define DISP_LIN_TRANS_GRPH_F 0x0D94 | |
693 #define DISP_LIN_TRANS_VID_A 0x0D98 | |
694 #define DISP_LIN_TRANS_VID_B 0x0D9C | |
695 #define DISP_LIN_TRANS_VID_C 0x0DA0 | |
696 #define DISP_LIN_TRANS_VID_D 0x0DA4 | |
697 #define DISP_LIN_TRANS_VID_E 0x0DA8 | |
698 #define DISP_LIN_TRANS_VID_F 0x0DAC | |
699 #define RMX_HORZ_FILTER_0TAP_COEF 0x0DB0 | |
700 #define RMX_HORZ_FILTER_1TAP_COEF 0x0DB4 | |
701 #define RMX_HORZ_FILTER_2TAP_COEF 0x0DB8 | |
702 #define RMX_HORZ_PHASE 0x0DBC | |
703 #define DAC_EMBEDDED_SYNC_CNTL 0x0DC0 | |
704 #define DAC_BROAD_PULSE 0x0DC4 | |
705 #define DAC_SKEW_CLKS 0x0DC8 | |
706 #define DAC_INCR 0x0DCC | |
707 #define DAC_NEG_SYNC_LEVEL 0x0DD0 | |
708 #define DAC_POS_SYNC_LEVEL 0x0DD4 | |
709 #define DAC_BLANK_LEVEL 0x0DD8 | |
710 #define CLOCK_CNTL_INDEX 0x0008 | |
1915 | 711 /* CLOCK_CNTL_INDEX bit constants */ |
712 # define PLL_WR_EN 0x00000080 | |
1945 | 713 # define PLL_DIV_SEL (3 << 8) |
714 # define PLL2_DIV_SEL_MASK ~(3 << 8) | |
1911 | 715 #define CLOCK_CNTL_DATA 0x000C |
716 #define CP_RB_CNTL 0x0704 | |
717 #define CP_RB_BASE 0x0700 | |
718 #define CP_RB_RPTR_ADDR 0x070C | |
719 #define CP_RB_RPTR 0x0710 | |
720 #define CP_RB_WPTR 0x0714 | |
721 #define CP_RB_WPTR_DELAY 0x0718 | |
722 #define CP_IB_BASE 0x0738 | |
723 #define CP_IB_BUFSZ 0x073C | |
724 #define SCRATCH_REG0 0x15E0 | |
725 #define GUI_SCRATCH_REG0 0x15E0 | |
726 #define SCRATCH_REG1 0x15E4 | |
727 #define GUI_SCRATCH_REG1 0x15E4 | |
728 #define SCRATCH_REG2 0x15E8 | |
729 #define GUI_SCRATCH_REG2 0x15E8 | |
730 #define SCRATCH_REG3 0x15EC | |
731 #define GUI_SCRATCH_REG3 0x15EC | |
732 #define SCRATCH_REG4 0x15F0 | |
733 #define GUI_SCRATCH_REG4 0x15F0 | |
734 #define SCRATCH_REG5 0x15F4 | |
735 #define GUI_SCRATCH_REG5 0x15F4 | |
736 #define SCRATCH_UMSK 0x0770 | |
737 #define SCRATCH_ADDR 0x0774 | |
738 #define DP_BRUSH_FRGD_CLR 0x147C | |
739 #define DP_BRUSH_BKGD_CLR 0x1478 | |
740 #define DST_LINE_START 0x1600 | |
741 #define DST_LINE_END 0x1604 | |
742 #define SRC_OFFSET 0x15AC | |
743 #define SRC_PITCH 0x15B0 | |
744 #define SRC_TILE 0x1704 | |
745 #define SRC_PITCH_OFFSET 0x1428 | |
746 #define SRC_X 0x1414 | |
747 #define SRC_Y 0x1418 | |
748 #define SRC_X_Y 0x1590 | |
749 #define SRC_Y_X 0x1434 | |
750 #define DST_Y_X 0x1438 | |
751 #define DST_WIDTH_HEIGHT 0x1598 | |
752 #define DST_HEIGHT_WIDTH 0x143c | |
753 #define SRC_CLUT_ADDRESS 0x1780 | |
754 #define SRC_CLUT_DATA 0x1784 | |
755 #define SRC_CLUT_DATA_RD 0x1788 | |
756 #define HOST_DATA0 0x17C0 | |
757 #define HOST_DATA1 0x17C4 | |
758 #define HOST_DATA2 0x17C8 | |
759 #define HOST_DATA3 0x17CC | |
760 #define HOST_DATA4 0x17D0 | |
761 #define HOST_DATA5 0x17D4 | |
762 #define HOST_DATA6 0x17D8 | |
763 #define HOST_DATA7 0x17DC | |
764 #define HOST_DATA_LAST 0x17E0 | |
765 #define DP_SRC_ENDIAN 0x15D4 | |
766 #define DP_SRC_FRGD_CLR 0x15D8 | |
767 #define DP_SRC_BKGD_CLR 0x15DC | |
2037 | 768 #define DP_WRITE_MASK 0x16cc |
1911 | 769 #define SC_LEFT 0x1640 |
770 #define SC_RIGHT 0x1644 | |
771 #define SC_TOP 0x1648 | |
772 #define SC_BOTTOM 0x164C | |
773 #define SRC_SC_RIGHT 0x1654 | |
774 #define SRC_SC_BOTTOM 0x165C | |
775 #define DP_CNTL 0x16C0 | |
1915 | 776 /* DP_CNTL bit constants */ |
777 # define DST_X_RIGHT_TO_LEFT 0x00000000 | |
778 # define DST_X_LEFT_TO_RIGHT 0x00000001 | |
779 # define DST_Y_BOTTOM_TO_TOP 0x00000000 | |
780 # define DST_Y_TOP_TO_BOTTOM 0x00000002 | |
781 # define DST_X_MAJOR 0x00000000 | |
782 # define DST_Y_MAJOR 0x00000004 | |
783 # define DST_X_TILE 0x00000008 | |
784 # define DST_Y_TILE 0x00000010 | |
785 # define DST_LAST_PEL 0x00000020 | |
786 # define DST_TRAIL_X_RIGHT_TO_LEFT 0x00000000 | |
787 # define DST_TRAIL_X_LEFT_TO_RIGHT 0x00000040 | |
788 # define DST_TRAP_FILL_RIGHT_TO_LEFT 0x00000000 | |
789 # define DST_TRAP_FILL_LEFT_TO_RIGHT 0x00000080 | |
790 # define DST_BRES_SIGN 0x00000100 | |
791 # define DST_HOST_BIG_ENDIAN_EN 0x00000200 | |
792 # define DST_POLYLINE_NONLAST 0x00008000 | |
793 # define DST_RASTER_STALL 0x00010000 | |
794 # define DST_POLY_EDGE 0x00040000 | |
1911 | 795 #define DP_CNTL_XDIR_YDIR_YMAJOR 0x16D0 |
1915 | 796 /* DP_CNTL_XDIR_YDIR_YMAJOR bit constants (short version of DP_CNTL) */ |
797 # define DST_X_MAJOR_S 0x00000000 | |
798 # define DST_Y_MAJOR_S 0x00000001 | |
799 # define DST_Y_BOTTOM_TO_TOP_S 0x00000000 | |
800 # define DST_Y_TOP_TO_BOTTOM_S 0x00008000 | |
801 # define DST_X_RIGHT_TO_LEFT_S 0x00000000 | |
802 # define DST_X_LEFT_TO_RIGHT_S 0x80000000 | |
1911 | 803 #define DP_DATATYPE 0x16C4 |
1915 | 804 /* DP_DATATYPE bit constants */ |
805 # define DST_8BPP 0x00000002 | |
806 # define DST_15BPP 0x00000003 | |
807 # define DST_16BPP 0x00000004 | |
808 # define DST_24BPP 0x00000005 | |
809 # define DST_32BPP 0x00000006 | |
810 # define DST_8BPP_RGB332 0x00000007 | |
811 # define DST_8BPP_Y8 0x00000008 | |
812 # define DST_8BPP_RGB8 0x00000009 | |
813 # define DST_16BPP_VYUY422 0x0000000b | |
814 # define DST_16BPP_YVYU422 0x0000000c | |
815 # define DST_32BPP_AYUV444 0x0000000e | |
816 # define DST_16BPP_ARGB4444 0x0000000f | |
817 # define BRUSH_SOLIDCOLOR 0x00000d00 | |
818 # define SRC_MONO 0x00000000 | |
819 # define SRC_MONO_LBKGD 0x00010000 | |
820 # define SRC_DSTCOLOR 0x00030000 | |
821 # define BYTE_ORDER_MSB_TO_LSB 0x00000000 | |
822 # define BYTE_ORDER_LSB_TO_MSB 0x40000000 | |
823 # define DP_CONVERSION_TEMP 0x80000000 | |
824 # define HOST_BIG_ENDIAN_EN (1 << 29) | |
1911 | 825 #define DP_MIX 0x16C8 |
1915 | 826 /* DP_MIX bit constants */ |
827 # define DP_SRC_RECT 0x00000200 | |
828 # define DP_SRC_HOST 0x00000300 | |
829 # define DP_SRC_HOST_BYTEALIGN 0x00000400 | |
1911 | 830 #define DP_WRITE_MSK 0x16CC |
831 #define DP_XOP 0x17F8 | |
832 #define CLR_CMP_CLR_SRC 0x15C4 | |
833 #define CLR_CMP_CLR_DST 0x15C8 | |
834 #define CLR_CMP_CNTL 0x15C0 | |
1915 | 835 /* CLR_CMP_CNTL bit constants */ |
836 # define COMPARE_SRC_FALSE 0x00000000 | |
837 # define COMPARE_SRC_TRUE 0x00000001 | |
838 # define COMPARE_SRC_NOT_EQUAL 0x00000004 | |
839 # define COMPARE_SRC_EQUAL 0x00000005 | |
840 # define COMPARE_SRC_EQUAL_FLIP 0x00000007 | |
841 # define COMPARE_DST_FALSE 0x00000000 | |
842 # define COMPARE_DST_TRUE 0x00000100 | |
843 # define COMPARE_DST_NOT_EQUAL 0x00000400 | |
844 # define COMPARE_DST_EQUAL 0x00000500 | |
845 # define COMPARE_DESTINATION 0x00000000 | |
846 # define COMPARE_SOURCE 0x01000000 | |
847 # define COMPARE_SRC_AND_DST 0x02000000 | |
1911 | 848 #define CLR_CMP_MSK 0x15CC |
849 #define DSTCACHE_MODE 0x1710 | |
850 #define DSTCACHE_CTLSTAT 0x1714 | |
1915 | 851 /* DSTCACHE_CTLSTAT bit constants */ |
852 # define RB2D_DC_FLUSH (3 << 0) | |
853 # define RB2D_DC_FLUSH_ALL 0xf | |
854 # define RB2D_DC_BUSY (1 << 31) | |
2037 | 855 #define DEFAULT_OFFSET 0x16e0 |
1911 | 856 #define DEFAULT_PITCH_OFFSET 0x16E0 |
857 #define DEFAULT_SC_BOTTOM_RIGHT 0x16E8 | |
1915 | 858 /* DEFAULT_SC_BOTTOM_RIGHT bit constants */ |
859 # define DEFAULT_SC_RIGHT_MAX (0x1fff << 0) | |
860 # define DEFAULT_SC_BOTTOM_MAX (0x1fff << 16) | |
1911 | 861 #define DP_GUI_MASTER_CNTL 0x146C |
1915 | 862 /* DP_GUI_MASTER_CNTL bit constants */ |
863 # define GMC_SRC_PITCH_OFFSET_DEFAULT 0x00000000 | |
864 # define GMC_SRC_PITCH_OFFSET_LEAVE 0x00000001 | |
865 # define GMC_DST_PITCH_OFFSET_DEFAULT 0x00000000 | |
866 # define GMC_DST_PITCH_OFFSET_LEAVE 0x00000002 | |
867 # define GMC_SRC_CLIP_DEFAULT 0x00000000 | |
868 # define GMC_SRC_CLIP_LEAVE 0x00000004 | |
869 # define GMC_DST_CLIP_DEFAULT 0x00000000 | |
870 # define GMC_DST_CLIP_LEAVE 0x00000008 | |
871 # define GMC_BRUSH_8x8MONO 0x00000000 | |
872 # define GMC_BRUSH_8x8MONO_LBKGD 0x00000010 | |
873 # define GMC_BRUSH_8x1MONO 0x00000020 | |
874 # define GMC_BRUSH_8x1MONO_LBKGD 0x00000030 | |
875 # define GMC_BRUSH_1x8MONO 0x00000040 | |
876 # define GMC_BRUSH_1x8MONO_LBKGD 0x00000050 | |
877 # define GMC_BRUSH_32x1MONO 0x00000060 | |
878 # define GMC_BRUSH_32x1MONO_LBKGD 0x00000070 | |
879 # define GMC_BRUSH_32x32MONO 0x00000080 | |
880 # define GMC_BRUSH_32x32MONO_LBKGD 0x00000090 | |
881 # define GMC_BRUSH_8x8COLOR 0x000000a0 | |
882 # define GMC_BRUSH_8x1COLOR 0x000000b0 | |
883 # define GMC_BRUSH_1x8COLOR 0x000000c0 | |
884 # define GMC_BRUSH_SOLID_COLOR 0x000000d0 | |
885 # define GMC_DST_8BPP 0x00000200 | |
886 # define GMC_DST_15BPP 0x00000300 | |
887 # define GMC_DST_16BPP 0x00000400 | |
888 # define GMC_DST_24BPP 0x00000500 | |
889 # define GMC_DST_32BPP 0x00000600 | |
890 # define GMC_DST_8BPP_RGB332 0x00000700 | |
891 # define GMC_DST_8BPP_Y8 0x00000800 | |
892 # define GMC_DST_8BPP_RGB8 0x00000900 | |
893 # define GMC_DST_16BPP_VYUY422 0x00000b00 | |
894 # define GMC_DST_16BPP_YVYU422 0x00000c00 | |
895 # define GMC_DST_32BPP_AYUV444 0x00000e00 | |
896 # define GMC_DST_16BPP_ARGB4444 0x00000f00 | |
897 # define GMC_SRC_MONO 0x00000000 | |
898 # define GMC_SRC_MONO_LBKGD 0x00001000 | |
899 # define GMC_SRC_DSTCOLOR 0x00003000 | |
900 # define GMC_BYTE_ORDER_MSB_TO_LSB 0x00000000 | |
901 # define GMC_BYTE_ORDER_LSB_TO_MSB 0x00004000 | |
902 # define GMC_DP_CONVERSION_TEMP_9300 0x00008000 | |
903 # define GMC_DP_CONVERSION_TEMP_6500 0x00000000 | |
904 # define GMC_DP_SRC_RECT 0x02000000 | |
905 # define GMC_DP_SRC_HOST 0x03000000 | |
906 # define GMC_DP_SRC_HOST_BYTEALIGN 0x04000000 | |
907 # define GMC_3D_FCN_EN_CLR 0x00000000 | |
908 # define GMC_3D_FCN_EN_SET 0x08000000 | |
909 # define GMC_DST_CLR_CMP_FCN_LEAVE 0x00000000 | |
910 # define GMC_DST_CLR_CMP_FCN_CLEAR 0x10000000 | |
911 # define GMC_AUX_CLIP_LEAVE 0x00000000 | |
912 # define GMC_AUX_CLIP_CLEAR 0x20000000 | |
913 # define GMC_WRITE_MASK_LEAVE 0x00000000 | |
914 # define GMC_WRITE_MASK_SET 0x40000000 | |
915 # define GMC_CLR_CMP_CNTL_DIS (1 << 28) | |
916 # define GMC_SRC_DATATYPE_COLOR (3 << 12) | |
917 # define ROP3_S 0x00cc0000 | |
918 # define ROP3_SRCCOPY 0x00cc0000 | |
919 # define ROP3_P 0x00f00000 | |
920 # define ROP3_PATCOPY 0x00f00000 | |
921 # define DP_SRC_SOURCE_MASK (7 << 24) | |
922 # define GMC_BRUSH_NONE (15 << 4) | |
923 # define DP_SRC_SOURCE_MEMORY (2 << 24) | |
924 # define GMC_BRUSH_SOLIDCOLOR 0x000000d0 | |
1911 | 925 #define SC_TOP_LEFT 0x16EC |
926 #define SC_BOTTOM_RIGHT 0x16F0 | |
927 #define SRC_SC_BOTTOM_RIGHT 0x16F4 | |
928 #define RB2D_DSTCACHE_CTLSTAT 0x342C | |
2037 | 929 #define RB2D_DSTCACHE_MODE 0x3428 |
1911 | 930 |
1915 | 931 #define RADEON_BASE_CODE 0x0f0b |
932 #define RADEON_BIOS_0_SCRATCH 0x0010 | |
933 #define RADEON_BIOS_1_SCRATCH 0x0014 | |
934 #define RADEON_BIOS_2_SCRATCH 0x0018 | |
935 #define RADEON_BIOS_3_SCRATCH 0x001c | |
936 #define RADEON_BIOS_4_SCRATCH 0x0020 | |
937 #define RADEON_BIOS_5_SCRATCH 0x0024 | |
938 #define RADEON_BIOS_6_SCRATCH 0x0028 | |
939 #define RADEON_BIOS_7_SCRATCH 0x002c | |
940 | |
1911 | 941 |
942 #define CLK_PIN_CNTL 0x0001 | |
943 #define PPLL_CNTL 0x0002 | |
1945 | 944 # define PPLL_RESET (1 << 0) |
945 # define PPLL_SLEEP (1 << 1) | |
946 # define PPLL_ATOMIC_UPDATE_EN (1 << 16) | |
947 # define PPLL_VGA_ATOMIC_UPDATE_EN (1 << 17) | |
948 # define PPLL_ATOMIC_UPDATE_VSYNC (1 << 18) | |
1911 | 949 #define PPLL_REF_DIV 0x0003 |
1945 | 950 # define PPLL_REF_DIV_MASK 0x03ff |
951 # define PPLL_ATOMIC_UPDATE_R (1 << 15) /* same as _W */ | |
952 # define PPLL_ATOMIC_UPDATE_W (1 << 15) /* same as _R */ | |
1911 | 953 #define PPLL_DIV_0 0x0004 |
954 #define PPLL_DIV_1 0x0005 | |
955 #define PPLL_DIV_2 0x0006 | |
956 #define PPLL_DIV_3 0x0007 | |
957 #define VCLK_ECP_CNTL 0x0008 | |
958 #define HTOTAL_CNTL 0x0009 | |
1945 | 959 #define HTOTAL2_CNTL 0x002e /* PLL */ |
1911 | 960 #define M_SPLL_REF_FB_DIV 0x000a |
961 #define AGP_PLL_CNTL 0x000b | |
962 #define SPLL_CNTL 0x000c | |
963 #define SCLK_CNTL 0x000d | |
964 #define MPLL_CNTL 0x000e | |
965 #define MCLK_CNTL 0x0012 | |
1915 | 966 /* MCLK_CNTL bit constants */ |
967 # define FORCEON_MCLKA (1 << 16) | |
968 # define FORCEON_MCLKB (1 << 17) | |
969 # define FORCEON_YCLKA (1 << 18) | |
970 # define FORCEON_YCLKB (1 << 19) | |
971 # define FORCEON_MC (1 << 20) | |
972 # define FORCEON_AIC (1 << 21) | |
1911 | 973 #define PLL_TEST_CNTL 0x0013 |
1945 | 974 #define P2PLL_CNTL 0x002a /* P2PLL */ |
975 # define P2PLL_RESET (1 << 0) | |
976 # define P2PLL_SLEEP (1 << 1) | |
977 # define P2PLL_ATOMIC_UPDATE_EN (1 << 16) | |
978 # define P2PLL_VGA_ATOMIC_UPDATE_EN (1 << 17) | |
979 # define P2PLL_ATOMIC_UPDATE_VSYNC (1 << 18) | |
980 #define P2PLL_DIV_0 0x002c | |
981 # define P2PLL_FB0_DIV_MASK 0x07ff | |
982 # define P2PLL_POST0_DIV_MASK 0x00070000 | |
983 #define P2PLL_REF_DIV 0x002B /* PLL */ | |
984 # define P2PLL_REF_DIV_MASK 0x03ff | |
985 # define P2PLL_ATOMIC_UPDATE_R (1 << 15) /* same as _W */ | |
986 # define P2PLL_ATOMIC_UPDATE_W (1 << 15) /* same as _R */ | |
1911 | 987 |
988 /* masks */ | |
989 | |
990 #define CONFIG_MEMSIZE_MASK 0x1f000000 | |
991 #define MEM_CFG_TYPE 0x40000000 | |
992 #define DST_OFFSET_MASK 0x003fffff | |
993 #define DST_PITCH_MASK 0x3fc00000 | |
994 #define DEFAULT_TILE_MASK 0xc0000000 | |
995 #define PPLL_DIV_SEL_MASK 0x00000300 | |
996 #define PPLL_FB3_DIV_MASK 0x000007ff | |
997 #define PPLL_POST3_DIV_MASK 0x00070000 | |
998 | |
999 #define GUI_ACTIVE 0x80000000 | |
1000 | |
1915 | 1001 /* GEN_RESET_CNTL bit constants */ |
1002 #define SOFT_RESET_GUI 0x00000001 | |
1003 #define SOFT_RESET_VCLK 0x00000100 | |
1004 #define SOFT_RESET_PCLK 0x00000200 | |
1005 #define SOFT_RESET_ECP 0x00000400 | |
1006 #define SOFT_RESET_DISPENG_XCLK 0x00000800 | |
1007 | |
2033
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1008 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1009 /* RAGE THEATER REGISTERS */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1011 #define VIPH_CH0_DATA 0x0c00 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1012 #define VIPH_CH1_DATA 0x0c04 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1013 #define VIPH_CH2_DATA 0x0c08 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1014 #define VIPH_CH3_DATA 0x0c0c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1015 #define VIPH_CH0_ADDR 0x0c10 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1016 #define VIPH_CH1_ADDR 0x0c14 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1017 #define VIPH_CH2_ADDR 0x0c18 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1018 #define VIPH_CH3_ADDR 0x0c1c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1019 #define VIPH_CH0_SBCNT 0x0c20 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1020 #define VIPH_CH1_SBCNT 0x0c24 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1021 #define VIPH_CH2_SBCNT 0x0c28 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1022 #define VIPH_CH3_SBCNT 0x0c2c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1023 #define VIPH_CH0_ABCNT 0x0c30 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1024 #define VIPH_CH1_ABCNT 0x0c34 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1025 #define VIPH_CH2_ABCNT 0x0c38 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1026 #define VIPH_CH3_ABCNT 0x0c3c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1027 #define VIPH_CONTROL 0x0c40 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1028 #define VIPH_DV_LAT 0x0c44 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1029 #define VIPH_BM_CHUNK 0x0c48 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1030 #define VIPH_DV_INT 0x0c4c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1031 #define VIPH_TIMEOUT_STAT 0x0c50 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1032 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1033 #define VIPH_REG_DATA 0x0084 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1034 #define VIPH_REG_ADDR 0x0080 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1035 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1036 /* Address Space Rage Theatre Registers (VIP Access) */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1037 #define VIP_VIP_VENDOR_DEVICE_ID 0x0000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1038 #define VIP_VIP_SUB_VENDOR_DEVICE_ID 0x0004 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1039 #define VIP_VIP_COMMAND_STATUS 0x0008 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1040 #define VIP_VIP_REVISION_ID 0x000c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1041 #define VIP_HW_DEBUG 0x0010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1042 #define VIP_SW_SCRATCH 0x0014 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1043 #define VIP_I2C_CNTL_0 0x0020 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1044 #define VIP_I2C_CNTL_1 0x0024 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1045 #define VIP_I2C_DATA 0x0028 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1046 #define VIP_INT_CNTL 0x002c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1047 #define VIP_GPIO_INOUT 0x0030 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1048 #define VIP_GPIO_CNTL 0x0034 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1049 #define VIP_CLKOUT_GPIO_CNTL 0x0038 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1050 #define VIP_RIPINTF_PORT_CNTL 0x003c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1051 #define VIP_ADC_CNTL 0x0400 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1052 #define VIP_ADC_DEBUG 0x0404 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1053 #define VIP_STANDARD_SELECT 0x0408 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1054 #define VIP_THERMO2BIN_STATUS 0x040c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1055 #define VIP_COMB_CNTL0 0x0440 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1056 #define VIP_COMB_CNTL1 0x0444 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1057 #define VIP_COMB_CNTL2 0x0448 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1058 #define VIP_COMB_LINE_LENGTH 0x044c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1059 #define VIP_NOISE_CNTL0 0x0450 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1060 #define VIP_HS_PLINE 0x0480 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1061 #define VIP_HS_DTOINC 0x0484 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1062 #define VIP_HS_PLLGAIN 0x0488 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1063 #define VIP_HS_MINMAXWIDTH 0x048c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1064 #define VIP_HS_GENLOCKDELAY 0x0490 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1065 #define VIP_HS_WINDOW_LIMIT 0x0494 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1066 #define VIP_HS_WINDOW_OC_SPEED 0x0498 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1067 #define VIP_HS_PULSE_WIDTH 0x049c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1068 #define VIP_HS_PLL_ERROR 0x04a0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1069 #define VIP_HS_PLL_FS_PATH 0x04a4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1070 #define VIP_SG_BLACK_GATE 0x04c0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1071 #define VIP_SG_SYNCTIP_GATE 0x04c4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1072 #define VIP_SG_UVGATE_GATE 0x04c8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1073 #define VIP_LP_AGC_CLAMP_CNTL0 0x0500 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1074 #define VIP_LP_AGC_CLAMP_CNTL1 0x0504 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1075 #define VIP_LP_BRIGHTNESS 0x0508 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1076 #define VIP_LP_CONTRAST 0x050c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1077 #define VIP_LP_SLICE_LIMIT 0x0510 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1078 #define VIP_LP_WPA_CNTL0 0x0514 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1079 #define VIP_LP_WPA_CNTL1 0x0518 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1080 #define VIP_LP_BLACK_LEVEL 0x051c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1081 #define VIP_LP_SLICE_LEVEL 0x0520 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1082 #define VIP_LP_SYNCTIP_LEVEL 0x0524 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1083 #define VIP_LP_VERT_LOCKOUT 0x0528 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1084 #define VIP_VS_DETECTOR_CNTL 0x0540 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1085 #define VIP_VS_BLANKING_CNTL 0x0544 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1086 #define VIP_VS_FIELD_ID_CNTL 0x0548 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1087 #define VIP_VS_COUNTER_CNTL 0x054c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1088 #define VIP_VS_FRAME_TOTAL 0x0550 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1089 #define VIP_VS_LINE_COUNT 0x0554 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1090 #define VIP_CP_PLL_CNTL0 0x0580 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1091 #define VIP_CP_PLL_CNTL1 0x0584 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1092 #define VIP_CP_HUE_CNTL 0x0588 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1093 #define VIP_CP_BURST_GAIN 0x058c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1094 #define VIP_CP_AGC_CNTL 0x0590 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1095 #define VIP_CP_ACTIVE_GAIN 0x0594 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1096 #define VIP_CP_PLL_STATUS0 0x0598 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1097 #define VIP_CP_PLL_STATUS1 0x059c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1098 #define VIP_CP_PLL_STATUS2 0x05a0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1099 #define VIP_CP_PLL_STATUS3 0x05a4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1100 #define VIP_CP_PLL_STATUS4 0x05a8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1101 #define VIP_CP_PLL_STATUS5 0x05ac |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1102 #define VIP_CP_PLL_STATUS6 0x05b0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1103 #define VIP_CP_PLL_STATUS7 0x05b4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1104 #define VIP_CP_DEBUG_FORCE 0x05b8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1105 #define VIP_CP_VERT_LOCKOUT 0x05bc |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1106 #define VIP_H_ACTIVE_WINDOW 0x05c0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1107 #define VIP_V_ACTIVE_WINDOW 0x05c4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1108 #define VIP_H_VBI_WINDOW 0x05c8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1109 #define VIP_V_VBI_WINDOW 0x05cc |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1110 #define VIP_VBI_CONTROL 0x05d0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1111 #define VIP_DECODER_DEBUG_CNTL 0x05d4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1112 #define VIP_SINGLE_STEP_DATA 0x05d8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1113 #define VIP_MASTER_CNTL 0x0040 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1114 #define VIP_RGB_CNTL 0x0048 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1115 #define VIP_CLKOUT_CNTL 0x004c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1116 #define VIP_SYNC_CNTL 0x0050 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1117 #define VIP_I2C_CNTL 0x0054 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1118 #define VIP_HTOTAL 0x0080 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1119 #define VIP_HDISP 0x0084 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1120 #define VIP_HSIZE 0x0088 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1121 #define VIP_HSTART 0x008c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1122 #define VIP_HCOUNT 0x0090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1123 #define VIP_VTOTAL 0x0094 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1124 #define VIP_VDISP 0x0098 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1125 #define VIP_VCOUNT 0x009c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1126 #define VIP_VFTOTAL 0x00a0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1127 #define VIP_DFCOUNT 0x00a4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1128 #define VIP_DFRESTART 0x00a8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1129 #define VIP_DHRESTART 0x00ac |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1130 #define VIP_DVRESTART 0x00b0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1131 #define VIP_SYNC_SIZE 0x00b4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1132 #define VIP_TV_PLL_FINE_CNTL 0x00b8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1133 #define VIP_CRT_PLL_FINE_CNTL 0x00bc |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1134 #define VIP_TV_PLL_CNTL 0x00c0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1135 #define VIP_CRT_PLL_CNTL 0x00c4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1136 #define VIP_PLL_CNTL0 0x00c8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1137 #define VIP_PLL_TEST_CNTL 0x00cc |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1138 #define VIP_CLOCK_SEL_CNTL 0x00d0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1139 #define VIP_VIN_PLL_CNTL 0x00d4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1140 #define VIP_VIN_PLL_FINE_CNTL 0x00d8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1141 #define VIP_AUD_PLL_CNTL 0x00e0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1142 #define VIP_AUD_PLL_FINE_CNTL 0x00e4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1143 #define VIP_AUD_CLK_DIVIDERS 0x00e8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1144 #define VIP_AUD_DTO_INCREMENTS 0x00ec |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1145 #define VIP_L54_PLL_CNTL 0x00f0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1146 #define VIP_L54_PLL_FINE_CNTL 0x00f4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1147 #define VIP_L54_DTO_INCREMENTS 0x00f8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1148 #define VIP_PLL_CNTL1 0x00fc |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1149 #define VIP_FRAME_LOCK_CNTL 0x0100 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1150 #define VIP_SYNC_LOCK_CNTL 0x0104 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1151 #define VIP_TVO_SYNC_PAT_ACCUM 0x0108 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1152 #define VIP_TVO_SYNC_THRESHOLD 0x010c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1153 #define VIP_TVO_SYNC_PAT_EXPECT 0x0110 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1154 #define VIP_DELAY_ONE_MAP_A 0x0114 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1155 #define VIP_DELAY_ONE_MAP_B 0x0118 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1156 #define VIP_DELAY_ZERO_MAP_A 0x011c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1157 #define VIP_DELAY_ZERO_MAP_B 0x0120 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1158 #define VIP_TVO_DATA_DELAY_A 0x0140 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1159 #define VIP_TVO_DATA_DELAY_B 0x0144 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1160 #define VIP_HOST_READ_DATA 0x0180 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1161 #define VIP_HOST_WRITE_DATA 0x0184 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1162 #define VIP_HOST_RD_WT_CNTL 0x0188 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1163 #define VIP_VSCALER_CNTL1 0x01c0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1164 #define VIP_TIMING_CNTL 0x01c4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1165 #define VIP_VSCALER_CNTL2 0x01c8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1166 #define VIP_Y_FALL_CNTL 0x01cc |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1167 #define VIP_Y_RISE_CNTL 0x01d0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1168 #define VIP_Y_SAW_TOOTH_CNTL 0x01d4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1169 #define VIP_UPSAMP_AND_GAIN_CNTL 0x01e0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1170 #define VIP_GAIN_LIMIT_SETTINGS 0x01e4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1171 #define VIP_LINEAR_GAIN_SETTINGS 0x01e8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1172 #define VIP_MODULATOR_CNTL1 0x0200 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1173 #define VIP_MODULATOR_CNTL2 0x0204 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1174 #define VIP_MV_MODE_CNTL 0x0208 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1175 #define VIP_MV_STRIPE_CNTL 0x020c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1176 #define VIP_MV_LEVEL_CNTL1 0x0210 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1177 #define VIP_MV_LEVEL_CNTL2 0x0214 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1178 #define VIP_PRE_DAC_MUX_CNTL 0x0240 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1179 #define VIP_TV_DAC_CNTL 0x0280 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1180 #define VIP_CRC_CNTL 0x02c0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1181 #define VIP_VIDEO_PORT_SIG 0x02c4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1182 #define VIP_VBI_CC_CNTL 0x02c8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1183 #define VIP_VBI_EDS_CNTL 0x02cc |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1184 #define VIP_VBI_20BIT_CNTL 0x02d0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1185 #define VIP_VBI_DTO_CNTL 0x02d4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1186 #define VIP_VBI_LEVEL_CNTL 0x02d8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1187 #define VIP_UV_ADR 0x0300 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1188 #define VIP_MV_STATUS 0x0330 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1189 #define VIP_UPSAMP_COEFF0_0 0x0340 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1190 #define VIP_UPSAMP_COEFF0_1 0x0344 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1191 #define VIP_UPSAMP_COEFF0_2 0x0348 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1192 #define VIP_UPSAMP_COEFF1_0 0x034c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1193 #define VIP_UPSAMP_COEFF1_1 0x0350 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1194 #define VIP_UPSAMP_COEFF1_2 0x0354 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1195 #define VIP_UPSAMP_COEFF2_0 0x0358 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1196 #define VIP_UPSAMP_COEFF2_1 0x035c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1197 #define VIP_UPSAMP_COEFF2_2 0x0360 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1198 #define VIP_UPSAMP_COEFF3_0 0x0364 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1199 #define VIP_UPSAMP_COEFF3_1 0x0368 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1200 #define VIP_UPSAMP_COEFF3_2 0x036c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1201 #define VIP_UPSAMP_COEFF4_0 0x0370 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1202 #define VIP_UPSAMP_COEFF4_1 0x0374 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1203 #define VIP_UPSAMP_COEFF4_2 0x0378 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1204 #define VIP_TV_DTO_INCREMENTS 0x0390 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1205 #define VIP_CRT_DTO_INCREMENTS 0x0394 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1206 #define VIP_VSYNC_DIFF_CNTL 0x03a0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1207 #define VIP_VSYNC_DIFF_LIMITS 0x03a4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1208 #define VIP_VSYNC_DIFF_RD_DATA 0x03a8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1209 #define VIP_SCALER_IN_WINDOW 0x0618 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1210 #define VIP_SCALER_OUT_WINDOW 0x061c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1211 #define VIP_H_SCALER_CONTROL 0x0600 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1212 #define VIP_V_SCALER_CONTROL 0x0604 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1213 #define VIP_V_DEINTERLACE_CONTROL 0x0608 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1214 #define VIP_VBI_SCALER_CONTROL 0x060c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1215 #define VIP_DVS_PORT_CTRL 0x0610 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1216 #define VIP_DVS_PORT_READBACK 0x0614 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1217 #define VIP_FIFOA_CONFIG 0x0800 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1218 #define VIP_FIFOB_CONFIG 0x0804 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1219 #define VIP_FIFOC_CONFIG 0x0808 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1220 #define VIP_SPDIF_PORT_CNTL 0x080c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1221 #define VIP_SPDIF_CHANNEL_STAT 0x0810 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1222 #define VIP_SPDIF_AC3_PREAMBLE 0x0814 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1223 #define VIP_I2S_TRANSMIT_CNTL 0x0818 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1224 #define VIP_I2S_RECEIVE_CNTL 0x081c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1225 #define VIP_SPDIF_TX_CNT_REG 0x0820 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1226 #define VIP_IIS_TX_CNT_REG 0x0824 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1227 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1228 /* Status defines */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1229 #define VIP_BUSY 0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1230 #define VIP_IDLE 1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1231 #define VIP_RESET 2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1232 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1233 #define VIPH_TIMEOUT_STAT__VIPH_REG_STAT 0x00000010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1234 #define VIPH_TIMEOUT_STAT__VIPH_REG_AK 0x00000010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1235 #define VIPH_TIMEOUT_STAT__VIPH_REGR_DIS 0x01000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1236 #define TEST_DEBUG_CNTL__TEST_DEBUG_OUT_EN 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1237 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1238 #define RT_ATI_ID 0x4D541002 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1239 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1240 /* Register/Field values: */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1241 #define RT_COMP0 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1242 #define RT_COMP1 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1243 #define RT_COMP2 0x2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1244 #define RT_YF_COMP3 0x3 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1245 #define RT_YR_COMP3 0x4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1246 #define RT_YCF_COMP4 0x5 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1247 #define RT_YCR_COMP4 0x6 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1248 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1249 /* Video standard defines */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1250 #define RT_NTSC 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1251 #define RT_PAL 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1252 #define RT_SECAM 0x2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1253 #define extNONE 0x0000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1254 #define extNTSC 0x0100 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1255 #define extRsvd 0x0200 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1256 #define extPAL 0x0300 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1257 #define extPAL_M 0x0400 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1258 #define extPAL_N 0x0500 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1259 #define extSECAM 0x0600 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1260 #define extPAL_NCOMB 0x0700 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1261 #define extNTSC_J 0x0800 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1262 #define extNTSC_443 0x0900 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1263 #define extPAL_BGHI 0x0A00 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1264 #define extPAL_60 0x0B00 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1265 /* these are used in MSP3430 */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1266 #define extPAL_DK1 0x0C00 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1267 #define extPAL_AUTO 0x0D00 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1268 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1269 #define RT_FREF_2700 6 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1270 #define RT_FREF_2950 5 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1271 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1272 #define RT_COMPOSITE 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1273 #define RT_SVIDEO 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1274 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1275 #define RT_NORM_SHARPNESS 0x03 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1276 #define RT_HIGH_SHARPNESS 0x0F |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1277 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1278 #define RT_HUE_PAL_DEF 0x00 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1279 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1280 #define RT_DECINTERLACED 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1281 #define RT_DECNONINTERLACED 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1282 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1283 #define NTSC_LINES 525 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1284 #define PAL_SECAM_LINES 625 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1285 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1286 #define RT_ASYNC_ENABLE 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1287 #define RT_ASYNC_DISABLE 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1288 #define RT_ASYNC_RESET 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1289 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1290 #define RT_VINRST_ACTIVE 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1291 #define RT_VINRST_RESET 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1292 #define RT_L54RST_RESET 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1293 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1294 #define RT_REF_CLK 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1295 #define RT_PLL_VIN_CLK 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1296 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1297 #define RT_VIN_ASYNC_RST 0x20 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1298 #define RT_DVS_ASYNC_RST 0x80 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1299 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1300 #define RT_ADC_ENABLE 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1301 #define RT_ADC_DISABLE 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1302 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1303 #define RT_DVSDIR_IN 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1304 #define RT_DVSDIR_OUT 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1305 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1306 #define RT_DVSCLK_HIGH 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1307 #define RT_DVSCLK_LOW 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1308 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1309 #define RT_DVSCLK_SEL_8FS 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1310 #define RT_DVSCLK_SEL_27MHZ 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1311 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1312 #define RT_DVS_CONTSTREAM 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1313 #define RT_DVS_NONCONTSTREAM 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1314 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1315 #define RT_DVSDAT_HIGH 0x0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1316 #define RT_DVSDAT_LOW 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1317 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1318 #define RT_ADC_CNTL_DEFAULT 0x03252338 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1319 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1320 /* COMB_CNTL0 FILTER SETTINGS FOR DIFFERENT STANDARDS: */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1321 #define RT_NTSCM_COMB_CNTL0_COMPOSITE 0x09438090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1322 #define RT_NTSCM_COMB_CNTL0_SVIDEO 0x48540000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1323 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1324 #define RT_PAL_COMB_CNTL0_COMPOSITE 0x09438090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1325 #define RT_PAL_COMB_CNTL0_SVIDEO 0x40348090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1326 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1327 #define RT_SECAM_COMB_CNTL0_COMPOSITE 0xD0108090 /* instead of orig 0xD0088090 - eric*/ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1328 #define RT_SECAM_COMB_CNTL0_SVIDEO 0x50148090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1329 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1330 #define RT_PALN_COMB_CNTL0_COMPOSITE 0x09438090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1331 #define RT_PALN_COMB_CNTL0_SVIDEO 0x40348090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1332 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1333 #define RT_PALM_COMB_CNTL0_COMPOSITE 0x09438090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1334 #define RT_PALM_COMB_CNTL0_SVIDEO 0x40348090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1335 /* End of filter settings. */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1336 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1337 /* COMB_CNTL1 FILTER SETTINGS FOR DIFFERENT STANDARDS: */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1338 #define RT_NTSCM_COMB_CNTL1_COMPOSITE 0x00000010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1339 #define RT_NTSCM_COMB_CNTL1_SVIDEO 0x00000081 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1340 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1341 #define RT_PAL_COMB_CNTL1_COMPOSITE 0x00000010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1342 #define RT_PAL_COMB_CNTL1_SVIDEO 0x000000A1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1343 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1344 #define RT_SECAM_COMB_CNTL1_COMPOSITE 0x00000091 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1345 #define RT_SECAM_COMB_CNTL1_SVIDEO 0x00000081 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1346 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1347 #define RT_PALN_COMB_CNTL1_COMPOSITE 0x00000010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1348 #define RT_PALN_COMB_CNTL1_SVIDEO 0x000000A1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1349 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1350 #define RT_PALM_COMB_CNTL1_COMPOSITE 0x00000010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1351 #define RT_PALM_COMB_CNTL1_SVIDEO 0x000000A1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1352 /* End of filter settings. */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1353 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1354 /* COMB_CNTL2 FILTER SETTINGS FOR DIFFERENT STANDARDS: */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1355 #define RT_NTSCM_COMB_CNTL2_COMPOSITE 0x16161010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1356 #define RT_NTSCM_COMB_CNTL2_SVIDEO 0xFFFFFFFF |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1357 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1358 #define RT_PAL_COMB_CNTL2_COMPOSITE 0x06080102 /* instead of 0x16161010 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1359 #define RT_PAL_COMB_CNTL2_SVIDEO 0x06080102 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1360 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1361 #define RT_SECAM_COMB_CNTL2_COMPOSITE 0xffffffff /* instead of 0x06080102 - eric */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1362 #define RT_SECAM_COMB_CNTL2_SVIDEO 0x06080102 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1363 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1364 #define RT_PALN_COMB_CNTL2_COMPOSITE 0x06080102 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1365 #define RT_PALN_COMB_CNTL2_SVIDEO 0x06080102 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1366 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1367 #define RT_PALM_COMB_CNTL2_COMPOSITE 0x06080102 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1368 #define RT_PALM_COMB_CNTL2_SVIDEO 0x06080102 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1369 /* End of filter settings. */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1370 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1371 /* COMB_LINE_LENGTH FILTER SETTINGS FOR DIFFERENT STANDARDS: */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1372 #define RT_NTSCM_COMB_LENGTH_COMPOSITE 0x0718038A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1373 #define RT_NTSCM_COMB_LENGTH_SVIDEO 0x0718038A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1374 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1375 #define RT_PAL_COMB_LENGTH_COMPOSITE 0x08DA046B |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1376 #define RT_PAL_COMB_LENGTH_SVIDEO 0x08DA046B |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1377 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1378 #define RT_SECAM_COMB_LENGTH_COMPOSITE 0x08DA046A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1379 #define RT_SECAM_COMB_LENGTH_SVIDEO 0x08DA046A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1380 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1381 #define RT_PALN_COMB_LENGTH_COMPOSITE 0x07260391 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1382 #define RT_PALN_COMB_LENGTH_SVIDEO 0x07260391 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1383 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1384 #define RT_PALM_COMB_LENGTH_COMPOSITE 0x07160389 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1385 #define RT_PALM_COMB_LENGTH_SVIDEO 0x07160389 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1386 /* End of filter settings. */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1387 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1388 /* LP_AGC_CLAMP_CNTL0 */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1389 #define RT_NTSCM_SYNCTIP_REF0 0x00000037 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1390 #define RT_NTSCM_SYNCTIP_REF1 0x00000029 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1391 #define RT_NTSCM_CLAMP_REF 0x0000003B |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1392 #define RT_NTSCM_PEAKWHITE 0x000000FF |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1393 #define RT_NTSCM_VBI_PEAKWHITE 0x000000C2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1394 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1395 #define RT_NTSCM_WPA_THRESHOLD 0x00000406 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1396 #define RT_NTSCM_WPA_TRIGGER_LO 0x000000B3 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1397 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1398 #define RT_NTSCM_WPA_TRIGGER_HIGH 0x0000021B |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1399 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1400 #define RT_NTSCM_LP_LOCKOUT_START 0x00000206 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1401 #define RT_NTSCM_LP_LOCKOUT_END 0x00000021 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1402 #define RT_NTSCM_CH_DTO_INC 0x00400000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1403 #define RT_NTSCM_CH_PLL_SGAIN 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1404 #define RT_NTSCM_CH_PLL_FGAIN 0x00000002 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1405 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1406 #define RT_NTSCM_CR_BURST_GAIN 0x0000007A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1407 #define RT_NTSCM_CB_BURST_GAIN 0x000000AC |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1408 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1409 #define RT_NTSCM_CH_HEIGHT 0x000000CD |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1410 #define RT_NTSCM_CH_KILL_LEVEL 0x000000C0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1411 #define RT_NTSCM_CH_AGC_ERROR_LIM 0x00000002 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1412 #define RT_NTSCM_CH_AGC_FILTER_EN 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1413 #define RT_NTSCM_CH_AGC_LOOP_SPEED 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1414 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1415 #define RT_NTSCM_CRDR_ACTIVE_GAIN 0x0000007A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1416 #define RT_NTSCM_CBDB_ACTIVE_GAIN 0x000000AC |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1417 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1418 #define RT_NTSCM_VERT_LOCKOUT_START 0x00000207 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1419 #define RT_NTSCM_VERT_LOCKOUT_END 0x0000000E |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1420 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1421 #define RT_NTSCJ_SYNCTIP_REF0 0x00000004 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1422 #define RT_NTSCJ_SYNCTIP_REF1 0x00000012 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1423 #define RT_NTSCJ_CLAMP_REF 0x0000003B |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1424 #define RT_NTSCJ_PEAKWHITE 0x000000CB |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1425 #define RT_NTSCJ_VBI_PEAKWHITE 0x000000C2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1426 #define RT_NTSCJ_WPA_THRESHOLD 0x000004B0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1427 #define RT_NTSCJ_WPA_TRIGGER_LO 0x000000B4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1428 #define RT_NTSCJ_WPA_TRIGGER_HIGH 0x0000021C |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1429 #define RT_NTSCJ_LP_LOCKOUT_START 0x00000206 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1430 #define RT_NTSCJ_LP_LOCKOUT_END 0x00000021 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1431 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1432 #define RT_NTSCJ_CR_BURST_GAIN 0x00000071 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1433 #define RT_NTSCJ_CB_BURST_GAIN 0x0000009F |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1434 #define RT_NTSCJ_CH_HEIGHT 0x000000CD |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1435 #define RT_NTSCJ_CH_KILL_LEVEL 0x000000C0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1436 #define RT_NTSCJ_CH_AGC_ERROR_LIM 0x00000002 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1437 #define RT_NTSCJ_CH_AGC_FILTER_EN 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1438 #define RT_NTSCJ_CH_AGC_LOOP_SPEED 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1439 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1440 #define RT_NTSCJ_CRDR_ACTIVE_GAIN 0x00000071 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1441 #define RT_NTSCJ_CBDB_ACTIVE_GAIN 0x0000009F |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1442 #define RT_NTSCJ_VERT_LOCKOUT_START 0x00000207 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1443 #define RT_NTSCJ_VERT_LOCKOUT_END 0x0000000E |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1444 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1445 #define RT_PAL_SYNCTIP_REF0 0x37 /* instead of 0x00000004 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1446 #define RT_PAL_SYNCTIP_REF1 0x26 /* instead of 0x0000000F - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1447 #define RT_PAL_CLAMP_REF 0x0000003B |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1448 #define RT_PAL_PEAKWHITE 0xFF /* instead of 0x000000C1 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1449 #define RT_PAL_VBI_PEAKWHITE 0xC6 /* instead of 0x000000C7 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1450 #define RT_PAL_WPA_THRESHOLD 0x59C /* instead of 0x000006A4 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1451 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1452 #define RT_PAL_WPA_TRIGGER_LO 0x00000096 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1453 #define RT_PAL_WPA_TRIGGER_HIGH 0x000001C2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1454 #define RT_PAL_LP_LOCKOUT_START 0x00000263 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1455 #define RT_PAL_LP_LOCKOUT_END 0x0000002C |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1456 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1457 #define RT_PAL_CH_DTO_INC 0x00400000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1458 #define RT_PAL_CH_PLL_SGAIN 1 /* instead of 0x00000002 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1459 #define RT_PAL_CH_PLL_FGAIN 2 /* instead of 0x00000001 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1460 #define RT_PAL_CR_BURST_GAIN 0x0000007A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1461 #define RT_PAL_CB_BURST_GAIN 0x000000AB |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1462 #define RT_PAL_CH_HEIGHT 0x0000009C |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1463 #define RT_PAL_CH_KILL_LEVEL 4 /* instead of 0x00000090 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1464 #define RT_PAL_CH_AGC_ERROR_LIM 1 /* instead of 0x00000002 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1465 #define RT_PAL_CH_AGC_FILTER_EN 1 /* instead of 0x00000000 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1466 #define RT_PAL_CH_AGC_LOOP_SPEED 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1467 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1468 #define RT_PAL_CRDR_ACTIVE_GAIN 0x9E /* instead of 0x0000007A - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1469 #define RT_PAL_CBDB_ACTIVE_GAIN 0xDF /* instead of 0x000000AB - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1470 #define RT_PAL_VERT_LOCKOUT_START 0x00000269 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1471 #define RT_PAL_VERT_LOCKOUT_END 0x00000012 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1472 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1473 #define RT_SECAM_SYNCTIP_REF0 0x37 /* instead of 0x00000004 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1474 #define RT_SECAM_SYNCTIP_REF1 0x26 /* instead of 0x0000000F - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1475 #define RT_SECAM_CLAMP_REF 0x0000003B |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1476 #define RT_SECAM_PEAKWHITE 0xFF /* instead of 0x000000C1 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1477 #define RT_SECAM_VBI_PEAKWHITE 0xC6 /* instead of 0x000000C7 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1478 #define RT_SECAM_WPA_THRESHOLD 0x57A /* instead of 0x6A4, instead of 0x0000059C is Ivo's value , -eric*/ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1479 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1480 #define RT_SECAM_WPA_TRIGGER_LO 0x96 /* instead of 0x0000026B - eric */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1481 #define RT_SECAM_WPA_TRIGGER_HIGH 0x000001C2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1482 #define RT_SECAM_LP_LOCKOUT_START 0x263 /* instead of 0x0000026B - eric */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1483 #define RT_SECAM_LP_LOCKOUT_END 0x2b /* instead of 0x0000002C -eric */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1484 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1485 #define RT_SECAM_CH_DTO_INC 0x003E7A28 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1486 #define RT_SECAM_CH_PLL_SGAIN 0x4 /* instead of 0x00000006 - Volodya */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1487 #define RT_SECAM_CH_PLL_FGAIN 0x7 /* instead of 0x00000006 -Volodya */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1488 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1489 #define RT_SECAM_CR_BURST_GAIN 0x1FF /* instead of 0x00000200 -Volodya */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1490 #define RT_SECAM_CB_BURST_GAIN 0x1FF /* instead of 0x00000200 -Volodya */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1491 #define RT_SECAM_CH_HEIGHT 0x00000066 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1492 #define RT_SECAM_CH_KILL_LEVEL 0x00000060 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1493 #define RT_SECAM_CH_AGC_ERROR_LIM 0x00000003 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1494 #define RT_SECAM_CH_AGC_FILTER_EN 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1495 #define RT_SECAM_CH_AGC_LOOP_SPEED 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1496 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1497 #define RT_SECAM_CRDR_ACTIVE_GAIN 0x11B /* instead of 0x00000200 - eric */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1498 #define RT_SECAM_CBDB_ACTIVE_GAIN 0x15A /* instead of 0x00000200 - eric */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1499 #define RT_SECAM_VERT_LOCKOUT_START 0x00000269 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1500 #define RT_SECAM_VERT_LOCKOUT_END 0x00000012 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1501 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1502 #define RT_PAL_VS_FIELD_BLANK_END 0x2A /* instead of 0x0000002C - Ivo*/ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1503 #define RT_NTSCM_VS_FIELD_BLANK_END 0x0000000A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1504 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1505 #define RT_NTSCM_FIELD_IDLOCATION 0x00000105 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1506 #define RT_PAL_FIELD_IDLOCATION 0x00000137 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1507 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1508 #define RT_NTSCM_H_ACTIVE_START 0x00000070 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1509 #define RT_NTSCM_H_ACTIVE_END 0x00000363 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1510 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1511 #define RT_PAL_H_ACTIVE_START 0x0000009A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1512 #define RT_PAL_H_ACTIVE_END 0x00000439 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1513 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1514 #define RT_NTSCM_V_ACTIVE_START ((22-4)*2+1) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1515 #define RT_NTSCM_V_ACTIVE_END ((22+240-4)*2+1) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1516 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1517 #define RT_PAL_V_ACTIVE_START 0x2E /* instead of 0x00000023 (Same as SECAM) - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1518 #define RT_PAL_V_ACTIVE_END 0x269 /* instead of 0x00000262 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1519 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1520 /* VBI */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1521 #define RT_NTSCM_H_VBI_WIND_START 0x00000049 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1522 #define RT_NTSCM_H_VBI_WIND_END 0x00000366 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1523 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1524 #define RT_PAL_H_VBI_WIND_START 0x00000084 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1525 #define RT_PAL_H_VBI_WIND_END 0x0000041F |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1526 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1527 #define RT_NTSCM_V_VBI_WIND_START fld_V_VBI_WIND_START_def |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1528 #define RT_NTSCM_V_VBI_WIND_END fld_V_VBI_WIND_END_def |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1529 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1530 #define RT_PAL_V_VBI_WIND_START 0x8 /* instead of 0x0000000B - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1531 #define RT_PAL_V_VBI_WIND_END 0x2D /* instead of 0x00000022 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1532 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1533 #define RT_VBI_CAPTURE_EN 0x00000001 /* Enable */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1534 #define RT_VBI_CAPTURE_DIS 0x00000000 /* Disable */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1535 #define RT_RAW_CAPTURE 0x00000002 /* Use raw Video Capture. */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1536 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1537 #define RT_NTSCM_VSYNC_INT_TRIGGER 0x2AA |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1538 #define RT_PALSEM_VSYNC_INT_TRIGGER 0x353 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1539 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1540 #define RT_NTSCM_VSYNC_INT_HOLD 0x17 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1541 #define RT_PALSEM_VSYNC_INT_HOLD 0x1C |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1542 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1543 #define RT_NTSCM_VS_FIELD_BLANK_START 0x206 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1544 #define RT_PALSEM_VS_FIELD_BLANK_START 0x26D /* instead of 0x26C - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1545 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1546 #define RT_FIELD_FLIP_EN 0x4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1547 #define RT_V_FIELD_FLIP_INVERTED 0x2000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1548 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1549 #define RT_NTSCM_H_IN_START 0x70 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1550 #define RT_PAL_H_IN_START 154 /* instead of 144 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1551 #define RT_SECAM_H_IN_START 0x91 /* instead of 0x9A, Ivo value is 154, instead of 144 - Volodya, - eric */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1552 #define RT_NTSC_H_ACTIVE_SIZE 744 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1553 #define RT_PAL_H_ACTIVE_SIZE 928 /* instead of 927 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1554 #define RT_SECAM_H_ACTIVE_SIZE 932 /* instead of 928, instead of 927 - Ivo, - eric */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1555 #define RT_NTSCM_V_IN_START (0x23) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1556 #define RT_PAL_V_IN_START 44 /* instead of (45-6) - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1557 #define RT_SECAM_V_IN_START 0x2C /* instead of (45-6) - Volodya */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1558 #define RT_NTSCM_V_ACTIVE_SIZE 480 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1559 #define RT_PAL_V_ACTIVE_SIZE 572 /* instead of 575 - Ivo */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1560 #define RT_SECAM_V_ACTIVE_SIZE 570 /* instead of 572, instead of 575 - Ivo, - eric */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1561 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1562 #define RT_NTSCM_WIN_CLOSE_LIMIT 0x4D |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1563 #define RT_NTSCJ_WIN_CLOSE_LIMIT 0x4D |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1564 #define RT_NTSC443_WIN_CLOSE_LIMIT 0x5F |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1565 #define RT_PALM_WIN_CLOSE_LIMIT 0x4D |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1566 #define RT_PALN_WIN_CLOSE_LIMIT 0x5F |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1567 #define RT_SECAM_WIN_CLOSE_LIMIT 0xC7 /* instead of 0x5F - eric */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1568 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1569 #define RT_NTSCM_VS_FIELD_BLANK_START 0x206 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1570 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1571 #define RT_NTSCM_HS_PLL_SGAIN 0x5 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1572 #define RT_NTSCM_HS_PLL_FGAIN 0x7 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1573 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1574 #define RT_NTSCM_H_OUT_WIND_WIDTH 0x2F4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1575 #define RT_NTSCM_V_OUT_WIND_HEIGHT 0xF0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1576 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1577 #define TV 0x1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1578 #define LINEIN 0x2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1579 #define MUTE 0x3 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1580 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1581 #define DEC_COMPOSITE 0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1582 #define DEC_SVIDEO 1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1583 #define DEC_TUNER 2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1584 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1585 #define DEC_NTSC 0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1586 #define DEC_PAL 1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1587 #define DEC_SECAM 2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1588 #define DEC_NTSC_J 8 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1589 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1590 #define DEC_SMOOTH 0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1591 #define DEC_SHARP 1 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1592 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1593 /* RT Register Field Defaults: */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1594 #define fld_tmpReg1_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1595 #define fld_tmpReg2_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1596 #define fld_tmpReg3_def 0x00000002 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1597 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1598 #define fld_LP_CONTRAST_def 0x0000006e |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1599 #define fld_LP_BRIGHTNESS_def 0x00003ff0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1600 #define fld_CP_HUE_CNTL_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1601 #define fld_LUMA_FILTER_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1602 #define fld_H_SCALE_RATIO_def 0x00010000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1603 #define fld_H_SHARPNESS_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1604 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1605 #define fld_V_SCALE_RATIO_def 0x00000800 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1606 #define fld_V_DEINTERLACE_ON_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1607 #define fld_V_BYPSS_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1608 #define fld_V_DITHER_ON_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1609 #define fld_EVENF_OFFSET_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1610 #define fld_ODDF_OFFSET_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1611 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1612 #define fld_INTERLACE_DETECTED_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1613 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1614 #define fld_VS_LINE_COUNT_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1615 #define fld_VS_DETECTED_LINES_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1616 #define fld_VS_ITU656_VB_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1617 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1618 #define fld_VBI_CC_DATA_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1619 #define fld_VBI_CC_WT_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1620 #define fld_VBI_CC_WT_ACK_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1621 #define fld_VBI_CC_HOLD_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1622 #define fld_VBI_DECODE_EN_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1623 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1624 #define fld_VBI_CC_DTO_P_def 0x00001802 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1625 #define fld_VBI_20BIT_DTO_P_def 0x0000155c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1626 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1627 #define fld_VBI_CC_LEVEL_def 0x0000003f |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1628 #define fld_VBI_20BIT_LEVEL_def 0x00000059 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1629 #define fld_VBI_CLK_RUNIN_GAIN_def 0x0000010f |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1630 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1631 #define fld_H_VBI_WIND_START_def 0x00000041 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1632 #define fld_H_VBI_WIND_END_def 0x00000366 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1633 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1634 #define fld_V_VBI_WIND_START_def 0x0D |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1635 #define fld_V_VBI_WIND_END_def 0x24 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1636 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1637 #define fld_VBI_20BIT_DATA0_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1638 #define fld_VBI_20BIT_DATA1_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1639 #define fld_VBI_20BIT_WT_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1640 #define fld_VBI_20BIT_WT_ACK_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1641 #define fld_VBI_20BIT_HOLD_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1642 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1643 #define fld_VBI_CAPTURE_ENABLE_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1644 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1645 #define fld_VBI_EDS_DATA_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1646 #define fld_VBI_EDS_WT_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1647 #define fld_VBI_EDS_WT_ACK_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1648 #define fld_VBI_EDS_HOLD_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1649 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1650 #define fld_VBI_SCALING_RATIO_def 0x00010000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1651 #define fld_VBI_ALIGNER_ENABLE_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1652 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1653 #define fld_H_ACTIVE_START_def 0x00000070 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1654 #define fld_H_ACTIVE_END_def 0x000002f0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1655 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1656 #define fld_V_ACTIVE_START_def ((22-4)*2+1) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1657 #define fld_V_ACTIVE_END_def ((22+240-4)*2+2) |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1658 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1659 #define fld_CH_HEIGHT_def 0x000000CD |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1660 #define fld_CH_KILL_LEVEL_def 0x000000C0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1661 #define fld_CH_AGC_ERROR_LIM_def 0x00000002 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1662 #define fld_CH_AGC_FILTER_EN_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1663 #define fld_CH_AGC_LOOP_SPEED_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1664 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1665 #define fld_HUE_ADJ_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1666 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1667 #define fld_STANDARD_SEL_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1668 #define fld_STANDARD_YC_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1669 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1670 #define fld_ADC_PDWN_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1671 #define fld_INPUT_SELECT_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1672 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1673 #define fld_ADC_PREFLO_def 0x00000003 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1674 #define fld_H_SYNC_PULSE_WIDTH_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1675 #define fld_HS_GENLOCKED_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1676 #define fld_HS_SYNC_IN_WIN_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1677 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1678 #define fld_VIN_ASYNC_RST_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1679 #define fld_DVS_ASYNC_RST_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1680 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1681 /* Vendor IDs: */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1682 #define fld_VIP_VENDOR_ID_def 0x00001002 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1683 #define fld_VIP_DEVICE_ID_def 0x00004d54 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1684 #define fld_VIP_REVISION_ID_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1685 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1686 /* AGC Delay Register */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1687 #define fld_BLACK_INT_START_def 0x00000031 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1688 #define fld_BLACK_INT_LENGTH_def 0x0000000f |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1689 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1690 #define fld_UV_INT_START_def 0x0000003b |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1691 #define fld_U_INT_LENGTH_def 0x0000000f |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1692 #define fld_V_INT_LENGTH_def 0x0000000f |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1693 #define fld_CRDR_ACTIVE_GAIN_def 0x0000007a |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1694 #define fld_CBDB_ACTIVE_GAIN_def 0x000000ac |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1695 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1696 #define fld_DVS_DIRECTION_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1697 #define fld_DVS_VBI_CARD8_SWAP_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1698 #define fld_DVS_CLK_SELECT_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1699 #define fld_CONTINUOUS_STREAM_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1700 #define fld_DVSOUT_CLK_DRV_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1701 #define fld_DVSOUT_DATA_DRV_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1702 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1703 #define fld_COMB_CNTL0_def 0x09438090 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1704 #define fld_COMB_CNTL1_def 0x00000010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1705 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1706 #define fld_COMB_CNTL2_def 0x16161010 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1707 #define fld_COMB_LENGTH_def 0x0718038A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1708 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1709 #define fld_SYNCTIP_REF0_def 0x00000037 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1710 #define fld_SYNCTIP_REF1_def 0x00000029 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1711 #define fld_CLAMP_REF_def 0x0000003B |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1712 #define fld_AGC_PEAKWHITE_def 0x000000FF |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1713 #define fld_VBI_PEAKWHITE_def 0x000000D2 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1714 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1715 #define fld_WPA_THRESHOLD_def 0x000003B0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1716 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1717 #define fld_WPA_TRIGGER_LO_def 0x000000B4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1718 #define fld_WPA_TRIGGER_HIGH_def 0x0000021C |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1719 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1720 #define fld_LOCKOUT_START_def 0x00000206 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1721 #define fld_LOCKOUT_END_def 0x00000021 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1722 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1723 #define fld_CH_DTO_INC_def 0x00400000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1724 #define fld_PLL_SGAIN_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1725 #define fld_PLL_FGAIN_def 0x00000002 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1726 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1727 #define fld_CR_BURST_GAIN_def 0x0000007a |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1728 #define fld_CB_BURST_GAIN_def 0x000000ac |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1729 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1730 #define fld_VERT_LOCKOUT_START_def 0x00000207 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1731 #define fld_VERT_LOCKOUT_END_def 0x0000000E |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1732 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1733 #define fld_H_IN_WIND_START_def 0x00000070 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1734 #define fld_V_IN_WIND_START_def 0x00000027 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1735 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1736 #define fld_H_OUT_WIND_WIDTH_def 0x000002f4 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1737 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1738 #define fld_V_OUT_WIND_WIDTH_def 0x000000f0 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1739 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1740 #define fld_HS_LINE_TOTAL_def 0x0000038E |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1741 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1742 #define fld_MIN_PULSE_WIDTH_def 0x0000002F |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1743 #define fld_MAX_PULSE_WIDTH_def 0x00000046 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1744 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1745 #define fld_WIN_CLOSE_LIMIT_def 0x0000004D |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1746 #define fld_WIN_OPEN_LIMIT_def 0x000001B7 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1747 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1748 #define fld_VSYNC_INT_TRIGGER_def 0x000002AA |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1749 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1750 #define fld_VSYNC_INT_HOLD_def 0x0000001D |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1751 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1752 #define fld_VIN_M0_def 0x00000039 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1753 #define fld_VIN_N0_def 0x0000014c |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1754 #define fld_MNFLIP_EN_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1755 #define fld_VIN_P_def 0x00000006 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1756 #define fld_REG_CLK_SEL_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1757 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1758 #define fld_VIN_M1_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1759 #define fld_VIN_N1_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1760 #define fld_VIN_DRIVER_SEL_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1761 #define fld_VIN_MNFLIP_REQ_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1762 #define fld_VIN_MNFLIP_DONE_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1763 #define fld_TV_LOCK_TO_VIN_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1764 #define fld_TV_P_FOR_WINCLK_def 0x00000004 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1765 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1766 #define fld_VINRST_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1767 #define fld_VIN_CLK_SEL_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1768 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1769 #define fld_VS_FIELD_BLANK_START_def 0x00000206 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1770 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1771 #define fld_VS_FIELD_BLANK_END_def 0x0000000A |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1772 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1773 /*#define fld_VS_FIELD_IDLOCATION_def 0x00000105 */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1774 #define fld_VS_FIELD_IDLOCATION_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1775 #define fld_VS_FRAME_TOTAL_def 0x00000217 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1776 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1777 #define fld_SYNC_TIP_START_def 0x00000372 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1778 #define fld_SYNC_TIP_LENGTH_def 0x0000000F |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1779 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1780 #define fld_GAIN_FORCE_DATA_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1781 #define fld_GAIN_FORCE_EN_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1782 #define fld_I_CLAMP_SEL_def 0x00000003 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1783 #define fld_I_AGC_SEL_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1784 #define fld_EXT_CLAMP_CAP_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1785 #define fld_EXT_AGC_CAP_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1786 #define fld_DECI_DITHER_EN_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1787 #define fld_ADC_PREFHI_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1788 #define fld_ADC_CH_GAIN_SEL_def 0x00000001 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1789 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1790 #define fld_HS_PLL_SGAIN_def 0x00000003 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1791 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1792 #define fld_NREn_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1793 #define fld_NRGainCntl_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1794 #define fld_NRBWTresh_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1795 #define fld_NRGCTresh_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1796 #define fld_NRCoefDespeclMode_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1797 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1798 #define fld_GPIO_5_OE_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1799 #define fld_GPIO_6_OE_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1800 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1801 #define fld_GPIO_5_OUT_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1802 #define fld_GPIO_6_OUT_def 0x00000000 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1803 |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1804 /* End of field default values. */ |
25461be8d234
i2c and rage-theatre registers and their bit-constants
nick
parents:
1967
diff
changeset
|
1805 |
1911 | 1806 #endif /* _RADEON_H */ |
1807 |