Go to the documentation of this file.
25 #ifndef _CX18_AV_CORE_H_
26 #define _CX18_AV_CORE_H_
137 #define CXADEC_CHIP_TYPE_TIGER 0x837
138 #define CXADEC_CHIP_TYPE_MAKO 0x843
140 #define CXADEC_HOST_REG1 0x000
141 #define CXADEC_HOST_REG2 0x001
143 #define CXADEC_CHIP_CTRL 0x100
144 #define CXADEC_AFE_CTRL 0x104
145 #define CXADEC_PLL_CTRL1 0x108
146 #define CXADEC_VID_PLL_FRAC 0x10C
147 #define CXADEC_AUX_PLL_FRAC 0x110
148 #define CXADEC_PIN_CTRL1 0x114
149 #define CXADEC_PIN_CTRL2 0x118
150 #define CXADEC_PIN_CFG1 0x11C
151 #define CXADEC_PIN_CFG2 0x120
153 #define CXADEC_PIN_CFG3 0x124
154 #define CXADEC_I2S_MCLK 0x127
156 #define CXADEC_AUD_LOCK1 0x128
157 #define CXADEC_AUD_LOCK2 0x12C
158 #define CXADEC_POWER_CTRL 0x130
159 #define CXADEC_AFE_DIAG_CTRL1 0x134
160 #define CXADEC_AFE_DIAG_CTRL2 0x138
161 #define CXADEC_AFE_DIAG_CTRL3 0x13C
162 #define CXADEC_PLL_DIAG_CTRL 0x140
163 #define CXADEC_TEST_CTRL1 0x144
164 #define CXADEC_TEST_CTRL2 0x148
165 #define CXADEC_BIST_STAT 0x14C
166 #define CXADEC_DLL1_DIAG_CTRL 0x158
167 #define CXADEC_DLL2_DIAG_CTRL 0x15C
170 #define CXADEC_IR_CTRL_REG 0x200
171 #define CXADEC_IR_TXCLK_REG 0x204
172 #define CXADEC_IR_RXCLK_REG 0x208
173 #define CXADEC_IR_CDUTY_REG 0x20C
174 #define CXADEC_IR_STAT_REG 0x210
175 #define CXADEC_IR_IRQEN_REG 0x214
176 #define CXADEC_IR_FILTER_REG 0x218
177 #define CXADEC_IR_FIFO_REG 0x21C
180 #define CXADEC_MODE_CTRL 0x400
181 #define CXADEC_OUT_CTRL1 0x404
182 #define CXADEC_OUT_CTRL2 0x408
183 #define CXADEC_GEN_STAT 0x40C
184 #define CXADEC_INT_STAT_MASK 0x410
185 #define CXADEC_LUMA_CTRL 0x414
187 #define CXADEC_BRIGHTNESS_CTRL_BYTE 0x414
188 #define CXADEC_CONTRAST_CTRL_BYTE 0x415
189 #define CXADEC_LUMA_CTRL_BYTE_3 0x416
191 #define CXADEC_HSCALE_CTRL 0x418
192 #define CXADEC_VSCALE_CTRL 0x41C
194 #define CXADEC_CHROMA_CTRL 0x420
196 #define CXADEC_USAT_CTRL_BYTE 0x420
197 #define CXADEC_VSAT_CTRL_BYTE 0x421
198 #define CXADEC_HUE_CTRL_BYTE 0x422
200 #define CXADEC_VBI_LINE_CTRL1 0x424
201 #define CXADEC_VBI_LINE_CTRL2 0x428
202 #define CXADEC_VBI_LINE_CTRL3 0x42C
203 #define CXADEC_VBI_LINE_CTRL4 0x430
204 #define CXADEC_VBI_LINE_CTRL5 0x434
205 #define CXADEC_VBI_FC_CFG 0x438
206 #define CXADEC_VBI_MISC_CFG1 0x43C
207 #define CXADEC_VBI_MISC_CFG2 0x440
208 #define CXADEC_VBI_PAY1 0x444
209 #define CXADEC_VBI_PAY2 0x448
210 #define CXADEC_VBI_CUST1_CFG1 0x44C
211 #define CXADEC_VBI_CUST1_CFG2 0x450
212 #define CXADEC_VBI_CUST1_CFG3 0x454
213 #define CXADEC_VBI_CUST2_CFG1 0x458
214 #define CXADEC_VBI_CUST2_CFG2 0x45C
215 #define CXADEC_VBI_CUST2_CFG3 0x460
216 #define CXADEC_VBI_CUST3_CFG1 0x464
217 #define CXADEC_VBI_CUST3_CFG2 0x468
218 #define CXADEC_VBI_CUST3_CFG3 0x46C
219 #define CXADEC_HORIZ_TIM_CTRL 0x470
220 #define CXADEC_VERT_TIM_CTRL 0x474
221 #define CXADEC_SRC_COMB_CFG 0x478
222 #define CXADEC_CHROMA_VBIOFF_CFG 0x47C
223 #define CXADEC_FIELD_COUNT 0x480
224 #define CXADEC_MISC_TIM_CTRL 0x484
225 #define CXADEC_DFE_CTRL1 0x488
226 #define CXADEC_DFE_CTRL2 0x48C
227 #define CXADEC_DFE_CTRL3 0x490
228 #define CXADEC_PLL_CTRL2 0x494
229 #define CXADEC_HTL_CTRL 0x498
230 #define CXADEC_COMB_CTRL 0x49C
231 #define CXADEC_CRUSH_CTRL 0x4A0
232 #define CXADEC_SOFT_RST_CTRL 0x4A4
233 #define CXADEC_MV_DT_CTRL2 0x4A8
234 #define CXADEC_MV_DT_CTRL3 0x4AC
235 #define CXADEC_MISC_DIAG_CTRL 0x4B8
237 #define CXADEC_DL_CTL 0x800
238 #define CXADEC_DL_CTL_ADDRESS_LOW 0x800
239 #define CXADEC_DL_CTL_ADDRESS_HIGH 0x801
240 #define CXADEC_DL_CTL_DATA 0x802
241 #define CXADEC_DL_CTL_CONTROL 0x803
243 #define CXADEC_STD_DET_STATUS 0x804
245 #define CXADEC_STD_DET_CTL 0x808
246 #define CXADEC_STD_DET_CTL_AUD_CTL 0x808
247 #define CXADEC_STD_DET_CTL_PREF_MODE 0x809
249 #define CXADEC_DW8051_INT 0x80C
250 #define CXADEC_GENERAL_CTL 0x810
251 #define CXADEC_AAGC_CTL 0x814
252 #define CXADEC_IF_SRC_CTL 0x818
253 #define CXADEC_ANLOG_DEMOD_CTL 0x81C
254 #define CXADEC_ROT_FREQ_CTL 0x820
255 #define CXADEC_FM1_CTL 0x824
256 #define CXADEC_PDF_CTL 0x828
257 #define CXADEC_DFT1_CTL1 0x82C
258 #define CXADEC_DFT1_CTL2 0x830
259 #define CXADEC_DFT_STATUS 0x834
260 #define CXADEC_DFT2_CTL1 0x838
261 #define CXADEC_DFT2_CTL2 0x83C
262 #define CXADEC_DFT2_STATUS 0x840
263 #define CXADEC_DFT3_CTL1 0x844
264 #define CXADEC_DFT3_CTL2 0x848
265 #define CXADEC_DFT3_STATUS 0x84C
266 #define CXADEC_DFT4_CTL1 0x850
267 #define CXADEC_DFT4_CTL2 0x854
268 #define CXADEC_DFT4_STATUS 0x858
269 #define CXADEC_AM_MTS_DET 0x85C
270 #define CXADEC_ANALOG_MUX_CTL 0x860
271 #define CXADEC_DIG_PLL_CTL1 0x864
272 #define CXADEC_DIG_PLL_CTL2 0x868
273 #define CXADEC_DIG_PLL_CTL3 0x86C
274 #define CXADEC_DIG_PLL_CTL4 0x870
275 #define CXADEC_DIG_PLL_CTL5 0x874
276 #define CXADEC_DEEMPH_GAIN_CTL 0x878
277 #define CXADEC_DEEMPH_COEF1 0x87C
278 #define CXADEC_DEEMPH_COEF2 0x880
279 #define CXADEC_DBX1_CTL1 0x884
280 #define CXADEC_DBX1_CTL2 0x888
281 #define CXADEC_DBX1_STATUS 0x88C
282 #define CXADEC_DBX2_CTL1 0x890
283 #define CXADEC_DBX2_CTL2 0x894
284 #define CXADEC_DBX2_STATUS 0x898
285 #define CXADEC_AM_FM_DIFF 0x89C
288 #define CXADEC_NICAM_STATUS 0x8C8
289 #define CXADEC_DEMATRIX_CTL 0x8CC
291 #define CXADEC_PATH1_CTL1 0x8D0
292 #define CXADEC_PATH1_VOL_CTL 0x8D4
293 #define CXADEC_PATH1_EQ_CTL 0x8D8
294 #define CXADEC_PATH1_SC_CTL 0x8DC
296 #define CXADEC_PATH2_CTL1 0x8E0
297 #define CXADEC_PATH2_VOL_CTL 0x8E4
298 #define CXADEC_PATH2_EQ_CTL 0x8E8
299 #define CXADEC_PATH2_SC_CTL 0x8EC
301 #define CXADEC_SRC_CTL 0x8F0
302 #define CXADEC_SRC_LF_COEF 0x8F4
303 #define CXADEC_SRC1_CTL 0x8F8
304 #define CXADEC_SRC2_CTL 0x8FC
305 #define CXADEC_SRC3_CTL 0x900
306 #define CXADEC_SRC4_CTL 0x904
307 #define CXADEC_SRC5_CTL 0x908
308 #define CXADEC_SRC6_CTL 0x90C
310 #define CXADEC_BASEBAND_OUT_SEL 0x910
311 #define CXADEC_I2S_IN_CTL 0x914
312 #define CXADEC_I2S_OUT_CTL 0x918
313 #define CXADEC_AC97_CTL 0x91C
314 #define CXADEC_QAM_PDF 0x920
315 #define CXADEC_QAM_CONST_DEC 0x924
316 #define CXADEC_QAM_ROTATOR_FREQ 0x948
319 #define CXADEC_PREF_MODE_MONO_LANGA 0
320 #define CXADEC_PREF_MODE_MONO_LANGB 1
321 #define CXADEC_PREF_MODE_MONO_LANGC 2
322 #define CXADEC_PREF_MODE_FALLBACK 3
323 #define CXADEC_PREF_MODE_STEREO 4
324 #define CXADEC_PREF_MODE_DUAL_LANG_AC 5
325 #define CXADEC_PREF_MODE_DUAL_LANG_BC 6
326 #define CXADEC_PREF_MODE_DUAL_LANG_AB 7
329 #define CXADEC_DETECT_STEREO 1
330 #define CXADEC_DETECT_DUAL 2
331 #define CXADEC_DETECT_TRI 4
332 #define CXADEC_DETECT_SAP 0x10
333 #define CXADEC_DETECT_NO_SIGNAL 0xFF
335 #define CXADEC_SELECT_AUDIO_STANDARD_BG 0xF0
336 #define CXADEC_SELECT_AUDIO_STANDARD_DK1 0xF1
337 #define CXADEC_SELECT_AUDIO_STANDARD_DK2 0xF2
338 #define CXADEC_SELECT_AUDIO_STANDARD_DK3 0xF3
339 #define CXADEC_SELECT_AUDIO_STANDARD_I 0xF4
340 #define CXADEC_SELECT_AUDIO_STANDARD_L 0xF5
341 #define CXADEC_SELECT_AUDIO_STANDARD_BTSC 0xF6
342 #define CXADEC_SELECT_AUDIO_STANDARD_EIAJ 0xF7
343 #define CXADEC_SELECT_AUDIO_STANDARD_A2_M 0xF8
344 #define CXADEC_SELECT_AUDIO_STANDARD_FM 0xF9
345 #define CXADEC_SELECT_AUDIO_STANDARD_AUTO 0xFF