cx231xx-conf-reg.h 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  1. /*
  2. cx231xx_conf-reg.h - driver for Conexant Cx23100/101/102 USB
  3. video capture devices
  4. Copyright (C) 2008 <srinivasa.deevi at conexant dot com>
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. */
  17. #ifndef _POLARIS_REG_H_
  18. #define _POLARIS_REG_H_
  19. #define BOARD_CFG_STAT 0x0
  20. #define TS_MODE_REG 0x4
  21. #define TS1_CFG_REG 0x8
  22. #define TS1_LENGTH_REG 0xc
  23. #define TS2_CFG_REG 0x10
  24. #define TS2_LENGTH_REG 0x14
  25. #define EP_MODE_SET 0x18
  26. #define CIR_PWR_PTN1 0x1c
  27. #define CIR_PWR_PTN2 0x20
  28. #define CIR_PWR_PTN3 0x24
  29. #define CIR_PWR_MASK0 0x28
  30. #define CIR_PWR_MASK1 0x2c
  31. #define CIR_PWR_MASK2 0x30
  32. #define CIR_GAIN 0x34
  33. #define CIR_CAR_REG 0x38
  34. #define CIR_OT_CFG1 0x40
  35. #define CIR_OT_CFG2 0x44
  36. #define PWR_CTL_EN 0x74
  37. /* Polaris Endpoints capture mask for register EP_MODE_SET */
  38. #define ENABLE_EP1 0x01 /* Bit[0]=1 */
  39. #define ENABLE_EP2 0x02 /* Bit[1]=1 */
  40. #define ENABLE_EP3 0x04 /* Bit[2]=1 */
  41. #define ENABLE_EP4 0x08 /* Bit[3]=1 */
  42. #define ENABLE_EP5 0x10 /* Bit[4]=1 */
  43. #define ENABLE_EP6 0x20 /* Bit[5]=1 */
  44. /* Bit definition for register PWR_CTL_EN */
  45. #define PWR_MODE_MASK 0x17f
  46. #define PWR_AV_EN 0x08 /* bit3 */
  47. #define PWR_ISO_EN 0x40 /* bit6 */
  48. #define PWR_AV_MODE 0x30 /* bit4,5 */
  49. #define PWR_TUNER_EN 0x04 /* bit2 */
  50. #define PWR_DEMOD_EN 0x02 /* bit1 */
  51. #define I2C_DEMOD_EN 0x01 /* bit0 */
  52. #define PWR_RESETOUT_EN 0x100 /* bit8 */
  53. typedef enum{
  54. POLARIS_AVMODE_DEFAULT = 0,
  55. POLARIS_AVMODE_DIGITAL = 0x10,
  56. POLARIS_AVMODE_ANALOGT_TV = 0x20,
  57. POLARIS_AVMODE_ENXTERNAL_AV = 0x30,
  58. }AV_MODE;
  59. /* Colibri Registers */
  60. #define SINGLE_ENDED 0x0
  61. #define LOW_IF 0x4
  62. #define EU_IF 0x9
  63. #define US_IF 0xa
  64. #define SUP_BLK_TUNE1 0x00
  65. #define SUP_BLK_TUNE2 0x01
  66. #define SUP_BLK_TUNE3 0x02
  67. #define SUP_BLK_XTAL 0x03
  68. #define SUP_BLK_PLL1 0x04
  69. #define SUP_BLK_PLL2 0x05
  70. #define SUP_BLK_PLL3 0x06
  71. #define SUP_BLK_REF 0x07
  72. #define SUP_BLK_PWRDN 0x08
  73. #define SUP_BLK_TESTPAD 0x09
  74. #define ADC_COM_INT5_STAB_REF 0x0a
  75. #define ADC_COM_QUANT 0x0b
  76. #define ADC_COM_BIAS1 0x0c
  77. #define ADC_COM_BIAS2 0x0d
  78. #define ADC_COM_BIAS3 0x0e
  79. #define TESTBUS_CTRL 0x12
  80. #define ADC_STATUS_CH1 0x20
  81. #define ADC_STATUS_CH2 0x40
  82. #define ADC_STATUS_CH3 0x60
  83. #define ADC_STATUS2_CH1 0x21
  84. #define ADC_STATUS2_CH2 0x41
  85. #define ADC_STATUS2_CH3 0x61
  86. #define ADC_CAL_ATEST_CH1 0x22
  87. #define ADC_CAL_ATEST_CH2 0x42
  88. #define ADC_CAL_ATEST_CH3 0x62
  89. #define ADC_PWRDN_CLAMP_CH1 0x23
  90. #define ADC_PWRDN_CLAMP_CH2 0x43
  91. #define ADC_PWRDN_CLAMP_CH3 0x63
  92. #define ADC_CTRL_DAC23_CH1 0x24
  93. #define ADC_CTRL_DAC23_CH2 0x44
  94. #define ADC_CTRL_DAC23_CH3 0x64
  95. #define ADC_CTRL_DAC1_CH1 0x25
  96. #define ADC_CTRL_DAC1_CH2 0x45
  97. #define ADC_CTRL_DAC1_CH3 0x65
  98. #define ADC_DCSERVO_DEM_CH1 0x26
  99. #define ADC_DCSERVO_DEM_CH2 0x46
  100. #define ADC_DCSERVO_DEM_CH3 0x66
  101. #define ADC_FB_FRCRST_CH1 0x27
  102. #define ADC_FB_FRCRST_CH2 0x47
  103. #define ADC_FB_FRCRST_CH3 0x67
  104. #define ADC_INPUT_CH1 0x28
  105. #define ADC_INPUT_CH2 0x48
  106. #define ADC_INPUT_CH3 0x68
  107. #define INPUT_SEL_MASK 0x30 /* [5:4] in_sel */
  108. #define ADC_NTF_PRECLMP_EN_CH1 0x29
  109. #define ADC_NTF_PRECLMP_EN_CH2 0x49
  110. #define ADC_NTF_PRECLMP_EN_CH3 0x69
  111. #define ADC_QGAIN_RES_TRM_CH1 0x2a
  112. #define ADC_QGAIN_RES_TRM_CH2 0x4a
  113. #define ADC_QGAIN_RES_TRM_CH3 0x6a
  114. #define ADC_SOC_PRECLMP_TERM_CH1 0x2b
  115. #define ADC_SOC_PRECLMP_TERM_CH2 0x4b
  116. #define ADC_SOC_PRECLMP_TERM_CH3 0x6b
  117. #define TESTBUS_CTRL_CH1 0x32
  118. #define TESTBUS_CTRL_CH2 0x52
  119. #define TESTBUS_CTRL_CH3 0x72
  120. /******************************************************************************
  121. * DIF registers *
  122. ******************************************************************************/
  123. #define DIRECT_IF_REVB_BASE 0x00300
  124. /*****************************************************************************/
  125. #define DIF_PLL_FREQ_WORD (DIRECT_IF_REVB_BASE + 0x00000000) /* Reg Size 32 */
  126. /*****************************************************************************/
  127. #define FLD_DIF_PLL_LOCK 0x80000000
  128. /* Reserved [30:29] */
  129. #define FLD_DIF_PLL_FREE_RUN 0x10000000
  130. #define FLD_DIF_PLL_FREQ 0x0FFFFFFF
  131. /*****************************************************************************/
  132. #define DIF_PLL_CTRL (DIRECT_IF_REVB_BASE + 0x00000004) /* Reg Size 32 */
  133. /*****************************************************************************/
  134. #define FLD_DIF_KD_PD 0xFF000000
  135. /* Reserved [23:20] */
  136. #define FLD_DIF_KDS_PD 0x000F0000
  137. #define FLD_DIF_KI_PD 0x0000FF00
  138. /* Reserved [7:4] */
  139. #define FLD_DIF_KIS_PD 0x0000000F
  140. /*****************************************************************************/
  141. #define DIF_PLL_CTRL1 (DIRECT_IF_REVB_BASE + 0x00000008) /* Reg Size 32 */
  142. /*****************************************************************************/
  143. #define FLD_DIF_KD_FD 0xFF000000
  144. /* Reserved [23:20] */
  145. #define FLD_DIF_KDS_FD 0x000F0000
  146. #define FLD_DIF_KI_FD 0x0000FF00
  147. #define FLD_DIF_SIG_PROP_SZ 0x000000F0
  148. #define FLD_DIF_KIS_FD 0x0000000F
  149. /*****************************************************************************/
  150. #define DIF_PLL_CTRL2 (DIRECT_IF_REVB_BASE + 0x0000000C) /* Reg Size 32 */
  151. /*****************************************************************************/
  152. #define FLD_DIF_PLL_AGC_REF 0xFFF00000
  153. #define FLD_DIF_PLL_AGC_KI 0x000F0000
  154. /* Reserved [15] */
  155. #define FLD_DIF_FREQ_LIMIT 0x00007000
  156. #define FLD_DIF_K_FD 0x00000F00
  157. #define FLD_DIF_DOWNSMPL_FD 0x000000FF
  158. /*****************************************************************************/
  159. #define DIF_PLL_CTRL3 (DIRECT_IF_REVB_BASE + 0x00000010) /* Reg Size 32 */
  160. /*****************************************************************************/
  161. /* Reserved [31:16] */
  162. #define FLD_DIF_PLL_AGC_EN 0x00008000
  163. /* Reserved [14:12] */
  164. #define FLD_DIF_PLL_MAN_GAIN 0x00000FFF
  165. /*****************************************************************************/
  166. #define DIF_AGC_IF_REF (DIRECT_IF_REVB_BASE + 0x00000014) /* Reg Size 32 */
  167. /*****************************************************************************/
  168. #define FLD_DIF_K_AGC_RF 0xF0000000
  169. #define FLD_DIF_K_AGC_IF 0x0F000000
  170. #define FLD_DIF_K_AGC_INT 0x00F00000
  171. /* Reserved [19:12] */
  172. #define FLD_DIF_IF_REF 0x00000FFF
  173. /*****************************************************************************/
  174. #define DIF_AGC_CTRL_IF (DIRECT_IF_REVB_BASE + 0x00000018) /* Reg Size 32 */
  175. /*****************************************************************************/
  176. #define FLD_DIF_IF_MAX 0xFF000000
  177. #define FLD_DIF_IF_MIN 0x00FF0000
  178. #define FLD_DIF_IF_AGC 0x0000FFFF
  179. /*****************************************************************************/
  180. #define DIF_AGC_CTRL_INT (DIRECT_IF_REVB_BASE + 0x0000001C) /* Reg Size 32 */
  181. /*****************************************************************************/
  182. #define FLD_DIF_INT_MAX 0xFF000000
  183. #define FLD_DIF_INT_MIN 0x00FF0000
  184. #define FLD_DIF_INT_AGC 0x0000FFFF
  185. /*****************************************************************************/
  186. #define DIF_AGC_CTRL_RF (DIRECT_IF_REVB_BASE + 0x00000020) /* Reg Size 32 */
  187. /*****************************************************************************/
  188. #define FLD_DIF_RF_MAX 0xFF000000
  189. #define FLD_DIF_RF_MIN 0x00FF0000
  190. #define FLD_DIF_RF_AGC 0x0000FFFF
  191. /*****************************************************************************/
  192. #define DIF_AGC_IF_INT_CURRENT (DIRECT_IF_REVB_BASE + 0x00000024) /* Reg Size 32 */
  193. /*****************************************************************************/
  194. #define FLD_DIF_IF_AGC_IN 0xFFFF0000
  195. #define FLD_DIF_INT_AGC_IN 0x0000FFFF
  196. /*****************************************************************************/
  197. #define DIF_AGC_RF_CURRENT (DIRECT_IF_REVB_BASE + 0x00000028) /* Reg Size 32 */
  198. /*****************************************************************************/
  199. /* Reserved [31:16] */
  200. #define FLD_DIF_RF_AGC_IN 0x0000FFFF
  201. /*****************************************************************************/
  202. #define DIF_VIDEO_AGC_CTRL (DIRECT_IF_REVB_BASE + 0x0000002C) /* Reg Size 32 */
  203. /*****************************************************************************/
  204. #define FLD_DIF_AFD 0xC0000000
  205. #define FLD_DIF_K_VID_AGC 0x30000000
  206. #define FLD_DIF_LINE_LENGTH 0x0FFF0000
  207. #define FLD_DIF_AGC_GAIN 0x0000FFFF
  208. /*****************************************************************************/
  209. #define DIF_VID_AUD_OVERRIDE (DIRECT_IF_REVB_BASE + 0x00000030) /* Reg Size 32 */
  210. /*****************************************************************************/
  211. #define FLD_DIF_AUDIO_AGC_OVERRIDE 0x80000000
  212. /* Reserved [30:30] */
  213. #define FLD_DIF_AUDIO_MAN_GAIN 0x3F000000
  214. /* Reserved [23:17] */
  215. #define FLD_DIF_VID_AGC_OVERRIDE 0x00010000
  216. #define FLD_DIF_VID_MAN_GAIN 0x0000FFFF
  217. /*****************************************************************************/
  218. #define DIF_AV_SEP_CTRL (DIRECT_IF_REVB_BASE + 0x00000034) /* Reg Size 32 */
  219. /*****************************************************************************/
  220. #define FLD_DIF_LPF_FREQ 0xC0000000
  221. #define FLD_DIF_AV_PHASE_INC 0x3F000000
  222. #define FLD_DIF_AUDIO_FREQ 0x00FFFFFF
  223. /*****************************************************************************/
  224. #define DIF_COMP_FLT_CTRL (DIRECT_IF_REVB_BASE + 0x00000038) /* Reg Size 32 */
  225. /*****************************************************************************/
  226. /* Reserved [31:24] */
  227. #define FLD_DIF_IIR23_R2 0x00FF0000
  228. #define FLD_DIF_IIR23_R1 0x0000FF00
  229. #define FLD_DIF_IIR1_R1 0x000000FF
  230. /*****************************************************************************/
  231. #define DIF_MISC_CTRL (DIRECT_IF_REVB_BASE + 0x0000003C) /* Reg Size 32 */
  232. /*****************************************************************************/
  233. #define FLD_DIF_DIF_BYPASS 0x80000000
  234. #define FLD_DIF_FM_NYQ_GAIN 0x40000000
  235. #define FLD_DIF_RF_AGC_ENA 0x20000000
  236. #define FLD_DIF_INT_AGC_ENA 0x10000000
  237. #define FLD_DIF_IF_AGC_ENA 0x08000000
  238. #define FLD_DIF_FORCE_RF_IF_LOCK 0x04000000
  239. #define FLD_DIF_VIDEO_AGC_ENA 0x02000000
  240. #define FLD_DIF_RF_AGC_INV 0x01000000
  241. #define FLD_DIF_INT_AGC_INV 0x00800000
  242. #define FLD_DIF_IF_AGC_INV 0x00400000
  243. #define FLD_DIF_SPEC_INV 0x00200000
  244. #define FLD_DIF_AUD_FULL_BW 0x00100000
  245. #define FLD_DIF_AUD_SRC_SEL 0x00080000
  246. /* Reserved [18] */
  247. #define FLD_DIF_IF_FREQ 0x00030000
  248. /* Reserved [15:14] */
  249. #define FLD_DIF_TIP_OFFSET 0x00003F00
  250. /* Reserved [7:5] */
  251. #define FLD_DIF_DITHER_ENA 0x00000010
  252. /* Reserved [3:1] */
  253. #define FLD_DIF_RF_IF_LOCK 0x00000001
  254. /*****************************************************************************/
  255. #define DIF_SRC_PHASE_INC (DIRECT_IF_REVB_BASE + 0x00000040) /* Reg Size 32 */
  256. /*****************************************************************************/
  257. /* Reserved [31:29] */
  258. #define FLD_DIF_PHASE_INC 0x1FFFFFFF
  259. /*****************************************************************************/
  260. #define DIF_SRC_GAIN_CONTROL (DIRECT_IF_REVB_BASE + 0x00000044) /* Reg Size 32 */
  261. /*****************************************************************************/
  262. /* Reserved [31:16] */
  263. #define FLD_DIF_SRC_KI 0x0000FF00
  264. #define FLD_DIF_SRC_KD 0x000000FF
  265. /*****************************************************************************/
  266. #define DIF_BPF_COEFF01 (DIRECT_IF_REVB_BASE + 0x00000048) /* Reg Size 32 */
  267. /*****************************************************************************/
  268. /* Reserved [31:19] */
  269. #define FLD_DIF_BPF_COEFF_0 0x00070000
  270. /* Reserved [15:4] */
  271. #define FLD_DIF_BPF_COEFF_1 0x0000000F
  272. /*****************************************************************************/
  273. #define DIF_BPF_COEFF23 (DIRECT_IF_REVB_BASE + 0x0000004c) /* Reg Size 32 */
  274. /*****************************************************************************/
  275. /* Reserved [31:22] */
  276. #define FLD_DIF_BPF_COEFF_2 0x003F0000
  277. /* Reserved [15:7] */
  278. #define FLD_DIF_BPF_COEFF_3 0x0000007F
  279. /*****************************************************************************/
  280. #define DIF_BPF_COEFF45 (DIRECT_IF_REVB_BASE + 0x00000050) /* Reg Size 32 */
  281. /*****************************************************************************/
  282. /* Reserved [31:24] */
  283. #define FLD_DIF_BPF_COEFF_4 0x00FF0000
  284. /* Reserved [15:8] */
  285. #define FLD_DIF_BPF_COEFF_5 0x000000FF
  286. /*****************************************************************************/
  287. #define DIF_BPF_COEFF67 (DIRECT_IF_REVB_BASE + 0x00000054) /* Reg Size 32 */
  288. /*****************************************************************************/
  289. /* Reserved [31:25] */
  290. #define FLD_DIF_BPF_COEFF_6 0x01FF0000
  291. /* Reserved [15:9] */
  292. #define FLD_DIF_BPF_COEFF_7 0x000001FF
  293. /*****************************************************************************/
  294. #define DIF_BPF_COEFF89 (DIRECT_IF_REVB_BASE + 0x00000058) /* Reg Size 32 */
  295. /*****************************************************************************/
  296. /* Reserved [31:26] */
  297. #define FLD_DIF_BPF_COEFF_8 0x03FF0000
  298. /* Reserved [15:10] */
  299. #define FLD_DIF_BPF_COEFF_9 0x000003FF
  300. /*****************************************************************************/
  301. #define DIF_BPF_COEFF1011 (DIRECT_IF_REVB_BASE + 0x0000005C) /* Reg Size 32 */
  302. /*****************************************************************************/
  303. /* Reserved [31:27] */
  304. #define FLD_DIF_BPF_COEFF_10 0x07FF0000
  305. /* Reserved [15:11] */
  306. #define FLD_DIF_BPF_COEFF_11 0x000007FF
  307. /*****************************************************************************/
  308. #define DIF_BPF_COEFF1213 (DIRECT_IF_REVB_BASE + 0x00000060) /* Reg Size 32 */
  309. /*****************************************************************************/
  310. /* Reserved [31:27] */
  311. #define FLD_DIF_BPF_COEFF_12 0x07FF0000
  312. /* Reserved [15:12] */
  313. #define FLD_DIF_BPF_COEFF_13 0x00000FFF
  314. /*****************************************************************************/
  315. #define DIF_BPF_COEFF1415 (DIRECT_IF_REVB_BASE + 0x00000064) /* Reg Size 32 */
  316. /*****************************************************************************/
  317. /* Reserved [31:28] */
  318. #define FLD_DIF_BPF_COEFF_14 0x0FFF0000
  319. /* Reserved [15:12] */
  320. #define FLD_DIF_BPF_COEFF_15 0x00000FFF
  321. /*****************************************************************************/
  322. #define DIF_BPF_COEFF1617 (DIRECT_IF_REVB_BASE + 0x00000068) /* Reg Size 32 */
  323. /*****************************************************************************/
  324. /* Reserved [31:29] */
  325. #define FLD_DIF_BPF_COEFF_16 0x1FFF0000
  326. /* Reserved [15:13] */
  327. #define FLD_DIF_BPF_COEFF_17 0x00001FFF
  328. /*****************************************************************************/
  329. #define DIF_BPF_COEFF1819 (DIRECT_IF_REVB_BASE + 0x0000006C) /* Reg Size 32 */
  330. /*****************************************************************************/
  331. /* Reserved [31:29] */
  332. #define FLD_DIF_BPF_COEFF_18 0x1FFF0000
  333. /* Reserved [15:13] */
  334. #define FLD_DIF_BPF_COEFF_19 0x00001FFF
  335. /*****************************************************************************/
  336. #define DIF_BPF_COEFF2021 (DIRECT_IF_REVB_BASE + 0x00000070) /* Reg Size 32 */
  337. /*****************************************************************************/
  338. /* Reserved [31:29] */
  339. #define FLD_DIF_BPF_COEFF_20 0x1FFF0000
  340. /* Reserved [15:14] */
  341. #define FLD_DIF_BPF_COEFF_21 0x00003FFF
  342. /*****************************************************************************/
  343. #define DIF_BPF_COEFF2223 (DIRECT_IF_REVB_BASE + 0x00000074) /* Reg Size 32 */
  344. /*****************************************************************************/
  345. /* Reserved [31:30] */
  346. #define FLD_DIF_BPF_COEFF_22 0x3FFF0000
  347. /* Reserved [15:14] */
  348. #define FLD_DIF_BPF_COEFF_23 0x00003FFF
  349. /*****************************************************************************/
  350. #define DIF_BPF_COEFF2425 (DIRECT_IF_REVB_BASE + 0x00000078) /* Reg Size 32 */
  351. /*****************************************************************************/
  352. /* Reserved [31:30] */
  353. #define FLD_DIF_BPF_COEFF_24 0x3FFF0000
  354. /* Reserved [15:14] */
  355. #define FLD_DIF_BPF_COEFF_25 0x00003FFF
  356. /*****************************************************************************/
  357. #define DIF_BPF_COEFF2627 (DIRECT_IF_REVB_BASE + 0x0000007C) /* Reg Size 32 */
  358. /*****************************************************************************/
  359. /* Reserved [31:30] */
  360. #define FLD_DIF_BPF_COEFF_26 0x3FFF0000
  361. /* Reserved [15:14] */
  362. #define FLD_DIF_BPF_COEFF_27 0x00003FFF
  363. /*****************************************************************************/
  364. #define DIF_BPF_COEFF2829 (DIRECT_IF_REVB_BASE + 0x00000080) /* Reg Size 32 */
  365. /*****************************************************************************/
  366. /* Reserved [31:30] */
  367. #define FLD_DIF_BPF_COEFF_28 0x3FFF0000
  368. /* Reserved [15:14] */
  369. #define FLD_DIF_BPF_COEFF_29 0x00003FFF
  370. /*****************************************************************************/
  371. #define DIF_BPF_COEFF3031 (DIRECT_IF_REVB_BASE + 0x00000084) /* Reg Size 32 */
  372. /*****************************************************************************/
  373. /* Reserved [31:30] */
  374. #define FLD_DIF_BPF_COEFF_30 0x3FFF0000
  375. /* Reserved [15:14] */
  376. #define FLD_DIF_BPF_COEFF_31 0x00003FFF
  377. /*****************************************************************************/
  378. #define DIF_BPF_COEFF3233 (DIRECT_IF_REVB_BASE + 0x00000088) /* Reg Size 32 */
  379. /*****************************************************************************/
  380. /* Reserved [31:30] */
  381. #define FLD_DIF_BPF_COEFF_32 0x3FFF0000
  382. /* Reserved [15:14] */
  383. #define FLD_DIF_BPF_COEFF_33 0x00003FFF
  384. /*****************************************************************************/
  385. #define DIF_BPF_COEFF3435 (DIRECT_IF_REVB_BASE + 0x0000008C) /* Reg Size 32 */
  386. /*****************************************************************************/
  387. /* Reserved [31:30] */
  388. #define FLD_DIF_BPF_COEFF_34 0x3FFF0000
  389. /* Reserved [15:14] */
  390. #define FLD_DIF_BPF_COEFF_35 0x00003FFF
  391. /*****************************************************************************/
  392. #define DIF_BPF_COEFF36 (DIRECT_IF_REVB_BASE + 0x00000090) /* Reg Size 32 */
  393. /*****************************************************************************/
  394. /* Reserved [31:30] */
  395. #define FLD_DIF_BPF_COEFF_36 0x3FFF0000
  396. /* Reserved [15:0] */
  397. /*****************************************************************************/
  398. #define DIF_RPT_VARIANCE (DIRECT_IF_REVB_BASE + 0x00000094) /* Reg Size 32 */
  399. /*****************************************************************************/
  400. /* Reserved [31:20] */
  401. #define FLD_DIF_RPT_VARIANCE 0x000FFFFF
  402. /*****************************************************************************/
  403. #define DIF_SOFT_RST_CTRL_REVB (DIRECT_IF_REVB_BASE + 0x00000098) /* Reg Size 32 */
  404. /*****************************************************************************/
  405. /* Reserved [31:8] */
  406. #define FLD_DIF_DIF_SOFT_RST 0x00000080
  407. #define FLD_DIF_DIF_REG_RST_MSK 0x00000040
  408. #define FLD_DIF_AGC_RST_MSK 0x00000020
  409. #define FLD_DIF_CMP_RST_MSK 0x00000010
  410. #define FLD_DIF_AVS_RST_MSK 0x00000008
  411. #define FLD_DIF_NYQ_RST_MSK 0x00000004
  412. #define FLD_DIF_DIF_SRC_RST_MSK 0x00000002
  413. #define FLD_DIF_PLL_RST_MSK 0x00000001
  414. /*****************************************************************************/
  415. #define DIF_PLL_FREQ_ERR (DIRECT_IF_REVB_BASE + 0x0000009C) /* Reg Size 32 */
  416. /*****************************************************************************/
  417. /* Reserved [31:25] */
  418. #define FLD_DIF_CTL_IP 0x01FFFFFF
  419. #endif