Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  *  Driver for the Conexant CX25821 PCIe bridge
0004  *
0005  *  Copyright (C) 2009 Conexant Systems Inc.
0006  *  Authors  <shu.lin@conexant.com>, <hiep.huynh@conexant.com>
0007  */
0008 
0009 #ifndef __MEDUSA_REGISTERS__
0010 #define __MEDUSA_REGISTERS__
0011 
0012 /* Serial Slave Registers */
0013 #define HOST_REGISTER1              0x0000
0014 #define HOST_REGISTER2              0x0001
0015 
0016 /* Chip Configuration Registers */
0017 #define CHIP_CTRL               0x0100
0018 #define AFE_AB_CTRL             0x0104
0019 #define AFE_CD_CTRL             0x0108
0020 #define AFE_EF_CTRL             0x010C
0021 #define AFE_GH_CTRL             0x0110
0022 #define DENC_AB_CTRL                0x0114
0023 #define BYP_AB_CTRL             0x0118
0024 #define MON_A_CTRL              0x011C
0025 #define DISP_SEQ_A              0x0120
0026 #define DISP_SEQ_B              0x0124
0027 #define DISP_AB_CNT             0x0128
0028 #define DISP_CD_CNT             0x012C
0029 #define DISP_EF_CNT             0x0130
0030 #define DISP_GH_CNT             0x0134
0031 #define DISP_IJ_CNT             0x0138
0032 #define PIN_OE_CTRL             0x013C
0033 #define PIN_SPD_CTRL                0x0140
0034 #define PIN_SPD_CTRL2               0x0144
0035 #define IRQ_STAT_CTRL               0x0148
0036 #define POWER_CTRL_AB               0x014C
0037 #define POWER_CTRL_CD               0x0150
0038 #define POWER_CTRL_EF               0x0154
0039 #define POWER_CTRL_GH               0x0158
0040 #define TUNE_CTRL               0x015C
0041 #define BIAS_CTRL               0x0160
0042 #define AFE_AB_DIAG_CTRL            0x0164
0043 #define AFE_CD_DIAG_CTRL            0x0168
0044 #define AFE_EF_DIAG_CTRL            0x016C
0045 #define AFE_GH_DIAG_CTRL            0x0170
0046 #define PLL_AB_DIAG_CTRL            0x0174
0047 #define PLL_CD_DIAG_CTRL            0x0178
0048 #define PLL_EF_DIAG_CTRL            0x017C
0049 #define PLL_GH_DIAG_CTRL            0x0180
0050 #define TEST_CTRL               0x0184
0051 #define BIST_STAT               0x0188
0052 #define BIST_STAT2              0x018C
0053 #define BIST_VID_PLL_AB_STAT            0x0190
0054 #define BIST_VID_PLL_CD_STAT            0x0194
0055 #define BIST_VID_PLL_EF_STAT            0x0198
0056 #define BIST_VID_PLL_GH_STAT            0x019C
0057 #define DLL_DIAG_CTRL               0x01A0
0058 #define DEV_CH_ID_CTRL              0x01A4
0059 #define ABIST_CTRL_STATUS           0x01A8
0060 #define ABIST_FREQ              0x01AC
0061 #define ABIST_GOERT_SHIFT           0x01B0
0062 #define ABIST_COEF12                0x01B4
0063 #define ABIST_COEF34                0x01B8
0064 #define ABIST_COEF56                0x01BC
0065 #define ABIST_COEF7_SNR             0x01C0
0066 #define ABIST_ADC_CAL               0x01C4
0067 #define ABIST_BIN1_VGA0             0x01C8
0068 #define ABIST_BIN2_VGA1             0x01CC
0069 #define ABIST_BIN3_VGA2             0x01D0
0070 #define ABIST_BIN4_VGA3             0x01D4
0071 #define ABIST_BIN5_VGA4             0x01D8
0072 #define ABIST_BIN6_VGA5             0x01DC
0073 #define ABIST_BIN7_VGA6             0x01E0
0074 #define ABIST_CLAMP_A               0x01E4
0075 #define ABIST_CLAMP_B               0x01E8
0076 #define ABIST_CLAMP_C               0x01EC
0077 #define ABIST_CLAMP_D               0x01F0
0078 #define ABIST_CLAMP_E               0x01F4
0079 #define ABIST_CLAMP_F               0x01F8
0080 
0081 /* Digital Video Encoder A Registers */
0082 #define DENC_A_REG_1                0x0200
0083 #define DENC_A_REG_2                0x0204
0084 #define DENC_A_REG_3                0x0208
0085 #define DENC_A_REG_4                0x020C
0086 #define DENC_A_REG_5                0x0210
0087 #define DENC_A_REG_6                0x0214
0088 #define DENC_A_REG_7                0x0218
0089 #define DENC_A_REG_8                0x021C
0090 
0091 /* Digital Video Encoder B Registers */
0092 #define DENC_B_REG_1                0x0300
0093 #define DENC_B_REG_2                0x0304
0094 #define DENC_B_REG_3                0x0308
0095 #define DENC_B_REG_4                0x030C
0096 #define DENC_B_REG_5                0x0310
0097 #define DENC_B_REG_6                0x0314
0098 #define DENC_B_REG_7                0x0318
0099 #define DENC_B_REG_8                0x031C
0100 
0101 /* Video Decoder A Registers */
0102 #define MODE_CTRL               0x1000
0103 #define OUT_CTRL1               0x1004
0104 #define OUT_CTRL_NS             0x1008
0105 #define GEN_STAT                0x100C
0106 #define INT_STAT_MASK               0x1010
0107 #define LUMA_CTRL               0x1014
0108 #define CHROMA_CTRL             0x1018
0109 #define CRUSH_CTRL              0x101C
0110 #define HORIZ_TIM_CTRL              0x1020
0111 #define VERT_TIM_CTRL               0x1024
0112 #define MISC_TIM_CTRL               0x1028
0113 #define FIELD_COUNT             0x102C
0114 #define HSCALE_CTRL             0x1030
0115 #define VSCALE_CTRL             0x1034
0116 #define MAN_VGA_CTRL                0x1038
0117 #define MAN_AGC_CTRL                0x103C
0118 #define DFE_CTRL1               0x1040
0119 #define DFE_CTRL2               0x1044
0120 #define DFE_CTRL3               0x1048
0121 #define PLL_CTRL                0x104C
0122 #define PLL_CTRL_FAST               0x1050
0123 #define HTL_CTRL                0x1054
0124 #define SRC_CFG                 0x1058
0125 #define SC_STEP_SIZE                0x105C
0126 #define SC_CONVERGE_CTRL            0x1060
0127 #define SC_LOOP_CTRL                0x1064
0128 #define COMB_2D_HFS_CFG             0x1068
0129 #define COMB_2D_HFD_CFG             0x106C
0130 #define COMB_2D_LF_CFG              0x1070
0131 #define COMB_2D_BLEND               0x1074
0132 #define COMB_MISC_CTRL              0x1078
0133 #define COMB_FLAT_THRESH_CTRL           0x107C
0134 #define COMB_TEST               0x1080
0135 #define BP_MISC_CTRL                0x1084
0136 #define VCR_DET_CTRL                0x1088
0137 #define NOISE_DET_CTRL              0x108C
0138 #define COMB_FLAT_NOISE_CTRL            0x1090
0139 #define VERSION                 0x11F8
0140 #define SOFT_RST_CTRL               0x11FC
0141 
0142 /* Video Decoder B Registers */
0143 #define VDEC_B_MODE_CTRL            0x1200
0144 #define VDEC_B_OUT_CTRL1            0x1204
0145 #define VDEC_B_OUT_CTRL_NS          0x1208
0146 #define VDEC_B_GEN_STAT             0x120C
0147 #define VDEC_B_INT_STAT_MASK            0x1210
0148 #define VDEC_B_LUMA_CTRL            0x1214
0149 #define VDEC_B_CHROMA_CTRL          0x1218
0150 #define VDEC_B_CRUSH_CTRL           0x121C
0151 #define VDEC_B_HORIZ_TIM_CTRL           0x1220
0152 #define VDEC_B_VERT_TIM_CTRL            0x1224
0153 #define VDEC_B_MISC_TIM_CTRL            0x1228
0154 #define VDEC_B_FIELD_COUNT          0x122C
0155 #define VDEC_B_HSCALE_CTRL          0x1230
0156 #define VDEC_B_VSCALE_CTRL          0x1234
0157 #define VDEC_B_MAN_VGA_CTRL         0x1238
0158 #define VDEC_B_MAN_AGC_CTRL         0x123C
0159 #define VDEC_B_DFE_CTRL1            0x1240
0160 #define VDEC_B_DFE_CTRL2            0x1244
0161 #define VDEC_B_DFE_CTRL3            0x1248
0162 #define VDEC_B_PLL_CTRL             0x124C
0163 #define VDEC_B_PLL_CTRL_FAST            0x1250
0164 #define VDEC_B_HTL_CTRL             0x1254
0165 #define VDEC_B_SRC_CFG              0x1258
0166 #define VDEC_B_SC_STEP_SIZE         0x125C
0167 #define VDEC_B_SC_CONVERGE_CTRL         0x1260
0168 #define VDEC_B_SC_LOOP_CTRL         0x1264
0169 #define VDEC_B_COMB_2D_HFS_CFG          0x1268
0170 #define VDEC_B_COMB_2D_HFD_CFG          0x126C
0171 #define VDEC_B_COMB_2D_LF_CFG           0x1270
0172 #define VDEC_B_COMB_2D_BLEND            0x1274
0173 #define VDEC_B_COMB_MISC_CTRL           0x1278
0174 #define VDEC_B_COMB_FLAT_THRESH_CTRL        0x127C
0175 #define VDEC_B_COMB_TEST            0x1280
0176 #define VDEC_B_BP_MISC_CTRL         0x1284
0177 #define VDEC_B_VCR_DET_CTRL         0x1288
0178 #define VDEC_B_NOISE_DET_CTRL           0x128C
0179 #define VDEC_B_COMB_FLAT_NOISE_CTRL     0x1290
0180 #define VDEC_B_VERSION              0x13F8
0181 #define VDEC_B_SOFT_RST_CTRL            0x13FC
0182 
0183 /* Video Decoder C Registers */
0184 #define VDEC_C_MODE_CTRL            0x1400
0185 #define VDEC_C_OUT_CTRL1            0x1404
0186 #define VDEC_C_OUT_CTRL_NS          0x1408
0187 #define VDEC_C_GEN_STAT             0x140C
0188 #define VDEC_C_INT_STAT_MASK            0x1410
0189 #define VDEC_C_LUMA_CTRL            0x1414
0190 #define VDEC_C_CHROMA_CTRL          0x1418
0191 #define VDEC_C_CRUSH_CTRL           0x141C
0192 #define VDEC_C_HORIZ_TIM_CTRL           0x1420
0193 #define VDEC_C_VERT_TIM_CTRL            0x1424
0194 #define VDEC_C_MISC_TIM_CTRL            0x1428
0195 #define VDEC_C_FIELD_COUNT          0x142C
0196 #define VDEC_C_HSCALE_CTRL          0x1430
0197 #define VDEC_C_VSCALE_CTRL          0x1434
0198 #define VDEC_C_MAN_VGA_CTRL         0x1438
0199 #define VDEC_C_MAN_AGC_CTRL         0x143C
0200 #define VDEC_C_DFE_CTRL1            0x1440
0201 #define VDEC_C_DFE_CTRL2            0x1444
0202 #define VDEC_C_DFE_CTRL3            0x1448
0203 #define VDEC_C_PLL_CTRL             0x144C
0204 #define VDEC_C_PLL_CTRL_FAST            0x1450
0205 #define VDEC_C_HTL_CTRL             0x1454
0206 #define VDEC_C_SRC_CFG              0x1458
0207 #define VDEC_C_SC_STEP_SIZE         0x145C
0208 #define VDEC_C_SC_CONVERGE_CTRL         0x1460
0209 #define VDEC_C_SC_LOOP_CTRL         0x1464
0210 #define VDEC_C_COMB_2D_HFS_CFG          0x1468
0211 #define VDEC_C_COMB_2D_HFD_CFG          0x146C
0212 #define VDEC_C_COMB_2D_LF_CFG           0x1470
0213 #define VDEC_C_COMB_2D_BLEND            0x1474
0214 #define VDEC_C_COMB_MISC_CTRL           0x1478
0215 #define VDEC_C_COMB_FLAT_THRESH_CTRL        0x147C
0216 #define VDEC_C_COMB_TEST            0x1480
0217 #define VDEC_C_BP_MISC_CTRL         0x1484
0218 #define VDEC_C_VCR_DET_CTRL         0x1488
0219 #define VDEC_C_NOISE_DET_CTRL           0x148C
0220 #define VDEC_C_COMB_FLAT_NOISE_CTRL     0x1490
0221 #define VDEC_C_VERSION              0x15F8
0222 #define VDEC_C_SOFT_RST_CTRL            0x15FC
0223 
0224 /* Video Decoder D Registers */
0225 #define VDEC_D_MODE_CTRL            0x1600
0226 #define VDEC_D_OUT_CTRL1            0x1604
0227 #define VDEC_D_OUT_CTRL_NS          0x1608
0228 #define VDEC_D_GEN_STAT             0x160C
0229 #define VDEC_D_INT_STAT_MASK            0x1610
0230 #define VDEC_D_LUMA_CTRL            0x1614
0231 #define VDEC_D_CHROMA_CTRL          0x1618
0232 #define VDEC_D_CRUSH_CTRL           0x161C
0233 #define VDEC_D_HORIZ_TIM_CTRL           0x1620
0234 #define VDEC_D_VERT_TIM_CTRL            0x1624
0235 #define VDEC_D_MISC_TIM_CTRL            0x1628
0236 #define VDEC_D_FIELD_COUNT          0x162C
0237 #define VDEC_D_HSCALE_CTRL          0x1630
0238 #define VDEC_D_VSCALE_CTRL          0x1634
0239 #define VDEC_D_MAN_VGA_CTRL         0x1638
0240 #define VDEC_D_MAN_AGC_CTRL         0x163C
0241 #define VDEC_D_DFE_CTRL1            0x1640
0242 #define VDEC_D_DFE_CTRL2            0x1644
0243 #define VDEC_D_DFE_CTRL3            0x1648
0244 #define VDEC_D_PLL_CTRL             0x164C
0245 #define VDEC_D_PLL_CTRL_FAST            0x1650
0246 #define VDEC_D_HTL_CTRL             0x1654
0247 #define VDEC_D_SRC_CFG              0x1658
0248 #define VDEC_D_SC_STEP_SIZE         0x165C
0249 #define VDEC_D_SC_CONVERGE_CTRL         0x1660
0250 #define VDEC_D_SC_LOOP_CTRL         0x1664
0251 #define VDEC_D_COMB_2D_HFS_CFG          0x1668
0252 #define VDEC_D_COMB_2D_HFD_CFG          0x166C
0253 #define VDEC_D_COMB_2D_LF_CFG           0x1670
0254 #define VDEC_D_COMB_2D_BLEND            0x1674
0255 #define VDEC_D_COMB_MISC_CTRL           0x1678
0256 #define VDEC_D_COMB_FLAT_THRESH_CTRL        0x167C
0257 #define VDEC_D_COMB_TEST            0x1680
0258 #define VDEC_D_BP_MISC_CTRL         0x1684
0259 #define VDEC_D_VCR_DET_CTRL         0x1688
0260 #define VDEC_D_NOISE_DET_CTRL           0x168C
0261 #define VDEC_D_COMB_FLAT_NOISE_CTRL     0x1690
0262 #define VDEC_D_VERSION              0x17F8
0263 #define VDEC_D_SOFT_RST_CTRL            0x17FC
0264 
0265 /* Video Decoder E Registers */
0266 #define VDEC_E_MODE_CTRL            0x1800
0267 #define VDEC_E_OUT_CTRL1            0x1804
0268 #define VDEC_E_OUT_CTRL_NS          0x1808
0269 #define VDEC_E_GEN_STAT             0x180C
0270 #define VDEC_E_INT_STAT_MASK            0x1810
0271 #define VDEC_E_LUMA_CTRL            0x1814
0272 #define VDEC_E_CHROMA_CTRL          0x1818
0273 #define VDEC_E_CRUSH_CTRL           0x181C
0274 #define VDEC_E_HORIZ_TIM_CTRL           0x1820
0275 #define VDEC_E_VERT_TIM_CTRL            0x1824
0276 #define VDEC_E_MISC_TIM_CTRL            0x1828
0277 #define VDEC_E_FIELD_COUNT          0x182C
0278 #define VDEC_E_HSCALE_CTRL          0x1830
0279 #define VDEC_E_VSCALE_CTRL          0x1834
0280 #define VDEC_E_MAN_VGA_CTRL         0x1838
0281 #define VDEC_E_MAN_AGC_CTRL         0x183C
0282 #define VDEC_E_DFE_CTRL1            0x1840
0283 #define VDEC_E_DFE_CTRL2            0x1844
0284 #define VDEC_E_DFE_CTRL3            0x1848
0285 #define VDEC_E_PLL_CTRL             0x184C
0286 #define VDEC_E_PLL_CTRL_FAST            0x1850
0287 #define VDEC_E_HTL_CTRL             0x1854
0288 #define VDEC_E_SRC_CFG              0x1858
0289 #define VDEC_E_SC_STEP_SIZE         0x185C
0290 #define VDEC_E_SC_CONVERGE_CTRL         0x1860
0291 #define VDEC_E_SC_LOOP_CTRL         0x1864
0292 #define VDEC_E_COMB_2D_HFS_CFG          0x1868
0293 #define VDEC_E_COMB_2D_HFD_CFG          0x186C
0294 #define VDEC_E_COMB_2D_LF_CFG           0x1870
0295 #define VDEC_E_COMB_2D_BLEND            0x1874
0296 #define VDEC_E_COMB_MISC_CTRL           0x1878
0297 #define VDEC_E_COMB_FLAT_THRESH_CTRL        0x187C
0298 #define VDEC_E_COMB_TEST            0x1880
0299 #define VDEC_E_BP_MISC_CTRL         0x1884
0300 #define VDEC_E_VCR_DET_CTRL         0x1888
0301 #define VDEC_E_NOISE_DET_CTRL           0x188C
0302 #define VDEC_E_COMB_FLAT_NOISE_CTRL     0x1890
0303 #define VDEC_E_VERSION              0x19F8
0304 #define VDEC_E_SOFT_RST_CTRL            0x19FC
0305 
0306 /* Video Decoder F Registers */
0307 #define VDEC_F_MODE_CTRL            0x1A00
0308 #define VDEC_F_OUT_CTRL1            0x1A04
0309 #define VDEC_F_OUT_CTRL_NS          0x1A08
0310 #define VDEC_F_GEN_STAT             0x1A0C
0311 #define VDEC_F_INT_STAT_MASK            0x1A10
0312 #define VDEC_F_LUMA_CTRL            0x1A14
0313 #define VDEC_F_CHROMA_CTRL          0x1A18
0314 #define VDEC_F_CRUSH_CTRL           0x1A1C
0315 #define VDEC_F_HORIZ_TIM_CTRL           0x1A20
0316 #define VDEC_F_VERT_TIM_CTRL            0x1A24
0317 #define VDEC_F_MISC_TIM_CTRL            0x1A28
0318 #define VDEC_F_FIELD_COUNT          0x1A2C
0319 #define VDEC_F_HSCALE_CTRL          0x1A30
0320 #define VDEC_F_VSCALE_CTRL          0x1A34
0321 #define VDEC_F_MAN_VGA_CTRL         0x1A38
0322 #define VDEC_F_MAN_AGC_CTRL         0x1A3C
0323 #define VDEC_F_DFE_CTRL1            0x1A40
0324 #define VDEC_F_DFE_CTRL2            0x1A44
0325 #define VDEC_F_DFE_CTRL3            0x1A48
0326 #define VDEC_F_PLL_CTRL             0x1A4C
0327 #define VDEC_F_PLL_CTRL_FAST            0x1A50
0328 #define VDEC_F_HTL_CTRL             0x1A54
0329 #define VDEC_F_SRC_CFG              0x1A58
0330 #define VDEC_F_SC_STEP_SIZE         0x1A5C
0331 #define VDEC_F_SC_CONVERGE_CTRL         0x1A60
0332 #define VDEC_F_SC_LOOP_CTRL         0x1A64
0333 #define VDEC_F_COMB_2D_HFS_CFG          0x1A68
0334 #define VDEC_F_COMB_2D_HFD_CFG          0x1A6C
0335 #define VDEC_F_COMB_2D_LF_CFG           0x1A70
0336 #define VDEC_F_COMB_2D_BLEND            0x1A74
0337 #define VDEC_F_COMB_MISC_CTRL           0x1A78
0338 #define VDEC_F_COMB_FLAT_THRESH_CTRL        0x1A7C
0339 #define VDEC_F_COMB_TEST            0x1A80
0340 #define VDEC_F_BP_MISC_CTRL         0x1A84
0341 #define VDEC_F_VCR_DET_CTRL         0x1A88
0342 #define VDEC_F_NOISE_DET_CTRL           0x1A8C
0343 #define VDEC_F_COMB_FLAT_NOISE_CTRL     0x1A90
0344 #define VDEC_F_VERSION              0x1BF8
0345 #define VDEC_F_SOFT_RST_CTRL            0x1BFC
0346 
0347 /* Video Decoder G Registers */
0348 #define VDEC_G_MODE_CTRL            0x1C00
0349 #define VDEC_G_OUT_CTRL1            0x1C04
0350 #define VDEC_G_OUT_CTRL_NS          0x1C08
0351 #define VDEC_G_GEN_STAT             0x1C0C
0352 #define VDEC_G_INT_STAT_MASK            0x1C10
0353 #define VDEC_G_LUMA_CTRL            0x1C14
0354 #define VDEC_G_CHROMA_CTRL          0x1C18
0355 #define VDEC_G_CRUSH_CTRL           0x1C1C
0356 #define VDEC_G_HORIZ_TIM_CTRL           0x1C20
0357 #define VDEC_G_VERT_TIM_CTRL            0x1C24
0358 #define VDEC_G_MISC_TIM_CTRL            0x1C28
0359 #define VDEC_G_FIELD_COUNT          0x1C2C
0360 #define VDEC_G_HSCALE_CTRL          0x1C30
0361 #define VDEC_G_VSCALE_CTRL          0x1C34
0362 #define VDEC_G_MAN_VGA_CTRL         0x1C38
0363 #define VDEC_G_MAN_AGC_CTRL         0x1C3C
0364 #define VDEC_G_DFE_CTRL1            0x1C40
0365 #define VDEC_G_DFE_CTRL2            0x1C44
0366 #define VDEC_G_DFE_CTRL3            0x1C48
0367 #define VDEC_G_PLL_CTRL             0x1C4C
0368 #define VDEC_G_PLL_CTRL_FAST            0x1C50
0369 #define VDEC_G_HTL_CTRL             0x1C54
0370 #define VDEC_G_SRC_CFG              0x1C58
0371 #define VDEC_G_SC_STEP_SIZE         0x1C5C
0372 #define VDEC_G_SC_CONVERGE_CTRL         0x1C60
0373 #define VDEC_G_SC_LOOP_CTRL         0x1C64
0374 #define VDEC_G_COMB_2D_HFS_CFG          0x1C68
0375 #define VDEC_G_COMB_2D_HFD_CFG          0x1C6C
0376 #define VDEC_G_COMB_2D_LF_CFG           0x1C70
0377 #define VDEC_G_COMB_2D_BLEND            0x1C74
0378 #define VDEC_G_COMB_MISC_CTRL           0x1C78
0379 #define VDEC_G_COMB_FLAT_THRESH_CTRL        0x1C7C
0380 #define VDEC_G_COMB_TEST            0x1C80
0381 #define VDEC_G_BP_MISC_CTRL         0x1C84
0382 #define VDEC_G_VCR_DET_CTRL         0x1C88
0383 #define VDEC_G_NOISE_DET_CTRL           0x1C8C
0384 #define VDEC_G_COMB_FLAT_NOISE_CTRL     0x1C90
0385 #define VDEC_G_VERSION              0x1DF8
0386 #define VDEC_G_SOFT_RST_CTRL            0x1DFC
0387 
0388 /* Video Decoder H Registers  */
0389 #define VDEC_H_MODE_CTRL            0x1E00
0390 #define VDEC_H_OUT_CTRL1            0x1E04
0391 #define VDEC_H_OUT_CTRL_NS          0x1E08
0392 #define VDEC_H_GEN_STAT             0x1E0C
0393 #define VDEC_H_INT_STAT_MASK            0x1E1E
0394 #define VDEC_H_LUMA_CTRL            0x1E14
0395 #define VDEC_H_CHROMA_CTRL          0x1E18
0396 #define VDEC_H_CRUSH_CTRL           0x1E1C
0397 #define VDEC_H_HORIZ_TIM_CTRL           0x1E20
0398 #define VDEC_H_VERT_TIM_CTRL            0x1E24
0399 #define VDEC_H_MISC_TIM_CTRL            0x1E28
0400 #define VDEC_H_FIELD_COUNT          0x1E2C
0401 #define VDEC_H_HSCALE_CTRL          0x1E30
0402 #define VDEC_H_VSCALE_CTRL          0x1E34
0403 #define VDEC_H_MAN_VGA_CTRL         0x1E38
0404 #define VDEC_H_MAN_AGC_CTRL         0x1E3C
0405 #define VDEC_H_DFE_CTRL1            0x1E40
0406 #define VDEC_H_DFE_CTRL2            0x1E44
0407 #define VDEC_H_DFE_CTRL3            0x1E48
0408 #define VDEC_H_PLL_CTRL             0x1E4C
0409 #define VDEC_H_PLL_CTRL_FAST            0x1E50
0410 #define VDEC_H_HTL_CTRL             0x1E54
0411 #define VDEC_H_SRC_CFG              0x1E58
0412 #define VDEC_H_SC_STEP_SIZE         0x1E5C
0413 #define VDEC_H_SC_CONVERGE_CTRL         0x1E60
0414 #define VDEC_H_SC_LOOP_CTRL         0x1E64
0415 #define VDEC_H_COMB_2D_HFS_CFG          0x1E68
0416 #define VDEC_H_COMB_2D_HFD_CFG          0x1E6C
0417 #define VDEC_H_COMB_2D_LF_CFG           0x1E70
0418 #define VDEC_H_COMB_2D_BLEND            0x1E74
0419 #define VDEC_H_COMB_MISC_CTRL           0x1E78
0420 #define VDEC_H_COMB_FLAT_THRESH_CTRL        0x1E7C
0421 #define VDEC_H_COMB_TEST            0x1E80
0422 #define VDEC_H_BP_MISC_CTRL         0x1E84
0423 #define VDEC_H_VCR_DET_CTRL         0x1E88
0424 #define VDEC_H_NOISE_DET_CTRL           0x1E8C
0425 #define VDEC_H_COMB_FLAT_NOISE_CTRL     0x1E90
0426 #define VDEC_H_VERSION              0x1FF8
0427 #define VDEC_H_SOFT_RST_CTRL            0x1FFC
0428 
0429 /*****************************************************************************/
0430 /* LUMA_CTRL register fields */
0431 #define VDEC_A_BRITE_CTRL           0x1014
0432 #define VDEC_A_CNTRST_CTRL          0x1015
0433 #define VDEC_A_PEAK_SEL             0x1016
0434 
0435 /*****************************************************************************/
0436 /* CHROMA_CTRL register fields */
0437 #define VDEC_A_USAT_CTRL            0x1018
0438 #define VDEC_A_VSAT_CTRL            0x1019
0439 #define VDEC_A_HUE_CTRL             0x101A
0440 
0441 #endif