aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx231xx/cx231xx-conf-reg.h
diff options
context:
space:
mode:
authorSri Deevi <srinivasa.deevi@conexant.com>2009-03-10 20:16:26 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 20:44:04 -0400
commit6e4f574ba43511ac1cb860027275e08529c5a28f (patch)
tree6e710a1f93e12c001b2d8634d1a344690586a6ac /drivers/media/video/cx231xx/cx231xx-conf-reg.h
parentb9255176453086b2531c5559350bd5c92b771cc5 (diff)
V4L/DVB (10958): cx231xx: some additional CodingStyle and minor fixes
changed the pcb-config.c/h to pcb-cfg.c/h for short names. Signed-off-by: Srinivasa Deevi <srinivasa.deevi@conexant.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx231xx/cx231xx-conf-reg.h')
-rw-r--r--drivers/media/video/cx231xx/cx231xx-conf-reg.h299
1 files changed, 153 insertions, 146 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-conf-reg.h b/drivers/media/video/cx231xx/cx231xx-conf-reg.h
index a65f99ba109b..a6f398a175c5 100644
--- a/drivers/media/video/cx231xx/cx231xx-conf-reg.h
+++ b/drivers/media/video/cx231xx/cx231xx-conf-reg.h
@@ -42,30 +42,30 @@
42#define PWR_CTL_EN 0x74 42#define PWR_CTL_EN 0x74
43 43
44/* Polaris Endpoints capture mask for register EP_MODE_SET */ 44/* Polaris Endpoints capture mask for register EP_MODE_SET */
45#define ENABLE_EP1 0x01 /* Bit[0]=1 */ 45#define ENABLE_EP1 0x01 /* Bit[0]=1 */
46#define ENABLE_EP2 0x02 /* Bit[1]=1 */ 46#define ENABLE_EP2 0x02 /* Bit[1]=1 */
47#define ENABLE_EP3 0x04 /* Bit[2]=1 */ 47#define ENABLE_EP3 0x04 /* Bit[2]=1 */
48#define ENABLE_EP4 0x08 /* Bit[3]=1 */ 48#define ENABLE_EP4 0x08 /* Bit[3]=1 */
49#define ENABLE_EP5 0x10 /* Bit[4]=1 */ 49#define ENABLE_EP5 0x10 /* Bit[4]=1 */
50#define ENABLE_EP6 0x20 /* Bit[5]=1 */ 50#define ENABLE_EP6 0x20 /* Bit[5]=1 */
51 51
52/* Bit definition for register PWR_CTL_EN */ 52/* Bit definition for register PWR_CTL_EN */
53#define PWR_MODE_MASK 0x17f 53#define PWR_MODE_MASK 0x17f
54#define PWR_AV_EN 0x08 /* bit3 */ 54#define PWR_AV_EN 0x08 /* bit3 */
55#define PWR_ISO_EN 0x40 /* bit6 */ 55#define PWR_ISO_EN 0x40 /* bit6 */
56#define PWR_AV_MODE 0x30 /* bit4,5 */ 56#define PWR_AV_MODE 0x30 /* bit4,5 */
57#define PWR_TUNER_EN 0x04 /* bit2 */ 57#define PWR_TUNER_EN 0x04 /* bit2 */
58#define PWR_DEMOD_EN 0x02 /* bit1 */ 58#define PWR_DEMOD_EN 0x02 /* bit1 */
59#define I2C_DEMOD_EN 0x01 /* bit0 */ 59#define I2C_DEMOD_EN 0x01 /* bit0 */
60#define PWR_RESETOUT_EN 0x100 /* bit8 */ 60#define PWR_RESETOUT_EN 0x100 /* bit8 */
61 61
62typedef enum { 62enum AV_MODE{
63 POLARIS_AVMODE_DEFAULT = 0, 63 POLARIS_AVMODE_DEFAULT = 0,
64 POLARIS_AVMODE_DIGITAL = 0x10, 64 POLARIS_AVMODE_DIGITAL = 0x10,
65 POLARIS_AVMODE_ANALOGT_TV = 0x20, 65 POLARIS_AVMODE_ANALOGT_TV = 0x20,
66 POLARIS_AVMODE_ENXTERNAL_AV = 0x30, 66 POLARIS_AVMODE_ENXTERNAL_AV = 0x30,
67 67
68} AV_MODE; 68};
69 69
70/* Colibri Registers */ 70/* Colibri Registers */
71 71
@@ -91,6 +91,13 @@ typedef enum {
91#define ADC_COM_BIAS3 0x0e 91#define ADC_COM_BIAS3 0x0e
92#define TESTBUS_CTRL 0x12 92#define TESTBUS_CTRL 0x12
93 93
94#define FLD_PWRDN_TUNING_BIAS 0x10
95#define FLD_PWRDN_ENABLE_PLL 0x08
96#define FLD_PWRDN_PD_BANDGAP 0x04
97#define FLD_PWRDN_PD_BIAS 0x02
98#define FLD_PWRDN_PD_TUNECK 0x01
99
100
94#define ADC_STATUS_CH1 0x20 101#define ADC_STATUS_CH1 0x20
95#define ADC_STATUS_CH2 0x40 102#define ADC_STATUS_CH2 0x40
96#define ADC_STATUS_CH3 0x60 103#define ADC_STATUS_CH3 0x60
@@ -126,7 +133,7 @@ typedef enum {
126#define ADC_INPUT_CH1 0x28 133#define ADC_INPUT_CH1 0x28
127#define ADC_INPUT_CH2 0x48 134#define ADC_INPUT_CH2 0x48
128#define ADC_INPUT_CH3 0x68 135#define ADC_INPUT_CH3 0x68
129#define INPUT_SEL_MASK 0x30 /* [5:4] in_sel */ 136#define INPUT_SEL_MASK 0x30 /* [5:4] in_sel */
130 137
131#define ADC_NTF_PRECLMP_EN_CH1 0x29 138#define ADC_NTF_PRECLMP_EN_CH1 0x29
132#define ADC_NTF_PRECLMP_EN_CH2 0x49 139#define ADC_NTF_PRECLMP_EN_CH2 0x49
@@ -150,128 +157,128 @@ typedef enum {
150#define DIRECT_IF_REVB_BASE 0x00300 157#define DIRECT_IF_REVB_BASE 0x00300
151 158
152/*****************************************************************************/ 159/*****************************************************************************/
153#define DIF_PLL_FREQ_WORD (DIRECT_IF_REVB_BASE + 0x00000000) /* Reg Size 32 */ 160#define DIF_PLL_FREQ_WORD (DIRECT_IF_REVB_BASE + 0x00000000)
154/*****************************************************************************/ 161/*****************************************************************************/
155#define FLD_DIF_PLL_LOCK 0x80000000 162#define FLD_DIF_PLL_LOCK 0x80000000
156/* Reserved [30:29] */ 163/* Reserved [30:29] */
157#define FLD_DIF_PLL_FREE_RUN 0x10000000 164#define FLD_DIF_PLL_FREE_RUN 0x10000000
158#define FLD_DIF_PLL_FREQ 0x0FFFFFFF 165#define FLD_DIF_PLL_FREQ 0x0fffffff
159 166
160/*****************************************************************************/ 167/*****************************************************************************/
161#define DIF_PLL_CTRL (DIRECT_IF_REVB_BASE + 0x00000004) /* Reg Size 32 */ 168#define DIF_PLL_CTRL (DIRECT_IF_REVB_BASE + 0x00000004)
162/*****************************************************************************/ 169/*****************************************************************************/
163#define FLD_DIF_KD_PD 0xFF000000 170#define FLD_DIF_KD_PD 0xff000000
164/* Reserved [23:20] */ 171/* Reserved [23:20] */
165#define FLD_DIF_KDS_PD 0x000F0000 172#define FLD_DIF_KDS_PD 0x000f0000
166#define FLD_DIF_KI_PD 0x0000FF00 173#define FLD_DIF_KI_PD 0x0000ff00
167/* Reserved [7:4] */ 174/* Reserved [7:4] */
168#define FLD_DIF_KIS_PD 0x0000000F 175#define FLD_DIF_KIS_PD 0x0000000f
169 176
170/*****************************************************************************/ 177/*****************************************************************************/
171#define DIF_PLL_CTRL1 (DIRECT_IF_REVB_BASE + 0x00000008) /* Reg Size 32 */ 178#define DIF_PLL_CTRL1 (DIRECT_IF_REVB_BASE + 0x00000008)
172/*****************************************************************************/ 179/*****************************************************************************/
173#define FLD_DIF_KD_FD 0xFF000000 180#define FLD_DIF_KD_FD 0xff000000
174/* Reserved [23:20] */ 181/* Reserved [23:20] */
175#define FLD_DIF_KDS_FD 0x000F0000 182#define FLD_DIF_KDS_FD 0x000f0000
176#define FLD_DIF_KI_FD 0x0000FF00 183#define FLD_DIF_KI_FD 0x0000ff00
177#define FLD_DIF_SIG_PROP_SZ 0x000000F0 184#define FLD_DIF_SIG_PROP_SZ 0x000000f0
178#define FLD_DIF_KIS_FD 0x0000000F 185#define FLD_DIF_KIS_FD 0x0000000f
179 186
180/*****************************************************************************/ 187/*****************************************************************************/
181#define DIF_PLL_CTRL2 (DIRECT_IF_REVB_BASE + 0x0000000C) /* Reg Size 32 */ 188#define DIF_PLL_CTRL2 (DIRECT_IF_REVB_BASE + 0x0000000c)
182/*****************************************************************************/ 189/*****************************************************************************/
183#define FLD_DIF_PLL_AGC_REF 0xFFF00000 190#define FLD_DIF_PLL_AGC_REF 0xfff00000
184#define FLD_DIF_PLL_AGC_KI 0x000F0000 191#define FLD_DIF_PLL_AGC_KI 0x000f0000
185/* Reserved [15] */ 192/* Reserved [15] */
186#define FLD_DIF_FREQ_LIMIT 0x00007000 193#define FLD_DIF_FREQ_LIMIT 0x00007000
187#define FLD_DIF_K_FD 0x00000F00 194#define FLD_DIF_K_FD 0x00000f00
188#define FLD_DIF_DOWNSMPL_FD 0x000000FF 195#define FLD_DIF_DOWNSMPL_FD 0x000000ff
189 196
190/*****************************************************************************/ 197/*****************************************************************************/
191#define DIF_PLL_CTRL3 (DIRECT_IF_REVB_BASE + 0x00000010) /* Reg Size 32 */ 198#define DIF_PLL_CTRL3 (DIRECT_IF_REVB_BASE + 0x00000010)
192/*****************************************************************************/ 199/*****************************************************************************/
193/* Reserved [31:16] */ 200/* Reserved [31:16] */
194#define FLD_DIF_PLL_AGC_EN 0x00008000 201#define FLD_DIF_PLL_AGC_EN 0x00008000
195/* Reserved [14:12] */ 202/* Reserved [14:12] */
196#define FLD_DIF_PLL_MAN_GAIN 0x00000FFF 203#define FLD_DIF_PLL_MAN_GAIN 0x00000fff
197 204
198/*****************************************************************************/ 205/*****************************************************************************/
199#define DIF_AGC_IF_REF (DIRECT_IF_REVB_BASE + 0x00000014) /* Reg Size 32 */ 206#define DIF_AGC_IF_REF (DIRECT_IF_REVB_BASE + 0x00000014)
200/*****************************************************************************/ 207/*****************************************************************************/
201#define FLD_DIF_K_AGC_RF 0xF0000000 208#define FLD_DIF_K_AGC_RF 0xf0000000
202#define FLD_DIF_K_AGC_IF 0x0F000000 209#define FLD_DIF_K_AGC_IF 0x0f000000
203#define FLD_DIF_K_AGC_INT 0x00F00000 210#define FLD_DIF_K_AGC_INT 0x00f00000
204/* Reserved [19:12] */ 211/* Reserved [19:12] */
205#define FLD_DIF_IF_REF 0x00000FFF 212#define FLD_DIF_IF_REF 0x00000fff
206 213
207/*****************************************************************************/ 214/*****************************************************************************/
208#define DIF_AGC_CTRL_IF (DIRECT_IF_REVB_BASE + 0x00000018) /* Reg Size 32 */ 215#define DIF_AGC_CTRL_IF (DIRECT_IF_REVB_BASE + 0x00000018)
209/*****************************************************************************/ 216/*****************************************************************************/
210#define FLD_DIF_IF_MAX 0xFF000000 217#define FLD_DIF_IF_MAX 0xff000000
211#define FLD_DIF_IF_MIN 0x00FF0000 218#define FLD_DIF_IF_MIN 0x00ff0000
212#define FLD_DIF_IF_AGC 0x0000FFFF 219#define FLD_DIF_IF_AGC 0x0000ffff
213 220
214/*****************************************************************************/ 221/*****************************************************************************/
215#define DIF_AGC_CTRL_INT (DIRECT_IF_REVB_BASE + 0x0000001C) /* Reg Size 32 */ 222#define DIF_AGC_CTRL_INT (DIRECT_IF_REVB_BASE + 0x0000001c)
216/*****************************************************************************/ 223/*****************************************************************************/
217#define FLD_DIF_INT_MAX 0xFF000000 224#define FLD_DIF_INT_MAX 0xff000000
218#define FLD_DIF_INT_MIN 0x00FF0000 225#define FLD_DIF_INT_MIN 0x00ff0000
219#define FLD_DIF_INT_AGC 0x0000FFFF 226#define FLD_DIF_INT_AGC 0x0000ffff
220 227
221/*****************************************************************************/ 228/*****************************************************************************/
222#define DIF_AGC_CTRL_RF (DIRECT_IF_REVB_BASE + 0x00000020) /* Reg Size 32 */ 229#define DIF_AGC_CTRL_RF (DIRECT_IF_REVB_BASE + 0x00000020)
223/*****************************************************************************/ 230/*****************************************************************************/
224#define FLD_DIF_RF_MAX 0xFF000000 231#define FLD_DIF_RF_MAX 0xff000000
225#define FLD_DIF_RF_MIN 0x00FF0000 232#define FLD_DIF_RF_MIN 0x00ff0000
226#define FLD_DIF_RF_AGC 0x0000FFFF 233#define FLD_DIF_RF_AGC 0x0000ffff
227 234
228/*****************************************************************************/ 235/*****************************************************************************/
229#define DIF_AGC_IF_INT_CURRENT (DIRECT_IF_REVB_BASE + 0x00000024) /* Reg Size 32 */ 236#define DIF_AGC_IF_INT_CURRENT (DIRECT_IF_REVB_BASE + 0x00000024)
230/*****************************************************************************/ 237/*****************************************************************************/
231#define FLD_DIF_IF_AGC_IN 0xFFFF0000 238#define FLD_DIF_IF_AGC_IN 0xffff0000
232#define FLD_DIF_INT_AGC_IN 0x0000FFFF 239#define FLD_DIF_INT_AGC_IN 0x0000ffff
233 240
234/*****************************************************************************/ 241/*****************************************************************************/
235#define DIF_AGC_RF_CURRENT (DIRECT_IF_REVB_BASE + 0x00000028) /* Reg Size 32 */ 242#define DIF_AGC_RF_CURRENT (DIRECT_IF_REVB_BASE + 0x00000028)
236/*****************************************************************************/ 243/*****************************************************************************/
237/* Reserved [31:16] */ 244/* Reserved [31:16] */
238#define FLD_DIF_RF_AGC_IN 0x0000FFFF 245#define FLD_DIF_RF_AGC_IN 0x0000ffff
239 246
240/*****************************************************************************/ 247/*****************************************************************************/
241#define DIF_VIDEO_AGC_CTRL (DIRECT_IF_REVB_BASE + 0x0000002C) /* Reg Size 32 */ 248#define DIF_VIDEO_AGC_CTRL (DIRECT_IF_REVB_BASE + 0x0000002c)
242/*****************************************************************************/ 249/*****************************************************************************/
243#define FLD_DIF_AFD 0xC0000000 250#define FLD_DIF_AFD 0xc0000000
244#define FLD_DIF_K_VID_AGC 0x30000000 251#define FLD_DIF_K_VID_AGC 0x30000000
245#define FLD_DIF_LINE_LENGTH 0x0FFF0000 252#define FLD_DIF_LINE_LENGTH 0x0fff0000
246#define FLD_DIF_AGC_GAIN 0x0000FFFF 253#define FLD_DIF_AGC_GAIN 0x0000ffff
247 254
248/*****************************************************************************/ 255/*****************************************************************************/
249#define DIF_VID_AUD_OVERRIDE (DIRECT_IF_REVB_BASE + 0x00000030) /* Reg Size 32 */ 256#define DIF_VID_AUD_OVERRIDE (DIRECT_IF_REVB_BASE + 0x00000030)
250/*****************************************************************************/ 257/*****************************************************************************/
251#define FLD_DIF_AUDIO_AGC_OVERRIDE 0x80000000 258#define FLD_DIF_AUDIO_AGC_OVERRIDE 0x80000000
252/* Reserved [30:30] */ 259/* Reserved [30:30] */
253#define FLD_DIF_AUDIO_MAN_GAIN 0x3F000000 260#define FLD_DIF_AUDIO_MAN_GAIN 0x3f000000
254/* Reserved [23:17] */ 261/* Reserved [23:17] */
255#define FLD_DIF_VID_AGC_OVERRIDE 0x00010000 262#define FLD_DIF_VID_AGC_OVERRIDE 0x00010000
256#define FLD_DIF_VID_MAN_GAIN 0x0000FFFF 263#define FLD_DIF_VID_MAN_GAIN 0x0000ffff
257 264
258/*****************************************************************************/ 265/*****************************************************************************/
259#define DIF_AV_SEP_CTRL (DIRECT_IF_REVB_BASE + 0x00000034) /* Reg Size 32 */ 266#define DIF_AV_SEP_CTRL (DIRECT_IF_REVB_BASE + 0x00000034)
260/*****************************************************************************/ 267/*****************************************************************************/
261#define FLD_DIF_LPF_FREQ 0xC0000000 268#define FLD_DIF_LPF_FREQ 0xc0000000
262#define FLD_DIF_AV_PHASE_INC 0x3F000000 269#define FLD_DIF_AV_PHASE_INC 0x3f000000
263#define FLD_DIF_AUDIO_FREQ 0x00FFFFFF 270#define FLD_DIF_AUDIO_FREQ 0x00ffffff
264 271
265/*****************************************************************************/ 272/*****************************************************************************/
266#define DIF_COMP_FLT_CTRL (DIRECT_IF_REVB_BASE + 0x00000038) /* Reg Size 32 */ 273#define DIF_COMP_FLT_CTRL (DIRECT_IF_REVB_BASE + 0x00000038)
267/*****************************************************************************/ 274/*****************************************************************************/
268/* Reserved [31:24] */ 275/* Reserved [31:24] */
269#define FLD_DIF_IIR23_R2 0x00FF0000 276#define FLD_DIF_IIR23_R2 0x00ff0000
270#define FLD_DIF_IIR23_R1 0x0000FF00 277#define FLD_DIF_IIR23_R1 0x0000ff00
271#define FLD_DIF_IIR1_R1 0x000000FF 278#define FLD_DIF_IIR1_R1 0x000000ff
272 279
273/*****************************************************************************/ 280/*****************************************************************************/
274#define DIF_MISC_CTRL (DIRECT_IF_REVB_BASE + 0x0000003C) /* Reg Size 32 */ 281#define DIF_MISC_CTRL (DIRECT_IF_REVB_BASE + 0x0000003c)
275/*****************************************************************************/ 282/*****************************************************************************/
276#define FLD_DIF_DIF_BYPASS 0x80000000 283#define FLD_DIF_DIF_BYPASS 0x80000000
277#define FLD_DIF_FM_NYQ_GAIN 0x40000000 284#define FLD_DIF_FM_NYQ_GAIN 0x40000000
@@ -289,184 +296,184 @@ typedef enum {
289/* Reserved [18] */ 296/* Reserved [18] */
290#define FLD_DIF_IF_FREQ 0x00030000 297#define FLD_DIF_IF_FREQ 0x00030000
291/* Reserved [15:14] */ 298/* Reserved [15:14] */
292#define FLD_DIF_TIP_OFFSET 0x00003F00 299#define FLD_DIF_TIP_OFFSET 0x00003f00
293/* Reserved [7:5] */ 300/* Reserved [7:5] */
294#define FLD_DIF_DITHER_ENA 0x00000010 301#define FLD_DIF_DITHER_ENA 0x00000010
295/* Reserved [3:1] */ 302/* Reserved [3:1] */
296#define FLD_DIF_RF_IF_LOCK 0x00000001 303#define FLD_DIF_RF_IF_LOCK 0x00000001
297 304
298/*****************************************************************************/ 305/*****************************************************************************/
299#define DIF_SRC_PHASE_INC (DIRECT_IF_REVB_BASE + 0x00000040) /* Reg Size 32 */ 306#define DIF_SRC_PHASE_INC (DIRECT_IF_REVB_BASE + 0x00000040)
300/*****************************************************************************/ 307/*****************************************************************************/
301/* Reserved [31:29] */ 308/* Reserved [31:29] */
302#define FLD_DIF_PHASE_INC 0x1FFFFFFF 309#define FLD_DIF_PHASE_INC 0x1fffffff
303 310
304/*****************************************************************************/ 311/*****************************************************************************/
305#define DIF_SRC_GAIN_CONTROL (DIRECT_IF_REVB_BASE + 0x00000044) /* Reg Size 32 */ 312#define DIF_SRC_GAIN_CONTROL (DIRECT_IF_REVB_BASE + 0x00000044)
306/*****************************************************************************/ 313/*****************************************************************************/
307/* Reserved [31:16] */ 314/* Reserved [31:16] */
308#define FLD_DIF_SRC_KI 0x0000FF00 315#define FLD_DIF_SRC_KI 0x0000ff00
309#define FLD_DIF_SRC_KD 0x000000FF 316#define FLD_DIF_SRC_KD 0x000000ff
310 317
311/*****************************************************************************/ 318/*****************************************************************************/
312#define DIF_BPF_COEFF01 (DIRECT_IF_REVB_BASE + 0x00000048) /* Reg Size 32 */ 319#define DIF_BPF_COEFF01 (DIRECT_IF_REVB_BASE + 0x00000048)
313/*****************************************************************************/ 320/*****************************************************************************/
314/* Reserved [31:19] */ 321/* Reserved [31:19] */
315#define FLD_DIF_BPF_COEFF_0 0x00070000 322#define FLD_DIF_BPF_COEFF_0 0x00070000
316/* Reserved [15:4] */ 323/* Reserved [15:4] */
317#define FLD_DIF_BPF_COEFF_1 0x0000000F 324#define FLD_DIF_BPF_COEFF_1 0x0000000f
318 325
319/*****************************************************************************/ 326/*****************************************************************************/
320#define DIF_BPF_COEFF23 (DIRECT_IF_REVB_BASE + 0x0000004c) /* Reg Size 32 */ 327#define DIF_BPF_COEFF23 (DIRECT_IF_REVB_BASE + 0x0000004c)
321/*****************************************************************************/ 328/*****************************************************************************/
322/* Reserved [31:22] */ 329/* Reserved [31:22] */
323#define FLD_DIF_BPF_COEFF_2 0x003F0000 330#define FLD_DIF_BPF_COEFF_2 0x003f0000
324/* Reserved [15:7] */ 331/* Reserved [15:7] */
325#define FLD_DIF_BPF_COEFF_3 0x0000007F 332#define FLD_DIF_BPF_COEFF_3 0x0000007f
326 333
327/*****************************************************************************/ 334/*****************************************************************************/
328#define DIF_BPF_COEFF45 (DIRECT_IF_REVB_BASE + 0x00000050) /* Reg Size 32 */ 335#define DIF_BPF_COEFF45 (DIRECT_IF_REVB_BASE + 0x00000050)
329/*****************************************************************************/ 336/*****************************************************************************/
330/* Reserved [31:24] */ 337/* Reserved [31:24] */
331#define FLD_DIF_BPF_COEFF_4 0x00FF0000 338#define FLD_DIF_BPF_COEFF_4 0x00ff0000
332/* Reserved [15:8] */ 339/* Reserved [15:8] */
333#define FLD_DIF_BPF_COEFF_5 0x000000FF 340#define FLD_DIF_BPF_COEFF_5 0x000000ff
334 341
335/*****************************************************************************/ 342/*****************************************************************************/
336#define DIF_BPF_COEFF67 (DIRECT_IF_REVB_BASE + 0x00000054) /* Reg Size 32 */ 343#define DIF_BPF_COEFF67 (DIRECT_IF_REVB_BASE + 0x00000054)
337/*****************************************************************************/ 344/*****************************************************************************/
338/* Reserved [31:25] */ 345/* Reserved [31:25] */
339#define FLD_DIF_BPF_COEFF_6 0x01FF0000 346#define FLD_DIF_BPF_COEFF_6 0x01ff0000
340/* Reserved [15:9] */ 347/* Reserved [15:9] */
341#define FLD_DIF_BPF_COEFF_7 0x000001FF 348#define FLD_DIF_BPF_COEFF_7 0x000001ff
342 349
343/*****************************************************************************/ 350/*****************************************************************************/
344#define DIF_BPF_COEFF89 (DIRECT_IF_REVB_BASE + 0x00000058) /* Reg Size 32 */ 351#define DIF_BPF_COEFF89 (DIRECT_IF_REVB_BASE + 0x00000058)
345/*****************************************************************************/ 352/*****************************************************************************/
346/* Reserved [31:26] */ 353/* Reserved [31:26] */
347#define FLD_DIF_BPF_COEFF_8 0x03FF0000 354#define FLD_DIF_BPF_COEFF_8 0x03ff0000
348/* Reserved [15:10] */ 355/* Reserved [15:10] */
349#define FLD_DIF_BPF_COEFF_9 0x000003FF 356#define FLD_DIF_BPF_COEFF_9 0x000003ff
350 357
351/*****************************************************************************/ 358/*****************************************************************************/
352#define DIF_BPF_COEFF1011 (DIRECT_IF_REVB_BASE + 0x0000005C) /* Reg Size 32 */ 359#define DIF_BPF_COEFF1011 (DIRECT_IF_REVB_BASE + 0x0000005c)
353/*****************************************************************************/ 360/*****************************************************************************/
354/* Reserved [31:27] */ 361/* Reserved [31:27] */
355#define FLD_DIF_BPF_COEFF_10 0x07FF0000 362#define FLD_DIF_BPF_COEFF_10 0x07ff0000
356/* Reserved [15:11] */ 363/* Reserved [15:11] */
357#define FLD_DIF_BPF_COEFF_11 0x000007FF 364#define FLD_DIF_BPF_COEFF_11 0x000007ff
358 365
359/*****************************************************************************/ 366/*****************************************************************************/
360#define DIF_BPF_COEFF1213 (DIRECT_IF_REVB_BASE + 0x00000060) /* Reg Size 32 */ 367#define DIF_BPF_COEFF1213 (DIRECT_IF_REVB_BASE + 0x00000060)
361/*****************************************************************************/ 368/*****************************************************************************/
362/* Reserved [31:27] */ 369/* Reserved [31:27] */
363#define FLD_DIF_BPF_COEFF_12 0x07FF0000 370#define FLD_DIF_BPF_COEFF_12 0x07ff0000
364/* Reserved [15:12] */ 371/* Reserved [15:12] */
365#define FLD_DIF_BPF_COEFF_13 0x00000FFF 372#define FLD_DIF_BPF_COEFF_13 0x00000fff
366 373
367/*****************************************************************************/ 374/*****************************************************************************/
368#define DIF_BPF_COEFF1415 (DIRECT_IF_REVB_BASE + 0x00000064) /* Reg Size 32 */ 375#define DIF_BPF_COEFF1415 (DIRECT_IF_REVB_BASE + 0x00000064)
369/*****************************************************************************/ 376/*****************************************************************************/
370/* Reserved [31:28] */ 377/* Reserved [31:28] */
371#define FLD_DIF_BPF_COEFF_14 0x0FFF0000 378#define FLD_DIF_BPF_COEFF_14 0x0fff0000
372/* Reserved [15:12] */ 379/* Reserved [15:12] */
373#define FLD_DIF_BPF_COEFF_15 0x00000FFF 380#define FLD_DIF_BPF_COEFF_15 0x00000fff
374 381
375/*****************************************************************************/ 382/*****************************************************************************/
376#define DIF_BPF_COEFF1617 (DIRECT_IF_REVB_BASE + 0x00000068) /* Reg Size 32 */ 383#define DIF_BPF_COEFF1617 (DIRECT_IF_REVB_BASE + 0x00000068)
377/*****************************************************************************/ 384/*****************************************************************************/
378/* Reserved [31:29] */ 385/* Reserved [31:29] */
379#define FLD_DIF_BPF_COEFF_16 0x1FFF0000 386#define FLD_DIF_BPF_COEFF_16 0x1fff0000
380/* Reserved [15:13] */ 387/* Reserved [15:13] */
381#define FLD_DIF_BPF_COEFF_17 0x00001FFF 388#define FLD_DIF_BPF_COEFF_17 0x00001fff
382 389
383/*****************************************************************************/ 390/*****************************************************************************/
384#define DIF_BPF_COEFF1819 (DIRECT_IF_REVB_BASE + 0x0000006C) /* Reg Size 32 */ 391#define DIF_BPF_COEFF1819 (DIRECT_IF_REVB_BASE + 0x0000006c)
385/*****************************************************************************/ 392/*****************************************************************************/
386/* Reserved [31:29] */ 393/* Reserved [31:29] */
387#define FLD_DIF_BPF_COEFF_18 0x1FFF0000 394#define FLD_DIF_BPF_COEFF_18 0x1fff0000
388/* Reserved [15:13] */ 395/* Reserved [15:13] */
389#define FLD_DIF_BPF_COEFF_19 0x00001FFF 396#define FLD_DIF_BPF_COEFF_19 0x00001fff
390 397
391/*****************************************************************************/ 398/*****************************************************************************/
392#define DIF_BPF_COEFF2021 (DIRECT_IF_REVB_BASE + 0x00000070) /* Reg Size 32 */ 399#define DIF_BPF_COEFF2021 (DIRECT_IF_REVB_BASE + 0x00000070)
393/*****************************************************************************/ 400/*****************************************************************************/
394/* Reserved [31:29] */ 401/* Reserved [31:29] */
395#define FLD_DIF_BPF_COEFF_20 0x1FFF0000 402#define FLD_DIF_BPF_COEFF_20 0x1fff0000
396/* Reserved [15:14] */ 403/* Reserved [15:14] */
397#define FLD_DIF_BPF_COEFF_21 0x00003FFF 404#define FLD_DIF_BPF_COEFF_21 0x00003fff
398 405
399/*****************************************************************************/ 406/*****************************************************************************/
400#define DIF_BPF_COEFF2223 (DIRECT_IF_REVB_BASE + 0x00000074) /* Reg Size 32 */ 407#define DIF_BPF_COEFF2223 (DIRECT_IF_REVB_BASE + 0x00000074)
401/*****************************************************************************/ 408/*****************************************************************************/
402/* Reserved [31:30] */ 409/* Reserved [31:30] */
403#define FLD_DIF_BPF_COEFF_22 0x3FFF0000 410#define FLD_DIF_BPF_COEFF_22 0x3fff0000
404/* Reserved [15:14] */ 411/* Reserved [15:14] */
405#define FLD_DIF_BPF_COEFF_23 0x00003FFF 412#define FLD_DIF_BPF_COEFF_23 0x00003fff
406 413
407/*****************************************************************************/ 414/*****************************************************************************/
408#define DIF_BPF_COEFF2425 (DIRECT_IF_REVB_BASE + 0x00000078) /* Reg Size 32 */ 415#define DIF_BPF_COEFF2425 (DIRECT_IF_REVB_BASE + 0x00000078)
409/*****************************************************************************/ 416/*****************************************************************************/
410/* Reserved [31:30] */ 417/* Reserved [31:30] */
411#define FLD_DIF_BPF_COEFF_24 0x3FFF0000 418#define FLD_DIF_BPF_COEFF_24 0x3fff0000
412/* Reserved [15:14] */ 419/* Reserved [15:14] */
413#define FLD_DIF_BPF_COEFF_25 0x00003FFF 420#define FLD_DIF_BPF_COEFF_25 0x00003fff
414 421
415/*****************************************************************************/ 422/*****************************************************************************/
416#define DIF_BPF_COEFF2627 (DIRECT_IF_REVB_BASE + 0x0000007C) /* Reg Size 32 */ 423#define DIF_BPF_COEFF2627 (DIRECT_IF_REVB_BASE + 0x0000007c)
417/*****************************************************************************/ 424/*****************************************************************************/
418/* Reserved [31:30] */ 425/* Reserved [31:30] */
419#define FLD_DIF_BPF_COEFF_26 0x3FFF0000 426#define FLD_DIF_BPF_COEFF_26 0x3fff0000
420/* Reserved [15:14] */ 427/* Reserved [15:14] */
421#define FLD_DIF_BPF_COEFF_27 0x00003FFF 428#define FLD_DIF_BPF_COEFF_27 0x00003fff
422 429
423/*****************************************************************************/ 430/*****************************************************************************/
424#define DIF_BPF_COEFF2829 (DIRECT_IF_REVB_BASE + 0x00000080) /* Reg Size 32 */ 431#define DIF_BPF_COEFF2829 (DIRECT_IF_REVB_BASE + 0x00000080)
425/*****************************************************************************/ 432/*****************************************************************************/
426/* Reserved [31:30] */ 433/* Reserved [31:30] */
427#define FLD_DIF_BPF_COEFF_28 0x3FFF0000 434#define FLD_DIF_BPF_COEFF_28 0x3fff0000
428/* Reserved [15:14] */ 435/* Reserved [15:14] */
429#define FLD_DIF_BPF_COEFF_29 0x00003FFF 436#define FLD_DIF_BPF_COEFF_29 0x00003fff
430 437
431/*****************************************************************************/ 438/*****************************************************************************/
432#define DIF_BPF_COEFF3031 (DIRECT_IF_REVB_BASE + 0x00000084) /* Reg Size 32 */ 439#define DIF_BPF_COEFF3031 (DIRECT_IF_REVB_BASE + 0x00000084)
433/*****************************************************************************/ 440/*****************************************************************************/
434/* Reserved [31:30] */ 441/* Reserved [31:30] */
435#define FLD_DIF_BPF_COEFF_30 0x3FFF0000 442#define FLD_DIF_BPF_COEFF_30 0x3fff0000
436/* Reserved [15:14] */ 443/* Reserved [15:14] */
437#define FLD_DIF_BPF_COEFF_31 0x00003FFF 444#define FLD_DIF_BPF_COEFF_31 0x00003fff
438 445
439/*****************************************************************************/ 446/*****************************************************************************/
440#define DIF_BPF_COEFF3233 (DIRECT_IF_REVB_BASE + 0x00000088) /* Reg Size 32 */ 447#define DIF_BPF_COEFF3233 (DIRECT_IF_REVB_BASE + 0x00000088)
441/*****************************************************************************/ 448/*****************************************************************************/
442/* Reserved [31:30] */ 449/* Reserved [31:30] */
443#define FLD_DIF_BPF_COEFF_32 0x3FFF0000 450#define FLD_DIF_BPF_COEFF_32 0x3fff0000
444/* Reserved [15:14] */ 451/* Reserved [15:14] */
445#define FLD_DIF_BPF_COEFF_33 0x00003FFF 452#define FLD_DIF_BPF_COEFF_33 0x00003fff
446 453
447/*****************************************************************************/ 454/*****************************************************************************/
448#define DIF_BPF_COEFF3435 (DIRECT_IF_REVB_BASE + 0x0000008C) /* Reg Size 32 */ 455#define DIF_BPF_COEFF3435 (DIRECT_IF_REVB_BASE + 0x0000008c)
449/*****************************************************************************/ 456/*****************************************************************************/
450/* Reserved [31:30] */ 457/* Reserved [31:30] */
451#define FLD_DIF_BPF_COEFF_34 0x3FFF0000 458#define FLD_DIF_BPF_COEFF_34 0x3fff0000
452/* Reserved [15:14] */ 459/* Reserved [15:14] */
453#define FLD_DIF_BPF_COEFF_35 0x00003FFF 460#define FLD_DIF_BPF_COEFF_35 0x00003fff
454 461
455/*****************************************************************************/ 462/*****************************************************************************/
456#define DIF_BPF_COEFF36 (DIRECT_IF_REVB_BASE + 0x00000090) /* Reg Size 32 */ 463#define DIF_BPF_COEFF36 (DIRECT_IF_REVB_BASE + 0x00000090)
457/*****************************************************************************/ 464/*****************************************************************************/
458/* Reserved [31:30] */ 465/* Reserved [31:30] */
459#define FLD_DIF_BPF_COEFF_36 0x3FFF0000 466#define FLD_DIF_BPF_COEFF_36 0x3fff0000
460/* Reserved [15:0] */ 467/* Reserved [15:0] */
461 468
462/*****************************************************************************/ 469/*****************************************************************************/
463#define DIF_RPT_VARIANCE (DIRECT_IF_REVB_BASE + 0x00000094) /* Reg Size 32 */ 470#define DIF_RPT_VARIANCE (DIRECT_IF_REVB_BASE + 0x00000094)
464/*****************************************************************************/ 471/*****************************************************************************/
465/* Reserved [31:20] */ 472/* Reserved [31:20] */
466#define FLD_DIF_RPT_VARIANCE 0x000FFFFF 473#define FLD_DIF_RPT_VARIANCE 0x000fffff
467 474
468/*****************************************************************************/ 475/*****************************************************************************/
469#define DIF_SOFT_RST_CTRL_REVB (DIRECT_IF_REVB_BASE + 0x00000098) /* Reg Size 32 */ 476#define DIF_SOFT_RST_CTRL_REVB (DIRECT_IF_REVB_BASE + 0x00000098)
470/*****************************************************************************/ 477/*****************************************************************************/
471/* Reserved [31:8] */ 478/* Reserved [31:8] */
472#define FLD_DIF_DIF_SOFT_RST 0x00000080 479#define FLD_DIF_DIF_SOFT_RST 0x00000080
@@ -479,9 +486,9 @@ typedef enum {
479#define FLD_DIF_PLL_RST_MSK 0x00000001 486#define FLD_DIF_PLL_RST_MSK 0x00000001
480 487
481/*****************************************************************************/ 488/*****************************************************************************/
482#define DIF_PLL_FREQ_ERR (DIRECT_IF_REVB_BASE + 0x0000009C) /* Reg Size 32 */ 489#define DIF_PLL_FREQ_ERR (DIRECT_IF_REVB_BASE + 0x0000009c)
483/*****************************************************************************/ 490/*****************************************************************************/
484/* Reserved [31:25] */ 491/* Reserved [31:25] */
485#define FLD_DIF_CTL_IP 0x01FFFFFF 492#define FLD_DIF_CTL_IP 0x01ffffff
486 493
487#endif 494#endif