Neil Armstrong | 3bed422 | 2018-07-24 17:45:28 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Copyright (C) 2015 Amlogic, Inc. All rights reserved. |
| 4 | */ |
| 5 | |
| 6 | #ifndef __MESON_REGISTERS_H |
| 7 | #define __MESON_REGISTERS_H |
| 8 | |
| 9 | /* Shift all registers by 2 */ |
| 10 | #define _REG(reg) ((reg) << 2) |
| 11 | |
| 12 | #define writel_bits(mask, val, addr) \ |
| 13 | writel((readl(addr) & ~(mask)) | (val), addr) |
| 14 | |
| 15 | /* vpp2 */ |
| 16 | #define VPP2_DUMMY_DATA 0x1900 |
| 17 | #define VPP2_LINE_IN_LENGTH 0x1901 |
| 18 | #define VPP2_PIC_IN_HEIGHT 0x1902 |
| 19 | #define VPP2_SCALE_COEF_IDX 0x1903 |
| 20 | #define VPP2_SCALE_COEF 0x1904 |
| 21 | #define VPP2_VSC_REGION12_STARTP 0x1905 |
| 22 | #define VPP2_VSC_REGION34_STARTP 0x1906 |
| 23 | #define VPP2_VSC_REGION4_ENDP 0x1907 |
| 24 | #define VPP2_VSC_START_PHASE_STEP 0x1908 |
| 25 | #define VPP2_VSC_REGION0_PHASE_SLOPE 0x1909 |
| 26 | #define VPP2_VSC_REGION1_PHASE_SLOPE 0x190a |
| 27 | #define VPP2_VSC_REGION3_PHASE_SLOPE 0x190b |
| 28 | #define VPP2_VSC_REGION4_PHASE_SLOPE 0x190c |
| 29 | #define VPP2_VSC_PHASE_CTRL 0x190d |
| 30 | #define VPP2_VSC_INI_PHASE 0x190e |
| 31 | #define VPP2_HSC_REGION12_STARTP 0x1910 |
| 32 | #define VPP2_HSC_REGION34_STARTP 0x1911 |
| 33 | #define VPP2_HSC_REGION4_ENDP 0x1912 |
| 34 | #define VPP2_HSC_START_PHASE_STEP 0x1913 |
| 35 | #define VPP2_HSC_REGION0_PHASE_SLOPE 0x1914 |
| 36 | #define VPP2_HSC_REGION1_PHASE_SLOPE 0x1915 |
| 37 | #define VPP2_HSC_REGION3_PHASE_SLOPE 0x1916 |
| 38 | #define VPP2_HSC_REGION4_PHASE_SLOPE 0x1917 |
| 39 | #define VPP2_HSC_PHASE_CTRL 0x1918 |
| 40 | #define VPP2_SC_MISC 0x1919 |
| 41 | #define VPP2_PREBLEND_VD1_H_START_END 0x191a |
| 42 | #define VPP2_PREBLEND_VD1_V_START_END 0x191b |
| 43 | #define VPP2_POSTBLEND_VD1_H_START_END 0x191c |
| 44 | #define VPP2_POSTBLEND_VD1_V_START_END 0x191d |
| 45 | #define VPP2_PREBLEND_H_SIZE 0x1920 |
| 46 | #define VPP2_POSTBLEND_H_SIZE 0x1921 |
| 47 | #define VPP2_HOLD_LINES 0x1922 |
| 48 | #define VPP2_BLEND_ONECOLOR_CTRL 0x1923 |
| 49 | #define VPP2_PREBLEND_CURRENT_XY 0x1924 |
| 50 | #define VPP2_POSTBLEND_CURRENT_XY 0x1925 |
| 51 | #define VPP2_MISC 0x1926 |
| 52 | #define VPP2_OFIFO_SIZE 0x1927 |
| 53 | #define VPP2_FIFO_STATUS 0x1928 |
| 54 | #define VPP2_SMOKE_CTRL 0x1929 |
| 55 | #define VPP2_SMOKE1_VAL 0x192a |
| 56 | #define VPP2_SMOKE2_VAL 0x192b |
| 57 | #define VPP2_SMOKE1_H_START_END 0x192d |
| 58 | #define VPP2_SMOKE1_V_START_END 0x192e |
| 59 | #define VPP2_SMOKE2_H_START_END 0x192f |
| 60 | #define VPP2_SMOKE2_V_START_END 0x1930 |
| 61 | #define VPP2_SCO_FIFO_CTRL 0x1933 |
| 62 | #define VPP2_HSC_PHASE_CTRL1 0x1934 |
| 63 | #define VPP2_HSC_INI_PAT_CTRL 0x1935 |
| 64 | #define VPP2_VADJ_CTRL 0x1940 |
| 65 | #define VPP2_VADJ1_Y 0x1941 |
| 66 | #define VPP2_VADJ1_MA_MB 0x1942 |
| 67 | #define VPP2_VADJ1_MC_MD 0x1943 |
| 68 | #define VPP2_VADJ2_Y 0x1944 |
| 69 | #define VPP2_VADJ2_MA_MB 0x1945 |
| 70 | #define VPP2_VADJ2_MC_MD 0x1946 |
| 71 | #define VPP2_MATRIX_PROBE_COLOR 0x195c |
| 72 | #define VPP2_MATRIX_HL_COLOR 0x195d |
| 73 | #define VPP2_MATRIX_PROBE_POS 0x195e |
| 74 | #define VPP2_MATRIX_CTRL 0x195f |
| 75 | #define VPP2_MATRIX_COEF00_01 0x1960 |
| 76 | #define VPP2_MATRIX_COEF02_10 0x1961 |
| 77 | #define VPP2_MATRIX_COEF11_12 0x1962 |
| 78 | #define VPP2_MATRIX_COEF20_21 0x1963 |
| 79 | #define VPP2_MATRIX_COEF22 0x1964 |
| 80 | #define VPP2_MATRIX_OFFSET0_1 0x1965 |
| 81 | #define VPP2_MATRIX_OFFSET2 0x1966 |
| 82 | #define VPP2_MATRIX_PRE_OFFSET0_1 0x1967 |
| 83 | #define VPP2_MATRIX_PRE_OFFSET2 0x1968 |
| 84 | #define VPP2_DUMMY_DATA1 0x1969 |
| 85 | #define VPP2_GAINOFF_CTRL0 0x196a |
| 86 | #define VPP2_GAINOFF_CTRL1 0x196b |
| 87 | #define VPP2_GAINOFF_CTRL2 0x196c |
| 88 | #define VPP2_GAINOFF_CTRL3 0x196d |
| 89 | #define VPP2_GAINOFF_CTRL4 0x196e |
| 90 | #define VPP2_CHROMA_ADDR_PORT 0x1970 |
| 91 | #define VPP2_CHROMA_DATA_PORT 0x1971 |
| 92 | #define VPP2_GCLK_CTRL0 0x1972 |
| 93 | #define VPP2_GCLK_CTRL1 0x1973 |
| 94 | #define VPP2_SC_GCLK_CTRL 0x1974 |
| 95 | #define VPP2_MISC1 0x1976 |
| 96 | #define VPP2_DNLP_CTRL_00 0x1981 |
| 97 | #define VPP2_DNLP_CTRL_01 0x1982 |
| 98 | #define VPP2_DNLP_CTRL_02 0x1983 |
| 99 | #define VPP2_DNLP_CTRL_03 0x1984 |
| 100 | #define VPP2_DNLP_CTRL_04 0x1985 |
| 101 | #define VPP2_DNLP_CTRL_05 0x1986 |
| 102 | #define VPP2_DNLP_CTRL_06 0x1987 |
| 103 | #define VPP2_DNLP_CTRL_07 0x1988 |
| 104 | #define VPP2_DNLP_CTRL_08 0x1989 |
| 105 | #define VPP2_DNLP_CTRL_09 0x198a |
| 106 | #define VPP2_DNLP_CTRL_10 0x198b |
| 107 | #define VPP2_DNLP_CTRL_11 0x198c |
| 108 | #define VPP2_DNLP_CTRL_12 0x198d |
| 109 | #define VPP2_DNLP_CTRL_13 0x198e |
| 110 | #define VPP2_DNLP_CTRL_14 0x198f |
| 111 | #define VPP2_DNLP_CTRL_15 0x1990 |
| 112 | #define VPP2_VE_ENABLE_CTRL 0x19a1 |
| 113 | #define VPP2_VE_DEMO_LEFT_TOP_SCREEN_WIDTH 0x19a2 |
| 114 | #define VPP2_VE_DEMO_CENTER_BAR 0x19a3 |
| 115 | #define VPP2_VE_H_V_SIZE 0x19a4 |
| 116 | #define VPP2_VDO_MEAS_CTRL 0x19a8 |
| 117 | #define VPP2_VDO_MEAS_VS_COUNT_HI 0x19a9 |
| 118 | #define VPP2_VDO_MEAS_VS_COUNT_LO 0x19aa |
| 119 | #define VPP2_OSD_VSC_PHASE_STEP 0x19c0 |
| 120 | #define VPP2_OSD_VSC_INI_PHASE 0x19c1 |
| 121 | #define VPP2_OSD_VSC_CTRL0 0x19c2 |
| 122 | #define VPP2_OSD_HSC_PHASE_STEP 0x19c3 |
| 123 | #define VPP2_OSD_HSC_INI_PHASE 0x19c4 |
| 124 | #define VPP2_OSD_HSC_CTRL0 0x19c5 |
| 125 | #define VPP2_OSD_HSC_INI_PAT_CTRL 0x19c6 |
| 126 | #define VPP2_OSD_SC_DUMMY_DATA 0x19c7 |
| 127 | #define VPP2_OSD_SC_CTRL0 0x19c8 |
| 128 | #define VPP2_OSD_SCI_WH_M1 0x19c9 |
| 129 | #define VPP2_OSD_SCO_H_START_END 0x19ca |
| 130 | #define VPP2_OSD_SCO_V_START_END 0x19cb |
| 131 | #define VPP2_OSD_SCALE_COEF_IDX 0x19cc |
| 132 | #define VPP2_OSD_SCALE_COEF 0x19cd |
| 133 | #define VPP2_INT_LINE_NUM 0x19ce |
| 134 | |
| 135 | /* viu */ |
| 136 | #define VIU_ADDR_START 0x1a00 |
| 137 | #define VIU_ADDR_END 0x1aff |
| 138 | #define VIU_SW_RESET 0x1a01 |
| 139 | #define VIU_MISC_CTRL0 0x1a06 |
| 140 | #define VIU_MISC_CTRL1 0x1a07 |
| 141 | #define D2D3_INTF_LENGTH 0x1a08 |
| 142 | #define D2D3_INTF_CTRL0 0x1a09 |
| 143 | #define VIU_OSD1_CTRL_STAT 0x1a10 |
| 144 | #define VIU_OSD1_CTRL_STAT2 0x1a2d |
| 145 | #define VIU_OSD1_COLOR_ADDR 0x1a11 |
| 146 | #define VIU_OSD1_COLOR 0x1a12 |
| 147 | #define VIU_OSD1_TCOLOR_AG0 0x1a17 |
| 148 | #define VIU_OSD1_TCOLOR_AG1 0x1a18 |
| 149 | #define VIU_OSD1_TCOLOR_AG2 0x1a19 |
| 150 | #define VIU_OSD1_TCOLOR_AG3 0x1a1a |
| 151 | #define VIU_OSD1_BLK0_CFG_W0 0x1a1b |
| 152 | #define VIU_OSD1_BLK1_CFG_W0 0x1a1f |
| 153 | #define VIU_OSD1_BLK2_CFG_W0 0x1a23 |
| 154 | #define VIU_OSD1_BLK3_CFG_W0 0x1a27 |
| 155 | #define VIU_OSD1_BLK0_CFG_W1 0x1a1c |
| 156 | #define VIU_OSD1_BLK1_CFG_W1 0x1a20 |
| 157 | #define VIU_OSD1_BLK2_CFG_W1 0x1a24 |
| 158 | #define VIU_OSD1_BLK3_CFG_W1 0x1a28 |
| 159 | #define VIU_OSD1_BLK0_CFG_W2 0x1a1d |
| 160 | #define VIU_OSD1_BLK1_CFG_W2 0x1a21 |
| 161 | #define VIU_OSD1_BLK2_CFG_W2 0x1a25 |
| 162 | #define VIU_OSD1_BLK3_CFG_W2 0x1a29 |
| 163 | #define VIU_OSD1_BLK0_CFG_W3 0x1a1e |
| 164 | #define VIU_OSD1_BLK1_CFG_W3 0x1a22 |
| 165 | #define VIU_OSD1_BLK2_CFG_W3 0x1a26 |
| 166 | #define VIU_OSD1_BLK3_CFG_W3 0x1a2a |
| 167 | #define VIU_OSD1_BLK0_CFG_W4 0x1a13 |
| 168 | #define VIU_OSD1_BLK1_CFG_W4 0x1a14 |
| 169 | #define VIU_OSD1_BLK2_CFG_W4 0x1a15 |
| 170 | #define VIU_OSD1_BLK3_CFG_W4 0x1a16 |
| 171 | #define VIU_OSD1_FIFO_CTRL_STAT 0x1a2b |
| 172 | #define VIU_OSD1_TEST_RDDATA 0x1a2c |
| 173 | #define VIU_OSD1_PROT_CTRL 0x1a2e |
| 174 | #define VIU_OSD2_CTRL_STAT 0x1a30 |
| 175 | #define VIU_OSD2_CTRL_STAT2 0x1a4d |
| 176 | #define VIU_OSD2_COLOR_ADDR 0x1a31 |
| 177 | #define VIU_OSD2_COLOR 0x1a32 |
| 178 | #define VIU_OSD2_HL1_H_START_END 0x1a33 |
| 179 | #define VIU_OSD2_HL1_V_START_END 0x1a34 |
| 180 | #define VIU_OSD2_HL2_H_START_END 0x1a35 |
| 181 | #define VIU_OSD2_HL2_V_START_END 0x1a36 |
| 182 | #define VIU_OSD2_TCOLOR_AG0 0x1a37 |
| 183 | #define VIU_OSD2_TCOLOR_AG1 0x1a38 |
| 184 | #define VIU_OSD2_TCOLOR_AG2 0x1a39 |
| 185 | #define VIU_OSD2_TCOLOR_AG3 0x1a3a |
| 186 | #define VIU_OSD2_BLK0_CFG_W0 0x1a3b |
| 187 | #define VIU_OSD2_BLK1_CFG_W0 0x1a3f |
| 188 | #define VIU_OSD2_BLK2_CFG_W0 0x1a43 |
| 189 | #define VIU_OSD2_BLK3_CFG_W0 0x1a47 |
| 190 | #define VIU_OSD2_BLK0_CFG_W1 0x1a3c |
| 191 | #define VIU_OSD2_BLK1_CFG_W1 0x1a40 |
| 192 | #define VIU_OSD2_BLK2_CFG_W1 0x1a44 |
| 193 | #define VIU_OSD2_BLK3_CFG_W1 0x1a48 |
| 194 | #define VIU_OSD2_BLK0_CFG_W2 0x1a3d |
| 195 | #define VIU_OSD2_BLK1_CFG_W2 0x1a41 |
| 196 | #define VIU_OSD2_BLK2_CFG_W2 0x1a45 |
| 197 | #define VIU_OSD2_BLK3_CFG_W2 0x1a49 |
| 198 | #define VIU_OSD2_BLK0_CFG_W3 0x1a3e |
| 199 | #define VIU_OSD2_BLK1_CFG_W3 0x1a42 |
| 200 | #define VIU_OSD2_BLK2_CFG_W3 0x1a46 |
| 201 | #define VIU_OSD2_BLK3_CFG_W3 0x1a4a |
| 202 | #define VIU_OSD2_BLK0_CFG_W4 0x1a64 |
| 203 | #define VIU_OSD2_BLK1_CFG_W4 0x1a65 |
| 204 | #define VIU_OSD2_BLK2_CFG_W4 0x1a66 |
| 205 | #define VIU_OSD2_BLK3_CFG_W4 0x1a67 |
| 206 | #define VIU_OSD2_FIFO_CTRL_STAT 0x1a4b |
| 207 | #define VIU_OSD2_TEST_RDDATA 0x1a4c |
| 208 | #define VIU_OSD2_PROT_CTRL 0x1a4e |
| 209 | |
| 210 | #define VD1_IF0_GEN_REG 0x1a50 |
| 211 | #define VD1_IF0_CANVAS0 0x1a51 |
| 212 | #define VD1_IF0_CANVAS1 0x1a52 |
| 213 | #define VD1_IF0_LUMA_X0 0x1a53 |
| 214 | #define VD1_IF0_LUMA_Y0 0x1a54 |
| 215 | #define VD1_IF0_CHROMA_X0 0x1a55 |
| 216 | #define VD1_IF0_CHROMA_Y0 0x1a56 |
| 217 | #define VD1_IF0_LUMA_X1 0x1a57 |
| 218 | #define VD1_IF0_LUMA_Y1 0x1a58 |
| 219 | #define VD1_IF0_CHROMA_X1 0x1a59 |
| 220 | #define VD1_IF0_CHROMA_Y1 0x1a5a |
| 221 | #define VD1_IF0_RPT_LOOP 0x1a5b |
| 222 | #define VD1_IF0_LUMA0_RPT_PAT 0x1a5c |
| 223 | #define VD1_IF0_CHROMA0_RPT_PAT 0x1a5d |
| 224 | #define VD1_IF0_LUMA1_RPT_PAT 0x1a5e |
| 225 | #define VD1_IF0_CHROMA1_RPT_PAT 0x1a5f |
| 226 | #define VD1_IF0_LUMA_PSEL 0x1a60 |
| 227 | #define VD1_IF0_CHROMA_PSEL 0x1a61 |
| 228 | #define VD1_IF0_DUMMY_PIXEL 0x1a62 |
| 229 | #define VD1_IF0_LUMA_FIFO_SIZE 0x1a63 |
| 230 | #define VD1_IF0_RANGE_MAP_Y 0x1a6a |
| 231 | #define VD1_IF0_RANGE_MAP_CB 0x1a6b |
| 232 | #define VD1_IF0_RANGE_MAP_CR 0x1a6c |
| 233 | #define VD1_IF0_GEN_REG2 0x1a6d |
| 234 | #define VD1_IF0_PROT_CNTL 0x1a6e |
| 235 | #define VIU_VD1_FMT_CTRL 0x1a68 |
| 236 | #define VIU_VD1_FMT_W 0x1a69 |
| 237 | #define VD2_IF0_GEN_REG 0x1a70 |
| 238 | #define VD2_IF0_CANVAS0 0x1a71 |
| 239 | #define VD2_IF0_CANVAS1 0x1a72 |
| 240 | #define VD2_IF0_LUMA_X0 0x1a73 |
| 241 | #define VD2_IF0_LUMA_Y0 0x1a74 |
| 242 | #define VD2_IF0_CHROMA_X0 0x1a75 |
| 243 | #define VD2_IF0_CHROMA_Y0 0x1a76 |
| 244 | #define VD2_IF0_LUMA_X1 0x1a77 |
| 245 | #define VD2_IF0_LUMA_Y1 0x1a78 |
| 246 | #define VD2_IF0_CHROMA_X1 0x1a79 |
| 247 | #define VD2_IF0_CHROMA_Y1 0x1a7a |
| 248 | #define VD2_IF0_RPT_LOOP 0x1a7b |
| 249 | #define VD2_IF0_LUMA0_RPT_PAT 0x1a7c |
| 250 | #define VD2_IF0_CHROMA0_RPT_PAT 0x1a7d |
| 251 | #define VD2_IF0_LUMA1_RPT_PAT 0x1a7e |
| 252 | #define VD2_IF0_CHROMA1_RPT_PAT 0x1a7f |
| 253 | #define VD2_IF0_LUMA_PSEL 0x1a80 |
| 254 | #define VD2_IF0_CHROMA_PSEL 0x1a81 |
| 255 | #define VD2_IF0_DUMMY_PIXEL 0x1a82 |
| 256 | #define VD2_IF0_LUMA_FIFO_SIZE 0x1a83 |
| 257 | #define VD2_IF0_RANGE_MAP_Y 0x1a8a |
| 258 | #define VD2_IF0_RANGE_MAP_CB 0x1a8b |
| 259 | #define VD2_IF0_RANGE_MAP_CR 0x1a8c |
| 260 | #define VD2_IF0_GEN_REG2 0x1a8d |
| 261 | #define VD2_IF0_PROT_CNTL 0x1a8e |
| 262 | #define VIU_VD2_FMT_CTRL 0x1a88 |
| 263 | #define VIU_VD2_FMT_W 0x1a89 |
| 264 | |
| 265 | /* VIU Matrix Registers */ |
| 266 | #define VIU_OSD1_MATRIX_CTRL 0x1a90 |
| 267 | #define VIU_OSD1_MATRIX_COEF00_01 0x1a91 |
| 268 | #define VIU_OSD1_MATRIX_COEF02_10 0x1a92 |
| 269 | #define VIU_OSD1_MATRIX_COEF11_12 0x1a93 |
| 270 | #define VIU_OSD1_MATRIX_COEF20_21 0x1a94 |
| 271 | #define VIU_OSD1_MATRIX_COLMOD_COEF42 0x1a95 |
| 272 | #define VIU_OSD1_MATRIX_OFFSET0_1 0x1a96 |
| 273 | #define VIU_OSD1_MATRIX_OFFSET2 0x1a97 |
| 274 | #define VIU_OSD1_MATRIX_PRE_OFFSET0_1 0x1a98 |
| 275 | #define VIU_OSD1_MATRIX_PRE_OFFSET2 0x1a99 |
| 276 | #define VIU_OSD1_MATRIX_COEF22_30 0x1a9d |
| 277 | #define VIU_OSD1_MATRIX_COEF31_32 0x1a9e |
| 278 | #define VIU_OSD1_MATRIX_COEF40_41 0x1a9f |
| 279 | #define VD1_IF0_GEN_REG3 0x1aa7 |
| 280 | #define VIU_OSD1_EOTF_CTL 0x1ad4 |
| 281 | #define VIU_OSD1_EOTF_COEF00_01 0x1ad5 |
| 282 | #define VIU_OSD1_EOTF_COEF02_10 0x1ad6 |
| 283 | #define VIU_OSD1_EOTF_COEF11_12 0x1ad7 |
| 284 | #define VIU_OSD1_EOTF_COEF20_21 0x1ad8 |
| 285 | #define VIU_OSD1_EOTF_COEF22_RS 0x1ad9 |
| 286 | #define VIU_OSD1_EOTF_LUT_ADDR_PORT 0x1ada |
| 287 | #define VIU_OSD1_EOTF_LUT_DATA_PORT 0x1adb |
| 288 | #define VIU_OSD1_OETF_CTL 0x1adc |
| 289 | #define VIU_OSD1_OETF_LUT_ADDR_PORT 0x1add |
| 290 | #define VIU_OSD1_OETF_LUT_DATA_PORT 0x1ade |
| 291 | #define AFBC_ENABLE 0x1ae0 |
| 292 | |
| 293 | /* vpp */ |
| 294 | #define VPP_DUMMY_DATA 0x1d00 |
| 295 | #define VPP_LINE_IN_LENGTH 0x1d01 |
| 296 | #define VPP_PIC_IN_HEIGHT 0x1d02 |
| 297 | #define VPP_SCALE_COEF_IDX 0x1d03 |
| 298 | #define VPP_SCALE_COEF 0x1d04 |
| 299 | #define VPP_VSC_REGION12_STARTP 0x1d05 |
| 300 | #define VPP_VSC_REGION34_STARTP 0x1d06 |
| 301 | #define VPP_VSC_REGION4_ENDP 0x1d07 |
| 302 | #define VPP_VSC_START_PHASE_STEP 0x1d08 |
| 303 | #define VPP_VSC_REGION0_PHASE_SLOPE 0x1d09 |
| 304 | #define VPP_VSC_REGION1_PHASE_SLOPE 0x1d0a |
| 305 | #define VPP_VSC_REGION3_PHASE_SLOPE 0x1d0b |
| 306 | #define VPP_VSC_REGION4_PHASE_SLOPE 0x1d0c |
| 307 | #define VPP_VSC_PHASE_CTRL 0x1d0d |
| 308 | #define VPP_VSC_INI_PHASE 0x1d0e |
| 309 | #define VPP_HSC_REGION12_STARTP 0x1d10 |
| 310 | #define VPP_HSC_REGION34_STARTP 0x1d11 |
| 311 | #define VPP_HSC_REGION4_ENDP 0x1d12 |
| 312 | #define VPP_HSC_START_PHASE_STEP 0x1d13 |
| 313 | #define VPP_HSC_REGION0_PHASE_SLOPE 0x1d14 |
| 314 | #define VPP_HSC_REGION1_PHASE_SLOPE 0x1d15 |
| 315 | #define VPP_HSC_REGION3_PHASE_SLOPE 0x1d16 |
| 316 | #define VPP_HSC_REGION4_PHASE_SLOPE 0x1d17 |
| 317 | #define VPP_HSC_PHASE_CTRL 0x1d18 |
| 318 | #define VPP_SC_MISC 0x1d19 |
| 319 | #define VPP_PREBLEND_VD1_H_START_END 0x1d1a |
| 320 | #define VPP_PREBLEND_VD1_V_START_END 0x1d1b |
| 321 | #define VPP_POSTBLEND_VD1_H_START_END 0x1d1c |
| 322 | #define VPP_POSTBLEND_VD1_V_START_END 0x1d1d |
| 323 | #define VPP_BLEND_VD2_H_START_END 0x1d1e |
| 324 | #define VPP_BLEND_VD2_V_START_END 0x1d1f |
| 325 | #define VPP_PREBLEND_H_SIZE 0x1d20 |
| 326 | #define VPP_POSTBLEND_H_SIZE 0x1d21 |
| 327 | #define VPP_HOLD_LINES 0x1d22 |
| 328 | #define VPP_BLEND_ONECOLOR_CTRL 0x1d23 |
| 329 | #define VPP_PREBLEND_CURRENT_XY 0x1d24 |
| 330 | #define VPP_POSTBLEND_CURRENT_XY 0x1d25 |
| 331 | #define VPP_MISC 0x1d26 |
| 332 | #define VPP_PREBLEND_ENABLE BIT(6) |
| 333 | #define VPP_POSTBLEND_ENABLE BIT(7) |
| 334 | #define VPP_OSD2_ALPHA_PREMULT BIT(8) |
| 335 | #define VPP_OSD1_ALPHA_PREMULT BIT(9) |
| 336 | #define VPP_VD1_POSTBLEND BIT(10) |
| 337 | #define VPP_VD2_POSTBLEND BIT(11) |
| 338 | #define VPP_OSD1_POSTBLEND BIT(12) |
| 339 | #define VPP_OSD2_POSTBLEND BIT(13) |
| 340 | #define VPP_VD1_PREBLEND BIT(14) |
| 341 | #define VPP_VD2_PREBLEND BIT(15) |
| 342 | #define VPP_OSD1_PREBLEND BIT(16) |
| 343 | #define VPP_OSD2_PREBLEND BIT(17) |
| 344 | #define VPP_COLOR_MNG_ENABLE BIT(28) |
| 345 | #define VPP_OFIFO_SIZE 0x1d27 |
| 346 | #define VPP_FIFO_STATUS 0x1d28 |
| 347 | #define VPP_SMOKE_CTRL 0x1d29 |
| 348 | #define VPP_SMOKE1_VAL 0x1d2a |
| 349 | #define VPP_SMOKE2_VAL 0x1d2b |
| 350 | #define VPP_SMOKE3_VAL 0x1d2c |
| 351 | #define VPP_SMOKE1_H_START_END 0x1d2d |
| 352 | #define VPP_SMOKE1_V_START_END 0x1d2e |
| 353 | #define VPP_SMOKE2_H_START_END 0x1d2f |
| 354 | #define VPP_SMOKE2_V_START_END 0x1d30 |
| 355 | #define VPP_SMOKE3_H_START_END 0x1d31 |
| 356 | #define VPP_SMOKE3_V_START_END 0x1d32 |
| 357 | #define VPP_SCO_FIFO_CTRL 0x1d33 |
| 358 | #define VPP_HSC_PHASE_CTRL1 0x1d34 |
| 359 | #define VPP_HSC_INI_PAT_CTRL 0x1d35 |
| 360 | #define VPP_VADJ_CTRL 0x1d40 |
| 361 | #define VPP_VADJ1_Y 0x1d41 |
| 362 | #define VPP_VADJ1_MA_MB 0x1d42 |
| 363 | #define VPP_VADJ1_MC_MD 0x1d43 |
| 364 | #define VPP_VADJ2_Y 0x1d44 |
| 365 | #define VPP_VADJ2_MA_MB 0x1d45 |
| 366 | #define VPP_VADJ2_MC_MD 0x1d46 |
| 367 | #define VPP_HSHARP_CTRL 0x1d50 |
| 368 | #define VPP_HSHARP_LUMA_THRESH01 0x1d51 |
| 369 | #define VPP_HSHARP_LUMA_THRESH23 0x1d52 |
| 370 | #define VPP_HSHARP_CHROMA_THRESH01 0x1d53 |
| 371 | #define VPP_HSHARP_CHROMA_THRESH23 0x1d54 |
| 372 | #define VPP_HSHARP_LUMA_GAIN 0x1d55 |
| 373 | #define VPP_HSHARP_CHROMA_GAIN 0x1d56 |
| 374 | #define VPP_MATRIX_PROBE_COLOR 0x1d5c |
| 375 | #define VPP_MATRIX_HL_COLOR 0x1d5d |
| 376 | #define VPP_MATRIX_PROBE_POS 0x1d5e |
| 377 | #define VPP_MATRIX_CTRL 0x1d5f |
| 378 | #define VPP_MATRIX_COEF00_01 0x1d60 |
| 379 | #define VPP_MATRIX_COEF02_10 0x1d61 |
| 380 | #define VPP_MATRIX_COEF11_12 0x1d62 |
| 381 | #define VPP_MATRIX_COEF20_21 0x1d63 |
| 382 | #define VPP_MATRIX_COEF22 0x1d64 |
| 383 | #define VPP_MATRIX_OFFSET0_1 0x1d65 |
| 384 | #define VPP_MATRIX_OFFSET2 0x1d66 |
| 385 | #define VPP_MATRIX_PRE_OFFSET0_1 0x1d67 |
| 386 | #define VPP_MATRIX_PRE_OFFSET2 0x1d68 |
| 387 | #define VPP_DUMMY_DATA1 0x1d69 |
| 388 | #define VPP_GAINOFF_CTRL0 0x1d6a |
| 389 | #define VPP_GAINOFF_CTRL1 0x1d6b |
| 390 | #define VPP_GAINOFF_CTRL2 0x1d6c |
| 391 | #define VPP_GAINOFF_CTRL3 0x1d6d |
| 392 | #define VPP_GAINOFF_CTRL4 0x1d6e |
| 393 | #define VPP_CHROMA_ADDR_PORT 0x1d70 |
| 394 | #define VPP_CHROMA_DATA_PORT 0x1d71 |
| 395 | #define VPP_GCLK_CTRL0 0x1d72 |
| 396 | #define VPP_GCLK_CTRL1 0x1d73 |
| 397 | #define VPP_SC_GCLK_CTRL 0x1d74 |
| 398 | #define VPP_MISC1 0x1d76 |
| 399 | #define VPP_BLACKEXT_CTRL 0x1d80 |
| 400 | #define VPP_DNLP_CTRL_00 0x1d81 |
| 401 | #define VPP_DNLP_CTRL_01 0x1d82 |
| 402 | #define VPP_DNLP_CTRL_02 0x1d83 |
| 403 | #define VPP_DNLP_CTRL_03 0x1d84 |
| 404 | #define VPP_DNLP_CTRL_04 0x1d85 |
| 405 | #define VPP_DNLP_CTRL_05 0x1d86 |
| 406 | #define VPP_DNLP_CTRL_06 0x1d87 |
| 407 | #define VPP_DNLP_CTRL_07 0x1d88 |
| 408 | #define VPP_DNLP_CTRL_08 0x1d89 |
| 409 | #define VPP_DNLP_CTRL_09 0x1d8a |
| 410 | #define VPP_DNLP_CTRL_10 0x1d8b |
| 411 | #define VPP_DNLP_CTRL_11 0x1d8c |
| 412 | #define VPP_DNLP_CTRL_12 0x1d8d |
| 413 | #define VPP_DNLP_CTRL_13 0x1d8e |
| 414 | #define VPP_DNLP_CTRL_14 0x1d8f |
| 415 | #define VPP_DNLP_CTRL_15 0x1d90 |
| 416 | #define VPP_PEAKING_HGAIN 0x1d91 |
| 417 | #define VPP_PEAKING_VGAIN 0x1d92 |
| 418 | #define VPP_PEAKING_NLP_1 0x1d93 |
| 419 | #define VPP_DOLBY_CTRL 0x1d93 |
| 420 | #define VPP_PEAKING_NLP_2 0x1d94 |
| 421 | #define VPP_PEAKING_NLP_3 0x1d95 |
| 422 | #define VPP_PEAKING_NLP_4 0x1d96 |
| 423 | #define VPP_PEAKING_NLP_5 0x1d97 |
| 424 | #define VPP_SHARP_LIMIT 0x1d98 |
| 425 | #define VPP_VLTI_CTRL 0x1d99 |
| 426 | #define VPP_HLTI_CTRL 0x1d9a |
| 427 | #define VPP_CTI_CTRL 0x1d9b |
| 428 | #define VPP_BLUE_STRETCH_1 0x1d9c |
| 429 | #define VPP_BLUE_STRETCH_2 0x1d9d |
| 430 | #define VPP_BLUE_STRETCH_3 0x1d9e |
| 431 | #define VPP_CCORING_CTRL 0x1da0 |
| 432 | #define VPP_VE_ENABLE_CTRL 0x1da1 |
| 433 | #define VPP_VE_DEMO_LEFT_TOP_SCREEN_WIDTH 0x1da2 |
| 434 | #define VPP_VE_DEMO_CENTER_BAR 0x1da3 |
| 435 | #define VPP_VE_H_V_SIZE 0x1da4 |
| 436 | #define VPP_VDO_MEAS_CTRL 0x1da8 |
| 437 | #define VPP_VDO_MEAS_VS_COUNT_HI 0x1da9 |
| 438 | #define VPP_VDO_MEAS_VS_COUNT_LO 0x1daa |
| 439 | #define VPP_INPUT_CTRL 0x1dab |
| 440 | #define VPP_CTI_CTRL2 0x1dac |
| 441 | #define VPP_PEAKING_SAT_THD1 0x1dad |
| 442 | #define VPP_PEAKING_SAT_THD2 0x1dae |
| 443 | #define VPP_PEAKING_SAT_THD3 0x1daf |
| 444 | #define VPP_PEAKING_SAT_THD4 0x1db0 |
| 445 | #define VPP_PEAKING_SAT_THD5 0x1db1 |
| 446 | #define VPP_PEAKING_SAT_THD6 0x1db2 |
| 447 | #define VPP_PEAKING_SAT_THD7 0x1db3 |
| 448 | #define VPP_PEAKING_SAT_THD8 0x1db4 |
| 449 | #define VPP_PEAKING_SAT_THD9 0x1db5 |
| 450 | #define VPP_PEAKING_GAIN_ADD1 0x1db6 |
| 451 | #define VPP_PEAKING_GAIN_ADD2 0x1db7 |
| 452 | #define VPP_PEAKING_DNLP 0x1db8 |
| 453 | #define VPP_SHARP_DEMO_WIN_CTRL1 0x1db9 |
| 454 | #define VPP_SHARP_DEMO_WIN_CTRL2 0x1dba |
| 455 | #define VPP_FRONT_HLTI_CTRL 0x1dbb |
| 456 | #define VPP_FRONT_CTI_CTRL 0x1dbc |
| 457 | #define VPP_FRONT_CTI_CTRL2 0x1dbd |
| 458 | #define VPP_OSD_VSC_PHASE_STEP 0x1dc0 |
| 459 | #define VPP_OSD_VSC_INI_PHASE 0x1dc1 |
| 460 | #define VPP_OSD_VSC_CTRL0 0x1dc2 |
| 461 | #define VPP_OSD_HSC_PHASE_STEP 0x1dc3 |
| 462 | #define VPP_OSD_HSC_INI_PHASE 0x1dc4 |
| 463 | #define VPP_OSD_HSC_CTRL0 0x1dc5 |
| 464 | #define VPP_OSD_HSC_INI_PAT_CTRL 0x1dc6 |
| 465 | #define VPP_OSD_SC_DUMMY_DATA 0x1dc7 |
| 466 | #define VPP_OSD_SC_CTRL0 0x1dc8 |
| 467 | #define VPP_OSD_SCI_WH_M1 0x1dc9 |
| 468 | #define VPP_OSD_SCO_H_START_END 0x1dca |
| 469 | #define VPP_OSD_SCO_V_START_END 0x1dcb |
| 470 | #define VPP_OSD_SCALE_COEF_IDX 0x1dcc |
| 471 | #define VPP_OSD_SCALE_COEF 0x1dcd |
| 472 | #define VPP_INT_LINE_NUM 0x1dce |
| 473 | |
| 474 | /* viu2 */ |
| 475 | #define VIU2_ADDR_START 0x1e00 |
| 476 | #define VIU2_ADDR_END 0x1eff |
| 477 | #define VIU2_SW_RESET 0x1e01 |
| 478 | #define VIU2_OSD1_CTRL_STAT 0x1e10 |
| 479 | #define VIU2_OSD1_CTRL_STAT2 0x1e2d |
| 480 | #define VIU2_OSD1_COLOR_ADDR 0x1e11 |
| 481 | #define VIU2_OSD1_COLOR 0x1e12 |
| 482 | #define VIU2_OSD1_TCOLOR_AG0 0x1e17 |
| 483 | #define VIU2_OSD1_TCOLOR_AG1 0x1e18 |
| 484 | #define VIU2_OSD1_TCOLOR_AG2 0x1e19 |
| 485 | #define VIU2_OSD1_TCOLOR_AG3 0x1e1a |
| 486 | #define VIU2_OSD1_BLK0_CFG_W0 0x1e1b |
| 487 | #define VIU2_OSD1_BLK1_CFG_W0 0x1e1f |
| 488 | #define VIU2_OSD1_BLK2_CFG_W0 0x1e23 |
| 489 | #define VIU2_OSD1_BLK3_CFG_W0 0x1e27 |
| 490 | #define VIU2_OSD1_BLK0_CFG_W1 0x1e1c |
| 491 | #define VIU2_OSD1_BLK1_CFG_W1 0x1e20 |
| 492 | #define VIU2_OSD1_BLK2_CFG_W1 0x1e24 |
| 493 | #define VIU2_OSD1_BLK3_CFG_W1 0x1e28 |
| 494 | #define VIU2_OSD1_BLK0_CFG_W2 0x1e1d |
| 495 | #define VIU2_OSD1_BLK1_CFG_W2 0x1e21 |
| 496 | #define VIU2_OSD1_BLK2_CFG_W2 0x1e25 |
| 497 | #define VIU2_OSD1_BLK3_CFG_W2 0x1e29 |
| 498 | #define VIU2_OSD1_BLK0_CFG_W3 0x1e1e |
| 499 | #define VIU2_OSD1_BLK1_CFG_W3 0x1e22 |
| 500 | #define VIU2_OSD1_BLK2_CFG_W3 0x1e26 |
| 501 | #define VIU2_OSD1_BLK3_CFG_W3 0x1e2a |
| 502 | #define VIU2_OSD1_BLK0_CFG_W4 0x1e13 |
| 503 | #define VIU2_OSD1_BLK1_CFG_W4 0x1e14 |
| 504 | #define VIU2_OSD1_BLK2_CFG_W4 0x1e15 |
| 505 | #define VIU2_OSD1_BLK3_CFG_W4 0x1e16 |
| 506 | #define VIU2_OSD1_FIFO_CTRL_STAT 0x1e2b |
| 507 | #define VIU2_OSD1_TEST_RDDATA 0x1e2c |
| 508 | #define VIU2_OSD1_PROT_CTRL 0x1e2e |
| 509 | #define VIU2_OSD2_CTRL_STAT 0x1e30 |
| 510 | #define VIU2_OSD2_CTRL_STAT2 0x1e4d |
| 511 | #define VIU2_OSD2_COLOR_ADDR 0x1e31 |
| 512 | #define VIU2_OSD2_COLOR 0x1e32 |
| 513 | #define VIU2_OSD2_HL1_H_START_END 0x1e33 |
| 514 | #define VIU2_OSD2_HL1_V_START_END 0x1e34 |
| 515 | #define VIU2_OSD2_HL2_H_START_END 0x1e35 |
| 516 | #define VIU2_OSD2_HL2_V_START_END 0x1e36 |
| 517 | #define VIU2_OSD2_TCOLOR_AG0 0x1e37 |
| 518 | #define VIU2_OSD2_TCOLOR_AG1 0x1e38 |
| 519 | #define VIU2_OSD2_TCOLOR_AG2 0x1e39 |
| 520 | #define VIU2_OSD2_TCOLOR_AG3 0x1e3a |
| 521 | #define VIU2_OSD2_BLK0_CFG_W0 0x1e3b |
| 522 | #define VIU2_OSD2_BLK1_CFG_W0 0x1e3f |
| 523 | #define VIU2_OSD2_BLK2_CFG_W0 0x1e43 |
| 524 | #define VIU2_OSD2_BLK3_CFG_W0 0x1e47 |
| 525 | #define VIU2_OSD2_BLK0_CFG_W1 0x1e3c |
| 526 | #define VIU2_OSD2_BLK1_CFG_W1 0x1e40 |
| 527 | #define VIU2_OSD2_BLK2_CFG_W1 0x1e44 |
| 528 | #define VIU2_OSD2_BLK3_CFG_W1 0x1e48 |
| 529 | #define VIU2_OSD2_BLK0_CFG_W2 0x1e3d |
| 530 | #define VIU2_OSD2_BLK1_CFG_W2 0x1e41 |
| 531 | #define VIU2_OSD2_BLK2_CFG_W2 0x1e45 |
| 532 | #define VIU2_OSD2_BLK3_CFG_W2 0x1e49 |
| 533 | #define VIU2_OSD2_BLK0_CFG_W3 0x1e3e |
| 534 | #define VIU2_OSD2_BLK1_CFG_W3 0x1e42 |
| 535 | #define VIU2_OSD2_BLK2_CFG_W3 0x1e46 |
| 536 | #define VIU2_OSD2_BLK3_CFG_W3 0x1e4a |
| 537 | #define VIU2_OSD2_BLK0_CFG_W4 0x1e64 |
| 538 | #define VIU2_OSD2_BLK1_CFG_W4 0x1e65 |
| 539 | #define VIU2_OSD2_BLK2_CFG_W4 0x1e66 |
| 540 | #define VIU2_OSD2_BLK3_CFG_W4 0x1e67 |
| 541 | #define VIU2_OSD2_FIFO_CTRL_STAT 0x1e4b |
| 542 | #define VIU2_OSD2_TEST_RDDATA 0x1e4c |
| 543 | #define VIU2_OSD2_PROT_CTRL 0x1e4e |
| 544 | #define VIU2_VD1_IF0_GEN_REG 0x1e50 |
| 545 | #define VIU2_VD1_IF0_CANVAS0 0x1e51 |
| 546 | #define VIU2_VD1_IF0_CANVAS1 0x1e52 |
| 547 | #define VIU2_VD1_IF0_LUMA_X0 0x1e53 |
| 548 | #define VIU2_VD1_IF0_LUMA_Y0 0x1e54 |
| 549 | #define VIU2_VD1_IF0_CHROMA_X0 0x1e55 |
| 550 | #define VIU2_VD1_IF0_CHROMA_Y0 0x1e56 |
| 551 | #define VIU2_VD1_IF0_LUMA_X1 0x1e57 |
| 552 | #define VIU2_VD1_IF0_LUMA_Y1 0x1e58 |
| 553 | #define VIU2_VD1_IF0_CHROMA_X1 0x1e59 |
| 554 | #define VIU2_VD1_IF0_CHROMA_Y1 0x1e5a |
| 555 | #define VIU2_VD1_IF0_RPT_LOOP 0x1e5b |
| 556 | #define VIU2_VD1_IF0_LUMA0_RPT_PAT 0x1e5c |
| 557 | #define VIU2_VD1_IF0_CHROMA0_RPT_PAT 0x1e5d |
| 558 | #define VIU2_VD1_IF0_LUMA1_RPT_PAT 0x1e5e |
| 559 | #define VIU2_VD1_IF0_CHROMA1_RPT_PAT 0x1e5f |
| 560 | #define VIU2_VD1_IF0_LUMA_PSEL 0x1e60 |
| 561 | #define VIU2_VD1_IF0_CHROMA_PSEL 0x1e61 |
| 562 | #define VIU2_VD1_IF0_DUMMY_PIXEL 0x1e62 |
| 563 | #define VIU2_VD1_IF0_LUMA_FIFO_SIZE 0x1e63 |
| 564 | #define VIU2_VD1_IF0_RANGE_MAP_Y 0x1e6a |
| 565 | #define VIU2_VD1_IF0_RANGE_MAP_CB 0x1e6b |
| 566 | #define VIU2_VD1_IF0_RANGE_MAP_CR 0x1e6c |
| 567 | #define VIU2_VD1_IF0_GEN_REG2 0x1e6d |
| 568 | #define VIU2_VD1_IF0_PROT_CNTL 0x1e6e |
| 569 | #define VIU2_VD1_FMT_CTRL 0x1e68 |
| 570 | #define VIU2_VD1_FMT_W 0x1e69 |
| 571 | |
| 572 | /* encode */ |
| 573 | #define ENCP_VFIFO2VD_CTL 0x1b58 |
| 574 | #define ENCP_VFIFO2VD_PIXEL_START 0x1b59 |
| 575 | #define ENCP_VFIFO2VD_PIXEL_END 0x1b5a |
| 576 | #define ENCP_VFIFO2VD_LINE_TOP_START 0x1b5b |
| 577 | #define ENCP_VFIFO2VD_LINE_TOP_END 0x1b5c |
| 578 | #define ENCP_VFIFO2VD_LINE_BOT_START 0x1b5d |
| 579 | #define ENCP_VFIFO2VD_LINE_BOT_END 0x1b5e |
| 580 | #define VENC_SYNC_ROUTE 0x1b60 |
| 581 | #define VENC_VIDEO_EXSRC 0x1b61 |
| 582 | #define VENC_DVI_SETTING 0x1b62 |
| 583 | #define VENC_C656_CTRL 0x1b63 |
| 584 | #define VENC_UPSAMPLE_CTRL0 0x1b64 |
| 585 | #define VENC_UPSAMPLE_CTRL1 0x1b65 |
| 586 | #define VENC_UPSAMPLE_CTRL2 0x1b66 |
| 587 | #define TCON_INVERT_CTL 0x1b67 |
| 588 | #define VENC_VIDEO_PROG_MODE 0x1b68 |
| 589 | #define VENC_ENCI_LINE 0x1b69 |
| 590 | #define VENC_ENCI_PIXEL 0x1b6a |
| 591 | #define VENC_ENCP_LINE 0x1b6b |
| 592 | #define VENC_ENCP_PIXEL 0x1b6c |
| 593 | #define VENC_STATA 0x1b6d |
| 594 | #define VENC_INTCTRL 0x1b6e |
| 595 | #define VENC_INTFLAG 0x1b6f |
| 596 | #define VENC_VIDEO_TST_EN 0x1b70 |
| 597 | #define VENC_VIDEO_TST_MDSEL 0x1b71 |
| 598 | #define VENC_VIDEO_TST_Y 0x1b72 |
| 599 | #define VENC_VIDEO_TST_CB 0x1b73 |
| 600 | #define VENC_VIDEO_TST_CR 0x1b74 |
| 601 | #define VENC_VIDEO_TST_CLRBAR_STRT 0x1b75 |
| 602 | #define VENC_VIDEO_TST_CLRBAR_WIDTH 0x1b76 |
| 603 | #define VENC_VIDEO_TST_VDCNT_STSET 0x1b77 |
| 604 | #define VENC_VDAC_DACSEL0 0x1b78 |
| 605 | #define VENC_VDAC_DACSEL1 0x1b79 |
| 606 | #define VENC_VDAC_DACSEL2 0x1b7a |
| 607 | #define VENC_VDAC_DACSEL3 0x1b7b |
| 608 | #define VENC_VDAC_DACSEL4 0x1b7c |
| 609 | #define VENC_VDAC_DACSEL5 0x1b7d |
| 610 | #define VENC_VDAC_SETTING 0x1b7e |
| 611 | #define VENC_VDAC_TST_VAL 0x1b7f |
| 612 | #define VENC_VDAC_DAC0_GAINCTRL 0x1bf0 |
| 613 | #define VENC_VDAC_DAC0_OFFSET 0x1bf1 |
| 614 | #define VENC_VDAC_DAC1_GAINCTRL 0x1bf2 |
| 615 | #define VENC_VDAC_DAC1_OFFSET 0x1bf3 |
| 616 | #define VENC_VDAC_DAC2_GAINCTRL 0x1bf4 |
| 617 | #define VENC_VDAC_DAC2_OFFSET 0x1bf5 |
| 618 | #define VENC_VDAC_DAC3_GAINCTRL 0x1bf6 |
| 619 | #define VENC_VDAC_DAC3_OFFSET 0x1bf7 |
| 620 | #define VENC_VDAC_DAC4_GAINCTRL 0x1bf8 |
| 621 | #define VENC_VDAC_DAC4_OFFSET 0x1bf9 |
| 622 | #define VENC_VDAC_DAC5_GAINCTRL 0x1bfa |
| 623 | #define VENC_VDAC_DAC5_OFFSET 0x1bfb |
| 624 | #define VENC_VDAC_FIFO_CTRL 0x1bfc |
| 625 | #define ENCL_TCON_INVERT_CTL 0x1bfd |
| 626 | #define ENCP_VIDEO_EN 0x1b80 |
| 627 | #define ENCP_VIDEO_SYNC_MODE 0x1b81 |
| 628 | #define ENCP_MACV_EN 0x1b82 |
| 629 | #define ENCP_VIDEO_Y_SCL 0x1b83 |
| 630 | #define ENCP_VIDEO_PB_SCL 0x1b84 |
| 631 | #define ENCP_VIDEO_PR_SCL 0x1b85 |
| 632 | #define ENCP_VIDEO_SYNC_SCL 0x1b86 |
| 633 | #define ENCP_VIDEO_MACV_SCL 0x1b87 |
| 634 | #define ENCP_VIDEO_Y_OFFST 0x1b88 |
| 635 | #define ENCP_VIDEO_PB_OFFST 0x1b89 |
| 636 | #define ENCP_VIDEO_PR_OFFST 0x1b8a |
| 637 | #define ENCP_VIDEO_SYNC_OFFST 0x1b8b |
| 638 | #define ENCP_VIDEO_MACV_OFFST 0x1b8c |
| 639 | #define ENCP_VIDEO_MODE 0x1b8d |
| 640 | #define ENCP_VIDEO_MODE_ADV 0x1b8e |
| 641 | #define ENCP_DBG_PX_RST 0x1b90 |
| 642 | #define ENCP_DBG_LN_RST 0x1b91 |
| 643 | #define ENCP_DBG_PX_INT 0x1b92 |
| 644 | #define ENCP_DBG_LN_INT 0x1b93 |
| 645 | #define ENCP_VIDEO_YFP1_HTIME 0x1b94 |
| 646 | #define ENCP_VIDEO_YFP2_HTIME 0x1b95 |
| 647 | #define ENCP_VIDEO_YC_DLY 0x1b96 |
| 648 | #define ENCP_VIDEO_MAX_PXCNT 0x1b97 |
| 649 | #define ENCP_VIDEO_HSPULS_BEGIN 0x1b98 |
| 650 | #define ENCP_VIDEO_HSPULS_END 0x1b99 |
| 651 | #define ENCP_VIDEO_HSPULS_SWITCH 0x1b9a |
| 652 | #define ENCP_VIDEO_VSPULS_BEGIN 0x1b9b |
| 653 | #define ENCP_VIDEO_VSPULS_END 0x1b9c |
| 654 | #define ENCP_VIDEO_VSPULS_BLINE 0x1b9d |
| 655 | #define ENCP_VIDEO_VSPULS_ELINE 0x1b9e |
| 656 | #define ENCP_VIDEO_EQPULS_BEGIN 0x1b9f |
| 657 | #define ENCP_VIDEO_EQPULS_END 0x1ba0 |
| 658 | #define ENCP_VIDEO_EQPULS_BLINE 0x1ba1 |
| 659 | #define ENCP_VIDEO_EQPULS_ELINE 0x1ba2 |
| 660 | #define ENCP_VIDEO_HAVON_END 0x1ba3 |
| 661 | #define ENCP_VIDEO_HAVON_BEGIN 0x1ba4 |
| 662 | #define ENCP_VIDEO_VAVON_ELINE 0x1baf |
| 663 | #define ENCP_VIDEO_VAVON_BLINE 0x1ba6 |
| 664 | #define ENCP_VIDEO_HSO_BEGIN 0x1ba7 |
| 665 | #define ENCP_VIDEO_HSO_END 0x1ba8 |
| 666 | #define ENCP_VIDEO_VSO_BEGIN 0x1ba9 |
| 667 | #define ENCP_VIDEO_VSO_END 0x1baa |
| 668 | #define ENCP_VIDEO_VSO_BLINE 0x1bab |
| 669 | #define ENCP_VIDEO_VSO_ELINE 0x1bac |
| 670 | #define ENCP_VIDEO_SYNC_WAVE_CURVE 0x1bad |
| 671 | #define ENCP_VIDEO_MAX_LNCNT 0x1bae |
| 672 | #define ENCP_VIDEO_SY_VAL 0x1bb0 |
| 673 | #define ENCP_VIDEO_SY2_VAL 0x1bb1 |
| 674 | #define ENCP_VIDEO_BLANKY_VAL 0x1bb2 |
| 675 | #define ENCP_VIDEO_BLANKPB_VAL 0x1bb3 |
| 676 | #define ENCP_VIDEO_BLANKPR_VAL 0x1bb4 |
| 677 | #define ENCP_VIDEO_HOFFST 0x1bb5 |
| 678 | #define ENCP_VIDEO_VOFFST 0x1bb6 |
| 679 | #define ENCP_VIDEO_RGB_CTRL 0x1bb7 |
| 680 | #define ENCP_VIDEO_FILT_CTRL 0x1bb8 |
| 681 | #define ENCP_VIDEO_OFLD_VPEQ_OFST 0x1bb9 |
| 682 | #define ENCP_VIDEO_OFLD_VOAV_OFST 0x1bba |
| 683 | #define ENCP_VIDEO_MATRIX_CB 0x1bbb |
| 684 | #define ENCP_VIDEO_MATRIX_CR 0x1bbc |
| 685 | #define ENCP_VIDEO_RGBIN_CTRL 0x1bbd |
| 686 | #define ENCP_MACV_BLANKY_VAL 0x1bc0 |
| 687 | #define ENCP_MACV_MAXY_VAL 0x1bc1 |
| 688 | #define ENCP_MACV_1ST_PSSYNC_STRT 0x1bc2 |
| 689 | #define ENCP_MACV_PSSYNC_STRT 0x1bc3 |
| 690 | #define ENCP_MACV_AGC_STRT 0x1bc4 |
| 691 | #define ENCP_MACV_AGC_END 0x1bc5 |
| 692 | #define ENCP_MACV_WAVE_END 0x1bc6 |
| 693 | #define ENCP_MACV_STRTLINE 0x1bc7 |
| 694 | #define ENCP_MACV_ENDLINE 0x1bc8 |
| 695 | #define ENCP_MACV_TS_CNT_MAX_L 0x1bc9 |
| 696 | #define ENCP_MACV_TS_CNT_MAX_H 0x1bca |
| 697 | #define ENCP_MACV_TIME_DOWN 0x1bcb |
| 698 | #define ENCP_MACV_TIME_LO 0x1bcc |
| 699 | #define ENCP_MACV_TIME_UP 0x1bcd |
| 700 | #define ENCP_MACV_TIME_RST 0x1bce |
| 701 | #define ENCP_VBI_CTRL 0x1bd0 |
| 702 | #define ENCP_VBI_SETTING 0x1bd1 |
| 703 | #define ENCP_VBI_BEGIN 0x1bd2 |
| 704 | #define ENCP_VBI_WIDTH 0x1bd3 |
| 705 | #define ENCP_VBI_HVAL 0x1bd4 |
| 706 | #define ENCP_VBI_DATA0 0x1bd5 |
| 707 | #define ENCP_VBI_DATA1 0x1bd6 |
| 708 | #define C656_HS_ST 0x1be0 |
| 709 | #define C656_HS_ED 0x1be1 |
| 710 | #define C656_VS_LNST_E 0x1be2 |
| 711 | #define C656_VS_LNST_O 0x1be3 |
| 712 | #define C656_VS_LNED_E 0x1be4 |
| 713 | #define C656_VS_LNED_O 0x1be5 |
| 714 | #define C656_FS_LNST 0x1be6 |
| 715 | #define C656_FS_LNED 0x1be7 |
| 716 | #define ENCI_VIDEO_MODE 0x1b00 |
| 717 | #define ENCI_VIDEO_MODE_ADV 0x1b01 |
| 718 | #define ENCI_VIDEO_FSC_ADJ 0x1b02 |
| 719 | #define ENCI_VIDEO_BRIGHT 0x1b03 |
| 720 | #define ENCI_VIDEO_CONT 0x1b04 |
| 721 | #define ENCI_VIDEO_SAT 0x1b05 |
| 722 | #define ENCI_VIDEO_HUE 0x1b06 |
| 723 | #define ENCI_VIDEO_SCH 0x1b07 |
| 724 | #define ENCI_SYNC_MODE 0x1b08 |
| 725 | #define ENCI_SYNC_CTRL 0x1b09 |
| 726 | #define ENCI_SYNC_HSO_BEGIN 0x1b0a |
| 727 | #define ENCI_SYNC_HSO_END 0x1b0b |
| 728 | #define ENCI_SYNC_VSO_EVN 0x1b0c |
| 729 | #define ENCI_SYNC_VSO_ODD 0x1b0d |
| 730 | #define ENCI_SYNC_VSO_EVNLN 0x1b0e |
| 731 | #define ENCI_SYNC_VSO_ODDLN 0x1b0f |
| 732 | #define ENCI_SYNC_HOFFST 0x1b10 |
| 733 | #define ENCI_SYNC_VOFFST 0x1b11 |
| 734 | #define ENCI_SYNC_ADJ 0x1b12 |
| 735 | #define ENCI_RGB_SETTING 0x1b13 |
| 736 | #define ENCI_DE_H_BEGIN 0x1b16 |
| 737 | #define ENCI_DE_H_END 0x1b17 |
| 738 | #define ENCI_DE_V_BEGIN_EVEN 0x1b18 |
| 739 | #define ENCI_DE_V_END_EVEN 0x1b19 |
| 740 | #define ENCI_DE_V_BEGIN_ODD 0x1b1a |
| 741 | #define ENCI_DE_V_END_ODD 0x1b1b |
| 742 | #define ENCI_VBI_SETTING 0x1b20 |
| 743 | #define ENCI_VBI_CCDT_EVN 0x1b21 |
| 744 | #define ENCI_VBI_CCDT_ODD 0x1b22 |
| 745 | #define ENCI_VBI_CC525_LN 0x1b23 |
| 746 | #define ENCI_VBI_CC625_LN 0x1b24 |
| 747 | #define ENCI_VBI_WSSDT 0x1b25 |
| 748 | #define ENCI_VBI_WSS_LN 0x1b26 |
| 749 | #define ENCI_VBI_CGMSDT_L 0x1b27 |
| 750 | #define ENCI_VBI_CGMSDT_H 0x1b28 |
| 751 | #define ENCI_VBI_CGMS_LN 0x1b29 |
| 752 | #define ENCI_VBI_TTX_HTIME 0x1b2a |
| 753 | #define ENCI_VBI_TTX_LN 0x1b2b |
| 754 | #define ENCI_VBI_TTXDT0 0x1b2c |
| 755 | #define ENCI_VBI_TTXDT1 0x1b2d |
| 756 | #define ENCI_VBI_TTXDT2 0x1b2e |
| 757 | #define ENCI_VBI_TTXDT3 0x1b2f |
| 758 | #define ENCI_MACV_N0 0x1b30 |
| 759 | #define ENCI_MACV_N1 0x1b31 |
| 760 | #define ENCI_MACV_N2 0x1b32 |
| 761 | #define ENCI_MACV_N3 0x1b33 |
| 762 | #define ENCI_MACV_N4 0x1b34 |
| 763 | #define ENCI_MACV_N5 0x1b35 |
| 764 | #define ENCI_MACV_N6 0x1b36 |
| 765 | #define ENCI_MACV_N7 0x1b37 |
| 766 | #define ENCI_MACV_N8 0x1b38 |
| 767 | #define ENCI_MACV_N9 0x1b39 |
| 768 | #define ENCI_MACV_N10 0x1b3a |
| 769 | #define ENCI_MACV_N11 0x1b3b |
| 770 | #define ENCI_MACV_N12 0x1b3c |
| 771 | #define ENCI_MACV_N13 0x1b3d |
| 772 | #define ENCI_MACV_N14 0x1b3e |
| 773 | #define ENCI_MACV_N15 0x1b3f |
| 774 | #define ENCI_MACV_N16 0x1b40 |
| 775 | #define ENCI_MACV_N17 0x1b41 |
| 776 | #define ENCI_MACV_N18 0x1b42 |
| 777 | #define ENCI_MACV_N19 0x1b43 |
| 778 | #define ENCI_MACV_N20 0x1b44 |
| 779 | #define ENCI_MACV_N21 0x1b45 |
| 780 | #define ENCI_MACV_N22 0x1b46 |
| 781 | #define ENCI_DBG_PX_RST 0x1b48 |
| 782 | #define ENCI_DBG_FLDLN_RST 0x1b49 |
| 783 | #define ENCI_DBG_PX_INT 0x1b4a |
| 784 | #define ENCI_DBG_FLDLN_INT 0x1b4b |
| 785 | #define ENCI_DBG_MAXPX 0x1b4c |
| 786 | #define ENCI_DBG_MAXLN 0x1b4d |
| 787 | #define ENCI_MACV_MAX_AMP 0x1b50 |
| 788 | #define ENCI_MACV_PULSE_LO 0x1b51 |
| 789 | #define ENCI_MACV_PULSE_HI 0x1b52 |
| 790 | #define ENCI_MACV_BKP_MAX 0x1b53 |
| 791 | #define ENCI_CFILT_CTRL 0x1b54 |
| 792 | #define ENCI_CFILT7 0x1b55 |
| 793 | #define ENCI_YC_DELAY 0x1b56 |
| 794 | #define ENCI_VIDEO_EN 0x1b57 |
| 795 | #define ENCI_DVI_HSO_BEGIN 0x1c00 |
| 796 | #define ENCI_DVI_HSO_END 0x1c01 |
| 797 | #define ENCI_DVI_VSO_BLINE_EVN 0x1c02 |
| 798 | #define ENCI_DVI_VSO_BLINE_ODD 0x1c03 |
| 799 | #define ENCI_DVI_VSO_ELINE_EVN 0x1c04 |
| 800 | #define ENCI_DVI_VSO_ELINE_ODD 0x1c05 |
| 801 | #define ENCI_DVI_VSO_BEGIN_EVN 0x1c06 |
| 802 | #define ENCI_DVI_VSO_BEGIN_ODD 0x1c07 |
| 803 | #define ENCI_DVI_VSO_END_EVN 0x1c08 |
| 804 | #define ENCI_DVI_VSO_END_ODD 0x1c09 |
| 805 | #define ENCI_CFILT_CTRL2 0x1c0a |
| 806 | #define ENCI_DACSEL_0 0x1c0b |
| 807 | #define ENCI_DACSEL_1 0x1c0c |
| 808 | #define ENCP_DACSEL_0 0x1c0d |
| 809 | #define ENCP_DACSEL_1 0x1c0e |
| 810 | #define ENCP_MAX_LINE_SWITCH_POINT 0x1c0f |
| 811 | #define ENCI_TST_EN 0x1c10 |
| 812 | #define ENCI_TST_MDSEL 0x1c11 |
| 813 | #define ENCI_TST_Y 0x1c12 |
| 814 | #define ENCI_TST_CB 0x1c13 |
| 815 | #define ENCI_TST_CR 0x1c14 |
| 816 | #define ENCI_TST_CLRBAR_STRT 0x1c15 |
| 817 | #define ENCI_TST_CLRBAR_WIDTH 0x1c16 |
| 818 | #define ENCI_TST_VDCNT_STSET 0x1c17 |
| 819 | #define ENCI_VFIFO2VD_CTL 0x1c18 |
| 820 | #define ENCI_VFIFO2VD_PIXEL_START 0x1c19 |
| 821 | #define ENCI_VFIFO2VD_PIXEL_END 0x1c1a |
| 822 | #define ENCI_VFIFO2VD_LINE_TOP_START 0x1c1b |
| 823 | #define ENCI_VFIFO2VD_LINE_TOP_END 0x1c1c |
| 824 | #define ENCI_VFIFO2VD_LINE_BOT_START 0x1c1d |
| 825 | #define ENCI_VFIFO2VD_LINE_BOT_END 0x1c1e |
| 826 | #define ENCI_VFIFO2VD_CTL2 0x1c1f |
| 827 | #define ENCT_VFIFO2VD_CTL 0x1c20 |
| 828 | #define ENCT_VFIFO2VD_PIXEL_START 0x1c21 |
| 829 | #define ENCT_VFIFO2VD_PIXEL_END 0x1c22 |
| 830 | #define ENCT_VFIFO2VD_LINE_TOP_START 0x1c23 |
| 831 | #define ENCT_VFIFO2VD_LINE_TOP_END 0x1c24 |
| 832 | #define ENCT_VFIFO2VD_LINE_BOT_START 0x1c25 |
| 833 | #define ENCT_VFIFO2VD_LINE_BOT_END 0x1c26 |
| 834 | #define ENCT_VFIFO2VD_CTL2 0x1c27 |
| 835 | #define ENCT_TST_EN 0x1c28 |
| 836 | #define ENCT_TST_MDSEL 0x1c29 |
| 837 | #define ENCT_TST_Y 0x1c2a |
| 838 | #define ENCT_TST_CB 0x1c2b |
| 839 | #define ENCT_TST_CR 0x1c2c |
| 840 | #define ENCT_TST_CLRBAR_STRT 0x1c2d |
| 841 | #define ENCT_TST_CLRBAR_WIDTH 0x1c2e |
| 842 | #define ENCT_TST_VDCNT_STSET 0x1c2f |
| 843 | #define ENCP_DVI_HSO_BEGIN 0x1c30 |
| 844 | #define ENCP_DVI_HSO_END 0x1c31 |
| 845 | #define ENCP_DVI_VSO_BLINE_EVN 0x1c32 |
| 846 | #define ENCP_DVI_VSO_BLINE_ODD 0x1c33 |
| 847 | #define ENCP_DVI_VSO_ELINE_EVN 0x1c34 |
| 848 | #define ENCP_DVI_VSO_ELINE_ODD 0x1c35 |
| 849 | #define ENCP_DVI_VSO_BEGIN_EVN 0x1c36 |
| 850 | #define ENCP_DVI_VSO_BEGIN_ODD 0x1c37 |
| 851 | #define ENCP_DVI_VSO_END_EVN 0x1c38 |
| 852 | #define ENCP_DVI_VSO_END_ODD 0x1c39 |
| 853 | #define ENCP_DE_H_BEGIN 0x1c3a |
| 854 | #define ENCP_DE_H_END 0x1c3b |
| 855 | #define ENCP_DE_V_BEGIN_EVEN 0x1c3c |
| 856 | #define ENCP_DE_V_END_EVEN 0x1c3d |
| 857 | #define ENCP_DE_V_BEGIN_ODD 0x1c3e |
| 858 | #define ENCP_DE_V_END_ODD 0x1c3f |
| 859 | #define ENCI_SYNC_LINE_LENGTH 0x1c40 |
| 860 | #define ENCI_SYNC_PIXEL_EN 0x1c41 |
| 861 | #define ENCI_SYNC_TO_LINE_EN 0x1c42 |
| 862 | #define ENCI_SYNC_TO_PIXEL 0x1c43 |
| 863 | #define ENCP_SYNC_LINE_LENGTH 0x1c44 |
| 864 | #define ENCP_SYNC_PIXEL_EN 0x1c45 |
| 865 | #define ENCP_SYNC_TO_LINE_EN 0x1c46 |
| 866 | #define ENCP_SYNC_TO_PIXEL 0x1c47 |
| 867 | #define ENCT_SYNC_LINE_LENGTH 0x1c48 |
| 868 | #define ENCT_SYNC_PIXEL_EN 0x1c49 |
| 869 | #define ENCT_SYNC_TO_LINE_EN 0x1c4a |
| 870 | #define ENCT_SYNC_TO_PIXEL 0x1c4b |
| 871 | #define ENCL_SYNC_LINE_LENGTH 0x1c4c |
| 872 | #define ENCL_SYNC_PIXEL_EN 0x1c4d |
| 873 | #define ENCL_SYNC_TO_LINE_EN 0x1c4e |
| 874 | #define ENCL_SYNC_TO_PIXEL 0x1c4f |
| 875 | #define ENCP_VFIFO2VD_CTL2 0x1c50 |
| 876 | #define VENC_DVI_SETTING_MORE 0x1c51 |
| 877 | #define VENC_VDAC_DAC4_FILT_CTRL0 0x1c54 |
| 878 | #define VENC_VDAC_DAC4_FILT_CTRL1 0x1c55 |
| 879 | #define VENC_VDAC_DAC5_FILT_CTRL0 0x1c56 |
| 880 | #define VENC_VDAC_DAC5_FILT_CTRL1 0x1c57 |
| 881 | #define VENC_VDAC_DAC0_FILT_CTRL0 0x1c58 |
| 882 | #define VENC_VDAC_DAC0_FILT_CTRL1 0x1c59 |
| 883 | #define VENC_VDAC_DAC1_FILT_CTRL0 0x1c5a |
| 884 | #define VENC_VDAC_DAC1_FILT_CTRL1 0x1c5b |
| 885 | #define VENC_VDAC_DAC2_FILT_CTRL0 0x1c5c |
| 886 | #define VENC_VDAC_DAC2_FILT_CTRL1 0x1c5d |
| 887 | #define VENC_VDAC_DAC3_FILT_CTRL0 0x1c5e |
| 888 | #define VENC_VDAC_DAC3_FILT_CTRL1 0x1c5f |
| 889 | #define ENCT_VIDEO_EN 0x1c60 |
| 890 | #define ENCT_VIDEO_Y_SCL 0x1c61 |
| 891 | #define ENCT_VIDEO_PB_SCL 0x1c62 |
| 892 | #define ENCT_VIDEO_PR_SCL 0x1c63 |
| 893 | #define ENCT_VIDEO_Y_OFFST 0x1c64 |
| 894 | #define ENCT_VIDEO_PB_OFFST 0x1c65 |
| 895 | #define ENCT_VIDEO_PR_OFFST 0x1c66 |
| 896 | #define ENCT_VIDEO_MODE 0x1c67 |
| 897 | #define ENCT_VIDEO_MODE_ADV 0x1c68 |
| 898 | #define ENCT_DBG_PX_RST 0x1c69 |
| 899 | #define ENCT_DBG_LN_RST 0x1c6a |
| 900 | #define ENCT_DBG_PX_INT 0x1c6b |
| 901 | #define ENCT_DBG_LN_INT 0x1c6c |
| 902 | #define ENCT_VIDEO_YFP1_HTIME 0x1c6d |
| 903 | #define ENCT_VIDEO_YFP2_HTIME 0x1c6e |
| 904 | #define ENCT_VIDEO_YC_DLY 0x1c6f |
| 905 | #define ENCT_VIDEO_MAX_PXCNT 0x1c70 |
| 906 | #define ENCT_VIDEO_HAVON_END 0x1c71 |
| 907 | #define ENCT_VIDEO_HAVON_BEGIN 0x1c72 |
| 908 | #define ENCT_VIDEO_VAVON_ELINE 0x1c73 |
| 909 | #define ENCT_VIDEO_VAVON_BLINE 0x1c74 |
| 910 | #define ENCT_VIDEO_HSO_BEGIN 0x1c75 |
| 911 | #define ENCT_VIDEO_HSO_END 0x1c76 |
| 912 | #define ENCT_VIDEO_VSO_BEGIN 0x1c77 |
| 913 | #define ENCT_VIDEO_VSO_END 0x1c78 |
| 914 | #define ENCT_VIDEO_VSO_BLINE 0x1c79 |
| 915 | #define ENCT_VIDEO_VSO_ELINE 0x1c7a |
| 916 | #define ENCT_VIDEO_MAX_LNCNT 0x1c7b |
| 917 | #define ENCT_VIDEO_BLANKY_VAL 0x1c7c |
| 918 | #define ENCT_VIDEO_BLANKPB_VAL 0x1c7d |
| 919 | #define ENCT_VIDEO_BLANKPR_VAL 0x1c7e |
| 920 | #define ENCT_VIDEO_HOFFST 0x1c7f |
| 921 | #define ENCT_VIDEO_VOFFST 0x1c80 |
| 922 | #define ENCT_VIDEO_RGB_CTRL 0x1c81 |
| 923 | #define ENCT_VIDEO_FILT_CTRL 0x1c82 |
| 924 | #define ENCT_VIDEO_OFLD_VPEQ_OFST 0x1c83 |
| 925 | #define ENCT_VIDEO_OFLD_VOAV_OFST 0x1c84 |
| 926 | #define ENCT_VIDEO_MATRIX_CB 0x1c85 |
| 927 | #define ENCT_VIDEO_MATRIX_CR 0x1c86 |
| 928 | #define ENCT_VIDEO_RGBIN_CTRL 0x1c87 |
| 929 | #define ENCT_MAX_LINE_SWITCH_POINT 0x1c88 |
| 930 | #define ENCT_DACSEL_0 0x1c89 |
| 931 | #define ENCT_DACSEL_1 0x1c8a |
| 932 | #define ENCL_VFIFO2VD_CTL 0x1c90 |
| 933 | #define ENCL_VFIFO2VD_PIXEL_START 0x1c91 |
| 934 | #define ENCL_VFIFO2VD_PIXEL_END 0x1c92 |
| 935 | #define ENCL_VFIFO2VD_LINE_TOP_START 0x1c93 |
| 936 | #define ENCL_VFIFO2VD_LINE_TOP_END 0x1c94 |
| 937 | #define ENCL_VFIFO2VD_LINE_BOT_START 0x1c95 |
| 938 | #define ENCL_VFIFO2VD_LINE_BOT_END 0x1c96 |
| 939 | #define ENCL_VFIFO2VD_CTL2 0x1c97 |
| 940 | #define ENCL_TST_EN 0x1c98 |
| 941 | #define ENCL_TST_MDSEL 0x1c99 |
| 942 | #define ENCL_TST_Y 0x1c9a |
| 943 | #define ENCL_TST_CB 0x1c9b |
| 944 | #define ENCL_TST_CR 0x1c9c |
| 945 | #define ENCL_TST_CLRBAR_STRT 0x1c9d |
| 946 | #define ENCL_TST_CLRBAR_WIDTH 0x1c9e |
| 947 | #define ENCL_TST_VDCNT_STSET 0x1c9f |
| 948 | #define ENCL_VIDEO_EN 0x1ca0 |
| 949 | #define ENCL_VIDEO_Y_SCL 0x1ca1 |
| 950 | #define ENCL_VIDEO_PB_SCL 0x1ca2 |
| 951 | #define ENCL_VIDEO_PR_SCL 0x1ca3 |
| 952 | #define ENCL_VIDEO_Y_OFFST 0x1ca4 |
| 953 | #define ENCL_VIDEO_PB_OFFST 0x1ca5 |
| 954 | #define ENCL_VIDEO_PR_OFFST 0x1ca6 |
| 955 | #define ENCL_VIDEO_MODE 0x1ca7 |
| 956 | #define ENCL_VIDEO_MODE_ADV 0x1ca8 |
| 957 | #define ENCL_DBG_PX_RST 0x1ca9 |
| 958 | #define ENCL_DBG_LN_RST 0x1caa |
| 959 | #define ENCL_DBG_PX_INT 0x1cab |
| 960 | #define ENCL_DBG_LN_INT 0x1cac |
| 961 | #define ENCL_VIDEO_YFP1_HTIME 0x1cad |
| 962 | #define ENCL_VIDEO_YFP2_HTIME 0x1cae |
| 963 | #define ENCL_VIDEO_YC_DLY 0x1caf |
| 964 | #define ENCL_VIDEO_MAX_PXCNT 0x1cb0 |
| 965 | #define ENCL_VIDEO_HAVON_END 0x1cb1 |
| 966 | #define ENCL_VIDEO_HAVON_BEGIN 0x1cb2 |
| 967 | #define ENCL_VIDEO_VAVON_ELINE 0x1cb3 |
| 968 | #define ENCL_VIDEO_VAVON_BLINE 0x1cb4 |
| 969 | #define ENCL_VIDEO_HSO_BEGIN 0x1cb5 |
| 970 | #define ENCL_VIDEO_HSO_END 0x1cb6 |
| 971 | #define ENCL_VIDEO_VSO_BEGIN 0x1cb7 |
| 972 | #define ENCL_VIDEO_VSO_END 0x1cb8 |
| 973 | #define ENCL_VIDEO_VSO_BLINE 0x1cb9 |
| 974 | #define ENCL_VIDEO_VSO_ELINE 0x1cba |
| 975 | #define ENCL_VIDEO_MAX_LNCNT 0x1cbb |
| 976 | #define ENCL_VIDEO_BLANKY_VAL 0x1cbc |
| 977 | #define ENCL_VIDEO_BLANKPB_VAL 0x1cbd |
| 978 | #define ENCL_VIDEO_BLANKPR_VAL 0x1cbe |
| 979 | #define ENCL_VIDEO_HOFFST 0x1cbf |
| 980 | #define ENCL_VIDEO_VOFFST 0x1cc0 |
| 981 | #define ENCL_VIDEO_RGB_CTRL 0x1cc1 |
| 982 | #define ENCL_VIDEO_FILT_CTRL 0x1cc2 |
| 983 | #define ENCL_VIDEO_OFLD_VPEQ_OFST 0x1cc3 |
| 984 | #define ENCL_VIDEO_OFLD_VOAV_OFST 0x1cc4 |
| 985 | #define ENCL_VIDEO_MATRIX_CB 0x1cc5 |
| 986 | #define ENCL_VIDEO_MATRIX_CR 0x1cc6 |
| 987 | #define ENCL_VIDEO_RGBIN_CTRL 0x1cc7 |
| 988 | #define ENCL_MAX_LINE_SWITCH_POINT 0x1cc8 |
| 989 | #define ENCL_DACSEL_0 0x1cc9 |
| 990 | #define ENCL_DACSEL_1 0x1cca |
| 991 | #define RDMA_AHB_START_ADDR_MAN 0x1100 |
| 992 | #define RDMA_AHB_END_ADDR_MAN 0x1101 |
| 993 | #define RDMA_AHB_START_ADDR_1 0x1102 |
| 994 | #define RDMA_AHB_END_ADDR_1 0x1103 |
| 995 | #define RDMA_AHB_START_ADDR_2 0x1104 |
| 996 | #define RDMA_AHB_END_ADDR_2 0x1105 |
| 997 | #define RDMA_AHB_START_ADDR_3 0x1106 |
| 998 | #define RDMA_AHB_END_ADDR_3 0x1107 |
| 999 | #define RDMA_AHB_START_ADDR_4 0x1108 |
| 1000 | #define RDMA_AHB_END_ADDR_4 0x1109 |
| 1001 | #define RDMA_AHB_START_ADDR_5 0x110a |
| 1002 | #define RDMA_AHB_END_ADDR_5 0x110b |
| 1003 | #define RDMA_AHB_START_ADDR_6 0x110c |
| 1004 | #define RDMA_AHB_END_ADDR_6 0x110d |
| 1005 | #define RDMA_AHB_START_ADDR_7 0x110e |
| 1006 | #define RDMA_AHB_END_ADDR_7 0x110f |
| 1007 | #define RDMA_ACCESS_AUTO 0x1110 |
| 1008 | #define RDMA_ACCESS_AUTO2 0x1111 |
| 1009 | #define RDMA_ACCESS_AUTO3 0x1112 |
| 1010 | #define RDMA_ACCESS_MAN 0x1113 |
| 1011 | #define RDMA_CTRL 0x1114 |
| 1012 | #define RDMA_STATUS 0x1115 |
| 1013 | #define RDMA_STATUS2 0x1116 |
| 1014 | #define RDMA_STATUS3 0x1117 |
| 1015 | #define L_GAMMA_CNTL_PORT 0x1400 |
| 1016 | #define L_GAMMA_DATA_PORT 0x1401 |
| 1017 | #define L_GAMMA_ADDR_PORT 0x1402 |
| 1018 | #define L_GAMMA_VCOM_HSWITCH_ADDR 0x1403 |
| 1019 | #define L_RGB_BASE_ADDR 0x1405 |
| 1020 | #define L_RGB_COEFF_ADDR 0x1406 |
| 1021 | #define L_POL_CNTL_ADDR 0x1407 |
| 1022 | #define L_DITH_CNTL_ADDR 0x1408 |
| 1023 | #define L_GAMMA_PROBE_CTRL 0x1409 |
| 1024 | #define L_GAMMA_PROBE_COLOR_L 0x140a |
| 1025 | #define L_GAMMA_PROBE_COLOR_H 0x140b |
| 1026 | #define L_GAMMA_PROBE_HL_COLOR 0x140c |
| 1027 | #define L_GAMMA_PROBE_POS_X 0x140d |
| 1028 | #define L_GAMMA_PROBE_POS_Y 0x140e |
| 1029 | #define L_STH1_HS_ADDR 0x1410 |
| 1030 | #define L_STH1_HE_ADDR 0x1411 |
| 1031 | #define L_STH1_VS_ADDR 0x1412 |
| 1032 | #define L_STH1_VE_ADDR 0x1413 |
| 1033 | #define L_STH2_HS_ADDR 0x1414 |
| 1034 | #define L_STH2_HE_ADDR 0x1415 |
| 1035 | #define L_STH2_VS_ADDR 0x1416 |
| 1036 | #define L_STH2_VE_ADDR 0x1417 |
| 1037 | #define L_OEH_HS_ADDR 0x1418 |
| 1038 | #define L_OEH_HE_ADDR 0x1419 |
| 1039 | #define L_OEH_VS_ADDR 0x141a |
| 1040 | #define L_OEH_VE_ADDR 0x141b |
| 1041 | #define L_VCOM_HSWITCH_ADDR 0x141c |
| 1042 | #define L_VCOM_VS_ADDR 0x141d |
| 1043 | #define L_VCOM_VE_ADDR 0x141e |
| 1044 | #define L_CPV1_HS_ADDR 0x141f |
| 1045 | #define L_CPV1_HE_ADDR 0x1420 |
| 1046 | #define L_CPV1_VS_ADDR 0x1421 |
| 1047 | #define L_CPV1_VE_ADDR 0x1422 |
| 1048 | #define L_CPV2_HS_ADDR 0x1423 |
| 1049 | #define L_CPV2_HE_ADDR 0x1424 |
| 1050 | #define L_CPV2_VS_ADDR 0x1425 |
| 1051 | #define L_CPV2_VE_ADDR 0x1426 |
| 1052 | #define L_STV1_HS_ADDR 0x1427 |
| 1053 | #define L_STV1_HE_ADDR 0x1428 |
| 1054 | #define L_STV1_VS_ADDR 0x1429 |
| 1055 | #define L_STV1_VE_ADDR 0x142a |
| 1056 | #define L_STV2_HS_ADDR 0x142b |
| 1057 | #define L_STV2_HE_ADDR 0x142c |
| 1058 | #define L_STV2_VS_ADDR 0x142d |
| 1059 | #define L_STV2_VE_ADDR 0x142e |
| 1060 | #define L_OEV1_HS_ADDR 0x142f |
| 1061 | #define L_OEV1_HE_ADDR 0x1430 |
| 1062 | #define L_OEV1_VS_ADDR 0x1431 |
| 1063 | #define L_OEV1_VE_ADDR 0x1432 |
| 1064 | #define L_OEV2_HS_ADDR 0x1433 |
| 1065 | #define L_OEV2_HE_ADDR 0x1434 |
| 1066 | #define L_OEV2_VS_ADDR 0x1435 |
| 1067 | #define L_OEV2_VE_ADDR 0x1436 |
| 1068 | #define L_OEV3_HS_ADDR 0x1437 |
| 1069 | #define L_OEV3_HE_ADDR 0x1438 |
| 1070 | #define L_OEV3_VS_ADDR 0x1439 |
| 1071 | #define L_OEV3_VE_ADDR 0x143a |
| 1072 | #define L_LCD_PWR_ADDR 0x143b |
| 1073 | #define L_LCD_PWM0_LO_ADDR 0x143c |
| 1074 | #define L_LCD_PWM0_HI_ADDR 0x143d |
| 1075 | #define L_LCD_PWM1_LO_ADDR 0x143e |
| 1076 | #define L_LCD_PWM1_HI_ADDR 0x143f |
| 1077 | #define L_INV_CNT_ADDR 0x1440 |
| 1078 | #define L_TCON_MISC_SEL_ADDR 0x1441 |
| 1079 | #define L_DUAL_PORT_CNTL_ADDR 0x1442 |
| 1080 | #define MLVDS_CLK_CTL1_HI 0x1443 |
| 1081 | #define MLVDS_CLK_CTL1_LO 0x1444 |
| 1082 | #define L_TCON_DOUBLE_CTL 0x1449 |
| 1083 | #define L_TCON_PATTERN_HI 0x144a |
| 1084 | #define L_TCON_PATTERN_LO 0x144b |
| 1085 | #define LDIM_BL_ADDR_PORT 0x144e |
| 1086 | #define LDIM_BL_DATA_PORT 0x144f |
| 1087 | #define L_DE_HS_ADDR 0x1451 |
| 1088 | #define L_DE_HE_ADDR 0x1452 |
| 1089 | #define L_DE_VS_ADDR 0x1453 |
| 1090 | #define L_DE_VE_ADDR 0x1454 |
| 1091 | #define L_HSYNC_HS_ADDR 0x1455 |
| 1092 | #define L_HSYNC_HE_ADDR 0x1456 |
| 1093 | #define L_HSYNC_VS_ADDR 0x1457 |
| 1094 | #define L_HSYNC_VE_ADDR 0x1458 |
| 1095 | #define L_VSYNC_HS_ADDR 0x1459 |
| 1096 | #define L_VSYNC_HE_ADDR 0x145a |
| 1097 | #define L_VSYNC_VS_ADDR 0x145b |
| 1098 | #define L_VSYNC_VE_ADDR 0x145c |
| 1099 | #define L_LCD_MCU_CTL 0x145d |
| 1100 | #define DUAL_MLVDS_CTL 0x1460 |
| 1101 | #define DUAL_MLVDS_LINE_START 0x1461 |
| 1102 | #define DUAL_MLVDS_LINE_END 0x1462 |
| 1103 | #define DUAL_MLVDS_PIXEL_W_START_L 0x1463 |
| 1104 | #define DUAL_MLVDS_PIXEL_W_END_L 0x1464 |
| 1105 | #define DUAL_MLVDS_PIXEL_W_START_R 0x1465 |
| 1106 | #define DUAL_MLVDS_PIXEL_W_END_R 0x1466 |
| 1107 | #define DUAL_MLVDS_PIXEL_R_START_L 0x1467 |
| 1108 | #define DUAL_MLVDS_PIXEL_R_CNT_L 0x1468 |
| 1109 | #define DUAL_MLVDS_PIXEL_R_START_R 0x1469 |
| 1110 | #define DUAL_MLVDS_PIXEL_R_CNT_R 0x146a |
| 1111 | #define V_INVERSION_PIXEL 0x1470 |
| 1112 | #define V_INVERSION_LINE 0x1471 |
| 1113 | #define V_INVERSION_CONTROL 0x1472 |
| 1114 | #define MLVDS2_CONTROL 0x1474 |
| 1115 | #define MLVDS2_CONFIG_HI 0x1475 |
| 1116 | #define MLVDS2_CONFIG_LO 0x1476 |
| 1117 | #define MLVDS2_DUAL_GATE_WR_START 0x1477 |
| 1118 | #define MLVDS2_DUAL_GATE_WR_END 0x1478 |
| 1119 | #define MLVDS2_DUAL_GATE_RD_START 0x1479 |
| 1120 | #define MLVDS2_DUAL_GATE_RD_END 0x147a |
| 1121 | #define MLVDS2_SECOND_RESET_CTL 0x147b |
| 1122 | #define MLVDS2_DUAL_GATE_CTL_HI 0x147c |
| 1123 | #define MLVDS2_DUAL_GATE_CTL_LO 0x147d |
| 1124 | #define MLVDS2_RESET_CONFIG_HI 0x147e |
| 1125 | #define MLVDS2_RESET_CONFIG_LO 0x147f |
| 1126 | #define GAMMA_CNTL_PORT 0x1480 |
| 1127 | #define GAMMA_DATA_PORT 0x1481 |
| 1128 | #define GAMMA_ADDR_PORT 0x1482 |
| 1129 | #define GAMMA_VCOM_HSWITCH_ADDR 0x1483 |
| 1130 | #define RGB_BASE_ADDR 0x1485 |
| 1131 | #define RGB_COEFF_ADDR 0x1486 |
| 1132 | #define POL_CNTL_ADDR 0x1487 |
| 1133 | #define DITH_CNTL_ADDR 0x1488 |
| 1134 | #define GAMMA_PROBE_CTRL 0x1489 |
| 1135 | #define GAMMA_PROBE_COLOR_L 0x148a |
| 1136 | #define GAMMA_PROBE_COLOR_H 0x148b |
| 1137 | #define GAMMA_PROBE_HL_COLOR 0x148c |
| 1138 | #define GAMMA_PROBE_POS_X 0x148d |
| 1139 | #define GAMMA_PROBE_POS_Y 0x148e |
| 1140 | #define STH1_HS_ADDR 0x1490 |
| 1141 | #define STH1_HE_ADDR 0x1491 |
| 1142 | #define STH1_VS_ADDR 0x1492 |
| 1143 | #define STH1_VE_ADDR 0x1493 |
| 1144 | #define STH2_HS_ADDR 0x1494 |
| 1145 | #define STH2_HE_ADDR 0x1495 |
| 1146 | #define STH2_VS_ADDR 0x1496 |
| 1147 | #define STH2_VE_ADDR 0x1497 |
| 1148 | #define OEH_HS_ADDR 0x1498 |
| 1149 | #define OEH_HE_ADDR 0x1499 |
| 1150 | #define OEH_VS_ADDR 0x149a |
| 1151 | #define OEH_VE_ADDR 0x149b |
| 1152 | #define VCOM_HSWITCH_ADDR 0x149c |
| 1153 | #define VCOM_VS_ADDR 0x149d |
| 1154 | #define VCOM_VE_ADDR 0x149e |
| 1155 | #define CPV1_HS_ADDR 0x149f |
| 1156 | #define CPV1_HE_ADDR 0x14a0 |
| 1157 | #define CPV1_VS_ADDR 0x14a1 |
| 1158 | #define CPV1_VE_ADDR 0x14a2 |
| 1159 | #define CPV2_HS_ADDR 0x14a3 |
| 1160 | #define CPV2_HE_ADDR 0x14a4 |
| 1161 | #define CPV2_VS_ADDR 0x14a5 |
| 1162 | #define CPV2_VE_ADDR 0x14a6 |
| 1163 | #define STV1_HS_ADDR 0x14a7 |
| 1164 | #define STV1_HE_ADDR 0x14a8 |
| 1165 | #define STV1_VS_ADDR 0x14a9 |
| 1166 | #define STV1_VE_ADDR 0x14aa |
| 1167 | #define STV2_HS_ADDR 0x14ab |
| 1168 | #define STV2_HE_ADDR 0x14ac |
| 1169 | #define STV2_VS_ADDR 0x14ad |
| 1170 | #define STV2_VE_ADDR 0x14ae |
| 1171 | #define OEV1_HS_ADDR 0x14af |
| 1172 | #define OEV1_HE_ADDR 0x14b0 |
| 1173 | #define OEV1_VS_ADDR 0x14b1 |
| 1174 | #define OEV1_VE_ADDR 0x14b2 |
| 1175 | #define OEV2_HS_ADDR 0x14b3 |
| 1176 | #define OEV2_HE_ADDR 0x14b4 |
| 1177 | #define OEV2_VS_ADDR 0x14b5 |
| 1178 | #define OEV2_VE_ADDR 0x14b6 |
| 1179 | #define OEV3_HS_ADDR 0x14b7 |
| 1180 | #define OEV3_HE_ADDR 0x14b8 |
| 1181 | #define OEV3_VS_ADDR 0x14b9 |
| 1182 | #define OEV3_VE_ADDR 0x14ba |
| 1183 | #define LCD_PWR_ADDR 0x14bb |
| 1184 | #define LCD_PWM0_LO_ADDR 0x14bc |
| 1185 | #define LCD_PWM0_HI_ADDR 0x14bd |
| 1186 | #define LCD_PWM1_LO_ADDR 0x14be |
| 1187 | #define LCD_PWM1_HI_ADDR 0x14bf |
| 1188 | #define INV_CNT_ADDR 0x14c0 |
| 1189 | #define TCON_MISC_SEL_ADDR 0x14c1 |
| 1190 | #define DUAL_PORT_CNTL_ADDR 0x14c2 |
| 1191 | #define MLVDS_CONTROL 0x14c3 |
| 1192 | #define MLVDS_RESET_PATTERN_HI 0x14c4 |
| 1193 | #define MLVDS_RESET_PATTERN_LO 0x14c5 |
| 1194 | #define MLVDS_RESET_PATTERN_EXT 0x14c6 |
| 1195 | #define MLVDS_CONFIG_HI 0x14c7 |
| 1196 | #define MLVDS_CONFIG_LO 0x14c8 |
| 1197 | #define TCON_DOUBLE_CTL 0x14c9 |
| 1198 | #define TCON_PATTERN_HI 0x14ca |
| 1199 | #define TCON_PATTERN_LO 0x14cb |
| 1200 | #define TCON_CONTROL_HI 0x14cc |
| 1201 | #define TCON_CONTROL_LO 0x14cd |
| 1202 | #define LVDS_BLANK_DATA_HI 0x14ce |
| 1203 | #define LVDS_BLANK_DATA_LO 0x14cf |
| 1204 | #define LVDS_PACK_CNTL_ADDR 0x14d0 |
| 1205 | #define DE_HS_ADDR 0x14d1 |
| 1206 | #define DE_HE_ADDR 0x14d2 |
| 1207 | #define DE_VS_ADDR 0x14d3 |
| 1208 | #define DE_VE_ADDR 0x14d4 |
| 1209 | #define HSYNC_HS_ADDR 0x14d5 |
| 1210 | #define HSYNC_HE_ADDR 0x14d6 |
| 1211 | #define HSYNC_VS_ADDR 0x14d7 |
| 1212 | #define HSYNC_VE_ADDR 0x14d8 |
| 1213 | #define VSYNC_HS_ADDR 0x14d9 |
| 1214 | #define VSYNC_HE_ADDR 0x14da |
| 1215 | #define VSYNC_VS_ADDR 0x14db |
| 1216 | #define VSYNC_VE_ADDR 0x14dc |
| 1217 | #define LCD_MCU_CTL 0x14dd |
| 1218 | #define LCD_MCU_DATA_0 0x14de |
| 1219 | #define LCD_MCU_DATA_1 0x14df |
| 1220 | #define LVDS_GEN_CNTL 0x14e0 |
| 1221 | #define LVDS_PHY_CNTL0 0x14e1 |
| 1222 | #define LVDS_PHY_CNTL1 0x14e2 |
| 1223 | #define LVDS_PHY_CNTL2 0x14e3 |
| 1224 | #define LVDS_PHY_CNTL3 0x14e4 |
| 1225 | #define LVDS_PHY_CNTL4 0x14e5 |
| 1226 | #define LVDS_PHY_CNTL5 0x14e6 |
| 1227 | #define LVDS_SRG_TEST 0x14e8 |
| 1228 | #define LVDS_BIST_MUX0 0x14e9 |
| 1229 | #define LVDS_BIST_MUX1 0x14ea |
| 1230 | #define LVDS_BIST_FIXED0 0x14eb |
| 1231 | #define LVDS_BIST_FIXED1 0x14ec |
| 1232 | #define LVDS_BIST_CNTL0 0x14ed |
| 1233 | #define LVDS_CLKB_CLKA 0x14ee |
| 1234 | #define LVDS_PHY_CLK_CNTL 0x14ef |
| 1235 | #define LVDS_SER_EN 0x14f0 |
| 1236 | #define LVDS_PHY_CNTL6 0x14f1 |
| 1237 | #define LVDS_PHY_CNTL7 0x14f2 |
| 1238 | #define LVDS_PHY_CNTL8 0x14f3 |
| 1239 | #define MLVDS_CLK_CTL0_HI 0x14f4 |
| 1240 | #define MLVDS_CLK_CTL0_LO 0x14f5 |
| 1241 | #define MLVDS_DUAL_GATE_WR_START 0x14f6 |
| 1242 | #define MLVDS_DUAL_GATE_WR_END 0x14f7 |
| 1243 | #define MLVDS_DUAL_GATE_RD_START 0x14f8 |
| 1244 | #define MLVDS_DUAL_GATE_RD_END 0x14f9 |
| 1245 | #define MLVDS_SECOND_RESET_CTL 0x14fa |
| 1246 | #define MLVDS_DUAL_GATE_CTL_HI 0x14fb |
| 1247 | #define MLVDS_DUAL_GATE_CTL_LO 0x14fc |
| 1248 | #define MLVDS_RESET_CONFIG_HI 0x14fd |
| 1249 | #define MLVDS_RESET_CONFIG_LO 0x14fe |
| 1250 | #define VPU_OSD1_MMC_CTRL 0x2701 |
| 1251 | #define VPU_OSD2_MMC_CTRL 0x2702 |
| 1252 | #define VPU_VD1_MMC_CTRL 0x2703 |
| 1253 | #define VPU_VD2_MMC_CTRL 0x2704 |
| 1254 | #define VPU_DI_IF1_MMC_CTRL 0x2705 |
| 1255 | #define VPU_DI_MEM_MMC_CTRL 0x2706 |
| 1256 | #define VPU_DI_INP_MMC_CTRL 0x2707 |
| 1257 | #define VPU_DI_MTNRD_MMC_CTRL 0x2708 |
| 1258 | #define VPU_DI_CHAN2_MMC_CTRL 0x2709 |
| 1259 | #define VPU_DI_MTNWR_MMC_CTRL 0x270a |
| 1260 | #define VPU_DI_NRWR_MMC_CTRL 0x270b |
| 1261 | #define VPU_DI_DIWR_MMC_CTRL 0x270c |
| 1262 | #define VPU_VDIN0_MMC_CTRL 0x270d |
| 1263 | #define VPU_VDIN1_MMC_CTRL 0x270e |
| 1264 | #define VPU_BT656_MMC_CTRL 0x270f |
| 1265 | #define VPU_TVD3D_MMC_CTRL 0x2710 |
| 1266 | #define VPU_TVDVBI_MMC_CTRL 0x2711 |
| 1267 | #define VPU_TVDVBI_VSLATCH_ADDR 0x2712 |
| 1268 | #define VPU_TVDVBI_WRRSP_ADDR 0x2713 |
| 1269 | #define VPU_VDIN_PRE_ARB_CTRL 0x2714 |
| 1270 | #define VPU_VDISP_PRE_ARB_CTRL 0x2715 |
| 1271 | #define VPU_VPUARB2_PRE_ARB_CTRL 0x2716 |
| 1272 | #define VPU_OSD3_MMC_CTRL 0x2717 |
| 1273 | #define VPU_OSD4_MMC_CTRL 0x2718 |
| 1274 | #define VPU_VD3_MMC_CTRL 0x2719 |
| 1275 | #define VPU_VIU_VENC_MUX_CTRL 0x271a |
| 1276 | #define VIU1_SEL_VENC_MASK 0x3 |
| 1277 | #define VIU1_SEL_VENC_ENCL 0 |
| 1278 | #define VIU1_SEL_VENC_ENCI 1 |
| 1279 | #define VIU1_SEL_VENC_ENCP 2 |
| 1280 | #define VIU1_SEL_VENC_ENCT 3 |
| 1281 | #define VIU2_SEL_VENC_MASK 0xc |
| 1282 | #define VIU2_SEL_VENC_ENCL 0 |
| 1283 | #define VIU2_SEL_VENC_ENCI (1 << 2) |
| 1284 | #define VIU2_SEL_VENC_ENCP (2 << 2) |
| 1285 | #define VIU2_SEL_VENC_ENCT (3 << 2) |
| 1286 | #define VPU_HDMI_SETTING 0x271b |
| 1287 | #define ENCI_INFO_READ 0x271c |
| 1288 | #define ENCP_INFO_READ 0x271d |
| 1289 | #define ENCT_INFO_READ 0x271e |
| 1290 | #define ENCL_INFO_READ 0x271f |
| 1291 | #define VPU_SW_RESET 0x2720 |
| 1292 | #define VPU_D2D3_MMC_CTRL 0x2721 |
| 1293 | #define VPU_CONT_MMC_CTRL 0x2722 |
| 1294 | #define VPU_CLK_GATE 0x2723 |
| 1295 | #define VPU_RDMA_MMC_CTRL 0x2724 |
| 1296 | #define VPU_MEM_PD_REG0 0x2725 |
| 1297 | #define VPU_MEM_PD_REG1 0x2726 |
| 1298 | #define VPU_HDMI_DATA_OVR 0x2727 |
| 1299 | #define VPU_PROT1_MMC_CTRL 0x2728 |
| 1300 | #define VPU_PROT2_MMC_CTRL 0x2729 |
| 1301 | #define VPU_PROT3_MMC_CTRL 0x272a |
| 1302 | #define VPU_ARB4_V1_MMC_CTRL 0x272b |
| 1303 | #define VPU_ARB4_V2_MMC_CTRL 0x272c |
| 1304 | #define VPU_VPU_PWM_V0 0x2730 |
| 1305 | #define VPU_VPU_PWM_V1 0x2731 |
| 1306 | #define VPU_VPU_PWM_V2 0x2732 |
| 1307 | #define VPU_VPU_PWM_V3 0x2733 |
| 1308 | #define VPU_VPU_PWM_H0 0x2734 |
| 1309 | #define VPU_VPU_PWM_H1 0x2735 |
| 1310 | #define VPU_VPU_PWM_H2 0x2736 |
| 1311 | #define VPU_VPU_PWM_H3 0x2737 |
| 1312 | #define VPU_MISC_CTRL 0x2740 |
| 1313 | #define VPU_ISP_GCLK_CTRL0 0x2741 |
| 1314 | #define VPU_ISP_GCLK_CTRL1 0x2742 |
| 1315 | #define VPU_HDMI_FMT_CTRL 0x2743 |
| 1316 | #define VPU_VDIN_ASYNC_HOLD_CTRL 0x2743 |
| 1317 | #define VPU_VDISP_ASYNC_HOLD_CTRL 0x2744 |
| 1318 | #define VPU_VPUARB2_ASYNC_HOLD_CTRL 0x2745 |
| 1319 | |
| 1320 | #define VPU_PROT1_CLK_GATE 0x2750 |
| 1321 | #define VPU_PROT1_GEN_CNTL 0x2751 |
| 1322 | #define VPU_PROT1_X_START_END 0x2752 |
| 1323 | #define VPU_PROT1_Y_START_END 0x2753 |
| 1324 | #define VPU_PROT1_Y_LEN_STEP 0x2754 |
| 1325 | #define VPU_PROT1_RPT_LOOP 0x2755 |
| 1326 | #define VPU_PROT1_RPT_PAT 0x2756 |
| 1327 | #define VPU_PROT1_DDR 0x2757 |
| 1328 | #define VPU_PROT1_RBUF_ROOM 0x2758 |
| 1329 | #define VPU_PROT1_STAT_0 0x2759 |
| 1330 | #define VPU_PROT1_STAT_1 0x275a |
| 1331 | #define VPU_PROT1_STAT_2 0x275b |
| 1332 | #define VPU_PROT1_REQ_ONOFF 0x275c |
| 1333 | #define VPU_PROT2_CLK_GATE 0x2760 |
| 1334 | #define VPU_PROT2_GEN_CNTL 0x2761 |
| 1335 | #define VPU_PROT2_X_START_END 0x2762 |
| 1336 | #define VPU_PROT2_Y_START_END 0x2763 |
| 1337 | #define VPU_PROT2_Y_LEN_STEP 0x2764 |
| 1338 | #define VPU_PROT2_RPT_LOOP 0x2765 |
| 1339 | #define VPU_PROT2_RPT_PAT 0x2766 |
| 1340 | #define VPU_PROT2_DDR 0x2767 |
| 1341 | #define VPU_PROT2_RBUF_ROOM 0x2768 |
| 1342 | #define VPU_PROT2_STAT_0 0x2769 |
| 1343 | #define VPU_PROT2_STAT_1 0x276a |
| 1344 | #define VPU_PROT2_STAT_2 0x276b |
| 1345 | #define VPU_PROT2_REQ_ONOFF 0x276c |
| 1346 | #define VPU_PROT3_CLK_GATE 0x2770 |
| 1347 | #define VPU_PROT3_GEN_CNTL 0x2771 |
| 1348 | #define VPU_PROT3_X_START_END 0x2772 |
| 1349 | #define VPU_PROT3_Y_START_END 0x2773 |
| 1350 | #define VPU_PROT3_Y_LEN_STEP 0x2774 |
| 1351 | #define VPU_PROT3_RPT_LOOP 0x2775 |
| 1352 | #define VPU_PROT3_RPT_PAT 0x2776 |
| 1353 | #define VPU_PROT3_DDR 0x2777 |
| 1354 | #define VPU_PROT3_RBUF_ROOM 0x2778 |
| 1355 | #define VPU_PROT3_STAT_0 0x2779 |
| 1356 | #define VPU_PROT3_STAT_1 0x277a |
| 1357 | #define VPU_PROT3_STAT_2 0x277b |
| 1358 | #define VPU_PROT3_REQ_ONOFF 0x277c |
| 1359 | #define VPU_RDARB_MODE_L1C1 0x2790 |
| 1360 | #define VPU_RDARB_MODE_L1C2 0x2799 |
| 1361 | #define VPU_RDARB_MODE_L2C1 0x279d |
| 1362 | #define VPU_WRARB_MODE_L2C1 0x27a2 |
| 1363 | |
| 1364 | /* osd super scale */ |
| 1365 | #define OSDSR_HV_SIZEIN 0x3130 |
| 1366 | #define OSDSR_CTRL_MODE 0x3131 |
| 1367 | #define OSDSR_ABIC_HCOEF 0x3132 |
| 1368 | #define OSDSR_YBIC_HCOEF 0x3133 |
| 1369 | #define OSDSR_CBIC_HCOEF 0x3134 |
| 1370 | #define OSDSR_ABIC_VCOEF 0x3135 |
| 1371 | #define OSDSR_YBIC_VCOEF 0x3136 |
| 1372 | #define OSDSR_CBIC_VCOEF 0x3137 |
| 1373 | #define OSDSR_VAR_PARA 0x3138 |
| 1374 | #define OSDSR_CONST_PARA 0x3139 |
| 1375 | #define OSDSR_RKE_EXTWIN 0x313a |
| 1376 | #define OSDSR_UK_GRAD2DDIAG_TH_RATE 0x313b |
| 1377 | #define OSDSR_UK_GRAD2DDIAG_LIMIT 0x313c |
| 1378 | #define OSDSR_UK_GRAD2DADJA_TH_RATE 0x313d |
| 1379 | #define OSDSR_UK_GRAD2DADJA_LIMIT 0x313e |
| 1380 | #define OSDSR_UK_BST_GAIN 0x313f |
| 1381 | #define OSDSR_HVBLEND_TH 0x3140 |
| 1382 | #define OSDSR_DEMO_WIND_TB 0x3141 |
| 1383 | #define OSDSR_DEMO_WIND_LR 0x3142 |
| 1384 | #define OSDSR_INT_BLANK_NUM 0x3143 |
| 1385 | #define OSDSR_FRM_END_STAT 0x3144 |
| 1386 | #define OSDSR_ABIC_HCOEF0 0x3145 |
| 1387 | #define OSDSR_YBIC_HCOEF0 0x3146 |
| 1388 | #define OSDSR_CBIC_HCOEF0 0x3147 |
| 1389 | #define OSDSR_ABIC_VCOEF0 0x3148 |
| 1390 | #define OSDSR_YBIC_VCOEF0 0x3149 |
| 1391 | #define OSDSR_CBIC_VCOEF0 0x314a |
| 1392 | |
| 1393 | #endif /* __MESON_REGISTERS_H */ |