cx231xx-conf-reg.h 24 KB

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