annotate vidix/radeon.h @ 29691:183ea012e25b

Change grow_array argument from void ** to void *, this avoids a aliasing violation (thus making gcc 4.4.x compile the code correctly) and allows to get rid of some casts at the expense of making the code less clear.
author reimar
date Wed, 30 Sep 2009 07:27:43 +0000
parents 3abd1629658b
children 34cc66ab8df4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1 /*
23046
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
2 * VIDIX driver for ATI Rage128 and Radeon chipsets.
26718
051b2632f121 consistency cosmetics: Move some parts of file headers around; typo fixes.
diego
parents: 26030
diff changeset
3 *
051b2632f121 consistency cosmetics: Move some parts of file headers around; typo fixes.
diego
parents: 26030
diff changeset
4 * This file is based on radeonfb, X11, GATOS sources
051b2632f121 consistency cosmetics: Move some parts of file headers around; typo fixes.
diego
parents: 26030
diff changeset
5 * and partly compatible with Rage128 set (in OV0, CAP0, CAP1 parts)
051b2632f121 consistency cosmetics: Move some parts of file headers around; typo fixes.
diego
parents: 26030
diff changeset
6 *
23046
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
7 * Copyright (C) 2002 Nick Kurshev
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
8 *
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
9 * This file is part of MPlayer.
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
10 *
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
11 * MPlayer is free software; you can redistribute it and/or modify
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
12 * it under the terms of the GNU General Public License as published by
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
13 * the Free Software Foundation; either version 2 of the License, or
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
14 * (at your option) any later version.
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
15 *
23046
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
16 * MPlayer is distributed in the hope that it will be useful,
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
19 * GNU General Public License for more details.
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
20 *
26719
3abd1629658b Use standard license headers.
diego
parents: 26718
diff changeset
21 * You should have received a copy of the GNU General Public License along
3abd1629658b Use standard license headers.
diego
parents: 26718
diff changeset
22 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
3abd1629658b Use standard license headers.
diego
parents: 26718
diff changeset
23 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23046
82216ef041e0 updated vidix files headers whenever it's possible to have a clear GPL statement
ben
parents: 23044
diff changeset
24 */
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
25
26030
a93e46adb54c Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23934
diff changeset
26 #ifndef MPLAYER_RADEON_H
a93e46adb54c Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23934
diff changeset
27 #define MPLAYER_RADEON_H
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
29 #define RADEON_REGSIZE 0x4000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
30 #define MM_INDEX 0x0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
31 /* MM_INDEX bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
32 # define MM_APER 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
33 #define MM_DATA 0x0004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
34 #define BUS_CNTL 0x0030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
35 /* BUS_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
36 # define BUS_DBL_RESYNC 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
37 # define BUS_MSTR_RESET 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
38 # define BUS_FLUSH_BUF 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
39 # define BUS_STOP_REQ_DIS 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
40 # define BUS_ROTATION_DIS 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
41 # define BUS_MASTER_DIS 0x00000040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
42 # define BUS_ROM_WRT_EN 0x00000080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
43 # define BUS_DIS_ROM 0x00001000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
44 # define BUS_PCI_READ_RETRY_EN 0x00002000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
45 # define BUS_AGP_AD_STEPPING_EN 0x00004000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
46 # define BUS_PCI_WRT_RETRY_EN 0x00008000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
47 # define BUS_MSTR_RD_MULT 0x00100000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
48 # define BUS_MSTR_RD_LINE 0x00200000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
49 # define BUS_SUSPEND 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
50 # define LAT_16X 0x00800000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
51 # define BUS_RD_DISCARD_EN 0x01000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
52 # define BUS_RD_ABORT_EN 0x02000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
53 # define BUS_MSTR_WS 0x04000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
54 # define BUS_PARKING_DIS 0x08000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
55 # define BUS_MSTR_DISCONNECT_EN 0x10000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
56 # define BUS_WRT_BURST 0x20000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
57 # define BUS_READ_BURST 0x40000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
58 # define BUS_RDY_READ_DLY 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
59 #define HI_STAT 0x004C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
60 #define BUS_CNTL1 0x0034
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
61 # define BUS_WAIT_ON_LOCK_EN (1 << 4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
62 #define I2C_CNTL_0 0x0090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
63 # define I2C_DONE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
64 # define I2C_NACK (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
65 # define I2C_HALT (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
66 # define I2C_SOFT_RST (1<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
67 # define I2C_DRIVE_EN (1<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
68 # define I2C_DRIVE_SEL (1<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
69 # define I2C_START (1<<8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
70 # define I2C_STOP (1<<9)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
71 # define I2C_RECEIVE (1<<10)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
72 # define I2C_ABORT (1<<11)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
73 # define I2C_GO (1<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
74 # define I2C_SEL (1<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
75 # define I2C_EN (1<<17)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
76 #define I2C_CNTL_1 0x0094
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
77 #define I2C_DATA 0x0098
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
78 #define CONFIG_CNTL 0x00E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
79 /* CONFIG_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
80 # define CFG_VGA_RAM_EN 0x00000100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
81 #ifdef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
82 #define GEN_RESET_CNTL 0x00f0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
83 # define SOFT_RESET_GUI 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
84 # define SOFT_RESET_VCLK 0x00000100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
85 # define SOFT_RESET_PCLK 0x00000200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
86 # define SOFT_RESET_ECP 0x00000400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
87 # define SOFT_RESET_DISPENG_XCLK 0x00000800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
88 # define SOFT_RESET_MEMCTLR_XCLK 0x00001000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
89 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
90 #define CONFIG_MEMSIZE 0x00F8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
91 #define CONFIG_APER_0_BASE 0x0100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
92 #define CONFIG_APER_1_BASE 0x0104
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
93 #define CONFIG_APER_SIZE 0x0108
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
94 #define CONFIG_REG_1_BASE 0x010C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
95 #define CONFIG_REG_APER_SIZE 0x0110
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
96 #define PAD_AGPINPUT_DELAY 0x0164
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
97 #define PAD_CTLR_STRENGTH 0x0168
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
98 #define PAD_CTLR_UPDATE 0x016C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
99 #define AGP_CNTL 0x0174
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
100 # define AGP_APER_SIZE_256MB (0x00 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
101 # define AGP_APER_SIZE_128MB (0x20 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
102 # define AGP_APER_SIZE_64MB (0x30 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
103 # define AGP_APER_SIZE_32MB (0x38 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
104 # define AGP_APER_SIZE_16MB (0x3c << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
105 # define AGP_APER_SIZE_8MB (0x3e << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
106 # define AGP_APER_SIZE_4MB (0x3f << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
107 # define AGP_APER_SIZE_MASK (0x3f << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
108 #define AMCGPIO_A_REG 0x01a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
109 #define AMCGPIO_EN_REG 0x01a8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
110 #define AMCGPIO_MASK 0x0194
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
111 #define AMCGPIO_Y_REG 0x01a4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
112 /*#define BM_STATUS 0x0160*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
113 #define MPP_TB_CONFIG 0x01c0 /* ? */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
114 #define MPP_GP_CONFIG 0x01c8 /* ? */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
115 #define VENDOR_ID 0x0F00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
116 #define DEVICE_ID 0x0F02
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
117 #define COMMAND 0x0F04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
118 #define STATUS 0x0F06
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
119 #define REVISION_ID 0x0F08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
120 #define REGPROG_INF 0x0F09
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
121 #define SUB_CLASS 0x0F0A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
122 #define CACHE_LINE 0x0F0C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
123 #define LATENCY 0x0F0D
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
124 #define HEADER 0x0F0E
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
125 #define BIST 0x0F0F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
126 #define REG_MEM_BASE 0x0F10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
127 #define REG_IO_BASE 0x0F14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
128 #define REG_REG_BASE 0x0F18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
129 #define ADAPTER_ID 0x0F2C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
130 #define BIOS_ROM 0x0F30
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
131 #define CAPABILITIES_PTR 0x0F34
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
132 #define INTERRUPT_LINE 0x0F3C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
133 #define INTERRUPT_PIN 0x0F3D
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
134 #define MIN_GRANT 0x0F3E
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
135 #define MAX_LATENCY 0x0F3F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
136 #define ADAPTER_ID_W 0x0F4C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
137 #define PMI_CAP_ID 0x0F50
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
138 #define PMI_NXT_CAP_PTR 0x0F51
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
139 #define PMI_PMC_REG 0x0F52
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
140 #define PM_STATUS 0x0F54
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
141 #define PMI_DATA 0x0F57
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
142 #define AGP_CAP_ID 0x0F58
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
143 #define AGP_STATUS 0x0F5C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
144 # define AGP_1X_MODE 0x01
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
145 # define AGP_2X_MODE 0x02
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
146 # define AGP_4X_MODE 0x04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
147 # define AGP_MODE_MASK 0x07
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
148 #define AGP_COMMAND 0x0F60
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
149
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
150 /* Video muxer unit */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
151 #define VIDEOMUX_CNTL 0x0190
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
152 #define VIPPAD_MASK 0x0198
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
153 #define VIPPAD1_A 0x01AC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
154 #define VIPPAD1_EN 0x01B0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
155 #define VIPPAD1_Y 0x01B4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
156
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
157 #define AIC_CTRL 0x01D0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
158 #define AIC_STAT 0x01D4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
159 #define AIC_PT_BASE 0x01D8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
160 #define AIC_LO_ADDR 0x01DC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
161 #define AIC_HI_ADDR 0x01E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
162 #define AIC_TLB_ADDR 0x01E4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
163 #define AIC_TLB_DATA 0x01E8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
164 #define DAC_CNTL 0x0058
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
165 /* DAC_CNTL bit constants */
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
166 # define DAC_RANGE_CNTL_MSK 0x00000003
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
167 # define DAC_RANGE_PAL 0x00000000
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
168 # define DAC_RANGE_NTSC 0x00000001
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
169 # define DAC_RANGE_PS2 0x00000002
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
170 # define DAC_BLANKING 0x00000004
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
171 # define DAC_CMP_EN 0x00000008
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
172 # define DAC_CMP_OUTPUT 0x00000080
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
173 # define DAC_8BIT_EN 0x00000100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
174 # define DAC_4BPP_PIX_ORDER 0x00000200
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
175 # define DAC_TVO_EN 0x00000400
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
176 # define DAC_TVO_OVR_EXCL 0x00000800
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
177 # define DAC_TVO_16BPP_DITH_EN 0x00001000
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
178 # define DAC_VGA_ADR_EN (1 << 13)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
179 # define DAC_PWDN (1 << 15)
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
180 # define DAC_CRC_EN 0x00080000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
181 # define DAC_MASK_ALL (0xff << 24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
182 # define DAC_RANGE_CNTL (3 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
183 #define DAC_CNTL2 0x007c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
184 /* DAC_CNTL2 bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
185 # define DAC2_DAC_CLK_SEL (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
186 # define DAC2_DAC2_CLK_SEL (1 << 1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
187 # define DAC2_PALETTE_ACC_CTL (1 << 5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
188 #define TV_DAC_CNTL 0x088c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
189 /* TV_DAC_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
190 # define TV_DAC_STD_MASK 0x0300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
191 # define TV_DAC_RDACPD (1 << 24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
192 # define TV_DAC_GDACPD (1 << 25)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
193 # define TV_DAC_BDACPD (1 << 26)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
194 #define CRTC_GEN_CNTL 0x0050
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
195 /* CRTC_GEN_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
196 # define CRTC_DBL_SCAN_EN 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
197 # define CRTC_INTERLACE_EN (1 << 1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
198 # define CRTC_CSYNC_EN (1 << 4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
199 # define CRTC_CUR_EN 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
200 # define CRTC_CUR_MODE_MASK (7 << 17)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
201 # define CRTC_ICON_EN (1 << 20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
202 # define CRTC_EXT_DISP_EN (1 << 24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
203 # define CRTC_EN (1 << 25)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
204 # define CRTC_DISP_REQ_EN_B (1 << 26)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
205 #define CRTC2_GEN_CNTL 0x03f8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
206 /* CRTC2_GEN_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
207 # define CRTC2_DBL_SCAN_EN (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
208 # define CRTC2_INTERLACE_EN (1 << 1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
209 # define CRTC2_SYNC_TRISTAT (1 << 4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
210 # define CRTC2_HSYNC_TRISTAT (1 << 5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
211 # define CRTC2_VSYNC_TRISTAT (1 << 6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
212 # define CRTC2_CRT2_ON (1 << 7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
213 # define CRTC2_ICON_EN (1 << 15)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
214 # define CRTC2_CUR_EN (1 << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
215 # define CRTC2_CUR_MODE_MASK (7 << 20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
216 # define CRTC2_DISP_DIS (1 << 23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
217 # define CRTC2_EN (1 << 25)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
218 # define CRTC2_DISP_REQ_EN_B (1 << 26)
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
219 # define CRTC2_CSYNC_EN (1 << 27)
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
220 # define CRTC2_HSYNC_DIS (1 << 28)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
221 # define CRTC2_VSYNC_DIS (1 << 29)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
222 #define MEM_CNTL 0x0140
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
223 /* MEM_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
224 # define MEM_CTLR_STATUS_IDLE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
225 # define MEM_CTLR_STATUS_BUSY 0x00100000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
226 # define MEM_SEQNCR_STATUS_IDLE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
227 # define MEM_SEQNCR_STATUS_BUSY 0x00200000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
228 # define MEM_ARBITER_STATUS_IDLE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
229 # define MEM_ARBITER_STATUS_BUSY 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
230 # define MEM_REQ_UNLOCK 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
231 # define MEM_REQ_LOCK 0x00800000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
232 #define EXT_MEM_CNTL 0x0144
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
233 #define MC_AGP_LOCATION 0x014C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
234 #define MEM_IO_CNTL_A0 0x0178
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
235 #define MEM_INIT_LATENCY_TIMER 0x0154
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
236 #define MEM_SDRAM_MODE_REG 0x0158
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
237 #define AGP_BASE 0x0170
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
238 #ifdef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
239 #define PCI_GART_PAGE 0x017c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
240 #define PC_NGUI_MODE 0x0180
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
241 #define PC_NGUI_CTLSTAT 0x0184
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
242 # define PC_FLUSH_GUI (3 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
243 # define PC_RI_GUI (1 << 2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
244 # define PC_FLUSH_ALL 0x00ff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
245 # define PC_BUSY (1 << 31)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
246 #define PC_MISC_CNTL 0x0188
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
247 #else
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
248 #define MEM_IO_CNTL_A1 0x017C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
249 #define MEM_IO_CNTL_B0 0x0180
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
250 #define MEM_IO_CNTL_B1 0x0184
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
251 #define MC_DEBUG 0x0188
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
252 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
253 #define MC_STATUS 0x0150
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
254 #define MEM_IO_OE_CNTL 0x018C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
255 #define MC_FB_LOCATION 0x0148
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
256 #define HOST_PATH_CNTL 0x0130
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
257 #define MEM_VGA_WP_SEL 0x0038
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
258 #define MEM_VGA_RP_SEL 0x003C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
259 #define HDP_DEBUG 0x0138
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
260 #define SW_SEMAPHORE 0x013C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
261 #define SURFACE_CNTL 0x0B00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
262 /* SURFACE_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
263 # define SURF_TRANSLATION_DIS (1 << 8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
264 # define NONSURF_AP0_SWP_16BPP (1 << 20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
265 # define NONSURF_AP0_SWP_32BPP (2 << 20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
266 #define SURFACE0_LOWER_BOUND 0x0B04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
267 #define SURFACE1_LOWER_BOUND 0x0B14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
268 #define SURFACE2_LOWER_BOUND 0x0B24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
269 #define SURFACE3_LOWER_BOUND 0x0B34
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
270 #define SURFACE4_LOWER_BOUND 0x0B44
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
271 #define SURFACE5_LOWER_BOUND 0x0B54
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
272 #define SURFACE6_LOWER_BOUND 0x0B64
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
273 #define SURFACE7_LOWER_BOUND 0x0B74
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
274 #define SURFACE0_UPPER_BOUND 0x0B08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
275 #define SURFACE1_UPPER_BOUND 0x0B18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
276 #define SURFACE2_UPPER_BOUND 0x0B28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
277 #define SURFACE3_UPPER_BOUND 0x0B38
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
278 #define SURFACE4_UPPER_BOUND 0x0B48
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
279 #define SURFACE5_UPPER_BOUND 0x0B58
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
280 #define SURFACE6_UPPER_BOUND 0x0B68
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
281 #define SURFACE7_UPPER_BOUND 0x0B78
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
282 #define SURFACE0_INFO 0x0B0C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
283 #define SURFACE1_INFO 0x0B1C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
284 #define SURFACE2_INFO 0x0B2C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
285 #define SURFACE3_INFO 0x0B3C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
286 #define SURFACE4_INFO 0x0B4C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
287 #define SURFACE5_INFO 0x0B5C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
288 #define SURFACE6_INFO 0x0B6C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
289 #define SURFACE7_INFO 0x0B7C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
290 #define SURFACE_ACCESS_FLAGS 0x0BF8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
291 #define SURFACE_ACCESS_CLR 0x0BFC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
292 #define GEN_INT_CNTL 0x0040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
293 #define GEN_INT_STATUS 0x0044
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
294 # define VSYNC_INT_AK (1 << 2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
295 # define VSYNC_INT (1 << 2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
296 #define CRTC_EXT_CNTL 0x0054
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
297 /* CRTC_EXT_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
298 # define CRTC_VGA_XOVERSCAN (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
299 # define VGA_ATI_LINEAR 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
300 # define VGA_128KAP_PAGING 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
301 # define XCRT_CNT_EN (1 << 6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
302 # define CRTC_HSYNC_DIS (1 << 8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
303 # define CRTC_VSYNC_DIS (1 << 9)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
304 # define CRTC_DISPLAY_DIS (1 << 10)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
305 # define CRTC_SYNC_TRISTAT (1 << 11)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
306 # define CRTC_CRT_ON (1 << 15)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
307 #define CRTC_EXT_CNTL_DPMS_BYTE 0x0055
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
308 # define CRTC_HSYNC_DIS_BYTE (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
309 # define CRTC_VSYNC_DIS_BYTE (1 << 1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
310 # define CRTC_DISPLAY_DIS_BYTE (1 << 2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
311 #define RB3D_CNTL 0x1C3C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
312 #define WAIT_UNTIL 0x1720
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
313 # define EVENT_CRTC_OFFSET 0x00000001
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
314 # define EVENT_RE_CRTC_VLINE 0x00000002
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
315 # define EVENT_FE_CRTC_VLINE 0x00000004
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
316 # define EVENT_CRTC_VLINE 0x00000008
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
317 # define EVENT_BM_VIP0_IDLE 0x00000010
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
318 # define EVENT_BM_VIP1_IDLE 0x00000020
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
319 # define EVENT_BM_VIP2_IDLE 0x00000040
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
320 # define EVENT_BM_VIP3_IDLE 0x00000080
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
321 # define EVENT_BM_VIDCAP_IDLE 0x00000100
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
322 # define EVENT_BM_GUI_IDLE 0x00000200
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
323 # define EVENT_CMDFIFO 0x00000400
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
324 # define EVENT_OV0_FLIP 0x00000800
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
325 # define EVENT_CMDFIFO_ENTRIES 0x07F00000
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
326 #define ISYNC_CNTL 0x1724
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
327 #define RBBM_GUICNTL 0x172C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
328 #define RBBM_STATUS 0x0E40
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
329 # define RBBM_FIFOCNT_MASK 0x007f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
330 # define RBBM_ACTIVE (1 << 31)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
331 #define RBBM_STATUS_alt_1 0x1740
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
332 #define RBBM_CNTL 0x00EC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
333 #define RBBM_CNTL_alt_1 0x0E44
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
334 #define RBBM_SOFT_RESET 0x00F0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
335 /* RBBM_SOFT_RESET bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
336 # define SOFT_RESET_CP (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
337 # define SOFT_RESET_HI (1 << 1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
338 # define SOFT_RESET_SE (1 << 2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
339 # define SOFT_RESET_RE (1 << 3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
340 # define SOFT_RESET_PP (1 << 4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
341 # define SOFT_RESET_E2 (1 << 5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
342 # define SOFT_RESET_RB (1 << 6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
343 # define SOFT_RESET_HDP (1 << 7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
344 #define RBBM_SOFT_RESET_alt_1 0x0E48
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
345 #define NQWAIT_UNTIL 0x0E50
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
346 #define RBBM_DEBUG 0x0E6C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
347 #define RBBM_CMDFIFO_ADDR 0x0E70
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
348 #define RBBM_CMDFIFO_DATAL 0x0E74
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
349 #define RBBM_CMDFIFO_DATAH 0x0E78
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
350 #define RBBM_CMDFIFO_STAT 0x0E7C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
351 #define CRTC_STATUS 0x005C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
352 /* CRTC_STATUS bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
353 # define CRTC_VBLANK 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
354 # define CRTC_VBLANK_SAVE ( 1 << 1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
355 #define GPIO_VGA_DDC 0x0060
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
356 #define GPIO_DVI_DDC 0x0064
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
357 #define GPIO_MONID 0x0068
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
358 #define PALETTE_INDEX 0x00B0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
359 #define PALETTE_DATA 0x00B4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
360 #define PALETTE_30_DATA 0x00B8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
361 #define CRTC_H_TOTAL_DISP 0x0200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
362 # define CRTC_H_TOTAL (0x03ff << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
363 # define CRTC_H_TOTAL_SHIFT 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
364 # define CRTC_H_DISP (0x01ff << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
365 # define CRTC_H_DISP_SHIFT 16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
366 #define CRTC2_H_TOTAL_DISP 0x0300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
367 # define CRTC2_H_TOTAL (0x03ff << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
368 # define CRTC2_H_TOTAL_SHIFT 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
369 # define CRTC2_H_DISP (0x01ff << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
370 # define CRTC2_H_DISP_SHIFT 16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
371 #define CRTC_H_SYNC_STRT_WID 0x0204
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
372 # define CRTC_H_SYNC_STRT_PIX (0x07 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
373 # define CRTC_H_SYNC_STRT_CHAR (0x3ff << 3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
374 # define CRTC_H_SYNC_STRT_CHAR_SHIFT 3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
375 # define CRTC_H_SYNC_WID (0x3f << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
376 # define CRTC_H_SYNC_WID_SHIFT 16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
377 # define CRTC_H_SYNC_POL (1 << 23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
378 #define CRTC2_H_SYNC_STRT_WID 0x0304
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
379 # define CRTC2_H_SYNC_STRT_PIX (0x07 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
380 # define CRTC2_H_SYNC_STRT_CHAR (0x3ff << 3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
381 # define CRTC2_H_SYNC_STRT_CHAR_SHIFT 3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
382 # define CRTC2_H_SYNC_WID (0x3f << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
383 # define CRTC2_H_SYNC_WID_SHIFT 16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
384 # define CRTC2_H_SYNC_POL (1 << 23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
385 #define CRTC_V_TOTAL_DISP 0x0208
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
386 # define CRTC_V_TOTAL (0x07ff << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
387 # define CRTC_V_TOTAL_SHIFT 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
388 # define CRTC_V_DISP (0x07ff << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
389 # define CRTC_V_DISP_SHIFT 16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
390 #define CRTC2_V_TOTAL_DISP 0x0308
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
391 # define CRTC2_V_TOTAL (0x07ff << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
392 # define CRTC2_V_TOTAL_SHIFT 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
393 # define CRTC2_V_DISP (0x07ff << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
394 # define CRTC2_V_DISP_SHIFT 16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
395 #define CRTC_V_SYNC_STRT_WID 0x020C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
396 # define CRTC_V_SYNC_STRT (0x7ff << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
397 # define CRTC_V_SYNC_STRT_SHIFT 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
398 # define CRTC_V_SYNC_WID (0x1f << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
399 # define CRTC_V_SYNC_WID_SHIFT 16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
400 # define CRTC_V_SYNC_POL (1 << 23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
401 #define CRTC2_V_SYNC_STRT_WID 0x030C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
402 # define CRTC2_V_SYNC_STRT (0x7ff << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
403 # define CRTC2_V_SYNC_STRT_SHIFT 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
404 # define CRTC2_V_SYNC_WID (0x1f << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
405 # define CRTC2_V_SYNC_WID_SHIFT 16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
406 # define CRTC2_V_SYNC_POL (1 << 23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
407 #define CRTC_VLINE_CRNT_VLINE 0x0210
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
408 # define CRTC_CRNT_VLINE_MASK (0x7ff << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
409 #define CRTC2_VLINE_CRNT_VLINE 0x0310
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
410 #define CRTC_CRNT_FRAME 0x0214
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
411 #define CRTC2_CRNT_FRAME 0x0314
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
412 #define CRTC_GUI_TRIG_VLINE 0x0218
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
413 #define CRTC2_GUI_TRIG_VLINE 0x0318
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
414 #define CRTC_DEBUG 0x021C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
415 #define CRTC2_DEBUG 0x031C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
416 #define CRTC_OFFSET_RIGHT 0x0220
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
417 #define CRTC_OFFSET 0x0224
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
418 #define CRTC2_OFFSET 0x0324
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
419 #define CRTC_OFFSET_CNTL 0x0228
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
420 # define CRTC_TILE_EN (1 << 15)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
421 #define CRTC2_OFFSET_CNTL 0x0328
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
422 # define CRTC2_TILE_EN (1 << 15)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
423 #define CRTC_PITCH 0x022C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
424 #define CRTC2_PITCH 0x032C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
425 #define TMDS_CRC 0x02a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
426 #define OVR_CLR 0x0230
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
427 #define OVR_WID_LEFT_RIGHT 0x0234
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
428 #define OVR_WID_TOP_BOTTOM 0x0238
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
429 #define DISPLAY_BASE_ADDR 0x023C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
430 #define SNAPSHOT_VH_COUNTS 0x0240
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
431 #define SNAPSHOT_F_COUNT 0x0244
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
432 #define N_VIF_COUNT 0x0248
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
433 #define SNAPSHOT_VIF_COUNT 0x024C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
434 #define FP_CRTC_H_TOTAL_DISP 0x0250
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
435 #define FP_CRTC2_H_TOTAL_DISP 0x0350
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
436 #define FP_CRTC_V_TOTAL_DISP 0x0254
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
437 #define FP_CRTC2_V_TOTAL_DISP 0x0354
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
438 # define FP_CRTC_H_TOTAL_MASK 0x000003ff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
439 # define FP_CRTC_H_DISP_MASK 0x01ff0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
440 # define FP_CRTC_V_TOTAL_MASK 0x00000fff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
441 # define FP_CRTC_V_DISP_MASK 0x0fff0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
442 # define FP_H_SYNC_STRT_CHAR_MASK 0x00001ff8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
443 # define FP_H_SYNC_WID_MASK 0x003f0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
444 # define FP_V_SYNC_STRT_MASK 0x00000fff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
445 # define FP_V_SYNC_WID_MASK 0x001f0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
446 # define FP_CRTC_H_TOTAL_SHIFT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
447 # define FP_CRTC_H_DISP_SHIFT 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
448 # define FP_CRTC_V_TOTAL_SHIFT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
449 # define FP_CRTC_V_DISP_SHIFT 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
450 # define FP_H_SYNC_STRT_CHAR_SHIFT 0x00000003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
451 # define FP_H_SYNC_WID_SHIFT 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
452 # define FP_V_SYNC_STRT_SHIFT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
453 # define FP_V_SYNC_WID_SHIFT 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
454 #define CRT_CRTC_H_SYNC_STRT_WID 0x0258
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
455 #define CRT_CRTC_V_SYNC_STRT_WID 0x025C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
456 #define CUR_OFFSET 0x0260
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
457 #define CUR_HORZ_VERT_POSN 0x0264
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
458 #define CUR_HORZ_VERT_OFF 0x0268
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
459 /* CUR_OFFSET, CUR_HORZ_VERT_POSN, CUR_HORZ_VERT_OFF bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
460 # define CUR_LOCK 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
461 #define CUR_CLR0 0x026C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
462 #define CUR_CLR1 0x0270
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
463 #define CUR2_OFFSET 0x0360
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
464 #define CUR2_HORZ_VERT_POSN 0x0364
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
465 #define CUR2_HORZ_VERT_OFF 0x0368
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
466 # define CUR2_LOCK (1 << 31)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
467 #define CUR2_CLR0 0x036c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
468 #define CUR2_CLR1 0x0370
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
469 #define FP_HORZ_VERT_ACTIVE 0x0278
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
470 #define CRTC_MORE_CNTL 0x027C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
471 #define DAC_EXT_CNTL 0x0280
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
472 #define FP_GEN_CNTL 0x0284
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
473 /* FP_GEN_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
474 # define FP_FPON (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
475 # define FP_TMDS_EN (1 << 2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
476 # define FP_EN_TMDS (1 << 7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
477 # define FP_DETECT_SENSE (1 << 8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
478 # define FP_SEL_CRTC2 (1 << 13)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
479 # define FP_CRTC_DONT_SHADOW_HPAR (1 << 15)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
480 # define FP_CRTC_DONT_SHADOW_VPAR (1 << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
481 # define FP_CRTC_DONT_SHADOW_HEND (1 << 17)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
482 # define FP_CRTC_USE_SHADOW_VEND (1 << 18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
483 # define FP_RMX_HVSYNC_CONTROL_EN (1 << 20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
484 # define FP_DFP_SYNC_SEL (1 << 21)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
485 # define FP_CRTC_LOCK_8DOT (1 << 22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
486 # define FP_CRT_SYNC_SEL (1 << 23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
487 # define FP_USE_SHADOW_EN (1 << 24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
488 # define FP_CRT_SYNC_ALT (1 << 26)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
489 #define FP2_GEN_CNTL 0x0288
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
490 /* FP2_GEN_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
491 # define FP2_FPON (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
492 # define FP2_TMDS_EN (1 << 2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
493 # define FP2_EN_TMDS (1 << 7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
494 # define FP2_DETECT_SENSE (1 << 8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
495 # define FP2_SEL_CRTC2 (1 << 13)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
496 # define FP2_FP_POL (1 << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
497 # define FP2_LP_POL (1 << 17)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
498 # define FP2_SCK_POL (1 << 18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
499 # define FP2_LCD_CNTL_MASK (7 << 19)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
500 # define FP2_PAD_FLOP_EN (1 << 22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
501 # define FP2_CRC_EN (1 << 23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
502 # define FP2_CRC_READ_EN (1 << 24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
503 #define FP_HORZ_STRETCH 0x028C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
504 #define FP_HORZ2_STRETCH 0x038C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
505 # define HORZ_STRETCH_RATIO_MASK 0xffff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
506 # define HORZ_STRETCH_RATIO_MAX 4096
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
507 # define HORZ_PANEL_SIZE (0x1ff << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
508 # define HORZ_PANEL_SHIFT 16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
509 # define HORZ_STRETCH_PIXREP (0 << 25)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
510 # define HORZ_STRETCH_BLEND (1 << 26)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
511 # define HORZ_STRETCH_ENABLE (1 << 25)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
512 # define HORZ_AUTO_RATIO (1 << 27)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
513 # define HORZ_FP_LOOP_STRETCH (0x7 << 28)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
514 # define HORZ_AUTO_RATIO_INC (1 << 31)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
515 #define FP_VERT_STRETCH 0x0290
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
516 #define FP_VERT2_STRETCH 0x0390
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
517 # define VERT_PANEL_SIZE (0xfff << 12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
518 # define VERT_PANEL_SHIFT 12
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
519 # define VERT_STRETCH_RATIO_MASK 0xfff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
520 # define VERT_STRETCH_RATIO_SHIFT 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
521 # define VERT_STRETCH_RATIO_MAX 4096
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
522 # define VERT_STRETCH_ENABLE (1 << 25)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
523 # define VERT_STRETCH_LINEREP (0 << 26)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
524 # define VERT_STRETCH_BLEND (1 << 26)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
525 # define VERT_AUTO_RATIO_EN (1 << 27)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
526 # define VERT_STRETCH_RESERVED 0xf1000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
527 #define FP_H_SYNC_STRT_WID 0x02C4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
528 #define FP_H2_SYNC_STRT_WID 0x03C4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
529 #define FP_V_SYNC_STRT_WID 0x02C8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
530 #define FP_V2_SYNC_STRT_WID 0x03C8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
531 #define LVDS_GEN_CNTL 0x02d0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
532 # define LVDS_ON (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
533 # define LVDS_DISPLAY_DIS (1 << 1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
534 # define LVDS_PANEL_TYPE (1 << 2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
535 # define LVDS_PANEL_FORMAT (1 << 3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
536 # define LVDS_EN (1 << 7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
537 # define LVDS_DIGON (1 << 18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
538 # define LVDS_BLON (1 << 19)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
539 # define LVDS_SEL_CRTC2 (1 << 23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
540 #define LVDS_PLL_CNTL 0x02d4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
541 # define HSYNC_DELAY_SHIFT 28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
542 # define HSYNC_DELAY_MASK (0xf << 28)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
543 #define AUX_WINDOW_HORZ_CNTL 0x02D8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
544 #define AUX_WINDOW_VERT_CNTL 0x02DC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
545 #define DDA_CONFIG 0x02e0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
546 #define DDA_ON_OFF 0x02e4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
547
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
548 #define GRPH_BUFFER_CNTL 0x02F0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
549 #define VGA_BUFFER_CNTL 0x02F4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
550
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
551 /* first overlay unit (there is only one) */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
552
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
553 #define OV0_Y_X_START 0x0400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
554 #define OV0_Y_X_END 0x0404
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
555 #define OV0_PIPELINE_CNTL 0x0408
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
556 #define OV0_EXCLUSIVE_HORZ 0x0408
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
557 # define EXCL_HORZ_START_MASK 0x000000ff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
558 # define EXCL_HORZ_END_MASK 0x0000ff00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
559 # define EXCL_HORZ_BACK_PORCH_MASK 0x00ff0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
560 # define EXCL_HORZ_EXCLUSIVE_EN 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
561 #define OV0_EXCLUSIVE_VERT 0x040C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
562 # define EXCL_VERT_START_MASK 0x000003ff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
563 # define EXCL_VERT_END_MASK 0x03ff0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
564 #define OV0_REG_LOAD_CNTL 0x0410
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
565 # define REG_LD_CTL_LOCK 0x00000001L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
566 # define REG_LD_CTL_VBLANK_DURING_LOCK 0x00000002L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
567 # define REG_LD_CTL_STALL_GUI_UNTIL_FLIP 0x00000004L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
568 # define REG_LD_CTL_LOCK_READBACK 0x00000008L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
569 #define OV0_SCALE_CNTL 0x0420
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
570 # define SCALER_PIX_EXPAND 0x00000001L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
571 # define SCALER_Y2R_TEMP 0x00000002L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
572 #ifdef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
573 # define SCALER_HORZ_PICK_NEAREST 0x00000003L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
574 # define SCALER_VERT_PICK_NEAREST 0x00000004L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
575 #else
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
576 # define SCALER_HORZ_PICK_NEAREST 0x00000004L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
577 # define SCALER_VERT_PICK_NEAREST 0x00000008L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
578 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
579 # define SCALER_SIGNED_UV 0x00000010L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
580 # define SCALER_GAMMA_SEL_MASK 0x00000060L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
581 # define SCALER_GAMMA_SEL_BRIGHT 0x00000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
582 # define SCALER_GAMMA_SEL_G22 0x00000020L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
583 # define SCALER_GAMMA_SEL_G18 0x00000040L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
584 # define SCALER_GAMMA_SEL_G14 0x00000060L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
585 # define SCALER_COMCORE_SHIFT_UP_ONE 0x00000080L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
586 # define SCALER_SURFAC_FORMAT 0x00000f00L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
587 # define SCALER_SOURCE_UNK0 0x00000000L /* 2 bpp ??? */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
588 # define SCALER_SOURCE_UNK1 0x00000100L /* 4 bpp ??? */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
589 # define SCALER_SOURCE_UNK2 0x00000200L /* 8 bpp ??? */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
590 # define SCALER_SOURCE_15BPP 0x00000300L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
591 # define SCALER_SOURCE_16BPP 0x00000400L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
592 /*# define SCALER_SOURCE_24BPP 0x00000500L*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
593 # define SCALER_SOURCE_32BPP 0x00000600L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
594 # define SCALER_SOURCE_UNK3 0x00000700L /* 8BPP_RGB332 ??? */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
595 # define SCALER_SOURCE_UNK4 0x00000800L /* 8BPP_Y8 ??? */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
596 # define SCALER_SOURCE_YUV9 0x00000900L /* 8BPP_RGB8 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
597 # define SCALER_SOURCE_YUV12 0x00000A00L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
598 # define SCALER_SOURCE_VYUY422 0x00000B00L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
599 # define SCALER_SOURCE_YVYU422 0x00000C00L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
600 # define SCALER_SOURCE_UNK5 0x00000D00L /* ??? */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
601 # define SCALER_SOURCE_UNK6 0x00000E00L /* 32BPP_AYUV444 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
602 # define SCALER_SOURCE_UNK7 0x00000F00L /* 16BPP_ARGB4444 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
603 # define SCALER_ADAPTIVE_DEINT 0x00001000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
604 # define R200_SCALER_TEMPORAL_DEINT 0x00002000L
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
605 # define SCALER_USE_OV1 0x00004000L /* Use/force Ov1 instead of Ov0 */
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
606 # define SCALER_SMART_SWITCH 0x00008000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
607 #ifdef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
608 # define SCALER_BURST_PER_PLANE 0x00ff0000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
609 #else
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
610 # define SCALER_BURST_PER_PLANE 0x007f0000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
611 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
612 # define SCALER_DOUBLE_BUFFER 0x01000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
613 # define SCALER_UNKNOWN_FLAG3 0x02000000L /* ??? */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
614 # define SCALER_UNKNOWN_FLAG4 0x04000000L /* ??? */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
615 # define SCALER_DIS_LIMIT 0x08000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
616 # define SCALER_PRG_LOAD_START 0x10000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
617 # define SCALER_INT_EMU 0x20000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
618 # define SCALER_ENABLE 0x40000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
619 # define SCALER_SOFT_RESET 0x80000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
620 #define OV0_V_INC 0x0424
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
621 #define OV0_P1_V_ACCUM_INIT 0x0428
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
622 # define OV0_P1_MAX_LN_IN_PER_LN_OUT 0x00000003L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
623 # define OV0_P1_V_ACCUM_INIT_MASK 0x01ff8000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
624 #define OV0_P23_V_ACCUM_INIT 0x042C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
625 # define OV0_P23_MAX_LN_IN_PER_LN_OUT 0x00000003L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
626 # define OV0_P23_V_ACCUM_INIT_MASK 0x01ff8000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
627 #define OV0_P1_BLANK_LINES_AT_TOP 0x0430
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
628 # define P1_BLNK_LN_AT_TOP_M1_MASK 0x00000fffL
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
629 # define P1_ACTIVE_LINES_M1 0x0fff0000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
630 #define OV0_P23_BLANK_LINES_AT_TOP 0x0434
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
631 # define P23_BLNK_LN_AT_TOP_M1_MASK 0x000007ffL
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
632 # define P23_ACTIVE_LINES_M1 0x07ff0000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
633 #ifndef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
634 #define OV0_BASE_ADDR 0x043C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
635 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
636 #define OV0_VID_BUF0_BASE_ADRS 0x0440
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
637 # define VIF_BUF0_PITCH_SEL 0x00000001L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
638 # define VIF_BUF0_TILE_ADRS 0x00000002L
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
639 # define VIF_BUF0_BASE_ADRS_MASK 0x0ffffff0L
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
640 # define VIF_BUF0_1ST_LINE_LSBS_MASK 0x48000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
641 #define OV0_VID_BUF1_BASE_ADRS 0x0444
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
642 # define VIF_BUF1_PITCH_SEL 0x00000001L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
643 # define VIF_BUF1_TILE_ADRS 0x00000002L
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
644 # define VIF_BUF1_BASE_ADRS_MASK 0x0ffffff0L
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
645 # define VIF_BUF1_1ST_LINE_LSBS_MASK 0x48000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
646 #define OV0_VID_BUF2_BASE_ADRS 0x0448
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
647 # define VIF_BUF2_PITCH_SEL 0x00000001L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
648 # define VIF_BUF2_TILE_ADRS 0x00000002L
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
649 # define VIF_BUF2_BASE_ADRS_MASK 0x0ffffff0L
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
650 # define VIF_BUF2_1ST_LINE_LSBS_MASK 0x48000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
651 #define OV0_VID_BUF3_BASE_ADRS 0x044C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
652 # define VIF_BUF3_PITCH_SEL 0x00000001L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
653 # define VIF_BUF3_TILE_ADRS 0x00000002L
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
654 # define VIF_BUF3_BASE_ADRS_MASK 0x0ffffff0L
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
655 # define VIF_BUF3_1ST_LINE_LSBS_MASK 0x48000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
656 #define OV0_VID_BUF4_BASE_ADRS 0x0450
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
657 # define VIF_BUF4_PITCH_SEL 0x00000001L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
658 # define VIF_BUF4_TILE_ADRS 0x00000002L
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
659 # define VIF_BUF4_BASE_ADRS_MASK 0x0ffffff0L
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
660 # define VIF_BUF4_1ST_LINE_LSBS_MASK 0x48000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
661 #define OV0_VID_BUF5_BASE_ADRS 0x0454
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
662 # define VIF_BUF5_PITCH_SEL 0x00000001L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
663 # define VIF_BUF5_TILE_ADRS 0x00000002L
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
664 # define VIF_BUF5_BASE_ADRS_MASK 0x0ffffff0L
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
665 # define VIF_BUF5_1ST_LINE_LSBS_MASK 0x48000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
666 #define OV0_VID_BUF_PITCH0_VALUE 0x0460
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
667 #define OV0_VID_BUF_PITCH1_VALUE 0x0464
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
668 #define OV0_AUTO_FLIP_CNTL 0x0470
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
669 # define OV0_AUTO_FLIP_CNTL_SOFT_BUF_NUM 0x00000007
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
670 # define OV0_AUTO_FLIP_CNTL_SOFT_REPEAT_FIELD 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
671 # define OV0_AUTO_FLIP_CNTL_SOFT_BUF_ODD 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
672 # define OV0_AUTO_FLIP_CNTL_IGNORE_REPEAT_FIELD 0x00000020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
673 # define OV0_AUTO_FLIP_CNTL_SOFT_EOF_TOGGLE 0x00000040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
674 # define OV0_AUTO_FLIP_CNTL_VID_PORT_SELECT 0x00000300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
675 # define OV0_AUTO_FLIP_CNTL_P1_FIRST_LINE_EVEN 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
676 # define OV0_AUTO_FLIP_CNTL_SHIFT_EVEN_DOWN 0x00040000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
677 # define OV0_AUTO_FLIP_CNTL_SHIFT_ODD_DOWN 0x00080000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
678 # define OV0_AUTO_FLIP_CNTL_FIELD_POL_SOURCE 0x00800000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
679 #define OV0_DEINTERLACE_PATTERN 0x0474
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
680 #define OV0_SUBMIT_HISTORY 0x0478
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
681 #define OV0_H_INC 0x0480
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
682 #define OV0_STEP_BY 0x0484
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
683 #define OV0_P1_H_ACCUM_INIT 0x0488
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
684 #define OV0_P23_H_ACCUM_INIT 0x048C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
685 #define OV0_P1_X_START_END 0x0494
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
686 #define OV0_P2_X_START_END 0x0498
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
687 #define OV0_P3_X_START_END 0x049C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
688 #define OV0_FILTER_CNTL 0x04A0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
689 # define FILTER_PROGRAMMABLE_COEF 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
690 # define FILTER_HARD_SCALE_HORZ_Y 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
691 # define FILTER_HARD_SCALE_HORZ_UV 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
692 # define FILTER_HARD_SCALE_VERT_Y 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
693 # define FILTER_HARD_SCALE_VERT_UV 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
694 # define FILTER_HARDCODED_COEF 0x0000000F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
695 # define FILTER_COEF_MASK 0x0000000F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
696 /* When bit is set hard coded coefficients are used. */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
697
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
698 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
699 Top quality 4x4-tap filtered vertical and horizontal scaler.
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
700 It allows up to 64:1 upscaling and downscaling without
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
701 performance or quality degradation.
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
702 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
703 #define OV0_FOUR_TAP_COEF_0 0x04B0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
704 # define OV0_FOUR_TAP_PHASE_0_TAP_0 0x0000000F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
705 # define OV0_FOUR_TAP_PHASE_0_TAP_1 0x00007F00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
706 # define OV0_FOUR_TAP_PHASE_0_TAP_2 0x007F0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
707 # define OV0_FOUR_TAP_PHASE_0_TAP_3 0x0F000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
708 #define OV0_FOUR_TAP_COEF_1 0x04B4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
709 # define OV0_FOUR_TAP_PHASE_1_5_TAP_0 0x0000000F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
710 # define OV0_FOUR_TAP_PHASE_1_5_TAP_1 0x00007F00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
711 # define OV0_FOUR_TAP_PHASE_1_5_TAP_2 0x007F0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
712 # define OV0_FOUR_TAP_PHASE_1_5_TAP_3 0x0F000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
713 #define OV0_FOUR_TAP_COEF_2 0x04B8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
714 # define OV0_FOUR_TAP_PHASE_2_6_TAP_0 0x0000000F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
715 # define OV0_FOUR_TAP_PHASE_2_6_TAP_1 0x00007F00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
716 # define OV0_FOUR_TAP_PHASE_2_6_TAP_2 0x007F0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
717 # define OV0_FOUR_TAP_PHASE_2_6_TAP_3 0x0F000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
718 #define OV0_FOUR_TAP_COEF_3 0x04BC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
719 # define OV0_FOUR_TAP_PHASE_3_7_TAP_0 0x0000000F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
720 # define OV0_FOUR_TAP_PHASE_3_7_TAP_1 0x00007F00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
721 # define OV0_FOUR_TAP_PHASE_3_7_TAP_2 0x007F0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
722 # define OV0_FOUR_TAP_PHASE_3_7_TAP_3 0x0F000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
723 #define OV0_FOUR_TAP_COEF_4 0x04C0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
724 # define OV0_FOUR_TAP_PHASE_4_TAP_0 0x0000000F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
725 # define OV0_FOUR_TAP_PHASE_4_TAP_1 0x00007F00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
726 # define OV0_FOUR_TAP_PHASE_4_TAP_2 0x007F0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
727 # define OV0_FOUR_TAP_PHASE_4_TAP_3 0x0F000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
728 /* 0th_tap means that the left most of top most pixel in a set of four will
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
729 be multiplied by this coefficient. */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
730
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
731 #define OV0_FLAG_CNTL 0x04DC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
732 #ifdef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
733 #define OV0_COLOUR_CNTL 0x04E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
734 # define COLOUR_CNTL_BRIGHTNESS 0x0000007F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
735 # define COLOUR_CNTL_SATURATION 0x001F1F00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
736 #else
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
737 /* NB: radeons have no COLOUR_CNTL register */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
738 #define OV0_SLICE_CNTL 0x04E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
739 # define SLICE_CNTL_DISABLE 0x40000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
740 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
741 /* Video and graphics keys allow alpha blending, color correction
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
742 and many other video effects */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
743 #define OV0_VID_KEY_CLR 0x04E4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
744 #define OV0_VID_KEY_MSK 0x04E8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
745 #define OV0_GRAPHICS_KEY_CLR 0x04EC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
746 #define OV0_GRAPHICS_KEY_MSK 0x04F0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
747 #define OV0_KEY_CNTL 0x04F4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
748 #ifdef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
749 # define VIDEO_KEY_FN_MASK 0x00000007L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
750 # define VIDEO_KEY_FN_FALSE 0x00000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
751 # define VIDEO_KEY_FN_TRUE 0x00000001L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
752 # define VIDEO_KEY_FN_EQ 0x00000004L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
753 # define VIDEO_KEY_FN_NE 0x00000005L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
754 # define GRAPHIC_KEY_FN_MASK 0x00000070L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
755 # define GRAPHIC_KEY_FN_FALSE 0x00000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
756 # define GRAPHIC_KEY_FN_TRUE 0x00000010L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
757 # define GRAPHIC_KEY_FN_EQ 0x00000040L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
758 # define GRAPHIC_KEY_FN_NE 0x00000050L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
759 #else
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
760 # define VIDEO_KEY_FN_MASK 0x00000003L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
761 # define VIDEO_KEY_FN_FALSE 0x00000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
762 # define VIDEO_KEY_FN_TRUE 0x00000001L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
763 # define VIDEO_KEY_FN_EQ 0x00000002L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
764 # define VIDEO_KEY_FN_NE 0x00000003L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
765 # define GRAPHIC_KEY_FN_MASK 0x00000030L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
766 # define GRAPHIC_KEY_FN_FALSE 0x00000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
767 # define GRAPHIC_KEY_FN_TRUE 0x00000010L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
768 # define GRAPHIC_KEY_FN_EQ 0x00000020L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
769 # define GRAPHIC_KEY_FN_NE 0x00000030L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
770 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
771 # define CMP_MIX_MASK 0x00000100L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
772 # define CMP_MIX_OR 0x00000000L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
773 # define CMP_MIX_AND 0x00000100L
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
774 #define OV0_TEST 0x04F8
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
775 # define OV0_SCALER_Y2R_DISABLE 0x00000001L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
776 # define OV0_SUBPIC_ONLY 0x00000008L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
777 # define OV0_EXTENSE 0x00000010L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
778 # define OV0_SWAP_UV 0x00000020L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
779 #define OV0_COL_CONV 0x04FC
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
780 # define OV0_CB_TO_B 0x0000007FL
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
781 # define OV0_CB_TO_G 0x0000FF00L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
782 # define OV0_CR_TO_G 0x00FF0000L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
783 # define OV0_CR_TO_R 0x7F000000L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
784 # define OV0_NEW_COL_CONV 0x80000000L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
785 #define OV1_Y_X_START 0x0600
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
786 #define OV1_Y_X_END 0x0604
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
787 #define OV0_LIN_TRANS_A 0x0D20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
788 #define OV0_LIN_TRANS_B 0x0D24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
789 #define OV0_LIN_TRANS_C 0x0D28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
790 #define OV0_LIN_TRANS_D 0x0D2C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
791 #define OV0_LIN_TRANS_E 0x0D30
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
792 #define OV0_LIN_TRANS_F 0x0D34
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
793 #define OV0_GAMMA_0_F 0x0D40
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
794 #define OV0_GAMMA_10_1F 0x0D44
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
795 #define OV0_GAMMA_20_3F 0x0D48
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
796 #define OV0_GAMMA_40_7F 0x0D4C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
797 /* These registers exist on R200 only */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
798 #define OV0_GAMMA_80_BF 0x0E00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
799 #define OV0_GAMMA_C0_FF 0x0E04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
800 #define OV0_GAMMA_100_13F 0x0E08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
801 #define OV0_GAMMA_140_17F 0x0E0C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
802 #define OV0_GAMMA_180_1BF 0x0E10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
803 #define OV0_GAMMA_1C0_1FF 0x0E14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
804 #define OV0_GAMMA_200_23F 0x0E18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
805 #define OV0_GAMMA_240_27F 0x0E1C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
806 #define OV0_GAMMA_280_2BF 0x0E20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
807 #define OV0_GAMMA_2C0_2FF 0x0E24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
808 #define OV0_GAMMA_300_33F 0x0E28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
809 #define OV0_GAMMA_340_37F 0x0E2C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
810 /* End of R200 specific definitions */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
811 #define OV0_GAMMA_380_3BF 0x0D50
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
812 #define OV0_GAMMA_3C0_3FF 0x0D54
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
813
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
814 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
815 IDCT ENGINE:
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
816 It's MPEG-2 hardware decoder which incorporates run-level decode, de-zigzag
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
817 and IDCT into an IDCT engine to complement the motion compensation engine.
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
818 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
819 #define IDCT_RUNS 0x1F80
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
820 #define IDCT_LEVELS 0x1F84
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
821 #define IDCT_AUTH_CONTROL 0x1F88
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
822 #define IDCT_AUTH 0x1F8C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
823 #define IDCT_CONTROL 0x1FBC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
824
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
825 #define SE_MC_SRC2_CNTL 0x19D4
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
826 # define SECONDARY_SCALE_HACC 0x00001FFFL
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
827 # define SECONDARY_SCALE_VACC 0x0FFF0000L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
828 # define SECONDARY_SCALE_PICTH_ADJ 0xC0000000L
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
829 #define SE_MC_SRC1_CNTL 0x19D8
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
830 # define SCALE_HACC 0x00001FFFL
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
831 # define SCALE_VACC 0x0FFF0000L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
832 # define IDCT_EN 0x10000000L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
833 # define SECONDARY_TEX_EN 0x20000000L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
834 # define SCALE_PICTH_ADJ 0xC0000000L
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
835 #define SE_MC_DST_CNTL 0x19DC
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
836 # define DST_Y 0x00003FFFL
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
837 # define DST_X 0x3FFF0000L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
838 # define DST_PITCH_ADJ 0xC0000000L
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
839 #define SE_MC_CNTL_START 0x19E0
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
840 # define SCALE_OFFSET_PTR 0x0000000FL
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
841 # define DST_OFFSET 0x00FFFFF0L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
842 # define ALPHA_EN 0x01000000L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
843 # define SECONDARY_OFFSET_PTR 0x1E000000L
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
844 # define MC_DST_HEIGHT_WIDTH 0xE0000000L
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
845 #ifndef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
846 #define SE_MC_BUF_BASE 0x19E4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
847 #define PP_MC_CONTEXT 0x19E8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
848 #define PP_MISC 0x1C14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
849 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
850 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
851 SUBPICTURE UNIT:
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
852 Decompressing, scaling and alpha blending the compressed bitmap on the fly.
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
853 Provide optimal DVD subpicture qualtity.
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
854 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
855 #define SUBPIC_CNTL 0x0540
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
856 #define SUBPIC_DEFCOLCON 0x0544
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
857 #define SUBPIC_Y_X_START 0x054C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
858 #define SUBPIC_Y_X_END 0x0550
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
859 #define SUBPIC_V_INC 0x0554
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
860 #define SUBPIC_H_INC 0x0558
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
861 #define SUBPIC_BUF0_OFFSET 0x055C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
862 #define SUBPIC_BUF1_OFFSET 0x0560
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
863 #define SUBPIC_LC0_OFFSET 0x0564
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
864 #define SUBPIC_LC1_OFFSET 0x0568
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
865 #define SUBPIC_PITCH 0x056C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
866 #define SUBPIC_BTN_HLI_COLCON 0x0570
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
867 #define SUBPIC_BTN_HLI_Y_X_START 0x0574
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
868 #define SUBPIC_BTN_HLI_Y_X_END 0x0578
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
869 #define SUBPIC_PALETTE_INDEX 0x057C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
870 #define SUBPIC_PALETTE_DATA 0x0580
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
871 #define SUBPIC_H_ACCUM_INIT 0x0584
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
872 #define SUBPIC_V_ACCUM_INIT 0x0588
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
873
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
874 #define CP_RB_BASE 0x0700
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
875 #define CP_RB_CNTL 0x0704
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
876 #define CP_RB_RPTR_ADDR 0x070C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
877 #define CP_RB_RPTR 0x0710
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
878 #define CP_RB_WPTR 0x0714
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
879 #define CP_RB_WPTR_DELAY 0x0718
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
880 #define CP_IB_BASE 0x0738
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
881 #define CP_IB_BUFSZ 0x073C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
882 #define CP_CSQ_CNTL 0x0740
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
883 #define SCRATCH_UMSK 0x0770
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
884 #define SCRATCH_ADDR 0x0774
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
885 #ifndef RAGE128
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
886 #define DMA_GUI_TABLE_ADDR 0x0780
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
887 # define DMA_GUI_COMMAND__BYTE_COUNT_MASK 0x001fffff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
888 # define DMA_GUI_COMMAND__INTDIS 0x40000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
889 # define DMA_GUI_COMMAND__EOL 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
890 #define DMA_GUI_SRC_ADDR 0x0784
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
891 #define DMA_GUI_DST_ADDR 0x0788
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
892 #define DMA_GUI_COMMAND 0x078C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
893 #define DMA_GUI_STATUS 0x0790
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
894 #define DMA_GUI_ACT_DSCRPTR 0x0794
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
895 #define DMA_VID_TABLE_ADDR 0x07A0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
896 #define DMA_VID_SRC_ADDR 0x07A4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
897 #define DMA_VID_DST_ADDR 0x07A8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
898 #define DMA_VID_COMMAND 0x07AC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
899 #define DMA_VID_STATUS 0x07B0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
900 #define DMA_VID_ACT_DSCRPTR 0x07B4
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
901 #endif
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
902 #define CP_ME_CNTL 0x07D0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
903 #define CP_ME_RAM_ADDR 0x07D4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
904 #define CP_ME_RAM_RADDR 0x07D8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
905 #define CP_ME_RAM_DATAH 0x07DC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
906 #define CP_ME_RAM_DATAL 0x07E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
907 #define CP_CSQ_ADDR 0x07F0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
908 #define CP_CSQ_DATA 0x07F4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
909 #define CP_CSQ_STAT 0x07F8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
910
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
911 #define DISP_MISC_CNTL 0x0D00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
912 # define SOFT_RESET_GRPH_PP (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
913 #define DAC_MACRO_CNTL 0x0D04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
914 #define DISP_PWR_MAN 0x0D08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
915 #define DISP_TEST_DEBUG_CNTL 0x0D10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
916 #define DISP_HW_DEBUG 0x0D14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
917 #define DAC_CRC_SIG1 0x0D18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
918 #define DAC_CRC_SIG2 0x0D1C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
919
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
920 /* first capture unit */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
921
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
922 #define VID_BUFFER_CONTROL 0x0900
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
923 #define CAP_INT_CNTL 0x0908
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
924 #define CAP_INT_STATUS 0x090C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
925 #define FCP_CNTL 0x0910
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
926 # define FCP_CNTL__PCICLK 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
927 # define FCP_CNTL__PCLK 1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
928 # define FCP_CNTL__PCLKb 2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
929 # define FCP_CNTL__HREF 3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
930 # define FCP_CNTL__GND 4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
931 # define FCP_CNTL__HREFb 5
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
932
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
933 #define CAP0_BUF0_OFFSET 0x0920
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
934 #define CAP0_BUF1_OFFSET 0x0924
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
935 #define CAP0_BUF0_EVEN_OFFSET 0x0928
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
936 #define CAP0_BUF1_EVEN_OFFSET 0x092C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
937 #define CAP0_BUF_PITCH 0x0930
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
938 #define CAP0_V_WINDOW 0x0934
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
939 #define CAP0_H_WINDOW 0x0938
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
940 #define CAP0_VBI0_OFFSET 0x093C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
941 #define CAP0_VBI1_OFFSET 0x0940
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
942 #define CAP0_VBI_V_WINDOW 0x0944
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
943 #define CAP0_VBI_H_WINDOW 0x0948
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
944 #define CAP0_PORT_MODE_CNTL 0x094C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
945 #define CAP0_TRIG_CNTL 0x0950
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
946 #define CAP0_DEBUG 0x0954
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
947 #define CAP0_CONFIG 0x0958
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
948 # define CAP0_CONFIG_CONTINUOS 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
949 # define CAP0_CONFIG_START_FIELD_EVEN 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
950 # define CAP0_CONFIG_START_BUF_GET 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
951 # define CAP0_CONFIG_START_BUF_SET 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
952 # define CAP0_CONFIG_BUF_TYPE_ALT 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
953 # define CAP0_CONFIG_BUF_TYPE_FRAME 0x00000020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
954 # define CAP0_CONFIG_ONESHOT_MODE_FRAME 0x00000040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
955 # define CAP0_CONFIG_BUF_MODE_DOUBLE 0x00000080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
956 # define CAP0_CONFIG_BUF_MODE_TRIPLE 0x00000100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
957 # define CAP0_CONFIG_MIRROR_EN 0x00000200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
958 # define CAP0_CONFIG_ONESHOT_MIRROR_EN 0x00000400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
959 # define CAP0_CONFIG_VIDEO_SIGNED_UV 0x00000800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
960 # define CAP0_CONFIG_ANC_DECODE_EN 0x00001000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
961 # define CAP0_CONFIG_VBI_EN 0x00002000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
962 # define CAP0_CONFIG_SOFT_PULL_DOWN_EN 0x00004000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
963 # define CAP0_CONFIG_VIP_EXTEND_FLAG_EN 0x00008000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
964 # define CAP0_CONFIG_FAKE_FIELD_EN 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
965 # define CAP0_CONFIG_ODD_ONE_MORE_LINE 0x00020000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
966 # define CAP0_CONFIG_EVEN_ONE_MORE_LINE 0x00040000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
967 # define CAP0_CONFIG_HORZ_DIVIDE_2 0x00080000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
968 # define CAP0_CONFIG_HORZ_DIVIDE_4 0x00100000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
969 # define CAP0_CONFIG_VERT_DIVIDE_2 0x00200000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
970 # define CAP0_CONFIG_VERT_DIVIDE_4 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
971 # define CAP0_CONFIG_FORMAT_BROOKTREE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
972 # define CAP0_CONFIG_FORMAT_CCIR656 0x00800000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
973 # define CAP0_CONFIG_FORMAT_ZV 0x01000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
974 # define CAP0_CONFIG_FORMAT_VIP 0x01800000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
975 # define CAP0_CONFIG_FORMAT_TRANSPORT 0x02000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
976 # define CAP0_CONFIG_HORZ_DECIMATOR 0x04000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
977 # define CAP0_CONFIG_VIDEO_IN_YVYU422 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
978 # define CAP0_CONFIG_VIDEO_IN_VYUY422 0x20000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
979 # define CAP0_CONFIG_VBI_DIVIDE_2 0x40000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
980 # define CAP0_CONFIG_VBI_DIVIDE_4 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
981 #define CAP0_ANC_ODD_OFFSET 0x095C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
982 #define CAP0_ANC_EVEN_OFFSET 0x0960
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
983 #define CAP0_ANC_H_WINDOW 0x0964
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
984 #define CAP0_VIDEO_SYNC_TEST 0x0968
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
985 #define CAP0_ONESHOT_BUF_OFFSET 0x096C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
986 #define CAP0_BUF_STATUS 0x0970
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
987 #ifdef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
988 #define CAP0_DWNSC_XRATIO 0x0978
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
989 #define CAP0_XSHARPNESS 0x097C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
990 #else
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
991 /* #define CAP0_DWNSC_XRATIO 0x0978 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
992 /* #define CAP0_XSHARPNESS 0x097C */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
993 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
994 #define CAP0_VBI2_OFFSET 0x0980
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
995 #define CAP0_VBI3_OFFSET 0x0984
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
996 #define CAP0_ANC2_OFFSET 0x0988
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
997 #define CAP0_ANC3_OFFSET 0x098C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
998
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
999 /* second capture unit */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1001 #define CAP1_BUF0_OFFSET 0x0990
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1002 #define CAP1_BUF1_OFFSET 0x0994
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1003 #define CAP1_BUF0_EVEN_OFFSET 0x0998
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1004 #define CAP1_BUF1_EVEN_OFFSET 0x099C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1005
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1006 #define CAP1_BUF_PITCH 0x09A0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1007 #define CAP1_V_WINDOW 0x09A4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1008 #define CAP1_H_WINDOW 0x09A8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1009 #define CAP1_VBI_ODD_OFFSET 0x09AC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1010 #define CAP1_VBI_EVEN_OFFSET 0x09B0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1011 #define CAP1_VBI_V_WINDOW 0x09B4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1012 #define CAP1_VBI_H_WINDOW 0x09B8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1013 #define CAP1_PORT_MODE_CNTL 0x09BC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1014 #define CAP1_TRIG_CNTL 0x09C0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1015 #define CAP1_DEBUG 0x09C4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1016 #define CAP1_CONFIG 0x09C8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1017 #define CAP1_ANC_ODD_OFFSET 0x09CC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1018 #define CAP1_ANC_EVEN_OFFSET 0x09D0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1019 #define CAP1_ANC_H_WINDOW 0x09D4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1020 #define CAP1_VIDEO_SYNC_TEST 0x09D8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1021 #define CAP1_ONESHOT_BUF_OFFSET 0x09DC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1022 #define CAP1_BUF_STATUS 0x09E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1023 #define CAP1_DWNSC_XRATIO 0x09E8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1024 #define CAP1_XSHARPNESS 0x09EC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1025
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1026 #define DISP_MERGE_CNTL 0x0D60
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1027 #define DISP_OUTPUT_CNTL 0x0D64
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1028 # define DISP_DAC_SOURCE_MASK 0x03
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1029 # define DISP_DAC_SOURCE_CRTC2 0x01
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1030 #define DISP_LIN_TRANS_GRPH_A 0x0D80
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1031 #define DISP_LIN_TRANS_GRPH_B 0x0D84
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1032 #define DISP_LIN_TRANS_GRPH_C 0x0D88
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1033 #define DISP_LIN_TRANS_GRPH_D 0x0D8C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1034 #define DISP_LIN_TRANS_GRPH_E 0x0D90
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1035 #define DISP_LIN_TRANS_GRPH_F 0x0D94
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1036 #define DISP_LIN_TRANS_VID_A 0x0D98
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1037 #define DISP_LIN_TRANS_VID_B 0x0D9C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1038 #define DISP_LIN_TRANS_VID_C 0x0DA0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1039 #define DISP_LIN_TRANS_VID_D 0x0DA4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1040 #define DISP_LIN_TRANS_VID_E 0x0DA8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1041 #define DISP_LIN_TRANS_VID_F 0x0DAC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1042 #define RMX_HORZ_FILTER_0TAP_COEF 0x0DB0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1043 #define RMX_HORZ_FILTER_1TAP_COEF 0x0DB4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1044 #define RMX_HORZ_FILTER_2TAP_COEF 0x0DB8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1045 #define RMX_HORZ_PHASE 0x0DBC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1046 #define DAC_EMBEDDED_SYNC_CNTL 0x0DC0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1047 #define DAC_BROAD_PULSE 0x0DC4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1048 #define DAC_SKEW_CLKS 0x0DC8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1049 #define DAC_INCR 0x0DCC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1050 #define DAC_NEG_SYNC_LEVEL 0x0DD0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1051 #define DAC_POS_SYNC_LEVEL 0x0DD4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1052 #define DAC_BLANK_LEVEL 0x0DD8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1053 #define CLOCK_CNTL_INDEX 0x0008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1054 /* CLOCK_CNTL_INDEX bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1055 # define PLL_WR_EN 0x00000080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1056 # define PLL_DIV_SEL (3 << 8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1057 # define PLL2_DIV_SEL_MASK ~(3 << 8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1058 #define CLOCK_CNTL_DATA 0x000C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1059 #define CP_RB_CNTL 0x0704
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1060 #define CP_RB_BASE 0x0700
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1061 #define CP_RB_RPTR_ADDR 0x070C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1062 #define CP_RB_RPTR 0x0710
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1063 #define CP_RB_WPTR 0x0714
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1064 #define CP_RB_WPTR_DELAY 0x0718
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1065 #define CP_IB_BASE 0x0738
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1066 #define CP_IB_BUFSZ 0x073C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1067 #define SCRATCH_REG0 0x15E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1068 #define GUI_SCRATCH_REG0 0x15E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1069 #define SCRATCH_REG1 0x15E4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1070 #define GUI_SCRATCH_REG1 0x15E4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1071 #define SCRATCH_REG2 0x15E8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1072 #define GUI_SCRATCH_REG2 0x15E8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1073 #define SCRATCH_REG3 0x15EC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1074 #define GUI_SCRATCH_REG3 0x15EC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1075 #define SCRATCH_REG4 0x15F0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1076 #define GUI_SCRATCH_REG4 0x15F0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1077 #define SCRATCH_REG5 0x15F4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1078 #define GUI_SCRATCH_REG5 0x15F4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1079 #define SCRATCH_UMSK 0x0770
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1080 #define SCRATCH_ADDR 0x0774
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1081 #define DP_BRUSH_FRGD_CLR 0x147C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1082 #define DP_BRUSH_BKGD_CLR 0x1478
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1083 #define DST_LINE_START 0x1600
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1084 #define DST_LINE_END 0x1604
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1085 #define SRC_OFFSET 0x15AC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1086 #define SRC_PITCH 0x15B0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1087 #define SRC_TILE 0x1704
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1088 #define SRC_PITCH_OFFSET 0x1428
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1089 #define SRC_X 0x1414
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1090 #define SRC_Y 0x1418
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1091 #define DST_WIDTH_X 0x1588
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1092 #define DST_HEIGHT_WIDTH_8 0x158C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1093 #define SRC_X_Y 0x1590
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1094 #define SRC_Y_X 0x1434
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1095 #define DST_Y_X 0x1438
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1096 #define DST_WIDTH_HEIGHT 0x1598
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1097 #define DST_HEIGHT_WIDTH 0x143c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1098 #ifdef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1099 #define GUI_STAT 0x1740
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1100 # define GUI_FIFOCNT_MASK 0x0fff
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1101 # define PM4_BUSY (1 << 16)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1102 # define MICRO_BUSY (1 << 17)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1103 # define FPU_BUSY (1 << 18)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1104 # define VC_BUSY (1 << 19)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1105 # define IDCT_BUSY (1 << 20)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1106 # define ENG_EV_BUSY (1 << 21)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1107 # define SETUP_BUSY (1 << 22)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1108 # define EDGE_WALK_BUSY (1 << 23)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1109 # define ADDRESSING_BUSY (1 << 24)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1110 # define ENG_3D_BUSY (1 << 25)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1111 # define ENG_2D_SM_BUSY (1 << 26)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1112 # define ENG_2D_BUSY (1 << 27)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1113 # define GUI_WB_BUSY (1 << 28)
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1114 # define CACHE_BUSY (1 << 29)
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1115 # define GUI_ACTIVE (1 << 31)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1116 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1117 #define SRC_CLUT_ADDRESS 0x1780
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1118 #define SRC_CLUT_DATA 0x1784
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1119 #define SRC_CLUT_DATA_RD 0x1788
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1120 #define HOST_DATA0 0x17C0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1121 #define HOST_DATA1 0x17C4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1122 #define HOST_DATA2 0x17C8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1123 #define HOST_DATA3 0x17CC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1124 #define HOST_DATA4 0x17D0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1125 #define HOST_DATA5 0x17D4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1126 #define HOST_DATA6 0x17D8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1127 #define HOST_DATA7 0x17DC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1128 #define HOST_DATA_LAST 0x17E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1129 #define DP_SRC_ENDIAN 0x15D4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1130 #define DP_SRC_FRGD_CLR 0x15D8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1131 #define DP_SRC_BKGD_CLR 0x15DC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1132 #define DP_WRITE_MASK 0x16cc
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1133 #define SC_LEFT 0x1640
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1134 #define SC_RIGHT 0x1644
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1135 #define SC_TOP 0x1648
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1136 #define SC_BOTTOM 0x164C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1137 #define SRC_SC_RIGHT 0x1654
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1138 #define SRC_SC_BOTTOM 0x165C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1139 #define DP_CNTL 0x16C0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1140 /* DP_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1141 # define DST_X_RIGHT_TO_LEFT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1142 # define DST_X_LEFT_TO_RIGHT 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1143 # define DST_Y_BOTTOM_TO_TOP 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1144 # define DST_Y_TOP_TO_BOTTOM 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1145 # define DST_X_MAJOR 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1146 # define DST_Y_MAJOR 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1147 # define DST_X_TILE 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1148 # define DST_Y_TILE 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1149 # define DST_LAST_PEL 0x00000020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1150 # define DST_TRAIL_X_RIGHT_TO_LEFT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1151 # define DST_TRAIL_X_LEFT_TO_RIGHT 0x00000040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1152 # define DST_TRAP_FILL_RIGHT_TO_LEFT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1153 # define DST_TRAP_FILL_LEFT_TO_RIGHT 0x00000080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1154 # define DST_BRES_SIGN 0x00000100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1155 # define DST_HOST_BIG_ENDIAN_EN 0x00000200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1156 # define DST_POLYLINE_NONLAST 0x00008000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1157 # define DST_RASTER_STALL 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1158 # define DST_POLY_EDGE 0x00040000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1159 #define DP_CNTL_XDIR_YDIR_YMAJOR 0x16D0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1160 /* DP_CNTL_XDIR_YDIR_YMAJOR bit constants (short version of DP_CNTL) */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1161 # define DST_X_MAJOR_S 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1162 # define DST_Y_MAJOR_S 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1163 # define DST_Y_BOTTOM_TO_TOP_S 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1164 # define DST_Y_TOP_TO_BOTTOM_S 0x00008000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1165 # define DST_X_RIGHT_TO_LEFT_S 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1166 # define DST_X_LEFT_TO_RIGHT_S 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1167 #define DP_DATATYPE 0x16C4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1168 /* DP_DATATYPE bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1169 # define DST_8BPP 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1170 # define DST_15BPP 0x00000003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1171 # define DST_16BPP 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1172 # define DST_24BPP 0x00000005
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1173 # define DST_32BPP 0x00000006
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1174 # define DST_8BPP_RGB332 0x00000007
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1175 # define DST_8BPP_Y8 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1176 # define DST_8BPP_RGB8 0x00000009
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1177 # define DST_16BPP_VYUY422 0x0000000b
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1178 # define DST_16BPP_YVYU422 0x0000000c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1179 # define DST_32BPP_AYUV444 0x0000000e
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1180 # define DST_16BPP_ARGB4444 0x0000000f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1181 # define BRUSH_SOLIDCOLOR 0x00000d00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1182 # define SRC_MONO 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1183 # define SRC_MONO_LBKGD 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1184 # define SRC_DSTCOLOR 0x00030000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1185 # define BYTE_ORDER_MSB_TO_LSB 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1186 # define BYTE_ORDER_LSB_TO_MSB 0x40000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1187 # define DP_CONVERSION_TEMP 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1188 # define HOST_BIG_ENDIAN_EN (1 << 29)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1189 #define DP_MIX 0x16C8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1190 /* DP_MIX bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1191 # define DP_SRC_RECT 0x00000200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1192 # define DP_SRC_HOST 0x00000300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1193 # define DP_SRC_HOST_BYTEALIGN 0x00000400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1194 #define DP_WRITE_MSK 0x16CC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1195 #define DP_XOP 0x17F8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1196 #define CLR_CMP_CLR_SRC 0x15C4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1197 #define CLR_CMP_CLR_DST 0x15C8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1198 #define CLR_CMP_CNTL 0x15C0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1199 /* CLR_CMP_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1200 # define COMPARE_SRC_FALSE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1201 # define COMPARE_SRC_TRUE 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1202 # define COMPARE_SRC_NOT_EQUAL 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1203 # define COMPARE_SRC_EQUAL 0x00000005
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1204 # define COMPARE_SRC_EQUAL_FLIP 0x00000007
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1205 # define COMPARE_DST_FALSE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1206 # define COMPARE_DST_TRUE 0x00000100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1207 # define COMPARE_DST_NOT_EQUAL 0x00000400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1208 # define COMPARE_DST_EQUAL 0x00000500
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1209 # define COMPARE_DESTINATION 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1210 # define COMPARE_SOURCE 0x01000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1211 # define COMPARE_SRC_AND_DST 0x02000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1212 #define CLR_CMP_MSK 0x15CC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1213 #define DSTCACHE_MODE 0x1710
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1214 #define DSTCACHE_CTLSTAT 0x1714
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1215 /* DSTCACHE_CTLSTAT bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1216 # define RB2D_DC_FLUSH (3 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1217 # define RB2D_DC_FLUSH_ALL 0xf
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1218 # define RB2D_DC_BUSY (1 << 31)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1219 #define DEFAULT_OFFSET 0x16e0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1220 #define DEFAULT_PITCH_OFFSET 0x16E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1221 #define DEFAULT_SC_BOTTOM_RIGHT 0x16E8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1222 /* DEFAULT_SC_BOTTOM_RIGHT bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1223 # define DEFAULT_SC_RIGHT_MAX (0x1fff << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1224 # define DEFAULT_SC_BOTTOM_MAX (0x1fff << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1225 #define DP_GUI_MASTER_CNTL 0x146C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1226 /* DP_GUI_MASTER_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1227 # define GMC_SRC_PITCH_OFFSET_DEFAULT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1228 # define GMC_SRC_PITCH_OFFSET_LEAVE 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1229 # define GMC_DST_PITCH_OFFSET_DEFAULT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1230 # define GMC_DST_PITCH_OFFSET_LEAVE 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1231 # define GMC_SRC_CLIP_DEFAULT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1232 # define GMC_SRC_CLIP_LEAVE 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1233 # define GMC_DST_CLIP_DEFAULT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1234 # define GMC_DST_CLIP_LEAVE 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1235 # define GMC_BRUSH_8x8MONO 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1236 # define GMC_BRUSH_8x8MONO_LBKGD 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1237 # define GMC_BRUSH_8x1MONO 0x00000020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1238 # define GMC_BRUSH_8x1MONO_LBKGD 0x00000030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1239 # define GMC_BRUSH_1x8MONO 0x00000040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1240 # define GMC_BRUSH_1x8MONO_LBKGD 0x00000050
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1241 # define GMC_BRUSH_32x1MONO 0x00000060
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1242 # define GMC_BRUSH_32x1MONO_LBKGD 0x00000070
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1243 # define GMC_BRUSH_32x32MONO 0x00000080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1244 # define GMC_BRUSH_32x32MONO_LBKGD 0x00000090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1245 # define GMC_BRUSH_8x8COLOR 0x000000a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1246 # define GMC_BRUSH_8x1COLOR 0x000000b0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1247 # define GMC_BRUSH_1x8COLOR 0x000000c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1248 # define GMC_BRUSH_SOLID_COLOR 0x000000d0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1249 # define GMC_DST_8BPP 0x00000200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1250 # define GMC_DST_15BPP 0x00000300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1251 # define GMC_DST_16BPP 0x00000400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1252 # define GMC_DST_24BPP 0x00000500
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1253 # define GMC_DST_32BPP 0x00000600
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1254 # define GMC_DST_8BPP_RGB332 0x00000700
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1255 # define GMC_DST_8BPP_Y8 0x00000800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1256 # define GMC_DST_8BPP_RGB8 0x00000900
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1257 # define GMC_DST_16BPP_VYUY422 0x00000b00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1258 # define GMC_DST_16BPP_YVYU422 0x00000c00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1259 # define GMC_DST_32BPP_AYUV444 0x00000e00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1260 # define GMC_DST_16BPP_ARGB4444 0x00000f00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1261 # define GMC_SRC_MONO 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1262 # define GMC_SRC_MONO_LBKGD 0x00001000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1263 # define GMC_SRC_DSTCOLOR 0x00003000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1264 # define GMC_BYTE_ORDER_MSB_TO_LSB 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1265 # define GMC_BYTE_ORDER_LSB_TO_MSB 0x00004000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1266 # define GMC_DP_CONVERSION_TEMP_9300 0x00008000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1267 # define GMC_DP_CONVERSION_TEMP_6500 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1268 # define GMC_DP_SRC_RECT 0x02000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1269 # define GMC_DP_SRC_HOST 0x03000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1270 # define GMC_DP_SRC_HOST_BYTEALIGN 0x04000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1271 # define GMC_3D_FCN_EN_CLR 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1272 # define GMC_3D_FCN_EN_SET 0x08000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1273 # define GMC_DST_CLR_CMP_FCN_LEAVE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1274 # define GMC_DST_CLR_CMP_FCN_CLEAR 0x10000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1275 # define GMC_AUX_CLIP_LEAVE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1276 # define GMC_AUX_CLIP_CLEAR 0x20000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1277 # define GMC_WRITE_MASK_LEAVE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1278 # define GMC_WRITE_MASK_SET 0x40000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1279 # define GMC_CLR_CMP_CNTL_DIS (1 << 28)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1280 # define GMC_SRC_DATATYPE_COLOR (3 << 12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1281 # define ROP3_S 0x00cc0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1282 # define ROP3_SRCCOPY 0x00cc0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1283 # define ROP3_P 0x00f00000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1284 # define ROP3_PATCOPY 0x00f00000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1285 # define DP_SRC_SOURCE_MASK (7 << 24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1286 # define GMC_BRUSH_NONE (15 << 4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1287 # define DP_SRC_SOURCE_MEMORY (2 << 24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1288 # define GMC_BRUSH_SOLIDCOLOR 0x000000d0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1289 #define SC_TOP_LEFT 0x16EC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1290 #define SC_BOTTOM_RIGHT 0x16F0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1291 #define SRC_SC_BOTTOM_RIGHT 0x16F4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1292 #define RB2D_DSTCACHE_CTLSTAT 0x342C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1293 #define RB2D_DSTCACHE_MODE 0x3428
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1294
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1295 #define BASE_CODE 0x0f0b/*0x0f08*/
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1296 #define RADEON_BIOS_0_SCRATCH 0x0010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1297 #define RADEON_BIOS_1_SCRATCH 0x0014
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1298 #define RADEON_BIOS_2_SCRATCH 0x0018
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1299 #define RADEON_BIOS_3_SCRATCH 0x001c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1300 #define RADEON_BIOS_4_SCRATCH 0x0020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1301 #define RADEON_BIOS_5_SCRATCH 0x0024
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1302 #define RADEON_BIOS_6_SCRATCH 0x0028
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1303 #define RADEON_BIOS_7_SCRATCH 0x002c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1304
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1305
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1306 #define CLK_PIN_CNTL 0x0001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1307 #define PPLL_CNTL 0x0002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1308 # define PPLL_RESET (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1309 # define PPLL_SLEEP (1 << 1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1310 # define PPLL_ATOMIC_UPDATE_EN (1 << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1311 # define PPLL_VGA_ATOMIC_UPDATE_EN (1 << 17)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1312 # define PPLL_ATOMIC_UPDATE_VSYNC (1 << 18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1313 #define PPLL_REF_DIV 0x0003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1314 # define PPLL_REF_DIV_MASK 0x03ff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1315 # define PPLL_ATOMIC_UPDATE_R (1 << 15) /* same as _W */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1316 # define PPLL_ATOMIC_UPDATE_W (1 << 15) /* same as _R */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1317 #define PPLL_DIV_0 0x0004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1318 #define PPLL_DIV_1 0x0005
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1319 #define PPLL_DIV_2 0x0006
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1320 #define PPLL_DIV_3 0x0007
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1321 #define VCLK_ECP_CNTL 0x0008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1322 # define VCLK_SRC_SEL_MASK 0x03
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1323 # define VCLK_SRC_SEL_CPUCLK 0x00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1324 # define VCLK_SRC_SEL_PSCANCLK 0x01
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1325 # define VCLK_SRC_SEL_BYTECLK 0x02
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1326 # define VCLK_SRC_SEL_PPLLCLK 0x03
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1327 #define HTOTAL_CNTL 0x0009
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1328 #define HTOTAL2_CNTL 0x002e /* PLL */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1329 #define M_SPLL_REF_FB_DIV 0x000a
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1330 #define AGP_PLL_CNTL 0x000b
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1331 #define SPLL_CNTL 0x000c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1332 #define SCLK_CNTL 0x000d
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1333 # define DYN_STOP_LAT_MASK 0x00007ff8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1334 # define CP_MAX_DYN_STOP_LAT 0x0008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1335 # define SCLK_FORCEON_MASK 0xffff8000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1336 #define SCLK_MORE_CNTL 0x0035 /* PLL */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1337 # define SCLK_MORE_FORCEON 0x0700
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1338 #define MPLL_CNTL 0x000e
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1339 #ifdef RAGE128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1340 #define MCLK_CNTL 0x000f /* PLL */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1341 # define FORCE_GCP (1 << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1342 # define FORCE_PIPE3D_CP (1 << 17)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1343 # define FORCE_RCP (1 << 18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1344 #else
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1345 #define MCLK_CNTL 0x0012
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1346 /* MCLK_CNTL bit constants */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1347 # define FORCEON_MCLKA (1 << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1348 # define FORCEON_MCLKB (1 << 17)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1349 # define FORCEON_YCLKA (1 << 18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1350 # define FORCEON_YCLKB (1 << 19)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1351 # define FORCEON_MC (1 << 20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1352 # define FORCEON_AIC (1 << 21)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1353 #endif
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1354 #define PLL_TEST_CNTL 0x0013
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1355 #define P2PLL_CNTL 0x002a /* P2PLL */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1356 # define P2PLL_RESET (1 << 0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1357 # define P2PLL_SLEEP (1 << 1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1358 # define P2PLL_ATOMIC_UPDATE_EN (1 << 16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1359 # define P2PLL_VGA_ATOMIC_UPDATE_EN (1 << 17)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1360 # define P2PLL_ATOMIC_UPDATE_VSYNC (1 << 18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1361 #define P2PLL_DIV_0 0x002c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1362 # define P2PLL_FB0_DIV_MASK 0x07ff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1363 # define P2PLL_POST0_DIV_MASK 0x00070000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1364 #define P2PLL_REF_DIV 0x002B /* PLL */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1365 # define P2PLL_REF_DIV_MASK 0x03ff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1366 # define P2PLL_ATOMIC_UPDATE_R (1 << 15) /* same as _W */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1367 # define P2PLL_ATOMIC_UPDATE_W (1 << 15) /* same as _R */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1368 #define PIXCLKS_CNTL 0x002d
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1369 # define PIX2CLK_SRC_SEL_MASK 0x03
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1370 # define PIX2CLK_SRC_SEL_CPUCLK 0x00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1371 # define PIX2CLK_SRC_SEL_PSCANCLK 0x01
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1372 # define PIX2CLK_SRC_SEL_BYTECLK 0x02
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1373 # define PIX2CLK_SRC_SEL_P2PLLCLK 0x03
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1374
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1375 /* masks */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1376
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1377 #define CONFIG_MEMSIZE_MASK 0x1f000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1378 #define MEM_CFG_TYPE 0x40000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1379 #define DST_OFFSET_MASK 0x003fffff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1380 #define DST_PITCH_MASK 0x3fc00000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1381 #define DEFAULT_TILE_MASK 0xc0000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1382 #define PPLL_DIV_SEL_MASK 0x00000300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1383 #define PPLL_FB3_DIV_MASK 0x000007ff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1384 #define PPLL_POST3_DIV_MASK 0x00070000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1385
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1386 /* BUS MASTERING */
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1387 #ifdef RAGE128
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1388 #define BM_FRAME_BUF_OFFSET 0xA00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1389 #define BM_SYSTEM_MEM_ADDR 0xA04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1390 #define BM_COMMAND 0xA08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1391 # define BM_INTERRUPT_DIS 0x08000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1392 # define BM_TRANSFER_DEST_REG 0x10000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1393 # define BM_FORCE_TO_PCI 0x20000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1394 # define BM_FRAME_OFFSET_HOLD 0x40000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1395 # define BM_END_OF_LIST 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1396 #define BM_STATUS 0xA0c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1397 #define BM_QUEUE_STATUS 0xA10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1398 #define BM_QUEUE_FREE_STATUS 0xA14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1399 #define BM_CHUNK_0_VAL 0xA18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1400 # define BM_PTR_FORCE_TO_PCI 0x00200000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1401 # define BM_PM4_RD_FORCE_TO_PCI 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1402 # define BM_GLOBAL_FORCE_TO_PCI 0x00800000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1403 # define BM_VIP3_NOCHUNK 0x10000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1404 # define BM_VIP2_NOCHUNK 0x20000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1405 # define BM_VIP1_NOCHUNK 0x40000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1406 # define BM_VIP0_NOCHUNK 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1407 #define BM_CHUNK_1_VAL 0xA1C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1408 #define BM_VIP0_BUF 0xA20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1409 # define SYSTEM_TRIGGER_SYSTEM_TO_VIDEO 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1410 # define SYSTEM_TRIGGER_VIDEO_TO_SYSTEM 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1411 #define BM_VIP0_ACTIVE 0xA24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1412 #define BM_VIP1_BUF 0xA30
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1413 #define BM_VIP1_ACTIVE 0xA34
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1414 #define BM_VIP2_BUF 0xA40
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1415 #define BM_VIP2_ACTIVE 0xA44
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1416 #define BM_VIP3_BUF 0xA50
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1417 #define BM_VIP3_ACTIVE 0xA54
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1418 #define BM_VIDCAP_BUF0 0xA60
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1419 #define BM_VIDCAP_BUF1 0xA64
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1420 #define BM_VIDCAP_BUF2 0xA68
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1421 #define BM_VIDCAP_ACTIVE 0xA6c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1422 #define BM_GUI 0xA80
23044
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1423 #define BM_ABORT 0xA88
7d693457f85e updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
ben
parents: 22850
diff changeset
1424 #endif
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1425 /* RAGE THEATER REGISTERS */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1426
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1427 #define DMA_VIPH0_COMMAND 0x0A00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1428 #define DMA_VIPH1_COMMAND 0x0A04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1429 #define DMA_VIPH2_COMMAND 0x0A08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1430 #define DMA_VIPH3_COMMAND 0x0A0C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1431 #define DMA_VIPH_STATUS 0x0A10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1432 #define DMA_VIPH_CHUNK_0 0x0A18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1433 #define DMA_VIPH_CHUNK_1_VAL 0x0A1C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1434 #define DMA_VIP0_TABLE_ADDR 0x0A20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1435 #define DMA_VIPH0_ACTIVE 0x0A24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1436 #define DMA_VIP1_TABLE_ADDR 0x0A30
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1437 #define DMA_VIPH1_ACTIVE 0x0A34
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1438 #define DMA_VIP2_TABLE_ADDR 0x0A40
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1439 #define DMA_VIPH2_ACTIVE 0x0A44
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1440 #define DMA_VIP3_TABLE_ADDR 0x0A50
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1441 #define DMA_VIPH3_ACTIVE 0x0A54
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1442 #define DMA_VIPH_ABORT 0x0A88
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1443
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1444 #define VIPH_CH0_DATA 0x0c00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1445 #define VIPH_CH1_DATA 0x0c04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1446 #define VIPH_CH2_DATA 0x0c08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1447 #define VIPH_CH3_DATA 0x0c0c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1448 #define VIPH_CH0_ADDR 0x0c10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1449 #define VIPH_CH1_ADDR 0x0c14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1450 #define VIPH_CH2_ADDR 0x0c18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1451 #define VIPH_CH3_ADDR 0x0c1c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1452 #define VIPH_CH0_SBCNT 0x0c20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1453 #define VIPH_CH1_SBCNT 0x0c24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1454 #define VIPH_CH2_SBCNT 0x0c28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1455 #define VIPH_CH3_SBCNT 0x0c2c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1456 #define VIPH_CH0_ABCNT 0x0c30
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1457 #define VIPH_CH1_ABCNT 0x0c34
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1458 #define VIPH_CH2_ABCNT 0x0c38
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1459 #define VIPH_CH3_ABCNT 0x0c3c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1460 #define VIPH_CONTROL 0x0c40
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1461 #define VIPH_DV_LAT 0x0c44
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1462 #define VIPH_BM_CHUNK 0x0c48
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1463 #define VIPH_DV_INT 0x0c4c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1464 #define VIPH_TIMEOUT_STAT 0x0c50
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1465
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1466 #define VIPH_REG_DATA 0x0084
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1467 #define VIPH_REG_ADDR 0x0080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1468
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1469 /* Address Space Rage Theatre Registers (VIP Access) */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1470 #define VIP_VIP_VENDOR_DEVICE_ID 0x0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1471 #define VIP_VIP_SUB_VENDOR_DEVICE_ID 0x0004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1472 #define VIP_VIP_COMMAND_STATUS 0x0008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1473 #define VIP_VIP_REVISION_ID 0x000c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1474 #define VIP_HW_DEBUG 0x0010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1475 #define VIP_SW_SCRATCH 0x0014
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1476 #define VIP_I2C_CNTL_0 0x0020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1477 #define VIP_I2C_CNTL_1 0x0024
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1478 #define VIP_I2C_DATA 0x0028
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1479 #define VIP_INT_CNTL 0x002c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1480 #define VIP_GPIO_INOUT 0x0030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1481 #define VIP_GPIO_CNTL 0x0034
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1482 #define VIP_CLKOUT_GPIO_CNTL 0x0038
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1483 #define VIP_RIPINTF_PORT_CNTL 0x003c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1484 #define VIP_ADC_CNTL 0x0400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1485 #define VIP_ADC_DEBUG 0x0404
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1486 #define VIP_STANDARD_SELECT 0x0408
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1487 #define VIP_THERMO2BIN_STATUS 0x040c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1488 #define VIP_COMB_CNTL0 0x0440
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1489 #define VIP_COMB_CNTL1 0x0444
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1490 #define VIP_COMB_CNTL2 0x0448
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1491 #define VIP_COMB_LINE_LENGTH 0x044c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1492 #define VIP_NOISE_CNTL0 0x0450
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1493 #define VIP_HS_PLINE 0x0480
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1494 #define VIP_HS_DTOINC 0x0484
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1495 #define VIP_HS_PLLGAIN 0x0488
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1496 #define VIP_HS_MINMAXWIDTH 0x048c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1497 #define VIP_HS_GENLOCKDELAY 0x0490
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1498 #define VIP_HS_WINDOW_LIMIT 0x0494
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1499 #define VIP_HS_WINDOW_OC_SPEED 0x0498
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1500 #define VIP_HS_PULSE_WIDTH 0x049c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1501 #define VIP_HS_PLL_ERROR 0x04a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1502 #define VIP_HS_PLL_FS_PATH 0x04a4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1503 #define VIP_SG_BLACK_GATE 0x04c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1504 #define VIP_SG_SYNCTIP_GATE 0x04c4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1505 #define VIP_SG_UVGATE_GATE 0x04c8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1506 #define VIP_LP_AGC_CLAMP_CNTL0 0x0500
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1507 #define VIP_LP_AGC_CLAMP_CNTL1 0x0504
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1508 #define VIP_LP_BRIGHTNESS 0x0508
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1509 #define VIP_LP_CONTRAST 0x050c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1510 #define VIP_LP_SLICE_LIMIT 0x0510
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1511 #define VIP_LP_WPA_CNTL0 0x0514
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1512 #define VIP_LP_WPA_CNTL1 0x0518
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1513 #define VIP_LP_BLACK_LEVEL 0x051c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1514 #define VIP_LP_SLICE_LEVEL 0x0520
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1515 #define VIP_LP_SYNCTIP_LEVEL 0x0524
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1516 #define VIP_LP_VERT_LOCKOUT 0x0528
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1517 #define VIP_VS_DETECTOR_CNTL 0x0540
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1518 #define VIP_VS_BLANKING_CNTL 0x0544
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1519 #define VIP_VS_FIELD_ID_CNTL 0x0548
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1520 #define VIP_VS_COUNTER_CNTL 0x054c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1521 #define VIP_VS_FRAME_TOTAL 0x0550
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1522 #define VIP_VS_LINE_COUNT 0x0554
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1523 #define VIP_CP_PLL_CNTL0 0x0580
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1524 #define VIP_CP_PLL_CNTL1 0x0584
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1525 #define VIP_CP_HUE_CNTL 0x0588
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1526 #define VIP_CP_BURST_GAIN 0x058c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1527 #define VIP_CP_AGC_CNTL 0x0590
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1528 #define VIP_CP_ACTIVE_GAIN 0x0594
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1529 #define VIP_CP_PLL_STATUS0 0x0598
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1530 #define VIP_CP_PLL_STATUS1 0x059c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1531 #define VIP_CP_PLL_STATUS2 0x05a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1532 #define VIP_CP_PLL_STATUS3 0x05a4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1533 #define VIP_CP_PLL_STATUS4 0x05a8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1534 #define VIP_CP_PLL_STATUS5 0x05ac
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1535 #define VIP_CP_PLL_STATUS6 0x05b0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1536 #define VIP_CP_PLL_STATUS7 0x05b4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1537 #define VIP_CP_DEBUG_FORCE 0x05b8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1538 #define VIP_CP_VERT_LOCKOUT 0x05bc
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1539 #define VIP_H_ACTIVE_WINDOW 0x05c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1540 #define VIP_V_ACTIVE_WINDOW 0x05c4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1541 #define VIP_H_VBI_WINDOW 0x05c8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1542 #define VIP_V_VBI_WINDOW 0x05cc
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1543 #define VIP_VBI_CONTROL 0x05d0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1544 #define VIP_DECODER_DEBUG_CNTL 0x05d4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1545 #define VIP_SINGLE_STEP_DATA 0x05d8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1546 #define VIP_MASTER_CNTL 0x0040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1547 #define VIP_RGB_CNTL 0x0048
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1548 #define VIP_CLKOUT_CNTL 0x004c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1549 #define VIP_SYNC_CNTL 0x0050
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1550 #define VIP_I2C_CNTL 0x0054
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1551 #define VIP_HTOTAL 0x0080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1552 #define VIP_HDISP 0x0084
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1553 #define VIP_HSIZE 0x0088
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1554 #define VIP_HSTART 0x008c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1555 #define VIP_HCOUNT 0x0090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1556 #define VIP_VTOTAL 0x0094
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1557 #define VIP_VDISP 0x0098
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1558 #define VIP_VCOUNT 0x009c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1559 #define VIP_VFTOTAL 0x00a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1560 #define VIP_DFCOUNT 0x00a4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1561 #define VIP_DFRESTART 0x00a8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1562 #define VIP_DHRESTART 0x00ac
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1563 #define VIP_DVRESTART 0x00b0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1564 #define VIP_SYNC_SIZE 0x00b4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1565 #define VIP_TV_PLL_FINE_CNTL 0x00b8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1566 #define VIP_CRT_PLL_FINE_CNTL 0x00bc
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1567 #define VIP_TV_PLL_CNTL 0x00c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1568 #define VIP_CRT_PLL_CNTL 0x00c4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1569 #define VIP_PLL_CNTL0 0x00c8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1570 #define VIP_PLL_TEST_CNTL 0x00cc
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1571 #define VIP_CLOCK_SEL_CNTL 0x00d0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1572 #define VIP_VIN_PLL_CNTL 0x00d4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1573 #define VIP_VIN_PLL_FINE_CNTL 0x00d8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1574 #define VIP_AUD_PLL_CNTL 0x00e0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1575 #define VIP_AUD_PLL_FINE_CNTL 0x00e4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1576 #define VIP_AUD_CLK_DIVIDERS 0x00e8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1577 #define VIP_AUD_DTO_INCREMENTS 0x00ec
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1578 #define VIP_L54_PLL_CNTL 0x00f0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1579 #define VIP_L54_PLL_FINE_CNTL 0x00f4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1580 #define VIP_L54_DTO_INCREMENTS 0x00f8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1581 #define VIP_PLL_CNTL1 0x00fc
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1582 #define VIP_FRAME_LOCK_CNTL 0x0100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1583 #define VIP_SYNC_LOCK_CNTL 0x0104
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1584 #define VIP_TVO_SYNC_PAT_ACCUM 0x0108
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1585 #define VIP_TVO_SYNC_THRESHOLD 0x010c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1586 #define VIP_TVO_SYNC_PAT_EXPECT 0x0110
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1587 #define VIP_DELAY_ONE_MAP_A 0x0114
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1588 #define VIP_DELAY_ONE_MAP_B 0x0118
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1589 #define VIP_DELAY_ZERO_MAP_A 0x011c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1590 #define VIP_DELAY_ZERO_MAP_B 0x0120
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1591 #define VIP_TVO_DATA_DELAY_A 0x0140
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1592 #define VIP_TVO_DATA_DELAY_B 0x0144
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1593 #define VIP_HOST_READ_DATA 0x0180
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1594 #define VIP_HOST_WRITE_DATA 0x0184
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1595 #define VIP_HOST_RD_WT_CNTL 0x0188
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1596 #define VIP_VSCALER_CNTL1 0x01c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1597 #define VIP_TIMING_CNTL 0x01c4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1598 #define VIP_VSCALER_CNTL2 0x01c8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1599 #define VIP_Y_FALL_CNTL 0x01cc
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1600 #define VIP_Y_RISE_CNTL 0x01d0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1601 #define VIP_Y_SAW_TOOTH_CNTL 0x01d4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1602 #define VIP_UPSAMP_AND_GAIN_CNTL 0x01e0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1603 #define VIP_GAIN_LIMIT_SETTINGS 0x01e4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1604 #define VIP_LINEAR_GAIN_SETTINGS 0x01e8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1605 #define VIP_MODULATOR_CNTL1 0x0200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1606 #define VIP_MODULATOR_CNTL2 0x0204
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1607 #define VIP_MV_MODE_CNTL 0x0208
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1608 #define VIP_MV_STRIPE_CNTL 0x020c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1609 #define VIP_MV_LEVEL_CNTL1 0x0210
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1610 #define VIP_MV_LEVEL_CNTL2 0x0214
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1611 #define VIP_PRE_DAC_MUX_CNTL 0x0240
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1612 #define VIP_TV_DAC_CNTL 0x0280
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1613 #define VIP_CRC_CNTL 0x02c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1614 #define VIP_VIDEO_PORT_SIG 0x02c4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1615 #define VIP_VBI_CC_CNTL 0x02c8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1616 #define VIP_VBI_EDS_CNTL 0x02cc
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1617 #define VIP_VBI_20BIT_CNTL 0x02d0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1618 #define VIP_VBI_DTO_CNTL 0x02d4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1619 #define VIP_VBI_LEVEL_CNTL 0x02d8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1620 #define VIP_UV_ADR 0x0300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1621 #define VIP_MV_STATUS 0x0330
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1622 #define VIP_UPSAMP_COEFF0_0 0x0340
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1623 #define VIP_UPSAMP_COEFF0_1 0x0344
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1624 #define VIP_UPSAMP_COEFF0_2 0x0348
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1625 #define VIP_UPSAMP_COEFF1_0 0x034c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1626 #define VIP_UPSAMP_COEFF1_1 0x0350
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1627 #define VIP_UPSAMP_COEFF1_2 0x0354
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1628 #define VIP_UPSAMP_COEFF2_0 0x0358
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1629 #define VIP_UPSAMP_COEFF2_1 0x035c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1630 #define VIP_UPSAMP_COEFF2_2 0x0360
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1631 #define VIP_UPSAMP_COEFF3_0 0x0364
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1632 #define VIP_UPSAMP_COEFF3_1 0x0368
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1633 #define VIP_UPSAMP_COEFF3_2 0x036c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1634 #define VIP_UPSAMP_COEFF4_0 0x0370
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1635 #define VIP_UPSAMP_COEFF4_1 0x0374
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1636 #define VIP_UPSAMP_COEFF4_2 0x0378
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1637 #define VIP_TV_DTO_INCREMENTS 0x0390
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1638 #define VIP_CRT_DTO_INCREMENTS 0x0394
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1639 #define VIP_VSYNC_DIFF_CNTL 0x03a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1640 #define VIP_VSYNC_DIFF_LIMITS 0x03a4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1641 #define VIP_VSYNC_DIFF_RD_DATA 0x03a8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1642 #define VIP_SCALER_IN_WINDOW 0x0618
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1643 #define VIP_SCALER_OUT_WINDOW 0x061c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1644 #define VIP_H_SCALER_CONTROL 0x0600
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1645 #define VIP_V_SCALER_CONTROL 0x0604
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1646 #define VIP_V_DEINTERLACE_CONTROL 0x0608
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1647 #define VIP_VBI_SCALER_CONTROL 0x060c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1648 #define VIP_DVS_PORT_CTRL 0x0610
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1649 #define VIP_DVS_PORT_READBACK 0x0614
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1650 #define VIP_FIFOA_CONFIG 0x0800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1651 #define VIP_FIFOB_CONFIG 0x0804
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1652 #define VIP_FIFOC_CONFIG 0x0808
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1653 #define VIP_SPDIF_PORT_CNTL 0x080c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1654 #define VIP_SPDIF_CHANNEL_STAT 0x0810
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1655 #define VIP_SPDIF_AC3_PREAMBLE 0x0814
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1656 #define VIP_I2S_TRANSMIT_CNTL 0x0818
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1657 #define VIP_I2S_RECEIVE_CNTL 0x081c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1658 #define VIP_SPDIF_TX_CNT_REG 0x0820
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1659 #define VIP_IIS_TX_CNT_REG 0x0824
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1660
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1661 /* Status defines */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1662 #define VIP_BUSY 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1663 #define VIP_IDLE 1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1664 #define VIP_RESET 2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1665
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1666 #define VIPH_TIMEOUT_STAT__VIPH_REG_STAT 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1667 #define VIPH_TIMEOUT_STAT__VIPH_REG_AK 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1668 #define VIPH_TIMEOUT_STAT__VIPH_REGR_DIS 0x01000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1669 #define TEST_DEBUG_CNTL__TEST_DEBUG_OUT_EN 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1670
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1671 #define RT_ATI_ID 0x4D541002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1672
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1673 /* Register/Field values: */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1674 #define RT_COMP0 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1675 #define RT_COMP1 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1676 #define RT_COMP2 0x2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1677 #define RT_YF_COMP3 0x3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1678 #define RT_YR_COMP3 0x4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1679 #define RT_YCF_COMP4 0x5
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1680 #define RT_YCR_COMP4 0x6
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1681
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1682 /* Video standard defines */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1683 #define RT_NTSC 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1684 #define RT_PAL 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1685 #define RT_SECAM 0x2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1686 #define extNONE 0x0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1687 #define extNTSC 0x0100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1688 #define extRsvd 0x0200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1689 #define extPAL 0x0300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1690 #define extPAL_M 0x0400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1691 #define extPAL_N 0x0500
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1692 #define extSECAM 0x0600
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1693 #define extPAL_NCOMB 0x0700
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1694 #define extNTSC_J 0x0800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1695 #define extNTSC_443 0x0900
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1696 #define extPAL_BGHI 0x0A00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1697 #define extPAL_60 0x0B00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1698 /* these are used in MSP3430 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1699 #define extPAL_DK1 0x0C00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1700 #define extPAL_AUTO 0x0D00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1701
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1702 #define RT_FREF_2700 6
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1703 #define RT_FREF_2950 5
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1704
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1705 #define RT_COMPOSITE 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1706 #define RT_SVIDEO 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1707
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1708 #define RT_NORM_SHARPNESS 0x03
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1709 #define RT_HIGH_SHARPNESS 0x0F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1710
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1711 #define RT_HUE_PAL_DEF 0x00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1712
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1713 #define RT_DECINTERLACED 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1714 #define RT_DECNONINTERLACED 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1715
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1716 #define NTSC_LINES 525
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1717 #define PAL_SECAM_LINES 625
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1718
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1719 #define RT_ASYNC_ENABLE 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1720 #define RT_ASYNC_DISABLE 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1721 #define RT_ASYNC_RESET 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1722
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1723 #define RT_VINRST_ACTIVE 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1724 #define RT_VINRST_RESET 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1725 #define RT_L54RST_RESET 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1726
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1727 #define RT_REF_CLK 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1728 #define RT_PLL_VIN_CLK 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1729
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1730 #define RT_VIN_ASYNC_RST 0x20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1731 #define RT_DVS_ASYNC_RST 0x80
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1732
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1733 #define RT_ADC_ENABLE 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1734 #define RT_ADC_DISABLE 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1735
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1736 #define RT_DVSDIR_IN 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1737 #define RT_DVSDIR_OUT 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1738
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1739 #define RT_DVSCLK_HIGH 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1740 #define RT_DVSCLK_LOW 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1741
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1742 #define RT_DVSCLK_SEL_8FS 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1743 #define RT_DVSCLK_SEL_27MHZ 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1744
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1745 #define RT_DVS_CONTSTREAM 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1746 #define RT_DVS_NONCONTSTREAM 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1747
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1748 #define RT_DVSDAT_HIGH 0x0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1749 #define RT_DVSDAT_LOW 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1750
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1751 #define RT_ADC_CNTL_DEFAULT 0x03252338
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1752
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1753 /* COMB_CNTL0 FILTER SETTINGS FOR DIFFERENT STANDARDS: */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1754 #define RT_NTSCM_COMB_CNTL0_COMPOSITE 0x09438090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1755 #define RT_NTSCM_COMB_CNTL0_SVIDEO 0x48540000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1756
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1757 #define RT_PAL_COMB_CNTL0_COMPOSITE 0x09438090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1758 #define RT_PAL_COMB_CNTL0_SVIDEO 0x40348090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1759
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1760 #define RT_SECAM_COMB_CNTL0_COMPOSITE 0xD0108090 /* instead of orig 0xD0088090 - eric*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1761 #define RT_SECAM_COMB_CNTL0_SVIDEO 0x50148090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1762
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1763 #define RT_PALN_COMB_CNTL0_COMPOSITE 0x09438090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1764 #define RT_PALN_COMB_CNTL0_SVIDEO 0x40348090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1765
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1766 #define RT_PALM_COMB_CNTL0_COMPOSITE 0x09438090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1767 #define RT_PALM_COMB_CNTL0_SVIDEO 0x40348090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1768 /* End of filter settings. */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1769
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1770 /* COMB_CNTL1 FILTER SETTINGS FOR DIFFERENT STANDARDS: */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1771 #define RT_NTSCM_COMB_CNTL1_COMPOSITE 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1772 #define RT_NTSCM_COMB_CNTL1_SVIDEO 0x00000081
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1773
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1774 #define RT_PAL_COMB_CNTL1_COMPOSITE 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1775 #define RT_PAL_COMB_CNTL1_SVIDEO 0x000000A1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1776
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1777 #define RT_SECAM_COMB_CNTL1_COMPOSITE 0x00000091
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1778 #define RT_SECAM_COMB_CNTL1_SVIDEO 0x00000081
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1779
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1780 #define RT_PALN_COMB_CNTL1_COMPOSITE 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1781 #define RT_PALN_COMB_CNTL1_SVIDEO 0x000000A1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1782
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1783 #define RT_PALM_COMB_CNTL1_COMPOSITE 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1784 #define RT_PALM_COMB_CNTL1_SVIDEO 0x000000A1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1785 /* End of filter settings. */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1786
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1787 /* COMB_CNTL2 FILTER SETTINGS FOR DIFFERENT STANDARDS: */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1788 #define RT_NTSCM_COMB_CNTL2_COMPOSITE 0x16161010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1789 #define RT_NTSCM_COMB_CNTL2_SVIDEO 0xFFFFFFFF
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1790
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1791 #define RT_PAL_COMB_CNTL2_COMPOSITE 0x06080102 /* instead of 0x16161010 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1792 #define RT_PAL_COMB_CNTL2_SVIDEO 0x06080102
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1793
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1794 #define RT_SECAM_COMB_CNTL2_COMPOSITE 0xffffffff /* instead of 0x06080102 - eric */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1795 #define RT_SECAM_COMB_CNTL2_SVIDEO 0x06080102
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1796
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1797 #define RT_PALN_COMB_CNTL2_COMPOSITE 0x06080102
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1798 #define RT_PALN_COMB_CNTL2_SVIDEO 0x06080102
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1799
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1800 #define RT_PALM_COMB_CNTL2_COMPOSITE 0x06080102
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1801 #define RT_PALM_COMB_CNTL2_SVIDEO 0x06080102
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1802 /* End of filter settings. */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1803
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1804 /* COMB_LINE_LENGTH FILTER SETTINGS FOR DIFFERENT STANDARDS: */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1805 #define RT_NTSCM_COMB_LENGTH_COMPOSITE 0x0718038A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1806 #define RT_NTSCM_COMB_LENGTH_SVIDEO 0x0718038A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1807
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1808 #define RT_PAL_COMB_LENGTH_COMPOSITE 0x08DA046B
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1809 #define RT_PAL_COMB_LENGTH_SVIDEO 0x08DA046B
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1810
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1811 #define RT_SECAM_COMB_LENGTH_COMPOSITE 0x08DA046A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1812 #define RT_SECAM_COMB_LENGTH_SVIDEO 0x08DA046A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1813
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1814 #define RT_PALN_COMB_LENGTH_COMPOSITE 0x07260391
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1815 #define RT_PALN_COMB_LENGTH_SVIDEO 0x07260391
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1816
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1817 #define RT_PALM_COMB_LENGTH_COMPOSITE 0x07160389
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1818 #define RT_PALM_COMB_LENGTH_SVIDEO 0x07160389
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1819 /* End of filter settings. */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1820
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1821 /* LP_AGC_CLAMP_CNTL0 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1822 #define RT_NTSCM_SYNCTIP_REF0 0x00000037
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1823 #define RT_NTSCM_SYNCTIP_REF1 0x00000029
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1824 #define RT_NTSCM_CLAMP_REF 0x0000003B
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1825 #define RT_NTSCM_PEAKWHITE 0x000000FF
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1826 #define RT_NTSCM_VBI_PEAKWHITE 0x000000C2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1827
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1828 #define RT_NTSCM_WPA_THRESHOLD 0x00000406
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1829 #define RT_NTSCM_WPA_TRIGGER_LO 0x000000B3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1830
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1831 #define RT_NTSCM_WPA_TRIGGER_HIGH 0x0000021B
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1832
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1833 #define RT_NTSCM_LP_LOCKOUT_START 0x00000206
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1834 #define RT_NTSCM_LP_LOCKOUT_END 0x00000021
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1835 #define RT_NTSCM_CH_DTO_INC 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1836 #define RT_NTSCM_CH_PLL_SGAIN 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1837 #define RT_NTSCM_CH_PLL_FGAIN 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1838
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1839 #define RT_NTSCM_CR_BURST_GAIN 0x0000007A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1840 #define RT_NTSCM_CB_BURST_GAIN 0x000000AC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1841
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1842 #define RT_NTSCM_CH_HEIGHT 0x000000CD
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1843 #define RT_NTSCM_CH_KILL_LEVEL 0x000000C0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1844 #define RT_NTSCM_CH_AGC_ERROR_LIM 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1845 #define RT_NTSCM_CH_AGC_FILTER_EN 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1846 #define RT_NTSCM_CH_AGC_LOOP_SPEED 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1847
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1848 #define RT_NTSCM_CRDR_ACTIVE_GAIN 0x0000007A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1849 #define RT_NTSCM_CBDB_ACTIVE_GAIN 0x000000AC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1851 #define RT_NTSCM_VERT_LOCKOUT_START 0x00000207
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1852 #define RT_NTSCM_VERT_LOCKOUT_END 0x0000000E
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1853
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1854 #define RT_NTSCJ_SYNCTIP_REF0 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1855 #define RT_NTSCJ_SYNCTIP_REF1 0x00000012
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1856 #define RT_NTSCJ_CLAMP_REF 0x0000003B
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1857 #define RT_NTSCJ_PEAKWHITE 0x000000CB
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1858 #define RT_NTSCJ_VBI_PEAKWHITE 0x000000C2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1859 #define RT_NTSCJ_WPA_THRESHOLD 0x000004B0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1860 #define RT_NTSCJ_WPA_TRIGGER_LO 0x000000B4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1861 #define RT_NTSCJ_WPA_TRIGGER_HIGH 0x0000021C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1862 #define RT_NTSCJ_LP_LOCKOUT_START 0x00000206
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1863 #define RT_NTSCJ_LP_LOCKOUT_END 0x00000021
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1864
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1865 #define RT_NTSCJ_CR_BURST_GAIN 0x00000071
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1866 #define RT_NTSCJ_CB_BURST_GAIN 0x0000009F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1867 #define RT_NTSCJ_CH_HEIGHT 0x000000CD
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1868 #define RT_NTSCJ_CH_KILL_LEVEL 0x000000C0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1869 #define RT_NTSCJ_CH_AGC_ERROR_LIM 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1870 #define RT_NTSCJ_CH_AGC_FILTER_EN 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1871 #define RT_NTSCJ_CH_AGC_LOOP_SPEED 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1872
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1873 #define RT_NTSCJ_CRDR_ACTIVE_GAIN 0x00000071
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1874 #define RT_NTSCJ_CBDB_ACTIVE_GAIN 0x0000009F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1875 #define RT_NTSCJ_VERT_LOCKOUT_START 0x00000207
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1876 #define RT_NTSCJ_VERT_LOCKOUT_END 0x0000000E
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1877
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1878 #define RT_PAL_SYNCTIP_REF0 0x37 /* instead of 0x00000004 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1879 #define RT_PAL_SYNCTIP_REF1 0x26 /* instead of 0x0000000F - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1880 #define RT_PAL_CLAMP_REF 0x0000003B
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1881 #define RT_PAL_PEAKWHITE 0xFF /* instead of 0x000000C1 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1882 #define RT_PAL_VBI_PEAKWHITE 0xC6 /* instead of 0x000000C7 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1883 #define RT_PAL_WPA_THRESHOLD 0x59C /* instead of 0x000006A4 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1884
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1885 #define RT_PAL_WPA_TRIGGER_LO 0x00000096
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1886 #define RT_PAL_WPA_TRIGGER_HIGH 0x000001C2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1887 #define RT_PAL_LP_LOCKOUT_START 0x00000263
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1888 #define RT_PAL_LP_LOCKOUT_END 0x0000002C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1889
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1890 #define RT_PAL_CH_DTO_INC 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1891 #define RT_PAL_CH_PLL_SGAIN 1 /* instead of 0x00000002 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1892 #define RT_PAL_CH_PLL_FGAIN 2 /* instead of 0x00000001 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1893 #define RT_PAL_CR_BURST_GAIN 0x0000007A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1894 #define RT_PAL_CB_BURST_GAIN 0x000000AB
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1895 #define RT_PAL_CH_HEIGHT 0x0000009C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1896 #define RT_PAL_CH_KILL_LEVEL 4 /* instead of 0x00000090 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1897 #define RT_PAL_CH_AGC_ERROR_LIM 1 /* instead of 0x00000002 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1898 #define RT_PAL_CH_AGC_FILTER_EN 1 /* instead of 0x00000000 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1899 #define RT_PAL_CH_AGC_LOOP_SPEED 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1900
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1901 #define RT_PAL_CRDR_ACTIVE_GAIN 0x9E /* instead of 0x0000007A - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1902 #define RT_PAL_CBDB_ACTIVE_GAIN 0xDF /* instead of 0x000000AB - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1903 #define RT_PAL_VERT_LOCKOUT_START 0x00000269
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1904 #define RT_PAL_VERT_LOCKOUT_END 0x00000012
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1905
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1906 #define RT_SECAM_SYNCTIP_REF0 0x37 /* instead of 0x00000004 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1907 #define RT_SECAM_SYNCTIP_REF1 0x26 /* instead of 0x0000000F - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1908 #define RT_SECAM_CLAMP_REF 0x0000003B
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1909 #define RT_SECAM_PEAKWHITE 0xFF /* instead of 0x000000C1 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1910 #define RT_SECAM_VBI_PEAKWHITE 0xC6 /* instead of 0x000000C7 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1911 #define RT_SECAM_WPA_THRESHOLD 0x57A /* instead of 0x6A4, instead of 0x0000059C is Ivo's value , -eric*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1912
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1913 #define RT_SECAM_WPA_TRIGGER_LO 0x96 /* instead of 0x0000026B - eric */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1914 #define RT_SECAM_WPA_TRIGGER_HIGH 0x000001C2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1915 #define RT_SECAM_LP_LOCKOUT_START 0x263 /* instead of 0x0000026B - eric */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1916 #define RT_SECAM_LP_LOCKOUT_END 0x2b /* instead of 0x0000002C -eric */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1917
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1918 #define RT_SECAM_CH_DTO_INC 0x003E7A28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1919 #define RT_SECAM_CH_PLL_SGAIN 0x4 /* instead of 0x00000006 -Volodya */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1920 #define RT_SECAM_CH_PLL_FGAIN 0x7 /* instead of 0x00000006 -Volodya */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1921
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1922 #define RT_SECAM_CR_BURST_GAIN 0x1FF /* instead of 0x00000200 -Volodya */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1923 #define RT_SECAM_CB_BURST_GAIN 0x1FF /* instead of 0x00000200 -Volodya */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1924 #define RT_SECAM_CH_HEIGHT 0x00000066
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1925 #define RT_SECAM_CH_KILL_LEVEL 0x00000060
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1926 #define RT_SECAM_CH_AGC_ERROR_LIM 0x00000003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1927 #define RT_SECAM_CH_AGC_FILTER_EN 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1928 #define RT_SECAM_CH_AGC_LOOP_SPEED 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1929
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1930 #define RT_SECAM_CRDR_ACTIVE_GAIN 0x11B /* instead of 0x00000200 - eric */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1931 #define RT_SECAM_CBDB_ACTIVE_GAIN 0x15A /* instead of 0x00000200 - eric */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1932 #define RT_SECAM_VERT_LOCKOUT_START 0x00000269
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1933 #define RT_SECAM_VERT_LOCKOUT_END 0x00000012
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1934
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1935 #define RT_PAL_VS_FIELD_BLANK_END 0x2A /* instead of 0x0000002C - Ivo*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1936 #define RT_NTSCM_VS_FIELD_BLANK_END 0x0000000A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1937
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1938 #define RT_NTSCM_FIELD_IDLOCATION 0x00000105
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1939 #define RT_PAL_FIELD_IDLOCATION 0x00000137
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1940
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1941 #define RT_NTSCM_H_ACTIVE_START 0x00000070
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1942 #define RT_NTSCM_H_ACTIVE_END 0x00000363
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1943
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1944 #define RT_PAL_H_ACTIVE_START 0x0000009A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1945 #define RT_PAL_H_ACTIVE_END 0x00000439
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1946
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1947 #define RT_NTSCM_V_ACTIVE_START ((22-4)*2+1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1948 #define RT_NTSCM_V_ACTIVE_END ((22+240-4)*2+1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1949
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1950 #define RT_PAL_V_ACTIVE_START 0x2E /* instead of 0x00000023 (Same as SECAM) - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1951 #define RT_PAL_V_ACTIVE_END 0x269 /* instead of 0x00000262 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1952
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1953 /* VBI */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1954 #define RT_NTSCM_H_VBI_WIND_START 0x00000049
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1955 #define RT_NTSCM_H_VBI_WIND_END 0x00000366
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1956
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1957 #define RT_PAL_H_VBI_WIND_START 0x00000084
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1958 #define RT_PAL_H_VBI_WIND_END 0x0000041F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1959
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1960 #define RT_NTSCM_V_VBI_WIND_START fld_V_VBI_WIND_START_def
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1961 #define RT_NTSCM_V_VBI_WIND_END fld_V_VBI_WIND_END_def
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1962
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1963 #define RT_PAL_V_VBI_WIND_START 0x8 /* instead of 0x0000000B - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1964 #define RT_PAL_V_VBI_WIND_END 0x2D /* instead of 0x00000022 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1965
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1966 #define RT_VBI_CAPTURE_EN 0x00000001 /* Enable */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1967 #define RT_VBI_CAPTURE_DIS 0x00000000 /* Disable */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1968 #define RT_RAW_CAPTURE 0x00000002 /* Use raw Video Capture. */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1969
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1970 #define RT_NTSCM_VSYNC_INT_TRIGGER 0x2AA
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1971 #define RT_PALSEM_VSYNC_INT_TRIGGER 0x353
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1972
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1973 #define RT_NTSCM_VSYNC_INT_HOLD 0x17
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1974 #define RT_PALSEM_VSYNC_INT_HOLD 0x1C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1975
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1976 #define RT_NTSCM_VS_FIELD_BLANK_START 0x206
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1977 #define RT_PALSEM_VS_FIELD_BLANK_START 0x26D /* instead of 0x26C - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1978
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1979 #define RT_FIELD_FLIP_EN 0x4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1980 #define RT_V_FIELD_FLIP_INVERTED 0x2000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1981
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1982 #define RT_NTSCM_H_IN_START 0x70
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1983 #define RT_PAL_H_IN_START 154 /* instead of 144 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1984 #define RT_SECAM_H_IN_START 0x91 /* instead of 0x9A, Ivo value is 154, instead of 144 - Volodya, - eric */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1985 #define RT_NTSC_H_ACTIVE_SIZE 744
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1986 #define RT_PAL_H_ACTIVE_SIZE 928 /* instead of 927 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1987 #define RT_SECAM_H_ACTIVE_SIZE 932 /* instead of 928, instead of 927 - Ivo, - eric */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1988 #define RT_NTSCM_V_IN_START (0x23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1989 #define RT_PAL_V_IN_START 44 /* instead of (45-6) - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1990 #define RT_SECAM_V_IN_START 0x2C /* instead of (45-6) - Volodya */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1991 #define RT_NTSCM_V_ACTIVE_SIZE 480
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1992 #define RT_PAL_V_ACTIVE_SIZE 572 /* instead of 575 - Ivo */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1993 #define RT_SECAM_V_ACTIVE_SIZE 570 /* instead of 572, instead of 575 - Ivo, - eric */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1994
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1995 #define RT_NTSCM_WIN_CLOSE_LIMIT 0x4D
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1996 #define RT_NTSCJ_WIN_CLOSE_LIMIT 0x4D
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1997 #define RT_NTSC443_WIN_CLOSE_LIMIT 0x5F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1998 #define RT_PALM_WIN_CLOSE_LIMIT 0x4D
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1999 #define RT_PALN_WIN_CLOSE_LIMIT 0x5F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2000 #define RT_SECAM_WIN_CLOSE_LIMIT 0xC7 /* instead of 0x5F - eric */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2002 #define RT_NTSCM_VS_FIELD_BLANK_START 0x206
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2004 #define RT_NTSCM_HS_PLL_SGAIN 0x5
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2005 #define RT_NTSCM_HS_PLL_FGAIN 0x7
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2006
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2007 #define RT_NTSCM_H_OUT_WIND_WIDTH 0x2F4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2008 #define RT_NTSCM_V_OUT_WIND_HEIGHT 0xF0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2009
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2010 #define TV 0x1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2011 #define LINEIN 0x2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2012 #define MUTE 0x3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2013
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2014 #define DEC_COMPOSITE 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2015 #define DEC_SVIDEO 1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2016 #define DEC_TUNER 2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2017
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2018 #define DEC_NTSC 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2019 #define DEC_PAL 1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2020 #define DEC_SECAM 2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2021 #define DEC_NTSC_J 8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2022
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2023 #define DEC_SMOOTH 0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2024 #define DEC_SHARP 1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2025
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2026 /* RT Register Field Defaults: */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2027 #define fld_tmpReg1_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2028 #define fld_tmpReg2_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2029 #define fld_tmpReg3_def 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2031 #define fld_LP_CONTRAST_def 0x0000006e
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2032 #define fld_LP_BRIGHTNESS_def 0x00003ff0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2033 #define fld_CP_HUE_CNTL_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2034 #define fld_LUMA_FILTER_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2035 #define fld_H_SCALE_RATIO_def 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2036 #define fld_H_SHARPNESS_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2037
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2038 #define fld_V_SCALE_RATIO_def 0x00000800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2039 #define fld_V_DEINTERLACE_ON_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2040 #define fld_V_BYPSS_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2041 #define fld_V_DITHER_ON_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2042 #define fld_EVENF_OFFSET_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2043 #define fld_ODDF_OFFSET_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2044
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2045 #define fld_INTERLACE_DETECTED_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2046
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2047 #define fld_VS_LINE_COUNT_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2048 #define fld_VS_DETECTED_LINES_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2049 #define fld_VS_ITU656_VB_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2050
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2051 #define fld_VBI_CC_DATA_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2052 #define fld_VBI_CC_WT_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2053 #define fld_VBI_CC_WT_ACK_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2054 #define fld_VBI_CC_HOLD_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2055 #define fld_VBI_DECODE_EN_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2056
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2057 #define fld_VBI_CC_DTO_P_def 0x00001802
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2058 #define fld_VBI_20BIT_DTO_P_def 0x0000155c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2059
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2060 #define fld_VBI_CC_LEVEL_def 0x0000003f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2061 #define fld_VBI_20BIT_LEVEL_def 0x00000059
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2062 #define fld_VBI_CLK_RUNIN_GAIN_def 0x0000010f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2063
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2064 #define fld_H_VBI_WIND_START_def 0x00000041
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2065 #define fld_H_VBI_WIND_END_def 0x00000366
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2066
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2067 #define fld_V_VBI_WIND_START_def 0x0D
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2068 #define fld_V_VBI_WIND_END_def 0x24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2069
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2070 #define fld_VBI_20BIT_DATA0_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2071 #define fld_VBI_20BIT_DATA1_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2072 #define fld_VBI_20BIT_WT_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2073 #define fld_VBI_20BIT_WT_ACK_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2074 #define fld_VBI_20BIT_HOLD_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2075
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2076 #define fld_VBI_CAPTURE_ENABLE_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2077
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2078 #define fld_VBI_EDS_DATA_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2079 #define fld_VBI_EDS_WT_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2080 #define fld_VBI_EDS_WT_ACK_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2081 #define fld_VBI_EDS_HOLD_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2082
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2083 #define fld_VBI_SCALING_RATIO_def 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2084 #define fld_VBI_ALIGNER_ENABLE_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2085
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2086 #define fld_H_ACTIVE_START_def 0x00000070
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2087 #define fld_H_ACTIVE_END_def 0x000002f0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2088
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2089 #define fld_V_ACTIVE_START_def ((22-4)*2+1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2090 #define fld_V_ACTIVE_END_def ((22+240-4)*2+2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2091
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2092 #define fld_CH_HEIGHT_def 0x000000CD
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2093 #define fld_CH_KILL_LEVEL_def 0x000000C0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2094 #define fld_CH_AGC_ERROR_LIM_def 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2095 #define fld_CH_AGC_FILTER_EN_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2096 #define fld_CH_AGC_LOOP_SPEED_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2097
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2098 #define fld_HUE_ADJ_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2099
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2100 #define fld_STANDARD_SEL_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2101 #define fld_STANDARD_YC_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2102
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2103 #define fld_ADC_PDWN_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2104 #define fld_INPUT_SELECT_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2105
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2106 #define fld_ADC_PREFLO_def 0x00000003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2107 #define fld_H_SYNC_PULSE_WIDTH_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2108 #define fld_HS_GENLOCKED_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2109 #define fld_HS_SYNC_IN_WIN_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2110
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2111 #define fld_VIN_ASYNC_RST_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2112 #define fld_DVS_ASYNC_RST_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2113
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2114 /* Vendor IDs: */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2115 #define fld_VIP_VENDOR_ID_def 0x00001002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2116 #define fld_VIP_DEVICE_ID_def 0x00004d54
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2117 #define fld_VIP_REVISION_ID_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2118
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2119 /* AGC Delay Register */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2120 #define fld_BLACK_INT_START_def 0x00000031
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2121 #define fld_BLACK_INT_LENGTH_def 0x0000000f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2122
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2123 #define fld_UV_INT_START_def 0x0000003b
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2124 #define fld_U_INT_LENGTH_def 0x0000000f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2125 #define fld_V_INT_LENGTH_def 0x0000000f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2126 #define fld_CRDR_ACTIVE_GAIN_def 0x0000007a
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2127 #define fld_CBDB_ACTIVE_GAIN_def 0x000000ac
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2129 #define fld_DVS_DIRECTION_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2130 #define fld_DVS_VBI_CARD8_SWAP_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2131 #define fld_DVS_CLK_SELECT_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2132 #define fld_CONTINUOUS_STREAM_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2133 #define fld_DVSOUT_CLK_DRV_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2134 #define fld_DVSOUT_DATA_DRV_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2135
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2136 #define fld_COMB_CNTL0_def 0x09438090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2137 #define fld_COMB_CNTL1_def 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2138
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2139 #define fld_COMB_CNTL2_def 0x16161010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2140 #define fld_COMB_LENGTH_def 0x0718038A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2141
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2142 #define fld_SYNCTIP_REF0_def 0x00000037
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2143 #define fld_SYNCTIP_REF1_def 0x00000029
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2144 #define fld_CLAMP_REF_def 0x0000003B
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2145 #define fld_AGC_PEAKWHITE_def 0x000000FF
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2146 #define fld_VBI_PEAKWHITE_def 0x000000D2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2147
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2148 #define fld_WPA_THRESHOLD_def 0x000003B0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2149
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2150 #define fld_WPA_TRIGGER_LO_def 0x000000B4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2151 #define fld_WPA_TRIGGER_HIGH_def 0x0000021C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2152
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2153 #define fld_LOCKOUT_START_def 0x00000206
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2154 #define fld_LOCKOUT_END_def 0x00000021
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2155
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2156 #define fld_CH_DTO_INC_def 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2157 #define fld_PLL_SGAIN_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2158 #define fld_PLL_FGAIN_def 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2159
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2160 #define fld_CR_BURST_GAIN_def 0x0000007a
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2161 #define fld_CB_BURST_GAIN_def 0x000000ac
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2162
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2163 #define fld_VERT_LOCKOUT_START_def 0x00000207
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2164 #define fld_VERT_LOCKOUT_END_def 0x0000000E
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2165
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2166 #define fld_H_IN_WIND_START_def 0x00000070
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2167 #define fld_V_IN_WIND_START_def 0x00000027
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2168
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2169 #define fld_H_OUT_WIND_WIDTH_def 0x000002f4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2170
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2171 #define fld_V_OUT_WIND_WIDTH_def 0x000000f0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2172
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2173 #define fld_HS_LINE_TOTAL_def 0x0000038E
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2174
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2175 #define fld_MIN_PULSE_WIDTH_def 0x0000002F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2176 #define fld_MAX_PULSE_WIDTH_def 0x00000046
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2177
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2178 #define fld_WIN_CLOSE_LIMIT_def 0x0000004D
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2179 #define fld_WIN_OPEN_LIMIT_def 0x000001B7
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2180
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2181 #define fld_VSYNC_INT_TRIGGER_def 0x000002AA
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2182
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2183 #define fld_VSYNC_INT_HOLD_def 0x0000001D
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2184
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2185 #define fld_VIN_M0_def 0x00000039
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2186 #define fld_VIN_N0_def 0x0000014c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2187 #define fld_MNFLIP_EN_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2188 #define fld_VIN_P_def 0x00000006
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2189 #define fld_REG_CLK_SEL_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2190
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2191 #define fld_VIN_M1_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2192 #define fld_VIN_N1_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2193 #define fld_VIN_DRIVER_SEL_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2194 #define fld_VIN_MNFLIP_REQ_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2195 #define fld_VIN_MNFLIP_DONE_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2196 #define fld_TV_LOCK_TO_VIN_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2197 #define fld_TV_P_FOR_WINCLK_def 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2198
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2199 #define fld_VINRST_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2200 #define fld_VIN_CLK_SEL_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2201
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2202 #define fld_VS_FIELD_BLANK_START_def 0x00000206
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2203
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2204 #define fld_VS_FIELD_BLANK_END_def 0x0000000A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2205
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2206 /*#define fld_VS_FIELD_IDLOCATION_def 0x00000105 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2207 #define fld_VS_FIELD_IDLOCATION_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2208 #define fld_VS_FRAME_TOTAL_def 0x00000217
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2209
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2210 #define fld_SYNC_TIP_START_def 0x00000372
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2211 #define fld_SYNC_TIP_LENGTH_def 0x0000000F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2212
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2213 #define fld_GAIN_FORCE_DATA_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2214 #define fld_GAIN_FORCE_EN_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2215 #define fld_I_CLAMP_SEL_def 0x00000003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2216 #define fld_I_AGC_SEL_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2217 #define fld_EXT_CLAMP_CAP_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2218 #define fld_EXT_AGC_CAP_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2219 #define fld_DECI_DITHER_EN_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2220 #define fld_ADC_PREFHI_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2221 #define fld_ADC_CH_GAIN_SEL_def 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2222
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2223 #define fld_HS_PLL_SGAIN_def 0x00000003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2224
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2225 #define fld_NREn_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2226 #define fld_NRGainCntl_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2227 #define fld_NRBWTresh_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2228 #define fld_NRGCTresh_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2229 #define fld_NRCoefDespeclMode_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2230
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2231 #define fld_GPIO_5_OE_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2232 #define fld_GPIO_6_OE_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2233
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2234 #define fld_GPIO_5_OUT_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2235 #define fld_GPIO_6_OUT_def 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2236
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2237 /* End of field default values. */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2238
26030
a93e46adb54c Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23934
diff changeset
2239 #endif /* MPLAYER_RADEON_H */