es325.h 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  1. /*
  2. * es325.h -- ES325 Soc Audio driver
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef _ES325_H
  9. #define _ES325_H
  10. #include <sound/soc.h>
  11. #define ES325_READ_VE_OFFSET 0x0804
  12. #define ES325_READ_VE_WIDTH 4
  13. #define ES325_WRITE_VE_OFFSET 0x0800
  14. #define ES325_WRITE_VE_WIDTH 4
  15. #define ES325_MCLK_DIV 0x0000
  16. #define ES325_CLASSD_CLK_DIV 0x0001
  17. #define ES325_CP_CLK_DIV 0x0002
  18. #define ES325_BOOT_CMD 0x0001
  19. #define ES325_BOOT_ACK 0x0101
  20. #define ES325_SYNC_CMD 0x8000
  21. #define ES325_SYNC_POLLING 0x0000
  22. #define ES325_SYNC_INTR_ACITVE_LOW 0x0001
  23. #define ES325_SYNC_INTR_ACITVE_HIGH 0x0002
  24. #define ES325_SYNC_INTR_FALLING_EDGE 0x0003
  25. #define ES325_SYNC_INTR_RISING_EDGE 0x0004
  26. #define ES325_SYNC_ACK 0x00000000
  27. #define ES325_RESET_CMD 0x8002
  28. #define ES325_RESET_IMMED 0x0000
  29. #define ES325_RESET_DELAYED 0x0001
  30. #define ES325_SET_POWER_STATE 0x8010
  31. #define ES325_SET_POWER_STATE_SLEEP 0x0001
  32. /*
  33. * bit15 - reserved
  34. * bit[14:12] - access type
  35. * bit11 - commit = 0, staged = 1
  36. * bit[10:0] - psuedo address
  37. */
  38. #define ES325_ACCESS_MASK (7 << 12)
  39. #define ES325_ALGO_ACCESS (0 << 12)
  40. #define ES325_DEV_ACCESS (1 << 12)
  41. #define ES325_CMD_ACCESS (2 << 12)
  42. #define ES325_OTHER_ACCESS (3 << 12)
  43. #define ES325_CMD_MASK (1 << 11)
  44. #define ES325_STAGED_CMD (1 << 11)
  45. #define ES325_COMMIT_CMD (0 << 11)
  46. #define ES325_ADDR_MASK 0x7ff
  47. #define ES325_STAGED_MSG_BIT (1 << 13)
  48. /*
  49. * Device parameter command codes
  50. */
  51. #define ES325_DEV_PARAM_OFFSET 0x2000
  52. #define ES325_GET_DEV_PARAM 0x800b
  53. #define ES325_SET_DEV_PARAMID 0x800c
  54. #define ES325_SET_DEV_PARAM 0x800d
  55. /*
  56. * Algoithm parameter command codes
  57. */
  58. #define ES325_ALGO_PARAM_OFFSET 0x0000
  59. #define ES325_GET_ALGO_PARAM 0x8016
  60. #define ES325_SET_ALGO_PARAMID 0x8017
  61. #define ES325_SET_ALGO_PARAM 0x8018
  62. /*
  63. * addresses
  64. */
  65. #define ES325_MIC_CONFIG 0x0000
  66. #define ES325_MIC_CONFIG_STAGED 0x0800
  67. #define ES325_AEC_MODE 0x0001
  68. #define ES325_AEC_MODE_STAGED 0x0801
  69. #define ES325_TX_AGC 0x0002
  70. #define ES325_TX_AGC_STAGED 0x0802
  71. #define ES325_TX_AGC_TARGET_LEVEL 0x0003
  72. #define ES325_TX_AGC_TARGET_LEVEL_STAGED 0x0803
  73. #define ES325_TX_AGC_NOISE_FLOOR 0x0004
  74. #define ES325_TX_AGC_NOISE_FLOOR_STAGED 0x0804
  75. #define ES325_TX_AGC_SNR_IMPROVEMENT 0x0005
  76. #define ES325_TX_AGC_SNR_IMPROVEMENT_STAGED 0x0805
  77. #define ES325_VEQ_ENABLE 0x0006
  78. #define ES325_VEQ_ENABLE_STAGED 0x0806
  79. #define ES325_RX_OUT_LIMITER_MAX_LEVEL 0x0007
  80. #define ES325_RX_OUT_LIMITER_MAX_LEVEL_STAGED 0x0807
  81. #define ES325_RX_NOISE_SUPPRESS 0x0008
  82. #define ES325_RX_NOISE_SUPPRESS_STAGED 0x0808
  83. #define ES325_RX_STS 0x0009
  84. #define ES325_RX_STS_STAGED 0x0809
  85. #define ES325_RX_STS_RATE 0x000A
  86. #define ES325_RX_STS_RATE_STAGED 0x080A
  87. #define ES325_AEC_SPEAKER_VOLUME 0x000B
  88. #define ES325_AEC_SPEAKER_VOLUME_STAGED 0x080B
  89. #define ES325_SIDETONE 0x000C
  90. #define ES325_SIDETONE_STAGED 0x080C
  91. #define ES325_SIDETONE_GAIN 0x000D
  92. #define ES325_SIDETONE_GAIN_STAGED 0x080D
  93. #define ES325_TX_COMFORT_NOISE 0x000E
  94. #define ES325_TX_COMFORT_NOISE_STAGED 0x080E
  95. #define ES325_TX_COMFORT_NOISE_LEVEL 0x000F
  96. #define ES325_TX_COMFORT_NOISE_LEVEL_STAGED 0x080F
  97. #define ES325_ALGORITHM_RESET 0x0010
  98. #define ES325_ALGORITHM_RESET_STAGED 0x0810
  99. #define ES325_RX_POST_EQ 0x0011
  100. #define ES325_RX_POST_EQ_STAGED 0x0811
  101. #define ES325_TX_POST_EQ 0x0012
  102. #define ES325_TX_POST_EQ_STAGED 0x0812
  103. #define ES325_AEC_CNG 0x0013
  104. #define ES325_AEC_CNG_STAGED 0x0813
  105. #define ES325_VEQ_NOISE_ESTIMATION_ADJUSTMENT 0x0014
  106. #define ES325_VEQ_NOISE_ESTIMATION_ADJUSTMENT_STAGED 0x0814
  107. #define ES325_TX_AGC_SLEW_RATE_UP 0x0015
  108. #define ES325_TX_AGC_SLEW_RATE_UP_STAGED 0x0815
  109. #define ES325_TX_AGC_SLEW_RATE_DOWN 0x0016
  110. #define ES325_TX_AGC_SLEW_RATE_DOWN_STAGED 0x0816
  111. #define ES325_RX_AGC 0x0017
  112. #define ES325_RX_AGC_STAGED 0x0817
  113. #define ES325_RX_AGC_TARGET_LEVEL 0x0018
  114. #define ES325_RX_AGC_TARGET_LEVEL_STAGED 0x0818
  115. #define ES325_RX_AGC_NOISE_FLOOR 0x0019
  116. #define ES325_RX_AGC_NOISE_FLOOR_STAGED 0x0819
  117. #define ES325_RX_AGC_SNR_IMPROVEMENT 0x001A
  118. #define ES325_RX_AGC_SNR_IMPROVEMENT_STAGED 0x081A
  119. #define ES325_RX_AGC_SLEW_RATE_UP 0x001B
  120. #define ES325_RX_AGC_SLEW_RATE_UP_STAGED 0x081B
  121. #define ES325_RX_AGC_SLEW_RATE_DOWN 0x001C
  122. #define ES325_RX_AGC_SLEW_RATE_DOWN_STAGED 0x081C
  123. #define ES325_AEC_CNG_GAIN 0x001D
  124. #define ES325_AEC_CNG_GAIN_STAGED 0x081D
  125. #define ES325_TX_MBC 0x001E
  126. #define ES325_TX_MBC_STAGED 0x081E
  127. #define ES325_RX_MBC 0x001F
  128. #define ES325_RX_MBC_STAGED 0x081F
  129. #define ES325_AEC_ESE 0x0020
  130. #define ES325_AEC_ESE_STAGED 0x0820
  131. #define ES325_TX_NS_ADAPTATION_SPEED 0x0021
  132. #define ES325_TX_NS_ADAPTATION_SPEED_STAGED 0x0821
  133. #define ES325_TX_SNR_ESTIMATE 0x0022
  134. #define ES325_TX_SNR_ESTIMATE_STAGED 0x0822
  135. #define ES325_VEQ_MAX_GAIN 0x0023
  136. #define ES325_VEQ_MAX_GAIN_STAGED 0x0823
  137. #define ES325_TX_AGC_GUARDBAND 0x0024
  138. #define ES325_TX_AGC_GUARDBAND_STAGED 0x0824
  139. #define ES325_RX_AGC_GUARDBAND 0x0025
  140. #define ES325_RX_AGC_GUARDBAND_STAGED 0x0825
  141. #define ES325_TX_OUT_LIMITER_MAX_LEVEL 0x0026
  142. #define ES325_TX_OUT_LIMITER_MAX_LEVEL_STAGED 0x0826
  143. #define ES325_TX_IN_LIMITER_MAX_LEVEL 0x0027
  144. #define ES325_TX_IN_LIMITER_MAX_LEVEL_STAGED 0x0827
  145. #define ES325_RX_NS_ADAPTATION_SPEED 0x0028
  146. #define ES325_RX_NS_ADAPTATION_SPEED_STAGED 0x0828
  147. #define ES325_AEC_VARIABLE_ECHO_REF_DELAY 0x0029
  148. #define ES325_AEC_VARIABLE_ECHO_REF_DELAY_STAGED 0x0829
  149. #define ES325_TX_NOISE_SUPPRESS_LEVEL 0x002A
  150. #define ES325_TX_NOISE_SUPPRESS_LEVEL_STAGED 0x082A
  151. #define ES325_RX_NOISE_SUPPRESS_LEVEL 0x002B
  152. #define ES325_RX_NOISE_SUPPRESS_LEVEL_STAGED 0x082B
  153. #define ES325_RX_CNG 0x002C
  154. #define ES325_RX_CNG_STAGED 0x082C
  155. #define ES325_RX_CNG_GAIN 0x002D
  156. #define ES325_RX_CNG_GAIN_STAGED 0x082D
  157. #define ES325_TX_AGC_MAX_GAIN 0x002E
  158. #define ES325_TX_AGC_MAX_GAIN_STAGED 0x082E
  159. #define ES325_RX_AGC_MAX_GAIN 0x002F
  160. #define ES325_RX_AGC_MAX_GAIN_STAGED 0x082F
  161. #define ES325_AVALON_API_VERSION_LO 0x0030
  162. #define ES325_AVALON_API_VERSION_LO_STAGED 0x0830
  163. #define ES325_AVALON_API_VERSION_HI 0x0031
  164. #define ES325_AVALON_API_VERSION_HI_STAGED 0x0831
  165. #define ES325_AVALON_AV_PROCESSOR 0x0032
  166. #define ES325_AVALON_AV_PROCESSOR_STAGED 0x0832
  167. #define ES325_AVALON_AV_CONFIG 0x0033
  168. #define ES325_AVALON_AV_CONFIG_STAGED 0x0833
  169. #define ES325_AVALON_EQ_PRESET 0x0034
  170. #define ES325_AVALON_EQ_PRESET_STAGED 0x0834
  171. #define ES325_AVALON_STEREO_WIDTH 0x0035
  172. #define ES325_AVALON_STEREO_WIDTH_STAGED 0x0835
  173. #define ES325_AVALON_AV_DIGITAL_OUT_GAIN 0x0036
  174. #define ES325_AVALON_AV_DIGITAL_OUT_GAIN_STAGED 0x0836
  175. #define ES325_AVALON_TDMBC 0x0037
  176. #define ES325_AVALON_TDMBC_STAGED 0x0837
  177. #define ES325_AVALON_AV_OUT_LIMIT 0x0038
  178. #define ES325_AVALON_AV_OUT_LIMIT_STAGED 0x0838
  179. #define ES325_AVALON_STEREO_WIDENING 0x0039
  180. #define ES325_AVALON_STEREO_WIDENING_STAGED 0x0839
  181. #define ES325_AVALON_STAT_NS 0x003A
  182. #define ES325_AVALON_STAT_NS_STAGED 0x083A
  183. #define ES325_AVALON_STAT_NS_SUPPRESS 0x003B
  184. #define ES325_AVALON_STAT_NS_SUPPRESS_STAGED 0x083B
  185. #define ES325_AVALON_STAT_NS_ADAP_SPEED 0x003C
  186. #define ES325_AVALON_STAT_NS_ADAP_SPEED_STAGED 0x083C
  187. #define ES325_AVALON_STAT_NS_MODE 0x003D
  188. #define ES325_AVALON_STAT_NS_MODE_STAGED 0x083D
  189. #define ES325_AVLALON_STAT_NS_MAX_NOISE_ENERGY 0x003E
  190. #define ES325_AVLALON_STAT_NS_MAX_NOISE_ENERGY_STAGED 0x083E
  191. #define ES325_AVALON_VBB 0x003F
  192. #define ES325_AVALON_VBB_STAGED 0x083F
  193. #define ES325_AVALON_VBB_STRENGTH 0x0040
  194. #define ES325_AVALON_VBB_STRENGTH_STAGED 0x0840
  195. #define ES325_AVALON_EQ_MODE 0x0041
  196. #define ES325_AVALON_EQ_MODE_STAGED 0x0841
  197. #define ES325_AVALON_EQ_GRAPHIC_BAND1_GAIN 0x0042
  198. #define ES325_AVALON_EQ_GRAPHIC_BAND1_GAIN_STAGED 0x0842
  199. #define ES325_AVALON_EQ_GRAPHIC_BAND2_GAIN 0x0043
  200. #define ES325_AVALON_EQ_GRAPHIC_BAND2_GAIN_STAGED 0x0843
  201. #define ES325_AVALON_EQ_GRAPHIC_BAND3_GAIN 0x0044
  202. #define ES325_AVALON_EQ_GRAPHIC_BAND3_GAIN_STAGED 0x0844
  203. #define ES325_AVALON_EQ_GRAPHIC_BAND4_GAIN 0x0045
  204. #define ES325_AVALON_EQ_GRAPHIC_BAND4_GAIN_STAGED 0x0845
  205. #define ES325_AVALON_EQ_GRAPHIC_BAND5_GAIN 0x0046
  206. #define ES325_AVALON_EQ_GRAPHIC_BAND5_GAIN_STAGED 0x0846
  207. #define ES325_AVALON_EQ_GRAPHIC_BAND6_GAIN 0x0047
  208. #define ES325_AVALON_EQ_GRAPHIC_BAND6_GAIN_STAGED 0x0847
  209. #define ES325_AVALON_EQ_GRAPHIC_BAND7_GAIN 0x0048
  210. #define ES325_AVALON_EQ_GRAPHIC_BAND7_GAIN_STAGED 0x0848
  211. #define ES325_AVALON_EQ_GRAPHIC_BAND8_GAIN 0x0049
  212. #define ES325_AVALON_EQ_GRAPHIC_BAND8_GAIN_STAGED 0x0849
  213. #define ES325_AVALON_EQ_GRAPHIC_BAND9_GAIN 0x004A
  214. #define ES325_AVALON_EQ_GRAPHIC_BAND9_GAIN_STAGED 0x084A
  215. #define ES325_AVALON_EQ_GRAPHIC_BAND10_GAIN 0x004B
  216. #define ES325_AVALON_EQ_GRAPHIC_BAND10_GAIN_STAGED 0x084B
  217. #define ES325_AVALON_TDDRC 0x004C
  218. #define ES325_AVALON_TDDRC_STAGED 0x084C
  219. #define ES325_AVALON_TDDRC_STRENGTH 0x004D
  220. #define ES325_AVALON_TDDRC_STRENGTH_STAGED 0x084D
  221. #define ES325_AVALON_LIMITER 0x004E
  222. #define ES325_AVALON_LIMITER_STAGED 0x084E
  223. #define ES325_AVALON_EQ 0x004F
  224. #define ES325_AVALON_EQ_STAGED 0x084F
  225. #define ES325_DIRAC 0x0050
  226. #define ES325_DIRAC_STAGED 0x0850
  227. #define ES325_DIRAC_OUT_HEADROOM_LIMITER 0x0051
  228. #define ES325_DIRAC_OUT_HEADROOM_LIMITER_STAGED 0x0851
  229. #define ES325_DIRAC_MODE 0x0052
  230. #define ES325_DIRAC_MODE_STAGED 0x0852
  231. #define ES325_DIRAC_IN_HEADROOM_LIMITER 0x0053
  232. #define ES325_DIRAC_IN_HEADROOM_LIMITER_STAGED 0x0853
  233. #define ES325_DIRAC_COMFORT_NOISE 0x0054
  234. #define ES325_DIRAC_COMFORT_NOISE_STAGED 0x0854
  235. #define ES325_DIRAC_COMFORT_NOISE_LEVEL 0x0055
  236. #define ES325_DIRAC_COMFORT_NOISE_LEVEL_STAGED 0x0855
  237. #define ES325_DIRAC_NARRATOR_VQOS 0x0056
  238. #define ES325_DIRAC_NARRATOR_VQOS_STAGED 0x0856
  239. #define ES325_DIRAC_NARRATOR_POSITION_SUPPRESS 0x0057
  240. #define ES325_DIRAC_NARRATOR_POSITION_SUPPRESS_STAGED 0x0857
  241. #define ES325_DIRAC_NARRATOR_AGC_OUT 0x0058
  242. #define ES325_DIRAC_NARRATOR_AGC_OUT_STAGED 0x0858
  243. #define ES325_DIRAC_NARRATOR_AGC_SPEECH_TARGET 0x0059
  244. #define ES325_DIRAC_NARRATOR_AGC_SPEECH_TARGET_STAGED 0x0859
  245. #define ES325_DIRAC_NARRATOR_AGC_SNR_IMPROVE 0x005A
  246. #define ES325_DIRAC_NARRATOR_AGC_SNR_IMPROVE_STAGED 0x085A
  247. #define ES325_DIRAC_NARRATOR_AGC_NOISE_FLOOR 0x005B
  248. #define ES325_DIRAC_NARRATOR_AGC_NOISE_FLOOR_STAGED 0x085B
  249. #define ES325_DIRAC_NARRATOR_AGC_MAX_GAIN 0x005C
  250. #define ES325_DIRAC_NARRATOR_AGC_MAX_GAIN_STAGED 0x085C
  251. #define ES325_DIRAC_NARRATOR_AGC_UP_RATE 0x005D
  252. #define ES325_DIRAC_NARRATOR_AGC_UP_RATE_STAGED 0x085D
  253. #define ES325_DIRAC_NARRATOR_AGC_DOWN_RATE 0x005E
  254. #define ES325_DIRAC_NARRATOR_AGC_DOWN_RATE_STAGED 0x085E
  255. #define ES325_DIRAC_NARRATOR_AGC_GUARDBAND 0x005F
  256. #define ES325_DIRAC_NARRATOR_AGC_GUARDBAND_STAGED 0x085F
  257. #define ES325_DIRAC_NARRATOR_POST_EQ_MODE 0x0060
  258. #define ES325_DIRAC_NARRATOR_POST_EQ_MODE_STAGED 0x0860
  259. #define ES325_DIRAC_NARRATOR_MBC_MODE 0x0061
  260. #define ES325_DIRAC_NARRATOR_MBC_MODE_STAGED 0x0861
  261. #define ES325_DIRAC_SCENE_BEAM_WIDTH 0x0062
  262. #define ES325_DIRAC_SCENE_BEAM_WIDTH_STAGED 0x0862
  263. #define ES325_DIRAC_SCENE_AGC_OUT 0x0063
  264. #define ES325_DIRAC_SCENE_AGC_OUT_STAGED 0x0863
  265. #define ES325_DIRAC_SCENE_AGC_SPEECH_TARGET 0x0064
  266. #define ES325_DIRAC_SCENE_AGC_SPEECH_TARGET_STAGED 0x0864
  267. #define ES325_DIRAC_SCENE_AGC_SNR_IMPROVE 0x0065
  268. #define ES325_DIRAC_SCENE_AGC_SNR_IMPROVE_STAGED 0x0865
  269. #define ES325_DIRAC_SCENE_AGC_NOISE_FLOOR 0x0066
  270. #define ES325_DIRAC_SCENE_AGC_NOISE_FLOOR_STAGED 0x0866
  271. #define ES325_DIRAC_SCENE_AGC_MAX_GAIN 0x0067
  272. #define ES325_DIRAC_SCENE_AGC_MAX_GAIN_STAGED 0x0867
  273. #define ES325_DIRAC_SCENE_AGC_UP_RATE 0x0068
  274. #define ES325_DIRAC_SCENE_AGC_UP_RATE_STAGED 0x0868
  275. #define ES325_DIRAC_SCENE_AGC_DOWN_RATE 0x0069
  276. #define ES325_DIRAC_SCENE_AGC_DOWN_RATE_STAGED 0x0869
  277. #define ES325_DIRAC_SCENE_AGC_GUARDBAND 0x006A
  278. #define ES325_DIRAC_SCENE_AGC_GUARDBAND_STAGED 0x086A
  279. #define ES325_DIRAC_SCENE_VQOS 0x006B
  280. #define ES325_DIRAC_SCENE_VQOS_STAGED 0x086B
  281. #define ES325_DIRAC_SCENE_POST_EQ_MODE 0x006C
  282. #define ES325_DIRAC_SCENE_POST_EQ_MODE_STAGED 0x086C
  283. #define ES325_DIRAC_SCENE_MBC_MODE 0x006D
  284. #define ES325_DIRAC_SCENE_MBC_MODE_STAGED 0x086D
  285. #define ES325_TONE_PARAM_API_VERSION_LO 0x006E
  286. #define ES325_TONE_PARAM_API_VERSION_LO_STAGED 0x086E
  287. #define ES325_TONE_PARAM_API_VERSION_HI 0x006F
  288. #define ES325_TONE_PARAM_API_VERSION_HI_STAGED 0x086F
  289. #define ES325_TONE_PARAM_ENABLE_BEEP_SYS 0x0070
  290. #define ES325_TONE_PARAM_ENABLE_BEEP_SYS_STAGED 0x0870
  291. #define ES325_TONE_PARAM_ENABLE_GEN_BEEP 0x0071
  292. #define ES325_TONE_PARAM_ENABLE_GEN_BEEP_STAGED 0x0871
  293. #define ES325_TONE_PARAM_GEN_BEEP_ON 0x0072
  294. #define ES325_TONE_PARAM_GEN_BEEP_ON_STAGED 0x0872
  295. #define ES325_TONE_PARAM_GEN_BEEP_FREQ1 0x0073
  296. #define ES325_TONE_PARAM_GEN_BEEP_FREQ1_STAGED 0x0873
  297. #define ES325_TONE_PARAM_GEN_BEEP_FREQ2 0x0074
  298. #define ES325_TONE_PARAM_GEN_BEEP_FREQ2_STAGED 0x0874
  299. #define ES325_TONE_PARAM_GEN_BEEP_PAN_LR 0x0075
  300. #define ES325_TONE_PARAM_GEN_BEEP_PAN_LR_STAGED 0x0875
  301. #define ES325_TONE_PARAM_GEN_BEEP_GAIN 0x0076
  302. #define ES325_TONE_PARAM_GEN_BEEP_GAIN_STAGED 0x0876
  303. #define ES325_DEREVERB_ENABLE 0x0077
  304. #define ES325_DEREVERB_ENABLE_STAGED 0x0877
  305. #define ES325_DEREVERB_GAIN 0x0078
  306. #define ES325_DEREVERB_GAIN_STAGED 0x0878
  307. #define ES325_BWE_ENABLE 0x0079
  308. #define ES325_BWE_ENABLE_STAGED 0x0879
  309. #define ES325_BWE_HIGH_BAND_GAIN 0x007a
  310. #define ES325_BWE_HIGH_BAND_GAIN_STAGED 0x087a
  311. #define ES325_BWE_MAX_SNR 0x007b
  312. #define ES325_BWE_MAX_SNR_STAGED 0x087b
  313. #define ES325_BWE_POST_EQ_ENABLE 0x007c
  314. #define ES325_BWE_POST_EQ_ENABLE_STAGED 0x087c
  315. #define ES325_PORTA_WORD_LEN 0x1000
  316. #define ES325_PORTA_WORD_LEN_STAGED 0x1800
  317. #define ES325_PORTA_TDM_SLOTS_PER_FRAME 0x1001
  318. #define ES325_PORTA_TDM_SLOTS_PER_FRAME_STAGED 0x1801
  319. #define ES325_PORTA_TX_DELAY_FROM_FS 0x1002
  320. #define ES325_PORTA_TX_DELAY_FROM_FS_STAGED 0x1802
  321. #define ES325_PORTA_RX_DELAY_FROM_FS 0x1003
  322. #define ES325_PORTA_RX_DELAY_FROM_FS_STAGED 0x1803
  323. #define ES325_PORTA_LATCH_EDGE 0x1004
  324. #define ES325_PORTA_LATCH_EDGE_STAGED 0x1804
  325. #define ES325_PORTA_ENDIAN 0x1005
  326. #define ES325_PORTA_ENDIAN_STAGED 0x1805
  327. #define ES325_PORTA_TRISTATE 0x1006
  328. #define ES325_PORTA_TRISTATE_STAGED 0x1806
  329. #define ES325_PORTA_AUDIO_PORT_MODE 0x1007
  330. #define ES325_PORTA_AUDIO_PORT_MODE_STAGED 0x1807
  331. #define ES325_PORTA_TDM_ENABLED 0x1008
  332. #define ES325_PORTA_TDM_ENABLED_STAGED 0x1808
  333. #define ES325_PORTA_CLOCK_CONTROL 0x1009
  334. #define ES325_PORTA_CLOCK_CONTROL_STAGED 0x1809
  335. #define ES325_PORTA_DATA_JUSTIFICATION 0x100A
  336. #define ES325_PORTA_DATA_JUSTIFICATION_STAGED 0x180A
  337. #define ES325_PORTA_FS_DURATION 0x100B
  338. #define ES325_PORTA_FS_DURATION_STAGED 0x180B
  339. #define ES325_PORTB_WORD_LEN 0x100C
  340. #define ES325_PORTB_WORD_LEN_STAGED 0x180C
  341. #define ES325_PORTB_TDM_SLOTS_PER_FRAME 0x100D
  342. #define ES325_PORTB_TDM_SLOTS_PER_FRAME_STAGED 0x180D
  343. #define ES325_PORTB_TX_DELAY_FROM_FS 0x100E
  344. #define ES325_PORTB_TX_DELAY_FROM_FS_STAGED 0x180E
  345. #define ES325_PORTB_RX_DELAY_FROM_FS 0x100F
  346. #define ES325_PORTB_RX_DELAY_FROM_FS_STAGED 0x180F
  347. #define ES325_PORTB_LATCH_EDGE 0x1010
  348. #define ES325_PORTB_LATCH_EDGE_STAGED 0x1810
  349. #define ES325_PORTB_ENDIAN 0x1011
  350. #define ES325_PORTB_ENDIAN_STAGED 0x1811
  351. #define ES325_PORTB_TRISTATE 0x1012
  352. #define ES325_PORTB_TRISTATE_STAGED 0x1812
  353. #define ES325_PORTB_AUDIO_PORT_MODE 0x1013
  354. #define ES325_PORTB_AUDIO_PORT_MODE_STAGED 0x1813
  355. #define ES325_PORTB_TDM_ENABLED 0x1014
  356. #define ES325_PORTB_TDM_ENABLED_STAGED 0x1814
  357. #define ES325_PORTB_CLOCK_CONTROL 0x1015
  358. #define ES325_PORTB_CLOCK_CONTROL_STAGED 0x1815
  359. #define ES325_PORTB_DATA_JUSTIFICATION 0x1016
  360. #define ES325_PORTB_DATA_JUSTIFICATION_STAGED 0x1816
  361. #define ES325_PORTB_FS_DURATION 0x1017
  362. #define ES325_PORTB_FS_DURATION_STAGED 0x1817
  363. #define ES325_PORTC_WORD_LEN 0x1018
  364. #define ES325_PORTC_WORD_LEN_STAGED 0x1818
  365. #define ES325_PORTC_TDM_SLOTS_PER_FRAME 0x1019
  366. #define ES325_PORTC_TDM_SLOTS_PER_FRAME_STAGED 0x1819
  367. #define ES325_PORTC_TX_DELAY_FROM_FS 0x101A
  368. #define ES325_PORTC_TX_DELAY_FROM_FS_STAGED 0x181A
  369. #define ES325_PORTC_RX_DELAY_FROM_FS 0x101B
  370. #define ES325_PORTC_RX_DELAY_FROM_FS_STAGED 0x181B
  371. #define ES325_PORTC_LATCH_EDGE 0x101C
  372. #define ES325_PORTC_LATCH_EDGE_STAGED 0x181C
  373. #define ES325_PORTC_ENDIAN 0x101D
  374. #define ES325_PORTC_ENDIAN_STAGED 0x181D
  375. #define ES325_PORTC_TRISTATE 0x101E
  376. #define ES325_PORTC_TRISTATE_STAGED 0x181E
  377. #define ES325_PORTC_AUDIO_PORT_MODE 0x101F
  378. #define ES325_PORTC_AUDIO_PORT_MODE_STAGED 0x181F
  379. #define ES325_PORTC_TDM_ENABLED 0x1020
  380. #define ES325_PORTC_TDM_ENABLED_STAGED 0x1820
  381. #define ES325_PORTC_CLOCK_CONTROL 0x1021
  382. #define ES325_PORTC_CLOCK_CONTROL_STAGED 0x1821
  383. #define ES325_PORTC_DATA_JUSTIFICATION 0x1022
  384. #define ES325_PORTC_DATA_JUSTIFICATION_STAGED 0x1822
  385. #define ES325_PORTC_FS_DURATION 0x1023
  386. #define ES325_PORTC_FS_DURATION_STAGED 0x1823
  387. #define ES325_PORTD_WORD_LEN 0x1024
  388. #define ES325_PORTD_WORD_LEN_STAGED 0x1824
  389. #define ES325_PORTD_TDM_SLOTS_PER_FRAME 0x1025
  390. #define ES325_PORTD_TDM_SLOTS_PER_FRAME_STAGED 0x1825
  391. #define ES325_PORTD_TX_DELAY_FROM_FS 0x1026
  392. #define ES325_PORTD_TX_DELAY_FROM_FS_STAGED 0x1826
  393. #define ES325_PORTD_RX_DELAY_FROM_FS 0x1027
  394. #define ES325_PORTD_RX_DELAY_FROM_FS_STAGED 0x1827
  395. #define ES325_PORTD_LATCH_EDGE 0x1028
  396. #define ES325_PORTD_LATCH_EDGE_STAGED 0x1828
  397. #define ES325_PORTD_ENDIAN 0x1029
  398. #define ES325_PORTD_ENDIAN_STAGED 0x1829
  399. #define ES325_PORTD_TRISTATE 0x102A
  400. #define ES325_PORTD_TRISTATE_STAGED 0x182A
  401. #define ES325_PORTD_AUDIO_PORT_MODE 0x102B
  402. #define ES325_PORTD_AUDIO_PORT_MODE_STAGED 0x182B
  403. #define ES325_PORTD_TDM_ENABLED 0x102C
  404. #define ES325_PORTD_TDM_ENABLED_STAGED 0x182C
  405. #define ES325_PORTD_CLOCK_CONTROL 0x102D
  406. #define ES325_PORTD_CLOCK_CONTROL_STAGED 0x182D
  407. #define ES325_PORTD_DATA_JUSTIFICATION 0x102E
  408. #define ES325_PORTD_DATA_JUSTIFICATION_STAGED 0x182E
  409. #define ES325_PORTD_FS_DURATION 0x102F
  410. #define ES325_PORTD_FS_DURATION_STAGED 0x182F
  411. #define ES325_SLIMBUS_LINK_MULTI_CHANNEL 0x1030
  412. #define ES325_SLIMBUS_LINK_MULTI_CHANNEL_STAGED 0x1830
  413. #define ES325_POWER_STATE 0x2000
  414. #define ES325_POWER_STATE_STAGED 0x2800
  415. #define ES325_STREAMING 0x2001
  416. #define ES325_STREAMING_STAGED 0x2801
  417. #define ES325_FE_STREAMING 0x2002
  418. #define ES325_FE_STREAMING_STAGED 0x2802
  419. #define ES325_PRESET 0x2003
  420. #define ES325_PRESET_STAGED 0x2803
  421. #define ES325_ALGO_STATS 0x2004
  422. #define ES325_ALGO_STATS_STAGED 0x2804
  423. #define ES325_ALGO_PROCESSING 0x2005
  424. #define ES325_ALGO_PROCESSING_STAGED 0x2805
  425. #define ES325_ALGO_SAMPLE_RATE 0x2006
  426. #define ES325_ALGO_SAMPLE_RATE_STAGED 0x2806
  427. #define ES325_SMOOTH_RATE 0x2007
  428. #define ES325_SMOOTH_RATE_STAGED 0x2807
  429. #define ES325_CHANGE_STATUS 0x2008
  430. #define ES325_CHANGE_STATUS_STAGED 0x2808
  431. #define ES325_DIGITAL_PASS_THROUGH 0x2009
  432. #define ES325_DIGITAL_PASS_THROUGH_STAGED 0x2809
  433. #define ES325_DATA_PATH 0x200A
  434. #define ES325_DATA_PATH_STAGED 0x280A
  435. #define ES325_ALGORITHM 0x200B
  436. #define ES325_ALGORITHM_STAGED 0x280B
  437. #define ES325_MIX_SAMPLE_RATE 0x200C
  438. #define ES325_MIX_SAMPLE_RATE_STAGED 0x280C
  439. #define ES325_SIGNAL_RMS_PORTA_DIN_LEFT 0x200D
  440. #define ES325_SIGNAL_RMS_PORTA_DIN_LEFT_STAGED 0x280D
  441. #define ES325_SIGNAL_RMS_PORTA_DIN_RIGHT 0x200E
  442. #define ES325_SIGNAL_RMS_PORTA_DIN_RIGHT_STAGED 0x280E
  443. #define ES325_SIGNAL_RMS_PORTA_DOUT_LEFT 0x200F
  444. #define ES325_SIGNAL_RMS_PORTA_DOUT_LEFT_STAGED 0x280F
  445. #define ES325_SIGNAL_RMS_PORTA_DOUT_RIGHT 0x2010
  446. #define ES325_SIGNAL_RMS_PORTA_DOUT_RIGHT_STAGED 0x2810
  447. #define ES325_SIGNAL_RMS_PORTB_DIN_LEFT 0x2011
  448. #define ES325_SIGNAL_RMS_PORTB_DIN_LEFT_STAGED 0x2811
  449. #define ES325_SIGNAL_RMS_PORTB_DIN_RIGHT 0x2012
  450. #define ES325_SIGNAL_RMS_PORTB_DIN_RIGHT_STAGED 0x2812
  451. #define ES325_SIGNAL_RMS_PORTB_DOUT_LEFT 0x2013
  452. #define ES325_SIGNAL_RMS_PORTB_DOUT_LEFT_STAGED 0x2813
  453. #define ES325_SIGNAL_RMS_PORTB_DOUT_RIGHT 0x2014
  454. #define ES325_SIGNAL_RMS_PORTB_DOUT_RIGHT_STAGED 0x2814
  455. #define ES325_SIGNAL_RMS_PORTC_DIN_LEFT 0x2015
  456. #define ES325_SIGNAL_RMS_PORTC_DIN_LEFT_STAGED 0x2815
  457. #define ES325_SIGNAL_RMS_PORTC_DIN_RIGHT 0x2016
  458. #define ES325_SIGNAL_RMS_PORTC_DIN_RIGHT_STAGED 0x2816
  459. #define ES325_SIGNAL_RMS_PORTC_DOUT_LEFT 0x2017
  460. #define ES325_SIGNAL_RMS_PORTC_DOUT_LEFT_STAGED 0x2817
  461. #define ES325_SIGNAL_RMS_PORTC_DOUT_RIGHT 0x2018
  462. #define ES325_SIGNAL_RMS_PORTC_DOUT_RIGHT_STAGED 0x2818
  463. #define ES325_SIGNAL_RMS_PORTD_DIN_LEFT 0x2019
  464. #define ES325_SIGNAL_RMS_PORTD_DIN_LEFT_STAGED 0x2819
  465. #define ES325_SIGNAL_RMS_PORTD_DIN_RIGHT 0x201A
  466. #define ES325_SIGNAL_RMS_PORTD_DIN_RIGHT_STAGED 0x281A
  467. #define ES325_SIGNAL_RMS_PORTD_DOUT_LEFT 0x201B
  468. #define ES325_SIGNAL_RMS_PORTD_DOUT_LEFT_STAGED 0x281B
  469. #define ES325_SIGNAL_RMS_PORTD_DOUT_RIGHT 0x201C
  470. #define ES325_SIGNAL_RMS_PORTD_DOUT_RIGHT_STAGED 0x281C
  471. #define ES325_SIGNAL_PEAK_PORTA_DIN_LEFT 0x201D
  472. #define ES325_SIGNAL_PEAK_PORTA_DIN_LEFT_STAGED 0x281D
  473. #define ES325_SIGNAL_PEAK_PORTA_DIN_RIGHT 0x201E
  474. #define ES325_SIGNAL_PEAK_PORTA_DIN_RIGHT_STAGED 0x281E
  475. #define ES325_SIGNAL_PEAK_PORTA_DOUT_LEFT 0x201F
  476. #define ES325_SIGNAL_PEAK_PORTA_DOUT_LEFT_STAGED 0x281F
  477. #define ES325_SIGNAL_PEAK_PORTA_DOUT_RIGHT 0x2020
  478. #define ES325_SIGNAL_PEAK_PORTA_DOUT_RIGHT_STAGED 0x2820
  479. #define ES325_SIGNAL_PEAK_PORTB_DIN_LEFT 0x2021
  480. #define ES325_SIGNAL_PEAK_PORTB_DIN_LEFT_STAGED 0x2821
  481. #define ES325_SIGNAL_PEAK_PORTB_DIN_RIGHT 0x2022
  482. #define ES325_SIGNAL_PEAK_PORTB_DIN_RIGHT_STAGED 0x2822
  483. #define ES325_SIGNAL_PEAK_PORTB_DOUT_LEFT 0x2023
  484. #define ES325_SIGNAL_PEAK_PORTB_DOUT_LEFT_STAGED 0x2823
  485. #define ES325_SIGNAL_PEAK_PORTB_DOUT_RIGHT 0x2024
  486. #define ES325_SIGNAL_PEAK_PORTB_DOUT_RIGHT_STAGED 0x2824
  487. #define ES325_SIGNAL_PEAK_PORTC_DIN_LEFT 0x2025
  488. #define ES325_SIGNAL_PEAK_PORTC_DIN_LEFT_STAGED 0x2825
  489. #define ES325_SIGNAL_PEAK_PORTC_DIN_RIGHT 0x2026
  490. #define ES325_SIGNAL_PEAK_PORTC_DIN_RIGHT_STAGED 0x2826
  491. #define ES325_SIGNAL_PEAK_PORTC_DOUT_LEFT 0x2027
  492. #define ES325_SIGNAL_PEAK_PORTC_DOUT_LEFT_STAGED 0x2827
  493. #define ES325_SIGNAL_PEAK_PORTC_DOUT_RIGHT 0x2028
  494. #define ES325_SIGNAL_PEAK_PORTC_DOUT_RIGHT_STAGED 0x2828
  495. #define ES325_SIGNAL_PEAK_PORTD_DIN_LEFT 0x2029
  496. #define ES325_SIGNAL_PEAK_PORTD_DIN_LEFT_STAGED 0x2829
  497. #define ES325_SIGNAL_PEAK_PORTD_DIN_RIGHT 0x202A
  498. #define ES325_SIGNAL_PEAK_PORTD_DIN_RIGHT_STAGED 0x282A
  499. #define ES325_SIGNAL_PEAK_PORTD_DOUT_LEFT 0x202B
  500. #define ES325_SIGNAL_PEAK_PORTD_DOUT_LEFT_STAGED 0x282B
  501. #define ES325_SIGNAL_PEAK_PORTD_DOUT_RIGHT 0x202C
  502. #define ES325_SIGNAL_PEAK_PORTD_DOUT_RIGHT_STAGED 0x282C
  503. #define ES325_DIGITAL_GAIN_PRIMARY 0x202D
  504. #define ES325_DIGITAL_GAIN_PRIMARY_STAGED 0x282D
  505. #define ES325_DIGITAL_GAIN_SECONDARY 0x202E
  506. #define ES325_DIGITAL_GAIN_SECONDARY_STAGED 0x282E
  507. #define ES325_DIGITAL_GAIN_TERTIARY 0x202F
  508. #define ES325_DIGITAL_GAIN_TERTIARY_STAGED 0x282F
  509. #define ES325_DIGITAL_GAIN_QUAD 0x2030
  510. #define ES325_DIGITAL_GAIN_QUAD_STAGED 0x2830
  511. #define ES325_DIGITAL_GAIN_FEIN 0x2031
  512. #define ES325_DIGITAL_GAIN_FEIN_STAGED 0x2831
  513. #define ES325_DIGITAL_GAIN_AUDIN1 0x2032
  514. #define ES325_DIGITAL_GAIN_AUDIN1_STAGED 0x2832
  515. #define ES325_DIGITAL_GAIN_AUDIN2 0x2033
  516. #define ES325_DIGITAL_GAIN_AUDIN2_STAGED 0x2833
  517. #define ES325_DIGITAL_GAIN_AUDIN3 0x2034
  518. #define ES325_DIGITAL_GAIN_AUDIN3_STAGED 0x2834
  519. #define ES325_DIGITAL_GAIN_AUDIN4 0x2035
  520. #define ES325_DIGITAL_GAIN_AUDIN4_STAGED 0x2835
  521. #define ES325_DIGITAL_GAIN_UITONE1 0x2036
  522. #define ES325_DIGITAL_GAIN_UITONE1_STAGED 0x2836
  523. #define ES325_DIGITAL_GAIN_UITONE2 0x2037
  524. #define ES325_DIGITAL_GAIN_UITONE2_STAGED 0x2837
  525. #define ES325_DIGITAL_GAIN_CSOUT 0x2038
  526. #define ES325_DIGITAL_GAIN_CSOUT_STAGED 0x2838
  527. #define ES325_DIGITAL_GAIN_FEOUT1 0x2039
  528. #define ES325_DIGITAL_GAIN_FEOUT1_STAGED 0x2839
  529. #define ES325_DIGITAL_GAIN_FEOUT2 0x203A
  530. #define ES325_DIGITAL_GAIN_FEOUT2_STAGED 0x283A
  531. #define ES325_DIGITAL_GAIN_AUDOUT1 0x203B
  532. #define ES325_DIGITAL_GAIN_AUDOUT1_STAGED 0x283B
  533. #define ES325_DIGITAL_GAIN_AUDOUT2 0x203C
  534. #define ES325_DIGITAL_GAIN_AUDOUT2_STAGED 0x283C
  535. #define ES325_DIGITAL_GAIN_AUDOUT3 0x203D
  536. #define ES325_DIGITAL_GAIN_AUDOUT3_STAGED 0x283D
  537. #define ES325_DIGITAL_GAIN_AUDOUT4 0x203E
  538. #define ES325_DIGITAL_GAIN_AUDOUT4_STAGED 0x283E
  539. #define ES325_PORTA_TIMING 0x203F
  540. #define ES325_PORTA_TIMING_STAGED 0x283F
  541. #define ES325_PORTB_TIMING 0x2040
  542. #define ES325_PORTB_TIMING_STAGED 0x2840
  543. #define ES325_PORTC_TIMING 0x2041
  544. #define ES325_PORTC_TIMING_STAGED 0x2841
  545. #define ES325_PORTD_TIMING 0x2042
  546. #define ES325_PORTD_TIMING_STAGED 0x2842
  547. #define ES325_PRIMARY_PATH_MUX 0x2043
  548. #define ES325_PRIMARY_PATH_MUX_STAGED 0x2843
  549. #define ES325_SECONDARY_PATH_MUX 0x2044
  550. #define ES325_SECONDARY_PATH_MUX_STAGED 0x2844
  551. #define ES325_TERTIARY_PATH_MUX 0x2045
  552. #define ES325_TERTIARY_PATH_MUX_STAGED 0x2845
  553. #define ES325_QUAD_PATH_MUX 0x2046
  554. #define ES325_QUAD_PATH_MUX_STAGED 0x2846
  555. #define ES325_FEIN_PATH_MUX 0x2047
  556. #define ES325_FEIN_PATH_MUX_STAGED 0x2847
  557. #define ES325_AUDIN1_PATH_MUX 0x2048
  558. #define ES325_AUDIN1_PATH_MUX_STAGED 0x2848
  559. #define ES325_AUDIN2_PATH_MUX 0x2049
  560. #define ES325_AUDIN2_PATH_MUX_STAGED 0x2849
  561. #define ES325_AUDIN3_PATH_MUX 0x204A
  562. #define ES325_AUDIN3_PATH_MUX_STAGED 0x284A
  563. #define ES325_AUDIN4_PATH_MUX 0x204B
  564. #define ES325_AUDIN4_PATH_MUX_STAGED 0x284B
  565. #define ES325_UITONE1_PATH_MUX 0x204C
  566. #define ES325_UITONE1_PATH_MUX_STAGED 0x284C
  567. #define ES325_UITONE2_PATH_MUX 0x204D
  568. #define ES325_UITONE2_PATH_MUX_STAGED 0x284D
  569. #define ES325_PCM0_0_PATH_MUX 0x204E
  570. #define ES325_PCM0_0_PATH_MUX_STAGED 0x284E
  571. #define ES325_PCM0_1_PATH_MUX 0x204F
  572. #define ES325_PCM0_1_PATH_MUX_STAGED 0x284F
  573. #define ES325_PCM0_2_PATH_MUX 0x2050
  574. #define ES325_PCM0_2_PATH_MUX_STAGED 0x2850
  575. #define ES325_PCM0_3_PATH_MUX 0x2051
  576. #define ES325_PCM0_3_PATH_MUX_STAGED 0x2851
  577. #define ES325_PCM0_4_PATH_MUX 0x2052
  578. #define ES325_PCM0_4_PATH_MUX_STAGED 0x2852
  579. #define ES325_PCM0_5_PATH_MUX 0x2053
  580. #define ES325_PCM0_5_PATH_MUX_STAGED 0x2853
  581. #define ES325_PCM0_6_PATH_MUX 0x2054
  582. #define ES325_PCM0_6_PATH_MUX_STAGED 0x2854
  583. #define ES325_PCM0_7_PATH_MUX 0x2055
  584. #define ES325_PCM0_7_PATH_MUX_STAGED 0x2855
  585. #define ES325_PCM0_8_PATH_MUX 0x2056
  586. #define ES325_PCM0_8_PATH_MUX_STAGED 0x2856
  587. #define ES325_PCM0_9_PATH_MUX 0x2057
  588. #define ES325_PCM0_9_PATH_MUX_STAGED 0x2857
  589. #define ES325_PCM0_10_PATH_MUX 0x2058
  590. #define ES325_PCM0_10_PATH_MUX_STAGED 0x2858
  591. #define ES325_PCM0_11_PATH_MUX 0x2059
  592. #define ES325_PCM0_11_PATH_MUX_STAGED 0x2859
  593. #define ES325_PCM0_12_PATH_MUX 0x205A
  594. #define ES325_PCM0_12_PATH_MUX_STAGED 0x285A
  595. #define ES325_PCM0_13_PATH_MUX 0x205B
  596. #define ES325_PCM0_13_PATH_MUX_STAGED 0x285B
  597. #define ES325_PCM0_14_PATH_MUX 0x205C
  598. #define ES325_PCM0_14_PATH_MUX_STAGED 0x285C
  599. #define ES325_PCM0_15_PATH_MUX 0x205D
  600. #define ES325_PCM0_15_PATH_MUX_STAGED 0x285D
  601. #define ES325_PCM0_16_PATH_MUX 0x205E
  602. #define ES325_PCM0_16_PATH_MUX_STAGED 0x285E
  603. #define ES325_PCM0_17_PATH_MUX 0x205F
  604. #define ES325_PCM0_17_PATH_MUX_STAGED 0x285F
  605. #define ES325_PCM0_18_PATH_MUX 0x2060
  606. #define ES325_PCM0_18_PATH_MUX_STAGED 0x2860
  607. #define ES325_PCM0_19_PATH_MUX 0x2061
  608. #define ES325_PCM0_19_PATH_MUX_STAGED 0x2861
  609. #define ES325_PCM0_20_PATH_MUX 0x2062
  610. #define ES325_PCM0_20_PATH_MUX_STAGED 0x2862
  611. #define ES325_PCM0_21_PATH_MUX 0x2063
  612. #define ES325_PCM0_21_PATH_MUX_STAGED 0x2863
  613. #define ES325_PCM0_22_PATH_MUX 0x2064
  614. #define ES325_PCM0_22_PATH_MUX_STAGED 0x2864
  615. #define ES325_PCM0_23_PATH_MUX 0x2065
  616. #define ES325_PCM0_23_PATH_MUX_STAGED 0x2865
  617. #define ES325_PCM0_24_PATH_MUX 0x2066
  618. #define ES325_PCM0_24_PATH_MUX_STAGED 0x2866
  619. #define ES325_PCM0_25_PATH_MUX 0x2067
  620. #define ES325_PCM0_25_PATH_MUX_STAGED 0x2867
  621. #define ES325_PCM0_26_PATH_MUX 0x2068
  622. #define ES325_PCM0_26_PATH_MUX_STAGED 0x2868
  623. #define ES325_PCM0_27_PATH_MUX 0x2069
  624. #define ES325_PCM0_27_PATH_MUX_STAGED 0x2869
  625. #define ES325_PCM0_28_PATH_MUX 0x206A
  626. #define ES325_PCM0_28_PATH_MUX_STAGED 0x286A
  627. #define ES325_PCM0_29_PATH_MUX 0x206B
  628. #define ES325_PCM0_29_PATH_MUX_STAGED 0x286B
  629. #define ES325_PCM0_30_PATH_MUX 0x206C
  630. #define ES325_PCM0_30_PATH_MUX_STAGED 0x286C
  631. #define ES325_PCM0_31_PATH_MUX 0x206D
  632. #define ES325_PCM0_31_PATH_MUX_STAGED 0x286D
  633. #define ES325_PCM1_0_PATH_MUX 0x206E
  634. #define ES325_PCM1_0_PATH_MUX_STAGED 0x286E
  635. #define ES325_PCM1_1_PATH_MUX 0x206F
  636. #define ES325_PCM1_1_PATH_MUX_STAGED 0x286F
  637. #define ES325_PCM1_2_PATH_MUX 0x2070
  638. #define ES325_PCM1_2_PATH_MUX_STAGED 0x2870
  639. #define ES325_PCM1_3_PATH_MUX 0x2071
  640. #define ES325_PCM1_3_PATH_MUX_STAGED 0x2871
  641. #define ES325_PCM1_4_PATH_MUX 0x2072
  642. #define ES325_PCM1_4_PATH_MUX_STAGED 0x2872
  643. #define ES325_PCM1_5_PATH_MUX 0x2073
  644. #define ES325_PCM1_5_PATH_MUX_STAGED 0x2873
  645. #define ES325_PCM1_6_PATH_MUX 0x2074
  646. #define ES325_PCM1_6_PATH_MUX_STAGED 0x2874
  647. #define ES325_PCM1_7_PATH_MUX 0x2075
  648. #define ES325_PCM1_7_PATH_MUX_STAGED 0x2875
  649. #define ES325_PCM1_8_PATH_MUX 0x2076
  650. #define ES325_PCM1_8_PATH_MUX_STAGED 0x2876
  651. #define ES325_PCM1_9_PATH_MUX 0x2077
  652. #define ES325_PCM1_9_PATH_MUX_STAGED 0x2877
  653. #define ES325_PCM1_10_PATH_MUX 0x2078
  654. #define ES325_PCM1_10_PATH_MUX_STAGED 0x2878
  655. #define ES325_PCM1_11_PATH_MUX 0x2079
  656. #define ES325_PCM1_11_PATH_MUX_STAGED 0x2879
  657. #define ES325_PCM1_12_PATH_MUX 0x207A
  658. #define ES325_PCM1_12_PATH_MUX_STAGED 0x287A
  659. #define ES325_PCM1_13_PATH_MUX 0x207B
  660. #define ES325_PCM1_13_PATH_MUX_STAGED 0x287B
  661. #define ES325_PCM1_14_PATH_MUX 0x207C
  662. #define ES325_PCM1_14_PATH_MUX_STAGED 0x287C
  663. #define ES325_PCM1_15_PATH_MUX 0x207D
  664. #define ES325_PCM1_15_PATH_MUX_STAGED 0x287D
  665. #define ES325_PCM1_16_PATH_MUX 0x207E
  666. #define ES325_PCM1_16_PATH_MUX_STAGED 0x287E
  667. #define ES325_PCM1_17_PATH_MUX 0x207F
  668. #define ES325_PCM1_17_PATH_MUX_STAGED 0x287F
  669. #define ES325_PCM1_18_PATH_MUX 0x2080
  670. #define ES325_PCM1_18_PATH_MUX_STAGED 0x2880
  671. #define ES325_PCM1_19_PATH_MUX 0x2081
  672. #define ES325_PCM1_19_PATH_MUX_STAGED 0x2881
  673. #define ES325_PCM1_20_PATH_MUX 0x2082
  674. #define ES325_PCM1_20_PATH_MUX_STAGED 0x2882
  675. #define ES325_PCM1_21_PATH_MUX 0x2083
  676. #define ES325_PCM1_21_PATH_MUX_STAGED 0x2883
  677. #define ES325_PCM1_22_PATH_MUX 0x2084
  678. #define ES325_PCM1_22_PATH_MUX_STAGED 0x2884
  679. #define ES325_PCM1_23_PATH_MUX 0x2085
  680. #define ES325_PCM1_23_PATH_MUX_STAGED 0x2885
  681. #define ES325_PCM1_24_PATH_MUX 0x2086
  682. #define ES325_PCM1_24_PATH_MUX_STAGED 0x2886
  683. #define ES325_PCM1_25_PATH_MUX 0x2087
  684. #define ES325_PCM1_25_PATH_MUX_STAGED 0x2887
  685. #define ES325_PCM1_26_PATH_MUX 0x2088
  686. #define ES325_PCM1_26_PATH_MUX_STAGED 0x2888
  687. #define ES325_PCM1_27_PATH_MUX 0x2089
  688. #define ES325_PCM1_27_PATH_MUX_STAGED 0x2889
  689. #define ES325_PCM1_28_PATH_MUX 0x208A
  690. #define ES325_PCM1_28_PATH_MUX_STAGED 0x288A
  691. #define ES325_PCM1_29_PATH_MUX 0x208B
  692. #define ES325_PCM1_29_PATH_MUX_STAGED 0x288B
  693. #define ES325_PCM1_30_PATH_MUX 0x208C
  694. #define ES325_PCM1_30_PATH_MUX_STAGED 0x288C
  695. #define ES325_PCM1_31_PATH_MUX 0x208D
  696. #define ES325_PCM1_31_PATH_MUX_STAGED 0x288D
  697. #define ES325_PCM2_0_PATH_MUX 0x208E
  698. #define ES325_PCM2_0_PATH_MUX_STAGED 0x288E
  699. #define ES325_PCM2_1_PATH_MUX 0x208F
  700. #define ES325_PCM2_1_PATH_MUX_STAGED 0x288F
  701. #define ES325_PCM2_2_PATH_MUX 0x2090
  702. #define ES325_PCM2_2_PATH_MUX_STAGED 0x2890
  703. #define ES325_PCM2_3_PATH_MUX 0x2091
  704. #define ES325_PCM2_3_PATH_MUX_STAGED 0x2891
  705. #define ES325_PCM2_4_PATH_MUX 0x2092
  706. #define ES325_PCM2_4_PATH_MUX_STAGED 0x2892
  707. #define ES325_PCM2_5_PATH_MUX 0x2093
  708. #define ES325_PCM2_5_PATH_MUX_STAGED 0x2893
  709. #define ES325_PCM2_6_PATH_MUX 0x2094
  710. #define ES325_PCM2_6_PATH_MUX_STAGED 0x2894
  711. #define ES325_PCM2_7_PATH_MUX 0x2095
  712. #define ES325_PCM2_7_PATH_MUX_STAGED 0x2895
  713. #define ES325_PCM2_8_PATH_MUX 0x2096
  714. #define ES325_PCM2_8_PATH_MUX_STAGED 0x2896
  715. #define ES325_PCM2_9_PATH_MUX 0x2097
  716. #define ES325_PCM2_9_PATH_MUX_STAGED 0x2897
  717. #define ES325_PCM2_10_PATH_MUX 0x2098
  718. #define ES325_PCM2_10_PATH_MUX_STAGED 0x2898
  719. #define ES325_PCM2_11_PATH_MUX 0x2099
  720. #define ES325_PCM2_11_PATH_MUX_STAGED 0x2899
  721. #define ES325_PCM2_12_PATH_MUX 0x209A
  722. #define ES325_PCM2_12_PATH_MUX_STAGED 0x289A
  723. #define ES325_PCM2_13_PATH_MUX 0x209B
  724. #define ES325_PCM2_13_PATH_MUX_STAGED 0x289B
  725. #define ES325_PCM2_14_PATH_MUX 0x209C
  726. #define ES325_PCM2_14_PATH_MUX_STAGED 0x289C
  727. #define ES325_PCM2_15_PATH_MUX 0x209D
  728. #define ES325_PCM2_15_PATH_MUX_STAGED 0x289D
  729. #define ES325_PCM2_16_PATH_MUX 0x209E
  730. #define ES325_PCM2_16_PATH_MUX_STAGED 0x289E
  731. #define ES325_PCM2_17_PATH_MUX 0x209F
  732. #define ES325_PCM2_17_PATH_MUX_STAGED 0x289F
  733. #define ES325_PCM2_18_PATH_MUX 0x20A0
  734. #define ES325_PCM2_18_PATH_MUX_STAGED 0x28A0
  735. #define ES325_PCM2_19_PATH_MUX 0x20A1
  736. #define ES325_PCM2_19_PATH_MUX_STAGED 0x28A1
  737. #define ES325_PCM2_20_PATH_MUX 0x20A2
  738. #define ES325_PCM2_20_PATH_MUX_STAGED 0x28A2
  739. #define ES325_PCM2_21_PATH_MUX 0x20A3
  740. #define ES325_PCM2_21_PATH_MUX_STAGED 0x28A3
  741. #define ES325_PCM2_22_PATH_MUX 0x20A4
  742. #define ES325_PCM2_22_PATH_MUX_STAGED 0x28A4
  743. #define ES325_PCM2_23_PATH_MUX 0x20A5
  744. #define ES325_PCM2_23_PATH_MUX_STAGED 0x28A5
  745. #define ES325_PCM2_24_PATH_MUX 0x20A6
  746. #define ES325_PCM2_24_PATH_MUX_STAGED 0x28A6
  747. #define ES325_PCM2_25_PATH_MUX 0x20A7
  748. #define ES325_PCM2_25_PATH_MUX_STAGED 0x28A7
  749. #define ES325_PCM2_26_PATH_MUX 0x20A8
  750. #define ES325_PCM2_26_PATH_MUX_STAGED 0x28A8
  751. #define ES325_PCM2_27_PATH_MUX 0x20A9
  752. #define ES325_PCM2_27_PATH_MUX_STAGED 0x28A9
  753. #define ES325_PCM2_28_PATH_MUX 0x20AA
  754. #define ES325_PCM2_28_PATH_MUX_STAGED 0x28AA
  755. #define ES325_PCM2_29_PATH_MUX 0x20AB
  756. #define ES325_PCM2_29_PATH_MUX_STAGED 0x28AB
  757. #define ES325_PCM2_30_PATH_MUX 0x20AC
  758. #define ES325_PCM2_30_PATH_MUX_STAGED 0x28AC
  759. #define ES325_PCM2_31_PATH_MUX 0x20AD
  760. #define ES325_PCM2_31_PATH_MUX_STAGED 0x28AD
  761. #define ES325_PCM3_0_PATH_MUX 0x20AE
  762. #define ES325_PCM3_0_PATH_MUX_STAGED 0x28AE
  763. #define ES325_PCM3_1_PATH_MUX 0x20AF
  764. #define ES325_PCM3_1_PATH_MUX_STAGED 0x28AF
  765. #define ES325_PCM3_2_PATH_MUX 0x20B0
  766. #define ES325_PCM3_2_PATH_MUX_STAGED 0x28B0
  767. #define ES325_PCM3_3_PATH_MUX 0x20B1
  768. #define ES325_PCM3_3_PATH_MUX_STAGED 0x28B1
  769. #define ES325_PCM3_4_PATH_MUX 0x20B2
  770. #define ES325_PCM3_4_PATH_MUX_STAGED 0x28B2
  771. #define ES325_PCM3_5_PATH_MUX 0x20B3
  772. #define ES325_PCM3_5_PATH_MUX_STAGED 0x28B3
  773. #define ES325_PCM3_6_PATH_MUX 0x20B4
  774. #define ES325_PCM3_6_PATH_MUX_STAGED 0x28B4
  775. #define ES325_PCM3_7_PATH_MUX 0x20B5
  776. #define ES325_PCM3_7_PATH_MUX_STAGED 0x28B5
  777. #define ES325_PCM3_8_PATH_MUX 0x20B6
  778. #define ES325_PCM3_8_PATH_MUX_STAGED 0x28B6
  779. #define ES325_PCM3_9_PATH_MUX 0x20B7
  780. #define ES325_PCM3_9_PATH_MUX_STAGED 0x28B7
  781. #define ES325_PCM3_10_PATH_MUX 0x20B8
  782. #define ES325_PCM3_10_PATH_MUX_STAGED 0x28B8
  783. #define ES325_PCM3_11_PATH_MUX 0x20B9
  784. #define ES325_PCM3_11_PATH_MUX_STAGED 0x28B9
  785. #define ES325_PCM3_12_PATH_MUX 0x20BA
  786. #define ES325_PCM3_12_PATH_MUX_STAGED 0x28BA
  787. #define ES325_PCM3_13_PATH_MUX 0x20BB
  788. #define ES325_PCM3_13_PATH_MUX_STAGED 0x28BB
  789. #define ES325_PCM3_14_PATH_MUX 0x20BC
  790. #define ES325_PCM3_14_PATH_MUX_STAGED 0x28BC
  791. #define ES325_PCM3_15_PATH_MUX 0x20BD
  792. #define ES325_PCM3_15_PATH_MUX_STAGED 0x28BD
  793. #define ES325_PCM3_16_PATH_MUX 0x20BE
  794. #define ES325_PCM3_16_PATH_MUX_STAGED 0x28BE
  795. #define ES325_PCM3_17_PATH_MUX 0x20BF
  796. #define ES325_PCM3_17_PATH_MUX_STAGED 0x28BF
  797. #define ES325_PCM3_18_PATH_MUX 0x20C0
  798. #define ES325_PCM3_18_PATH_MUX_STAGED 0x28C0
  799. #define ES325_PCM3_19_PATH_MUX 0x20C1
  800. #define ES325_PCM3_19_PATH_MUX_STAGED 0x28C1
  801. #define ES325_PCM3_20_PATH_MUX 0x20C2
  802. #define ES325_PCM3_20_PATH_MUX_STAGED 0x28C2
  803. #define ES325_PCM3_21_PATH_MUX 0x20C3
  804. #define ES325_PCM3_21_PATH_MUX_STAGED 0x28C3
  805. #define ES325_PCM3_22_PATH_MUX 0x20C4
  806. #define ES325_PCM3_22_PATH_MUX_STAGED 0x28C4
  807. #define ES325_PCM3_23_PATH_MUX 0x20C5
  808. #define ES325_PCM3_23_PATH_MUX_STAGED 0x28C5
  809. #define ES325_PCM3_24_PATH_MUX 0x20C6
  810. #define ES325_PCM3_24_PATH_MUX_STAGED 0x28C6
  811. #define ES325_PCM3_25_PATH_MUX 0x20C7
  812. #define ES325_PCM3_25_PATH_MUX_STAGED 0x28C7
  813. #define ES325_PCM3_26_PATH_MUX 0x20C8
  814. #define ES325_PCM3_26_PATH_MUX_STAGED 0x28C8
  815. #define ES325_PCM3_27_PATH_MUX 0x20C9
  816. #define ES325_PCM3_27_PATH_MUX_STAGED 0x28C9
  817. #define ES325_PCM3_28_PATH_MUX 0x20CA
  818. #define ES325_PCM3_28_PATH_MUX_STAGED 0x28CA
  819. #define ES325_PCM3_29_PATH_MUX 0x20CB
  820. #define ES325_PCM3_29_PATH_MUX_STAGED 0x28CB
  821. #define ES325_PCM3_30_PATH_MUX 0x20CC
  822. #define ES325_PCM3_30_PATH_MUX_STAGED 0x28CC
  823. #define ES325_PCM3_31_PATH_MUX 0x20CD
  824. #define ES325_PCM3_31_PATH_MUX_STAGED 0x28CD
  825. #define ES325_SBUS_TX0_PATH_MUX 0x20CE
  826. #define ES325_SBUS_TX0_PATH_MUX_STAGED 0x28CE
  827. #define ES325_SBUS_TX1_PATH_MUX 0x20CF
  828. #define ES325_SBUS_TX1_PATH_MUX_STAGED 0x28CF
  829. #define ES325_SBUS_TX2_PATH_MUX 0x20D0
  830. #define ES325_SBUS_TX2_PATH_MUX_STAGED 0x28D0
  831. #define ES325_SBUS_TX3_PATH_MUX 0x20D1
  832. #define ES325_SBUS_TX3_PATH_MUX_STAGED 0x28D1
  833. #define ES325_SBUS_TX4_PATH_MUX 0x20D2
  834. #define ES325_SBUS_TX4_PATH_MUX_STAGED 0x28D2
  835. #define ES325_SBUS_TX5_PATH_MUX 0x20D3
  836. #define ES325_SBUS_TX5_PATH_MUX_STAGED 0x28D3
  837. #define ES325_FLUSH 0x20D4
  838. #define ES325_FLUSH_STAGED 0x28D4
  839. #endif /* _ES325_H */