1
2
3
4
5
6
7
8
9 #ifndef _WM2200_H
10 #define _WM2200_H
11
12 #define WM2200_CLK_SYSCLK 1
13
14 #define WM2200_CLKSRC_MCLK1 0
15 #define WM2200_CLKSRC_MCLK2 1
16 #define WM2200_CLKSRC_FLL 4
17 #define WM2200_CLKSRC_BCLK1 8
18
19 #define WM2200_FLL_SRC_MCLK1 0
20 #define WM2200_FLL_SRC_MCLK2 1
21 #define WM2200_FLL_SRC_BCLK 2
22
23
24
25
26 #define WM2200_SOFTWARE_RESET 0x00
27 #define WM2200_DEVICE_REVISION 0x01
28 #define WM2200_TONE_GENERATOR_1 0x0B
29 #define WM2200_CLOCKING_3 0x102
30 #define WM2200_CLOCKING_4 0x103
31 #define WM2200_FLL_CONTROL_1 0x111
32 #define WM2200_FLL_CONTROL_2 0x112
33 #define WM2200_FLL_CONTROL_3 0x113
34 #define WM2200_FLL_CONTROL_4 0x114
35 #define WM2200_FLL_CONTROL_6 0x116
36 #define WM2200_FLL_CONTROL_7 0x117
37 #define WM2200_FLL_EFS_1 0x119
38 #define WM2200_FLL_EFS_2 0x11A
39 #define WM2200_MIC_CHARGE_PUMP_1 0x200
40 #define WM2200_MIC_CHARGE_PUMP_2 0x201
41 #define WM2200_DM_CHARGE_PUMP_1 0x202
42 #define WM2200_MIC_BIAS_CTRL_1 0x20C
43 #define WM2200_MIC_BIAS_CTRL_2 0x20D
44 #define WM2200_EAR_PIECE_CTRL_1 0x20F
45 #define WM2200_EAR_PIECE_CTRL_2 0x210
46 #define WM2200_INPUT_ENABLES 0x301
47 #define WM2200_IN1L_CONTROL 0x302
48 #define WM2200_IN1R_CONTROL 0x303
49 #define WM2200_IN2L_CONTROL 0x304
50 #define WM2200_IN2R_CONTROL 0x305
51 #define WM2200_IN3L_CONTROL 0x306
52 #define WM2200_IN3R_CONTROL 0x307
53 #define WM2200_RXANC_SRC 0x30A
54 #define WM2200_INPUT_VOLUME_RAMP 0x30B
55 #define WM2200_ADC_DIGITAL_VOLUME_1L 0x30C
56 #define WM2200_ADC_DIGITAL_VOLUME_1R 0x30D
57 #define WM2200_ADC_DIGITAL_VOLUME_2L 0x30E
58 #define WM2200_ADC_DIGITAL_VOLUME_2R 0x30F
59 #define WM2200_ADC_DIGITAL_VOLUME_3L 0x310
60 #define WM2200_ADC_DIGITAL_VOLUME_3R 0x311
61 #define WM2200_OUTPUT_ENABLES 0x400
62 #define WM2200_DAC_VOLUME_LIMIT_1L 0x401
63 #define WM2200_DAC_VOLUME_LIMIT_1R 0x402
64 #define WM2200_DAC_VOLUME_LIMIT_2L 0x403
65 #define WM2200_DAC_VOLUME_LIMIT_2R 0x404
66 #define WM2200_DAC_AEC_CONTROL_1 0x409
67 #define WM2200_OUTPUT_VOLUME_RAMP 0x40A
68 #define WM2200_DAC_DIGITAL_VOLUME_1L 0x40B
69 #define WM2200_DAC_DIGITAL_VOLUME_1R 0x40C
70 #define WM2200_DAC_DIGITAL_VOLUME_2L 0x40D
71 #define WM2200_DAC_DIGITAL_VOLUME_2R 0x40E
72 #define WM2200_PDM_1 0x417
73 #define WM2200_PDM_2 0x418
74 #define WM2200_AUDIO_IF_1_1 0x500
75 #define WM2200_AUDIO_IF_1_2 0x501
76 #define WM2200_AUDIO_IF_1_3 0x502
77 #define WM2200_AUDIO_IF_1_4 0x503
78 #define WM2200_AUDIO_IF_1_5 0x504
79 #define WM2200_AUDIO_IF_1_6 0x505
80 #define WM2200_AUDIO_IF_1_7 0x506
81 #define WM2200_AUDIO_IF_1_8 0x507
82 #define WM2200_AUDIO_IF_1_9 0x508
83 #define WM2200_AUDIO_IF_1_10 0x509
84 #define WM2200_AUDIO_IF_1_11 0x50A
85 #define WM2200_AUDIO_IF_1_12 0x50B
86 #define WM2200_AUDIO_IF_1_13 0x50C
87 #define WM2200_AUDIO_IF_1_14 0x50D
88 #define WM2200_AUDIO_IF_1_15 0x50E
89 #define WM2200_AUDIO_IF_1_16 0x50F
90 #define WM2200_AUDIO_IF_1_17 0x510
91 #define WM2200_AUDIO_IF_1_18 0x511
92 #define WM2200_AUDIO_IF_1_19 0x512
93 #define WM2200_AUDIO_IF_1_20 0x513
94 #define WM2200_AUDIO_IF_1_21 0x514
95 #define WM2200_AUDIO_IF_1_22 0x515
96 #define WM2200_OUT1LMIX_INPUT_1_SOURCE 0x600
97 #define WM2200_OUT1LMIX_INPUT_1_VOLUME 0x601
98 #define WM2200_OUT1LMIX_INPUT_2_SOURCE 0x602
99 #define WM2200_OUT1LMIX_INPUT_2_VOLUME 0x603
100 #define WM2200_OUT1LMIX_INPUT_3_SOURCE 0x604
101 #define WM2200_OUT1LMIX_INPUT_3_VOLUME 0x605
102 #define WM2200_OUT1LMIX_INPUT_4_SOURCE 0x606
103 #define WM2200_OUT1LMIX_INPUT_4_VOLUME 0x607
104 #define WM2200_OUT1RMIX_INPUT_1_SOURCE 0x608
105 #define WM2200_OUT1RMIX_INPUT_1_VOLUME 0x609
106 #define WM2200_OUT1RMIX_INPUT_2_SOURCE 0x60A
107 #define WM2200_OUT1RMIX_INPUT_2_VOLUME 0x60B
108 #define WM2200_OUT1RMIX_INPUT_3_SOURCE 0x60C
109 #define WM2200_OUT1RMIX_INPUT_3_VOLUME 0x60D
110 #define WM2200_OUT1RMIX_INPUT_4_SOURCE 0x60E
111 #define WM2200_OUT1RMIX_INPUT_4_VOLUME 0x60F
112 #define WM2200_OUT2LMIX_INPUT_1_SOURCE 0x610
113 #define WM2200_OUT2LMIX_INPUT_1_VOLUME 0x611
114 #define WM2200_OUT2LMIX_INPUT_2_SOURCE 0x612
115 #define WM2200_OUT2LMIX_INPUT_2_VOLUME 0x613
116 #define WM2200_OUT2LMIX_INPUT_3_SOURCE 0x614
117 #define WM2200_OUT2LMIX_INPUT_3_VOLUME 0x615
118 #define WM2200_OUT2LMIX_INPUT_4_SOURCE 0x616
119 #define WM2200_OUT2LMIX_INPUT_4_VOLUME 0x617
120 #define WM2200_OUT2RMIX_INPUT_1_SOURCE 0x618
121 #define WM2200_OUT2RMIX_INPUT_1_VOLUME 0x619
122 #define WM2200_OUT2RMIX_INPUT_2_SOURCE 0x61A
123 #define WM2200_OUT2RMIX_INPUT_2_VOLUME 0x61B
124 #define WM2200_OUT2RMIX_INPUT_3_SOURCE 0x61C
125 #define WM2200_OUT2RMIX_INPUT_3_VOLUME 0x61D
126 #define WM2200_OUT2RMIX_INPUT_4_SOURCE 0x61E
127 #define WM2200_OUT2RMIX_INPUT_4_VOLUME 0x61F
128 #define WM2200_AIF1TX1MIX_INPUT_1_SOURCE 0x620
129 #define WM2200_AIF1TX1MIX_INPUT_1_VOLUME 0x621
130 #define WM2200_AIF1TX1MIX_INPUT_2_SOURCE 0x622
131 #define WM2200_AIF1TX1MIX_INPUT_2_VOLUME 0x623
132 #define WM2200_AIF1TX1MIX_INPUT_3_SOURCE 0x624
133 #define WM2200_AIF1TX1MIX_INPUT_3_VOLUME 0x625
134 #define WM2200_AIF1TX1MIX_INPUT_4_SOURCE 0x626
135 #define WM2200_AIF1TX1MIX_INPUT_4_VOLUME 0x627
136 #define WM2200_AIF1TX2MIX_INPUT_1_SOURCE 0x628
137 #define WM2200_AIF1TX2MIX_INPUT_1_VOLUME 0x629
138 #define WM2200_AIF1TX2MIX_INPUT_2_SOURCE 0x62A
139 #define WM2200_AIF1TX2MIX_INPUT_2_VOLUME 0x62B
140 #define WM2200_AIF1TX2MIX_INPUT_3_SOURCE 0x62C
141 #define WM2200_AIF1TX2MIX_INPUT_3_VOLUME 0x62D
142 #define WM2200_AIF1TX2MIX_INPUT_4_SOURCE 0x62E
143 #define WM2200_AIF1TX2MIX_INPUT_4_VOLUME 0x62F
144 #define WM2200_AIF1TX3MIX_INPUT_1_SOURCE 0x630
145 #define WM2200_AIF1TX3MIX_INPUT_1_VOLUME 0x631
146 #define WM2200_AIF1TX3MIX_INPUT_2_SOURCE 0x632
147 #define WM2200_AIF1TX3MIX_INPUT_2_VOLUME 0x633
148 #define WM2200_AIF1TX3MIX_INPUT_3_SOURCE 0x634
149 #define WM2200_AIF1TX3MIX_INPUT_3_VOLUME 0x635
150 #define WM2200_AIF1TX3MIX_INPUT_4_SOURCE 0x636
151 #define WM2200_AIF1TX3MIX_INPUT_4_VOLUME 0x637
152 #define WM2200_AIF1TX4MIX_INPUT_1_SOURCE 0x638
153 #define WM2200_AIF1TX4MIX_INPUT_1_VOLUME 0x639
154 #define WM2200_AIF1TX4MIX_INPUT_2_SOURCE 0x63A
155 #define WM2200_AIF1TX4MIX_INPUT_2_VOLUME 0x63B
156 #define WM2200_AIF1TX4MIX_INPUT_3_SOURCE 0x63C
157 #define WM2200_AIF1TX4MIX_INPUT_3_VOLUME 0x63D
158 #define WM2200_AIF1TX4MIX_INPUT_4_SOURCE 0x63E
159 #define WM2200_AIF1TX4MIX_INPUT_4_VOLUME 0x63F
160 #define WM2200_AIF1TX5MIX_INPUT_1_SOURCE 0x640
161 #define WM2200_AIF1TX5MIX_INPUT_1_VOLUME 0x641
162 #define WM2200_AIF1TX5MIX_INPUT_2_SOURCE 0x642
163 #define WM2200_AIF1TX5MIX_INPUT_2_VOLUME 0x643
164 #define WM2200_AIF1TX5MIX_INPUT_3_SOURCE 0x644
165 #define WM2200_AIF1TX5MIX_INPUT_3_VOLUME 0x645
166 #define WM2200_AIF1TX5MIX_INPUT_4_SOURCE 0x646
167 #define WM2200_AIF1TX5MIX_INPUT_4_VOLUME 0x647
168 #define WM2200_AIF1TX6MIX_INPUT_1_SOURCE 0x648
169 #define WM2200_AIF1TX6MIX_INPUT_1_VOLUME 0x649
170 #define WM2200_AIF1TX6MIX_INPUT_2_SOURCE 0x64A
171 #define WM2200_AIF1TX6MIX_INPUT_2_VOLUME 0x64B
172 #define WM2200_AIF1TX6MIX_INPUT_3_SOURCE 0x64C
173 #define WM2200_AIF1TX6MIX_INPUT_3_VOLUME 0x64D
174 #define WM2200_AIF1TX6MIX_INPUT_4_SOURCE 0x64E
175 #define WM2200_AIF1TX6MIX_INPUT_4_VOLUME 0x64F
176 #define WM2200_EQLMIX_INPUT_1_SOURCE 0x650
177 #define WM2200_EQLMIX_INPUT_1_VOLUME 0x651
178 #define WM2200_EQLMIX_INPUT_2_SOURCE 0x652
179 #define WM2200_EQLMIX_INPUT_2_VOLUME 0x653
180 #define WM2200_EQLMIX_INPUT_3_SOURCE 0x654
181 #define WM2200_EQLMIX_INPUT_3_VOLUME 0x655
182 #define WM2200_EQLMIX_INPUT_4_SOURCE 0x656
183 #define WM2200_EQLMIX_INPUT_4_VOLUME 0x657
184 #define WM2200_EQRMIX_INPUT_1_SOURCE 0x658
185 #define WM2200_EQRMIX_INPUT_1_VOLUME 0x659
186 #define WM2200_EQRMIX_INPUT_2_SOURCE 0x65A
187 #define WM2200_EQRMIX_INPUT_2_VOLUME 0x65B
188 #define WM2200_EQRMIX_INPUT_3_SOURCE 0x65C
189 #define WM2200_EQRMIX_INPUT_3_VOLUME 0x65D
190 #define WM2200_EQRMIX_INPUT_4_SOURCE 0x65E
191 #define WM2200_EQRMIX_INPUT_4_VOLUME 0x65F
192 #define WM2200_LHPF1MIX_INPUT_1_SOURCE 0x660
193 #define WM2200_LHPF1MIX_INPUT_1_VOLUME 0x661
194 #define WM2200_LHPF1MIX_INPUT_2_SOURCE 0x662
195 #define WM2200_LHPF1MIX_INPUT_2_VOLUME 0x663
196 #define WM2200_LHPF1MIX_INPUT_3_SOURCE 0x664
197 #define WM2200_LHPF1MIX_INPUT_3_VOLUME 0x665
198 #define WM2200_LHPF1MIX_INPUT_4_SOURCE 0x666
199 #define WM2200_LHPF1MIX_INPUT_4_VOLUME 0x667
200 #define WM2200_LHPF2MIX_INPUT_1_SOURCE 0x668
201 #define WM2200_LHPF2MIX_INPUT_1_VOLUME 0x669
202 #define WM2200_LHPF2MIX_INPUT_2_SOURCE 0x66A
203 #define WM2200_LHPF2MIX_INPUT_2_VOLUME 0x66B
204 #define WM2200_LHPF2MIX_INPUT_3_SOURCE 0x66C
205 #define WM2200_LHPF2MIX_INPUT_3_VOLUME 0x66D
206 #define WM2200_LHPF2MIX_INPUT_4_SOURCE 0x66E
207 #define WM2200_LHPF2MIX_INPUT_4_VOLUME 0x66F
208 #define WM2200_DSP1LMIX_INPUT_1_SOURCE 0x670
209 #define WM2200_DSP1LMIX_INPUT_1_VOLUME 0x671
210 #define WM2200_DSP1LMIX_INPUT_2_SOURCE 0x672
211 #define WM2200_DSP1LMIX_INPUT_2_VOLUME 0x673
212 #define WM2200_DSP1LMIX_INPUT_3_SOURCE 0x674
213 #define WM2200_DSP1LMIX_INPUT_3_VOLUME 0x675
214 #define WM2200_DSP1LMIX_INPUT_4_SOURCE 0x676
215 #define WM2200_DSP1LMIX_INPUT_4_VOLUME 0x677
216 #define WM2200_DSP1RMIX_INPUT_1_SOURCE 0x678
217 #define WM2200_DSP1RMIX_INPUT_1_VOLUME 0x679
218 #define WM2200_DSP1RMIX_INPUT_2_SOURCE 0x67A
219 #define WM2200_DSP1RMIX_INPUT_2_VOLUME 0x67B
220 #define WM2200_DSP1RMIX_INPUT_3_SOURCE 0x67C
221 #define WM2200_DSP1RMIX_INPUT_3_VOLUME 0x67D
222 #define WM2200_DSP1RMIX_INPUT_4_SOURCE 0x67E
223 #define WM2200_DSP1RMIX_INPUT_4_VOLUME 0x67F
224 #define WM2200_DSP1AUX1MIX_INPUT_1_SOURCE 0x680
225 #define WM2200_DSP1AUX2MIX_INPUT_1_SOURCE 0x681
226 #define WM2200_DSP1AUX3MIX_INPUT_1_SOURCE 0x682
227 #define WM2200_DSP1AUX4MIX_INPUT_1_SOURCE 0x683
228 #define WM2200_DSP1AUX5MIX_INPUT_1_SOURCE 0x684
229 #define WM2200_DSP1AUX6MIX_INPUT_1_SOURCE 0x685
230 #define WM2200_DSP2LMIX_INPUT_1_SOURCE 0x686
231 #define WM2200_DSP2LMIX_INPUT_1_VOLUME 0x687
232 #define WM2200_DSP2LMIX_INPUT_2_SOURCE 0x688
233 #define WM2200_DSP2LMIX_INPUT_2_VOLUME 0x689
234 #define WM2200_DSP2LMIX_INPUT_3_SOURCE 0x68A
235 #define WM2200_DSP2LMIX_INPUT_3_VOLUME 0x68B
236 #define WM2200_DSP2LMIX_INPUT_4_SOURCE 0x68C
237 #define WM2200_DSP2LMIX_INPUT_4_VOLUME 0x68D
238 #define WM2200_DSP2RMIX_INPUT_1_SOURCE 0x68E
239 #define WM2200_DSP2RMIX_INPUT_1_VOLUME 0x68F
240 #define WM2200_DSP2RMIX_INPUT_2_SOURCE 0x690
241 #define WM2200_DSP2RMIX_INPUT_2_VOLUME 0x691
242 #define WM2200_DSP2RMIX_INPUT_3_SOURCE 0x692
243 #define WM2200_DSP2RMIX_INPUT_3_VOLUME 0x693
244 #define WM2200_DSP2RMIX_INPUT_4_SOURCE 0x694
245 #define WM2200_DSP2RMIX_INPUT_4_VOLUME 0x695
246 #define WM2200_DSP2AUX1MIX_INPUT_1_SOURCE 0x696
247 #define WM2200_DSP2AUX2MIX_INPUT_1_SOURCE 0x697
248 #define WM2200_DSP2AUX3MIX_INPUT_1_SOURCE 0x698
249 #define WM2200_DSP2AUX4MIX_INPUT_1_SOURCE 0x699
250 #define WM2200_DSP2AUX5MIX_INPUT_1_SOURCE 0x69A
251 #define WM2200_DSP2AUX6MIX_INPUT_1_SOURCE 0x69B
252 #define WM2200_GPIO_CTRL_1 0x700
253 #define WM2200_GPIO_CTRL_2 0x701
254 #define WM2200_GPIO_CTRL_3 0x702
255 #define WM2200_GPIO_CTRL_4 0x703
256 #define WM2200_ADPS1_IRQ0 0x707
257 #define WM2200_ADPS1_IRQ1 0x708
258 #define WM2200_MISC_PAD_CTRL_1 0x709
259 #define WM2200_INTERRUPT_STATUS_1 0x800
260 #define WM2200_INTERRUPT_STATUS_1_MASK 0x801
261 #define WM2200_INTERRUPT_STATUS_2 0x802
262 #define WM2200_INTERRUPT_RAW_STATUS_2 0x803
263 #define WM2200_INTERRUPT_STATUS_2_MASK 0x804
264 #define WM2200_INTERRUPT_CONTROL 0x808
265 #define WM2200_EQL_1 0x900
266 #define WM2200_EQL_2 0x901
267 #define WM2200_EQL_3 0x902
268 #define WM2200_EQL_4 0x903
269 #define WM2200_EQL_5 0x904
270 #define WM2200_EQL_6 0x905
271 #define WM2200_EQL_7 0x906
272 #define WM2200_EQL_8 0x907
273 #define WM2200_EQL_9 0x908
274 #define WM2200_EQL_10 0x909
275 #define WM2200_EQL_11 0x90A
276 #define WM2200_EQL_12 0x90B
277 #define WM2200_EQL_13 0x90C
278 #define WM2200_EQL_14 0x90D
279 #define WM2200_EQL_15 0x90E
280 #define WM2200_EQL_16 0x90F
281 #define WM2200_EQL_17 0x910
282 #define WM2200_EQL_18 0x911
283 #define WM2200_EQL_19 0x912
284 #define WM2200_EQL_20 0x913
285 #define WM2200_EQR_1 0x916
286 #define WM2200_EQR_2 0x917
287 #define WM2200_EQR_3 0x918
288 #define WM2200_EQR_4 0x919
289 #define WM2200_EQR_5 0x91A
290 #define WM2200_EQR_6 0x91B
291 #define WM2200_EQR_7 0x91C
292 #define WM2200_EQR_8 0x91D
293 #define WM2200_EQR_9 0x91E
294 #define WM2200_EQR_10 0x91F
295 #define WM2200_EQR_11 0x920
296 #define WM2200_EQR_12 0x921
297 #define WM2200_EQR_13 0x922
298 #define WM2200_EQR_14 0x923
299 #define WM2200_EQR_15 0x924
300 #define WM2200_EQR_16 0x925
301 #define WM2200_EQR_17 0x926
302 #define WM2200_EQR_18 0x927
303 #define WM2200_EQR_19 0x928
304 #define WM2200_EQR_20 0x929
305 #define WM2200_HPLPF1_1 0x93E
306 #define WM2200_HPLPF1_2 0x93F
307 #define WM2200_HPLPF2_1 0x942
308 #define WM2200_HPLPF2_2 0x943
309 #define WM2200_DSP1_CONTROL_1 0xA00
310 #define WM2200_DSP1_CONTROL_2 0xA02
311 #define WM2200_DSP1_CONTROL_3 0xA03
312 #define WM2200_DSP1_CONTROL_4 0xA04
313 #define WM2200_DSP1_CONTROL_5 0xA06
314 #define WM2200_DSP1_CONTROL_6 0xA07
315 #define WM2200_DSP1_CONTROL_7 0xA08
316 #define WM2200_DSP1_CONTROL_8 0xA09
317 #define WM2200_DSP1_CONTROL_9 0xA0A
318 #define WM2200_DSP1_CONTROL_10 0xA0B
319 #define WM2200_DSP1_CONTROL_11 0xA0C
320 #define WM2200_DSP1_CONTROL_12 0xA0D
321 #define WM2200_DSP1_CONTROL_13 0xA0F
322 #define WM2200_DSP1_CONTROL_14 0xA10
323 #define WM2200_DSP1_CONTROL_15 0xA11
324 #define WM2200_DSP1_CONTROL_16 0xA12
325 #define WM2200_DSP1_CONTROL_17 0xA13
326 #define WM2200_DSP1_CONTROL_18 0xA14
327 #define WM2200_DSP1_CONTROL_19 0xA16
328 #define WM2200_DSP1_CONTROL_20 0xA17
329 #define WM2200_DSP1_CONTROL_21 0xA18
330 #define WM2200_DSP1_CONTROL_22 0xA1A
331 #define WM2200_DSP1_CONTROL_23 0xA1B
332 #define WM2200_DSP1_CONTROL_24 0xA1C
333 #define WM2200_DSP1_CONTROL_25 0xA1E
334 #define WM2200_DSP1_CONTROL_26 0xA20
335 #define WM2200_DSP1_CONTROL_27 0xA21
336 #define WM2200_DSP1_CONTROL_28 0xA22
337 #define WM2200_DSP1_CONTROL_29 0xA23
338 #define WM2200_DSP1_CONTROL_30 0xA24
339 #define WM2200_DSP1_CONTROL_31 0xA26
340 #define WM2200_DSP2_CONTROL_1 0xB00
341 #define WM2200_DSP2_CONTROL_2 0xB02
342 #define WM2200_DSP2_CONTROL_3 0xB03
343 #define WM2200_DSP2_CONTROL_4 0xB04
344 #define WM2200_DSP2_CONTROL_5 0xB06
345 #define WM2200_DSP2_CONTROL_6 0xB07
346 #define WM2200_DSP2_CONTROL_7 0xB08
347 #define WM2200_DSP2_CONTROL_8 0xB09
348 #define WM2200_DSP2_CONTROL_9 0xB0A
349 #define WM2200_DSP2_CONTROL_10 0xB0B
350 #define WM2200_DSP2_CONTROL_11 0xB0C
351 #define WM2200_DSP2_CONTROL_12 0xB0D
352 #define WM2200_DSP2_CONTROL_13 0xB0F
353 #define WM2200_DSP2_CONTROL_14 0xB10
354 #define WM2200_DSP2_CONTROL_15 0xB11
355 #define WM2200_DSP2_CONTROL_16 0xB12
356 #define WM2200_DSP2_CONTROL_17 0xB13
357 #define WM2200_DSP2_CONTROL_18 0xB14
358 #define WM2200_DSP2_CONTROL_19 0xB16
359 #define WM2200_DSP2_CONTROL_20 0xB17
360 #define WM2200_DSP2_CONTROL_21 0xB18
361 #define WM2200_DSP2_CONTROL_22 0xB1A
362 #define WM2200_DSP2_CONTROL_23 0xB1B
363 #define WM2200_DSP2_CONTROL_24 0xB1C
364 #define WM2200_DSP2_CONTROL_25 0xB1E
365 #define WM2200_DSP2_CONTROL_26 0xB20
366 #define WM2200_DSP2_CONTROL_27 0xB21
367 #define WM2200_DSP2_CONTROL_28 0xB22
368 #define WM2200_DSP2_CONTROL_29 0xB23
369 #define WM2200_DSP2_CONTROL_30 0xB24
370 #define WM2200_DSP2_CONTROL_31 0xB26
371 #define WM2200_ANC_CTRL1 0xD00
372 #define WM2200_ANC_CTRL2 0xD01
373 #define WM2200_ANC_CTRL3 0xD02
374 #define WM2200_ANC_CTRL7 0xD08
375 #define WM2200_ANC_CTRL8 0xD09
376 #define WM2200_ANC_CTRL9 0xD0A
377 #define WM2200_ANC_CTRL10 0xD0B
378 #define WM2200_ANC_CTRL11 0xD0C
379 #define WM2200_ANC_CTRL12 0xD0D
380 #define WM2200_ANC_CTRL13 0xD0E
381 #define WM2200_ANC_CTRL14 0xD0F
382 #define WM2200_ANC_CTRL15 0xD10
383 #define WM2200_ANC_CTRL16 0xD11
384 #define WM2200_ANC_CTRL17 0xD12
385 #define WM2200_ANC_CTRL18 0xD15
386 #define WM2200_ANC_CTRL19 0xD16
387 #define WM2200_ANC_CTRL20 0xD17
388 #define WM2200_ANC_CTRL21 0xD18
389 #define WM2200_ANC_CTRL22 0xD19
390 #define WM2200_ANC_CTRL23 0xD1A
391 #define WM2200_ANC_CTRL24 0xD1B
392 #define WM2200_ANC_CTRL25 0xD1C
393 #define WM2200_ANC_CTRL26 0xD1D
394 #define WM2200_ANC_CTRL27 0xD1E
395 #define WM2200_ANC_CTRL28 0xD1F
396 #define WM2200_ANC_CTRL29 0xD20
397 #define WM2200_ANC_CTRL30 0xD21
398 #define WM2200_ANC_CTRL31 0xD23
399 #define WM2200_ANC_CTRL32 0xD24
400 #define WM2200_ANC_CTRL33 0xD25
401 #define WM2200_ANC_CTRL34 0xD27
402 #define WM2200_ANC_CTRL35 0xD28
403 #define WM2200_ANC_CTRL36 0xD29
404 #define WM2200_ANC_CTRL37 0xD2A
405 #define WM2200_ANC_CTRL38 0xD2B
406 #define WM2200_ANC_CTRL39 0xD2C
407 #define WM2200_ANC_CTRL40 0xD2D
408 #define WM2200_ANC_CTRL41 0xD2E
409 #define WM2200_ANC_CTRL42 0xD2F
410 #define WM2200_ANC_CTRL43 0xD30
411 #define WM2200_ANC_CTRL44 0xD31
412 #define WM2200_ANC_CTRL45 0xD32
413 #define WM2200_ANC_CTRL46 0xD33
414 #define WM2200_ANC_CTRL47 0xD34
415 #define WM2200_ANC_CTRL48 0xD35
416 #define WM2200_ANC_CTRL49 0xD36
417 #define WM2200_ANC_CTRL50 0xD37
418 #define WM2200_ANC_CTRL51 0xD38
419 #define WM2200_ANC_CTRL52 0xD39
420 #define WM2200_ANC_CTRL53 0xD3A
421 #define WM2200_ANC_CTRL54 0xD3B
422 #define WM2200_ANC_CTRL55 0xD3C
423 #define WM2200_ANC_CTRL56 0xD3D
424 #define WM2200_ANC_CTRL57 0xD3E
425 #define WM2200_ANC_CTRL58 0xD3F
426 #define WM2200_ANC_CTRL59 0xD40
427 #define WM2200_ANC_CTRL60 0xD41
428 #define WM2200_ANC_CTRL61 0xD42
429 #define WM2200_ANC_CTRL62 0xD43
430 #define WM2200_ANC_CTRL63 0xD44
431 #define WM2200_ANC_CTRL64 0xD45
432 #define WM2200_ANC_CTRL65 0xD46
433 #define WM2200_ANC_CTRL66 0xD47
434 #define WM2200_ANC_CTRL67 0xD48
435 #define WM2200_ANC_CTRL68 0xD49
436 #define WM2200_ANC_CTRL69 0xD4A
437 #define WM2200_ANC_CTRL70 0xD4B
438 #define WM2200_ANC_CTRL71 0xD4C
439 #define WM2200_ANC_CTRL72 0xD4D
440 #define WM2200_ANC_CTRL73 0xD4E
441 #define WM2200_ANC_CTRL74 0xD4F
442 #define WM2200_ANC_CTRL75 0xD50
443 #define WM2200_ANC_CTRL76 0xD51
444 #define WM2200_ANC_CTRL77 0xD52
445 #define WM2200_ANC_CTRL78 0xD53
446 #define WM2200_ANC_CTRL79 0xD54
447 #define WM2200_ANC_CTRL80 0xD55
448 #define WM2200_ANC_CTRL81 0xD56
449 #define WM2200_ANC_CTRL82 0xD57
450 #define WM2200_ANC_CTRL83 0xD58
451 #define WM2200_ANC_CTRL84 0xD5B
452 #define WM2200_ANC_CTRL85 0xD5C
453 #define WM2200_ANC_CTRL86 0xD5F
454 #define WM2200_ANC_CTRL87 0xD60
455 #define WM2200_ANC_CTRL88 0xD61
456 #define WM2200_ANC_CTRL89 0xD62
457 #define WM2200_ANC_CTRL90 0xD63
458 #define WM2200_ANC_CTRL91 0xD64
459 #define WM2200_ANC_CTRL92 0xD65
460 #define WM2200_ANC_CTRL93 0xD66
461 #define WM2200_ANC_CTRL94 0xD67
462 #define WM2200_ANC_CTRL95 0xD68
463 #define WM2200_ANC_CTRL96 0xD69
464 #define WM2200_DSP1_DM_0 0x3000
465 #define WM2200_DSP1_DM_1 0x3001
466 #define WM2200_DSP1_DM_2 0x3002
467 #define WM2200_DSP1_DM_3 0x3003
468 #define WM2200_DSP1_DM_2044 0x37FC
469 #define WM2200_DSP1_DM_2045 0x37FD
470 #define WM2200_DSP1_DM_2046 0x37FE
471 #define WM2200_DSP1_DM_2047 0x37FF
472 #define WM2200_DSP1_PM_0 0x3800
473 #define WM2200_DSP1_PM_1 0x3801
474 #define WM2200_DSP1_PM_2 0x3802
475 #define WM2200_DSP1_PM_3 0x3803
476 #define WM2200_DSP1_PM_4 0x3804
477 #define WM2200_DSP1_PM_5 0x3805
478 #define WM2200_DSP1_PM_762 0x3AFA
479 #define WM2200_DSP1_PM_763 0x3AFB
480 #define WM2200_DSP1_PM_764 0x3AFC
481 #define WM2200_DSP1_PM_765 0x3AFD
482 #define WM2200_DSP1_PM_766 0x3AFE
483 #define WM2200_DSP1_PM_767 0x3AFF
484 #define WM2200_DSP1_ZM_0 0x3C00
485 #define WM2200_DSP1_ZM_1 0x3C01
486 #define WM2200_DSP1_ZM_2 0x3C02
487 #define WM2200_DSP1_ZM_3 0x3C03
488 #define WM2200_DSP1_ZM_1020 0x3FFC
489 #define WM2200_DSP1_ZM_1021 0x3FFD
490 #define WM2200_DSP1_ZM_1022 0x3FFE
491 #define WM2200_DSP1_ZM_1023 0x3FFF
492 #define WM2200_DSP2_DM_0 0x4000
493 #define WM2200_DSP2_DM_1 0x4001
494 #define WM2200_DSP2_DM_2 0x4002
495 #define WM2200_DSP2_DM_3 0x4003
496 #define WM2200_DSP2_DM_2044 0x47FC
497 #define WM2200_DSP2_DM_2045 0x47FD
498 #define WM2200_DSP2_DM_2046 0x47FE
499 #define WM2200_DSP2_DM_2047 0x47FF
500 #define WM2200_DSP2_PM_0 0x4800
501 #define WM2200_DSP2_PM_1 0x4801
502 #define WM2200_DSP2_PM_2 0x4802
503 #define WM2200_DSP2_PM_3 0x4803
504 #define WM2200_DSP2_PM_4 0x4804
505 #define WM2200_DSP2_PM_5 0x4805
506 #define WM2200_DSP2_PM_762 0x4AFA
507 #define WM2200_DSP2_PM_763 0x4AFB
508 #define WM2200_DSP2_PM_764 0x4AFC
509 #define WM2200_DSP2_PM_765 0x4AFD
510 #define WM2200_DSP2_PM_766 0x4AFE
511 #define WM2200_DSP2_PM_767 0x4AFF
512 #define WM2200_DSP2_ZM_0 0x4C00
513 #define WM2200_DSP2_ZM_1 0x4C01
514 #define WM2200_DSP2_ZM_2 0x4C02
515 #define WM2200_DSP2_ZM_3 0x4C03
516 #define WM2200_DSP2_ZM_1020 0x4FFC
517 #define WM2200_DSP2_ZM_1021 0x4FFD
518 #define WM2200_DSP2_ZM_1022 0x4FFE
519 #define WM2200_DSP2_ZM_1023 0x4FFF
520
521 #define WM2200_REGISTER_COUNT 494
522 #define WM2200_MAX_REGISTER 0x4FFF
523
524
525
526
527
528
529
530
531 #define WM2200_SW_RESET_CHIP_ID1_MASK 0xFFFF
532 #define WM2200_SW_RESET_CHIP_ID1_SHIFT 0
533 #define WM2200_SW_RESET_CHIP_ID1_WIDTH 16
534
535
536
537
538 #define WM2200_DEVICE_REVISION_MASK 0x000F
539 #define WM2200_DEVICE_REVISION_SHIFT 0
540 #define WM2200_DEVICE_REVISION_WIDTH 4
541
542
543
544
545 #define WM2200_TONE_ENA 0x0001
546 #define WM2200_TONE_ENA_MASK 0x0001
547 #define WM2200_TONE_ENA_SHIFT 0
548 #define WM2200_TONE_ENA_WIDTH 1
549
550
551
552
553 #define WM2200_SYSCLK_FREQ_MASK 0x0700
554 #define WM2200_SYSCLK_FREQ_SHIFT 8
555 #define WM2200_SYSCLK_FREQ_WIDTH 3
556 #define WM2200_SYSCLK_ENA 0x0040
557 #define WM2200_SYSCLK_ENA_MASK 0x0040
558 #define WM2200_SYSCLK_ENA_SHIFT 6
559 #define WM2200_SYSCLK_ENA_WIDTH 1
560 #define WM2200_SYSCLK_SRC_MASK 0x000F
561 #define WM2200_SYSCLK_SRC_SHIFT 0
562 #define WM2200_SYSCLK_SRC_WIDTH 4
563
564
565
566
567 #define WM2200_SAMPLE_RATE_1_MASK 0x001F
568 #define WM2200_SAMPLE_RATE_1_SHIFT 0
569 #define WM2200_SAMPLE_RATE_1_WIDTH 5
570
571
572
573
574 #define WM2200_FLL_ENA 0x0001
575 #define WM2200_FLL_ENA_MASK 0x0001
576 #define WM2200_FLL_ENA_SHIFT 0
577 #define WM2200_FLL_ENA_WIDTH 1
578
579
580
581
582 #define WM2200_FLL_OUTDIV_MASK 0x3F00
583 #define WM2200_FLL_OUTDIV_SHIFT 8
584 #define WM2200_FLL_OUTDIV_WIDTH 6
585 #define WM2200_FLL_FRATIO_MASK 0x0007
586 #define WM2200_FLL_FRATIO_SHIFT 0
587 #define WM2200_FLL_FRATIO_WIDTH 3
588
589
590
591
592 #define WM2200_FLL_FRACN_ENA 0x0001
593 #define WM2200_FLL_FRACN_ENA_MASK 0x0001
594 #define WM2200_FLL_FRACN_ENA_SHIFT 0
595 #define WM2200_FLL_FRACN_ENA_WIDTH 1
596
597
598
599
600 #define WM2200_FLL_THETA_MASK 0xFFFF
601 #define WM2200_FLL_THETA_SHIFT 0
602 #define WM2200_FLL_THETA_WIDTH 16
603
604
605
606
607 #define WM2200_FLL_N_MASK 0x03FF
608 #define WM2200_FLL_N_SHIFT 0
609 #define WM2200_FLL_N_WIDTH 10
610
611
612
613
614 #define WM2200_FLL_CLK_REF_DIV_MASK 0x0030
615 #define WM2200_FLL_CLK_REF_DIV_SHIFT 4
616 #define WM2200_FLL_CLK_REF_DIV_WIDTH 2
617 #define WM2200_FLL_CLK_REF_SRC_MASK 0x0003
618 #define WM2200_FLL_CLK_REF_SRC_SHIFT 0
619 #define WM2200_FLL_CLK_REF_SRC_WIDTH 2
620
621
622
623
624 #define WM2200_FLL_LAMBDA_MASK 0xFFFF
625 #define WM2200_FLL_LAMBDA_SHIFT 0
626 #define WM2200_FLL_LAMBDA_WIDTH 16
627
628
629
630
631 #define WM2200_FLL_EFS_ENA 0x0001
632 #define WM2200_FLL_EFS_ENA_MASK 0x0001
633 #define WM2200_FLL_EFS_ENA_SHIFT 0
634 #define WM2200_FLL_EFS_ENA_WIDTH 1
635
636
637
638
639 #define WM2200_CPMIC_BYPASS_MODE 0x0020
640 #define WM2200_CPMIC_BYPASS_MODE_MASK 0x0020
641 #define WM2200_CPMIC_BYPASS_MODE_SHIFT 5
642 #define WM2200_CPMIC_BYPASS_MODE_WIDTH 1
643 #define WM2200_CPMIC_ENA 0x0001
644 #define WM2200_CPMIC_ENA_MASK 0x0001
645 #define WM2200_CPMIC_ENA_SHIFT 0
646 #define WM2200_CPMIC_ENA_WIDTH 1
647
648
649
650
651 #define WM2200_CPMIC_LDO_VSEL_OVERRIDE_MASK 0xF800
652 #define WM2200_CPMIC_LDO_VSEL_OVERRIDE_SHIFT 11
653 #define WM2200_CPMIC_LDO_VSEL_OVERRIDE_WIDTH 5
654
655
656
657
658 #define WM2200_CPDM_ENA 0x0001
659 #define WM2200_CPDM_ENA_MASK 0x0001
660 #define WM2200_CPDM_ENA_SHIFT 0
661 #define WM2200_CPDM_ENA_WIDTH 1
662
663
664
665
666 #define WM2200_MICB1_DISCH 0x0040
667 #define WM2200_MICB1_DISCH_MASK 0x0040
668 #define WM2200_MICB1_DISCH_SHIFT 6
669 #define WM2200_MICB1_DISCH_WIDTH 1
670 #define WM2200_MICB1_RATE 0x0020
671 #define WM2200_MICB1_RATE_MASK 0x0020
672 #define WM2200_MICB1_RATE_SHIFT 5
673 #define WM2200_MICB1_RATE_WIDTH 1
674 #define WM2200_MICB1_LVL_MASK 0x001C
675 #define WM2200_MICB1_LVL_SHIFT 2
676 #define WM2200_MICB1_LVL_WIDTH 3
677 #define WM2200_MICB1_MODE 0x0002
678 #define WM2200_MICB1_MODE_MASK 0x0002
679 #define WM2200_MICB1_MODE_SHIFT 1
680 #define WM2200_MICB1_MODE_WIDTH 1
681 #define WM2200_MICB1_ENA 0x0001
682 #define WM2200_MICB1_ENA_MASK 0x0001
683 #define WM2200_MICB1_ENA_SHIFT 0
684 #define WM2200_MICB1_ENA_WIDTH 1
685
686
687
688
689 #define WM2200_MICB2_DISCH 0x0040
690 #define WM2200_MICB2_DISCH_MASK 0x0040
691 #define WM2200_MICB2_DISCH_SHIFT 6
692 #define WM2200_MICB2_DISCH_WIDTH 1
693 #define WM2200_MICB2_RATE 0x0020
694 #define WM2200_MICB2_RATE_MASK 0x0020
695 #define WM2200_MICB2_RATE_SHIFT 5
696 #define WM2200_MICB2_RATE_WIDTH 1
697 #define WM2200_MICB2_LVL_MASK 0x001C
698 #define WM2200_MICB2_LVL_SHIFT 2
699 #define WM2200_MICB2_LVL_WIDTH 3
700 #define WM2200_MICB2_MODE 0x0002
701 #define WM2200_MICB2_MODE_MASK 0x0002
702 #define WM2200_MICB2_MODE_SHIFT 1
703 #define WM2200_MICB2_MODE_WIDTH 1
704 #define WM2200_MICB2_ENA 0x0001
705 #define WM2200_MICB2_ENA_MASK 0x0001
706 #define WM2200_MICB2_ENA_SHIFT 0
707 #define WM2200_MICB2_ENA_WIDTH 1
708
709
710
711
712 #define WM2200_EPD_LP_ENA 0x4000
713 #define WM2200_EPD_LP_ENA_MASK 0x4000
714 #define WM2200_EPD_LP_ENA_SHIFT 14
715 #define WM2200_EPD_LP_ENA_WIDTH 1
716 #define WM2200_EPD_OUTP_LP_ENA 0x2000
717 #define WM2200_EPD_OUTP_LP_ENA_MASK 0x2000
718 #define WM2200_EPD_OUTP_LP_ENA_SHIFT 13
719 #define WM2200_EPD_OUTP_LP_ENA_WIDTH 1
720 #define WM2200_EPD_RMV_SHRT_LP 0x1000
721 #define WM2200_EPD_RMV_SHRT_LP_MASK 0x1000
722 #define WM2200_EPD_RMV_SHRT_LP_SHIFT 12
723 #define WM2200_EPD_RMV_SHRT_LP_WIDTH 1
724 #define WM2200_EPD_LN_ENA 0x0800
725 #define WM2200_EPD_LN_ENA_MASK 0x0800
726 #define WM2200_EPD_LN_ENA_SHIFT 11
727 #define WM2200_EPD_LN_ENA_WIDTH 1
728 #define WM2200_EPD_OUTP_LN_ENA 0x0400
729 #define WM2200_EPD_OUTP_LN_ENA_MASK 0x0400
730 #define WM2200_EPD_OUTP_LN_ENA_SHIFT 10
731 #define WM2200_EPD_OUTP_LN_ENA_WIDTH 1
732 #define WM2200_EPD_RMV_SHRT_LN 0x0200
733 #define WM2200_EPD_RMV_SHRT_LN_MASK 0x0200
734 #define WM2200_EPD_RMV_SHRT_LN_SHIFT 9
735 #define WM2200_EPD_RMV_SHRT_LN_WIDTH 1
736
737
738
739
740 #define WM2200_EPD_RP_ENA 0x4000
741 #define WM2200_EPD_RP_ENA_MASK 0x4000
742 #define WM2200_EPD_RP_ENA_SHIFT 14
743 #define WM2200_EPD_RP_ENA_WIDTH 1
744 #define WM2200_EPD_OUTP_RP_ENA 0x2000
745 #define WM2200_EPD_OUTP_RP_ENA_MASK 0x2000
746 #define WM2200_EPD_OUTP_RP_ENA_SHIFT 13
747 #define WM2200_EPD_OUTP_RP_ENA_WIDTH 1
748 #define WM2200_EPD_RMV_SHRT_RP 0x1000
749 #define WM2200_EPD_RMV_SHRT_RP_MASK 0x1000
750 #define WM2200_EPD_RMV_SHRT_RP_SHIFT 12
751 #define WM2200_EPD_RMV_SHRT_RP_WIDTH 1
752 #define WM2200_EPD_RN_ENA 0x0800
753 #define WM2200_EPD_RN_ENA_MASK 0x0800
754 #define WM2200_EPD_RN_ENA_SHIFT 11
755 #define WM2200_EPD_RN_ENA_WIDTH 1
756 #define WM2200_EPD_OUTP_RN_ENA 0x0400
757 #define WM2200_EPD_OUTP_RN_ENA_MASK 0x0400
758 #define WM2200_EPD_OUTP_RN_ENA_SHIFT 10
759 #define WM2200_EPD_OUTP_RN_ENA_WIDTH 1
760 #define WM2200_EPD_RMV_SHRT_RN 0x0200
761 #define WM2200_EPD_RMV_SHRT_RN_MASK 0x0200
762 #define WM2200_EPD_RMV_SHRT_RN_SHIFT 9
763 #define WM2200_EPD_RMV_SHRT_RN_WIDTH 1
764
765
766
767
768 #define WM2200_IN3L_ENA 0x0020
769 #define WM2200_IN3L_ENA_MASK 0x0020
770 #define WM2200_IN3L_ENA_SHIFT 5
771 #define WM2200_IN3L_ENA_WIDTH 1
772 #define WM2200_IN3R_ENA 0x0010
773 #define WM2200_IN3R_ENA_MASK 0x0010
774 #define WM2200_IN3R_ENA_SHIFT 4
775 #define WM2200_IN3R_ENA_WIDTH 1
776 #define WM2200_IN2L_ENA 0x0008
777 #define WM2200_IN2L_ENA_MASK 0x0008
778 #define WM2200_IN2L_ENA_SHIFT 3
779 #define WM2200_IN2L_ENA_WIDTH 1
780 #define WM2200_IN2R_ENA 0x0004
781 #define WM2200_IN2R_ENA_MASK 0x0004
782 #define WM2200_IN2R_ENA_SHIFT 2
783 #define WM2200_IN2R_ENA_WIDTH 1
784 #define WM2200_IN1L_ENA 0x0002
785 #define WM2200_IN1L_ENA_MASK 0x0002
786 #define WM2200_IN1L_ENA_SHIFT 1
787 #define WM2200_IN1L_ENA_WIDTH 1
788 #define WM2200_IN1R_ENA 0x0001
789 #define WM2200_IN1R_ENA_MASK 0x0001
790 #define WM2200_IN1R_ENA_SHIFT 0
791 #define WM2200_IN1R_ENA_WIDTH 1
792
793
794
795
796 #define WM2200_IN1_OSR 0x2000
797 #define WM2200_IN1_OSR_MASK 0x2000
798 #define WM2200_IN1_OSR_SHIFT 13
799 #define WM2200_IN1_OSR_WIDTH 1
800 #define WM2200_IN1_DMIC_SUP_MASK 0x1800
801 #define WM2200_IN1_DMIC_SUP_SHIFT 11
802 #define WM2200_IN1_DMIC_SUP_WIDTH 2
803 #define WM2200_IN1_MODE_MASK 0x0600
804 #define WM2200_IN1_MODE_SHIFT 9
805 #define WM2200_IN1_MODE_WIDTH 2
806 #define WM2200_IN1L_PGA_VOL_MASK 0x00FE
807 #define WM2200_IN1L_PGA_VOL_SHIFT 1
808 #define WM2200_IN1L_PGA_VOL_WIDTH 7
809
810
811
812
813 #define WM2200_IN1R_PGA_VOL_MASK 0x00FE
814 #define WM2200_IN1R_PGA_VOL_SHIFT 1
815 #define WM2200_IN1R_PGA_VOL_WIDTH 7
816
817
818
819
820 #define WM2200_IN2_OSR 0x2000
821 #define WM2200_IN2_OSR_MASK 0x2000
822 #define WM2200_IN2_OSR_SHIFT 13
823 #define WM2200_IN2_OSR_WIDTH 1
824 #define WM2200_IN2_DMIC_SUP_MASK 0x1800
825 #define WM2200_IN2_DMIC_SUP_SHIFT 11
826 #define WM2200_IN2_DMIC_SUP_WIDTH 2
827 #define WM2200_IN2_MODE_MASK 0x0600
828 #define WM2200_IN2_MODE_SHIFT 9
829 #define WM2200_IN2_MODE_WIDTH 2
830 #define WM2200_IN2L_PGA_VOL_MASK 0x00FE
831 #define WM2200_IN2L_PGA_VOL_SHIFT 1
832 #define WM2200_IN2L_PGA_VOL_WIDTH 7
833
834
835
836
837 #define WM2200_IN2R_PGA_VOL_MASK 0x00FE
838 #define WM2200_IN2R_PGA_VOL_SHIFT 1
839 #define WM2200_IN2R_PGA_VOL_WIDTH 7
840
841
842
843
844 #define WM2200_IN3_OSR 0x2000
845 #define WM2200_IN3_OSR_MASK 0x2000
846 #define WM2200_IN3_OSR_SHIFT 13
847 #define WM2200_IN3_OSR_WIDTH 1
848 #define WM2200_IN3_DMIC_SUP_MASK 0x1800
849 #define WM2200_IN3_DMIC_SUP_SHIFT 11
850 #define WM2200_IN3_DMIC_SUP_WIDTH 2
851 #define WM2200_IN3_MODE_MASK 0x0600
852 #define WM2200_IN3_MODE_SHIFT 9
853 #define WM2200_IN3_MODE_WIDTH 2
854 #define WM2200_IN3L_PGA_VOL_MASK 0x00FE
855 #define WM2200_IN3L_PGA_VOL_SHIFT 1
856 #define WM2200_IN3L_PGA_VOL_WIDTH 7
857
858
859
860
861 #define WM2200_IN3R_PGA_VOL_MASK 0x00FE
862 #define WM2200_IN3R_PGA_VOL_SHIFT 1
863 #define WM2200_IN3R_PGA_VOL_WIDTH 7
864
865
866
867
868 #define WM2200_IN_RXANC_SEL_MASK 0x0007
869 #define WM2200_IN_RXANC_SEL_SHIFT 0
870 #define WM2200_IN_RXANC_SEL_WIDTH 3
871
872
873
874
875 #define WM2200_IN_VD_RAMP_MASK 0x0070
876 #define WM2200_IN_VD_RAMP_SHIFT 4
877 #define WM2200_IN_VD_RAMP_WIDTH 3
878 #define WM2200_IN_VI_RAMP_MASK 0x0007
879 #define WM2200_IN_VI_RAMP_SHIFT 0
880 #define WM2200_IN_VI_RAMP_WIDTH 3
881
882
883
884
885 #define WM2200_IN_VU 0x0200
886 #define WM2200_IN_VU_MASK 0x0200
887 #define WM2200_IN_VU_SHIFT 9
888 #define WM2200_IN_VU_WIDTH 1
889 #define WM2200_IN1L_MUTE 0x0100
890 #define WM2200_IN1L_MUTE_MASK 0x0100
891 #define WM2200_IN1L_MUTE_SHIFT 8
892 #define WM2200_IN1L_MUTE_WIDTH 1
893 #define WM2200_IN1L_DIG_VOL_MASK 0x00FF
894 #define WM2200_IN1L_DIG_VOL_SHIFT 0
895 #define WM2200_IN1L_DIG_VOL_WIDTH 8
896
897
898
899
900 #define WM2200_IN_VU 0x0200
901 #define WM2200_IN_VU_MASK 0x0200
902 #define WM2200_IN_VU_SHIFT 9
903 #define WM2200_IN_VU_WIDTH 1
904 #define WM2200_IN1R_MUTE 0x0100
905 #define WM2200_IN1R_MUTE_MASK 0x0100
906 #define WM2200_IN1R_MUTE_SHIFT 8
907 #define WM2200_IN1R_MUTE_WIDTH 1
908 #define WM2200_IN1R_DIG_VOL_MASK 0x00FF
909 #define WM2200_IN1R_DIG_VOL_SHIFT 0
910 #define WM2200_IN1R_DIG_VOL_WIDTH 8
911
912
913
914
915 #define WM2200_IN_VU 0x0200
916 #define WM2200_IN_VU_MASK 0x0200
917 #define WM2200_IN_VU_SHIFT 9
918 #define WM2200_IN_VU_WIDTH 1
919 #define WM2200_IN2L_MUTE 0x0100
920 #define WM2200_IN2L_MUTE_MASK 0x0100
921 #define WM2200_IN2L_MUTE_SHIFT 8
922 #define WM2200_IN2L_MUTE_WIDTH 1
923 #define WM2200_IN2L_DIG_VOL_MASK 0x00FF
924 #define WM2200_IN2L_DIG_VOL_SHIFT 0
925 #define WM2200_IN2L_DIG_VOL_WIDTH 8
926
927
928
929
930 #define WM2200_IN_VU 0x0200
931 #define WM2200_IN_VU_MASK 0x0200
932 #define WM2200_IN_VU_SHIFT 9
933 #define WM2200_IN_VU_WIDTH 1
934 #define WM2200_IN2R_MUTE 0x0100
935 #define WM2200_IN2R_MUTE_MASK 0x0100
936 #define WM2200_IN2R_MUTE_SHIFT 8
937 #define WM2200_IN2R_MUTE_WIDTH 1
938 #define WM2200_IN2R_DIG_VOL_MASK 0x00FF
939 #define WM2200_IN2R_DIG_VOL_SHIFT 0
940 #define WM2200_IN2R_DIG_VOL_WIDTH 8
941
942
943
944
945 #define WM2200_IN_VU 0x0200
946 #define WM2200_IN_VU_MASK 0x0200
947 #define WM2200_IN_VU_SHIFT 9
948 #define WM2200_IN_VU_WIDTH 1
949 #define WM2200_IN3L_MUTE 0x0100
950 #define WM2200_IN3L_MUTE_MASK 0x0100
951 #define WM2200_IN3L_MUTE_SHIFT 8
952 #define WM2200_IN3L_MUTE_WIDTH 1
953 #define WM2200_IN3L_DIG_VOL_MASK 0x00FF
954 #define WM2200_IN3L_DIG_VOL_SHIFT 0
955 #define WM2200_IN3L_DIG_VOL_WIDTH 8
956
957
958
959
960 #define WM2200_IN_VU 0x0200
961 #define WM2200_IN_VU_MASK 0x0200
962 #define WM2200_IN_VU_SHIFT 9
963 #define WM2200_IN_VU_WIDTH 1
964 #define WM2200_IN3R_MUTE 0x0100
965 #define WM2200_IN3R_MUTE_MASK 0x0100
966 #define WM2200_IN3R_MUTE_SHIFT 8
967 #define WM2200_IN3R_MUTE_WIDTH 1
968 #define WM2200_IN3R_DIG_VOL_MASK 0x00FF
969 #define WM2200_IN3R_DIG_VOL_SHIFT 0
970 #define WM2200_IN3R_DIG_VOL_WIDTH 8
971
972
973
974
975 #define WM2200_OUT2L_ENA 0x0008
976 #define WM2200_OUT2L_ENA_MASK 0x0008
977 #define WM2200_OUT2L_ENA_SHIFT 3
978 #define WM2200_OUT2L_ENA_WIDTH 1
979 #define WM2200_OUT2R_ENA 0x0004
980 #define WM2200_OUT2R_ENA_MASK 0x0004
981 #define WM2200_OUT2R_ENA_SHIFT 2
982 #define WM2200_OUT2R_ENA_WIDTH 1
983 #define WM2200_OUT1L_ENA 0x0002
984 #define WM2200_OUT1L_ENA_MASK 0x0002
985 #define WM2200_OUT1L_ENA_SHIFT 1
986 #define WM2200_OUT1L_ENA_WIDTH 1
987 #define WM2200_OUT1R_ENA 0x0001
988 #define WM2200_OUT1R_ENA_MASK 0x0001
989 #define WM2200_OUT1R_ENA_SHIFT 0
990 #define WM2200_OUT1R_ENA_WIDTH 1
991
992
993
994
995 #define WM2200_OUT1_OSR 0x2000
996 #define WM2200_OUT1_OSR_MASK 0x2000
997 #define WM2200_OUT1_OSR_SHIFT 13
998 #define WM2200_OUT1_OSR_WIDTH 1
999 #define WM2200_OUT1L_ANC_SRC 0x0800
1000 #define WM2200_OUT1L_ANC_SRC_MASK 0x0800
1001 #define WM2200_OUT1L_ANC_SRC_SHIFT 11
1002 #define WM2200_OUT1L_ANC_SRC_WIDTH 1
1003 #define WM2200_OUT1L_PGA_VOL_MASK 0x00FE
1004 #define WM2200_OUT1L_PGA_VOL_SHIFT 1
1005 #define WM2200_OUT1L_PGA_VOL_WIDTH 7
1006
1007
1008
1009
1010 #define WM2200_OUT1R_ANC_SRC 0x0800
1011 #define WM2200_OUT1R_ANC_SRC_MASK 0x0800
1012 #define WM2200_OUT1R_ANC_SRC_SHIFT 11
1013 #define WM2200_OUT1R_ANC_SRC_WIDTH 1
1014 #define WM2200_OUT1R_PGA_VOL_MASK 0x00FE
1015 #define WM2200_OUT1R_PGA_VOL_SHIFT 1
1016 #define WM2200_OUT1R_PGA_VOL_WIDTH 7
1017
1018
1019
1020
1021 #define WM2200_OUT2_OSR 0x2000
1022 #define WM2200_OUT2_OSR_MASK 0x2000
1023 #define WM2200_OUT2_OSR_SHIFT 13
1024 #define WM2200_OUT2_OSR_WIDTH 1
1025 #define WM2200_OUT2L_ANC_SRC 0x0800
1026 #define WM2200_OUT2L_ANC_SRC_MASK 0x0800
1027 #define WM2200_OUT2L_ANC_SRC_SHIFT 11
1028 #define WM2200_OUT2L_ANC_SRC_WIDTH 1
1029
1030
1031
1032
1033 #define WM2200_OUT2R_ANC_SRC 0x0800
1034 #define WM2200_OUT2R_ANC_SRC_MASK 0x0800
1035 #define WM2200_OUT2R_ANC_SRC_SHIFT 11
1036 #define WM2200_OUT2R_ANC_SRC_WIDTH 1
1037
1038
1039
1040
1041 #define WM2200_AEC_LOOPBACK_ENA 0x0004
1042 #define WM2200_AEC_LOOPBACK_ENA_MASK 0x0004
1043 #define WM2200_AEC_LOOPBACK_ENA_SHIFT 2
1044 #define WM2200_AEC_LOOPBACK_ENA_WIDTH 1
1045 #define WM2200_AEC_LOOPBACK_SRC_MASK 0x0003
1046 #define WM2200_AEC_LOOPBACK_SRC_SHIFT 0
1047 #define WM2200_AEC_LOOPBACK_SRC_WIDTH 2
1048
1049
1050
1051
1052 #define WM2200_OUT_VD_RAMP_MASK 0x0070
1053 #define WM2200_OUT_VD_RAMP_SHIFT 4
1054 #define WM2200_OUT_VD_RAMP_WIDTH 3
1055 #define WM2200_OUT_VI_RAMP_MASK 0x0007
1056 #define WM2200_OUT_VI_RAMP_SHIFT 0
1057 #define WM2200_OUT_VI_RAMP_WIDTH 3
1058
1059
1060
1061
1062 #define WM2200_OUT_VU 0x0200
1063 #define WM2200_OUT_VU_MASK 0x0200
1064 #define WM2200_OUT_VU_SHIFT 9
1065 #define WM2200_OUT_VU_WIDTH 1
1066 #define WM2200_OUT1L_MUTE 0x0100
1067 #define WM2200_OUT1L_MUTE_MASK 0x0100
1068 #define WM2200_OUT1L_MUTE_SHIFT 8
1069 #define WM2200_OUT1L_MUTE_WIDTH 1
1070 #define WM2200_OUT1L_VOL_MASK 0x00FF
1071 #define WM2200_OUT1L_VOL_SHIFT 0
1072 #define WM2200_OUT1L_VOL_WIDTH 8
1073
1074
1075
1076
1077 #define WM2200_OUT_VU 0x0200
1078 #define WM2200_OUT_VU_MASK 0x0200
1079 #define WM2200_OUT_VU_SHIFT 9
1080 #define WM2200_OUT_VU_WIDTH 1
1081 #define WM2200_OUT1R_MUTE 0x0100
1082 #define WM2200_OUT1R_MUTE_MASK 0x0100
1083 #define WM2200_OUT1R_MUTE_SHIFT 8
1084 #define WM2200_OUT1R_MUTE_WIDTH 1
1085 #define WM2200_OUT1R_VOL_MASK 0x00FF
1086 #define WM2200_OUT1R_VOL_SHIFT 0
1087 #define WM2200_OUT1R_VOL_WIDTH 8
1088
1089
1090
1091
1092 #define WM2200_OUT_VU 0x0200
1093 #define WM2200_OUT_VU_MASK 0x0200
1094 #define WM2200_OUT_VU_SHIFT 9
1095 #define WM2200_OUT_VU_WIDTH 1
1096 #define WM2200_OUT2L_MUTE 0x0100
1097 #define WM2200_OUT2L_MUTE_MASK 0x0100
1098 #define WM2200_OUT2L_MUTE_SHIFT 8
1099 #define WM2200_OUT2L_MUTE_WIDTH 1
1100 #define WM2200_OUT2L_VOL_MASK 0x00FF
1101 #define WM2200_OUT2L_VOL_SHIFT 0
1102 #define WM2200_OUT2L_VOL_WIDTH 8
1103
1104
1105
1106
1107 #define WM2200_OUT_VU 0x0200
1108 #define WM2200_OUT_VU_MASK 0x0200
1109 #define WM2200_OUT_VU_SHIFT 9
1110 #define WM2200_OUT_VU_WIDTH 1
1111 #define WM2200_OUT2R_MUTE 0x0100
1112 #define WM2200_OUT2R_MUTE_MASK 0x0100
1113 #define WM2200_OUT2R_MUTE_SHIFT 8
1114 #define WM2200_OUT2R_MUTE_WIDTH 1
1115 #define WM2200_OUT2R_VOL_MASK 0x00FF
1116 #define WM2200_OUT2R_VOL_SHIFT 0
1117 #define WM2200_OUT2R_VOL_WIDTH 8
1118
1119
1120
1121
1122 #define WM2200_SPK1R_MUTE 0x2000
1123 #define WM2200_SPK1R_MUTE_MASK 0x2000
1124 #define WM2200_SPK1R_MUTE_SHIFT 13
1125 #define WM2200_SPK1R_MUTE_WIDTH 1
1126 #define WM2200_SPK1L_MUTE 0x1000
1127 #define WM2200_SPK1L_MUTE_MASK 0x1000
1128 #define WM2200_SPK1L_MUTE_SHIFT 12
1129 #define WM2200_SPK1L_MUTE_WIDTH 1
1130 #define WM2200_SPK1_MUTE_ENDIAN 0x0100
1131 #define WM2200_SPK1_MUTE_ENDIAN_MASK 0x0100
1132 #define WM2200_SPK1_MUTE_ENDIAN_SHIFT 8
1133 #define WM2200_SPK1_MUTE_ENDIAN_WIDTH 1
1134 #define WM2200_SPK1_MUTE_SEQL_MASK 0x00FF
1135 #define WM2200_SPK1_MUTE_SEQL_SHIFT 0
1136 #define WM2200_SPK1_MUTE_SEQL_WIDTH 8
1137
1138
1139
1140
1141 #define WM2200_SPK1_FMT 0x0001
1142 #define WM2200_SPK1_FMT_MASK 0x0001
1143 #define WM2200_SPK1_FMT_SHIFT 0
1144 #define WM2200_SPK1_FMT_WIDTH 1
1145
1146
1147
1148
1149 #define WM2200_AIF1_BCLK_INV 0x0040
1150 #define WM2200_AIF1_BCLK_INV_MASK 0x0040
1151 #define WM2200_AIF1_BCLK_INV_SHIFT 6
1152 #define WM2200_AIF1_BCLK_INV_WIDTH 1
1153 #define WM2200_AIF1_BCLK_FRC 0x0020
1154 #define WM2200_AIF1_BCLK_FRC_MASK 0x0020
1155 #define WM2200_AIF1_BCLK_FRC_SHIFT 5
1156 #define WM2200_AIF1_BCLK_FRC_WIDTH 1
1157 #define WM2200_AIF1_BCLK_MSTR 0x0010
1158 #define WM2200_AIF1_BCLK_MSTR_MASK 0x0010
1159 #define WM2200_AIF1_BCLK_MSTR_SHIFT 4
1160 #define WM2200_AIF1_BCLK_MSTR_WIDTH 1
1161 #define WM2200_AIF1_BCLK_DIV_MASK 0x000F
1162 #define WM2200_AIF1_BCLK_DIV_SHIFT 0
1163 #define WM2200_AIF1_BCLK_DIV_WIDTH 4
1164
1165
1166
1167
1168 #define WM2200_AIF1TX_DAT_TRI 0x0020
1169 #define WM2200_AIF1TX_DAT_TRI_MASK 0x0020
1170 #define WM2200_AIF1TX_DAT_TRI_SHIFT 5
1171 #define WM2200_AIF1TX_DAT_TRI_WIDTH 1
1172 #define WM2200_AIF1TX_LRCLK_SRC 0x0008
1173 #define WM2200_AIF1TX_LRCLK_SRC_MASK 0x0008
1174 #define WM2200_AIF1TX_LRCLK_SRC_SHIFT 3
1175 #define WM2200_AIF1TX_LRCLK_SRC_WIDTH 1
1176 #define WM2200_AIF1TX_LRCLK_INV 0x0004
1177 #define WM2200_AIF1TX_LRCLK_INV_MASK 0x0004
1178 #define WM2200_AIF1TX_LRCLK_INV_SHIFT 2
1179 #define WM2200_AIF1TX_LRCLK_INV_WIDTH 1
1180 #define WM2200_AIF1TX_LRCLK_FRC 0x0002
1181 #define WM2200_AIF1TX_LRCLK_FRC_MASK 0x0002
1182 #define WM2200_AIF1TX_LRCLK_FRC_SHIFT 1
1183 #define WM2200_AIF1TX_LRCLK_FRC_WIDTH 1
1184 #define WM2200_AIF1TX_LRCLK_MSTR 0x0001
1185 #define WM2200_AIF1TX_LRCLK_MSTR_MASK 0x0001
1186 #define WM2200_AIF1TX_LRCLK_MSTR_SHIFT 0
1187 #define WM2200_AIF1TX_LRCLK_MSTR_WIDTH 1
1188
1189
1190
1191
1192 #define WM2200_AIF1RX_LRCLK_INV 0x0004
1193 #define WM2200_AIF1RX_LRCLK_INV_MASK 0x0004
1194 #define WM2200_AIF1RX_LRCLK_INV_SHIFT 2
1195 #define WM2200_AIF1RX_LRCLK_INV_WIDTH 1
1196 #define WM2200_AIF1RX_LRCLK_FRC 0x0002
1197 #define WM2200_AIF1RX_LRCLK_FRC_MASK 0x0002
1198 #define WM2200_AIF1RX_LRCLK_FRC_SHIFT 1
1199 #define WM2200_AIF1RX_LRCLK_FRC_WIDTH 1
1200 #define WM2200_AIF1RX_LRCLK_MSTR 0x0001
1201 #define WM2200_AIF1RX_LRCLK_MSTR_MASK 0x0001
1202 #define WM2200_AIF1RX_LRCLK_MSTR_SHIFT 0
1203 #define WM2200_AIF1RX_LRCLK_MSTR_WIDTH 1
1204
1205
1206
1207
1208 #define WM2200_AIF1_TRI 0x0040
1209 #define WM2200_AIF1_TRI_MASK 0x0040
1210 #define WM2200_AIF1_TRI_SHIFT 6
1211 #define WM2200_AIF1_TRI_WIDTH 1
1212
1213
1214
1215
1216 #define WM2200_AIF1_FMT_MASK 0x0007
1217 #define WM2200_AIF1_FMT_SHIFT 0
1218 #define WM2200_AIF1_FMT_WIDTH 3
1219
1220
1221
1222
1223 #define WM2200_AIF1TX_BCPF_MASK 0x07FF
1224 #define WM2200_AIF1TX_BCPF_SHIFT 0
1225 #define WM2200_AIF1TX_BCPF_WIDTH 11
1226
1227
1228
1229
1230 #define WM2200_AIF1RX_BCPF_MASK 0x07FF
1231 #define WM2200_AIF1RX_BCPF_SHIFT 0
1232 #define WM2200_AIF1RX_BCPF_WIDTH 11
1233
1234
1235
1236
1237 #define WM2200_AIF1TX_WL_MASK 0x3F00
1238 #define WM2200_AIF1TX_WL_SHIFT 8
1239 #define WM2200_AIF1TX_WL_WIDTH 6
1240 #define WM2200_AIF1TX_SLOT_LEN_MASK 0x00FF
1241 #define WM2200_AIF1TX_SLOT_LEN_SHIFT 0
1242 #define WM2200_AIF1TX_SLOT_LEN_WIDTH 8
1243
1244
1245
1246
1247 #define WM2200_AIF1RX_WL_MASK 0x3F00
1248 #define WM2200_AIF1RX_WL_SHIFT 8
1249 #define WM2200_AIF1RX_WL_WIDTH 6
1250 #define WM2200_AIF1RX_SLOT_LEN_MASK 0x00FF
1251 #define WM2200_AIF1RX_SLOT_LEN_SHIFT 0
1252 #define WM2200_AIF1RX_SLOT_LEN_WIDTH 8
1253
1254
1255
1256
1257 #define WM2200_AIF1TX1_SLOT_MASK 0x003F
1258 #define WM2200_AIF1TX1_SLOT_SHIFT 0
1259 #define WM2200_AIF1TX1_SLOT_WIDTH 6
1260
1261
1262
1263
1264 #define WM2200_AIF1TX2_SLOT_MASK 0x003F
1265 #define WM2200_AIF1TX2_SLOT_SHIFT 0
1266 #define WM2200_AIF1TX2_SLOT_WIDTH 6
1267
1268
1269
1270
1271 #define WM2200_AIF1TX3_SLOT_MASK 0x003F
1272 #define WM2200_AIF1TX3_SLOT_SHIFT 0
1273 #define WM2200_AIF1TX3_SLOT_WIDTH 6
1274
1275
1276
1277
1278 #define WM2200_AIF1TX4_SLOT_MASK 0x003F
1279 #define WM2200_AIF1TX4_SLOT_SHIFT 0
1280 #define WM2200_AIF1TX4_SLOT_WIDTH 6
1281
1282
1283
1284
1285 #define WM2200_AIF1TX5_SLOT_MASK 0x003F
1286 #define WM2200_AIF1TX5_SLOT_SHIFT 0
1287 #define WM2200_AIF1TX5_SLOT_WIDTH 6
1288
1289
1290
1291
1292 #define WM2200_AIF1TX6_SLOT_MASK 0x003F
1293 #define WM2200_AIF1TX6_SLOT_SHIFT 0
1294 #define WM2200_AIF1TX6_SLOT_WIDTH 6
1295
1296
1297
1298
1299 #define WM2200_AIF1RX1_SLOT_MASK 0x003F
1300 #define WM2200_AIF1RX1_SLOT_SHIFT 0
1301 #define WM2200_AIF1RX1_SLOT_WIDTH 6
1302
1303
1304
1305
1306 #define WM2200_AIF1RX2_SLOT_MASK 0x003F
1307 #define WM2200_AIF1RX2_SLOT_SHIFT 0
1308 #define WM2200_AIF1RX2_SLOT_WIDTH 6
1309
1310
1311
1312
1313 #define WM2200_AIF1RX3_SLOT_MASK 0x003F
1314 #define WM2200_AIF1RX3_SLOT_SHIFT 0
1315 #define WM2200_AIF1RX3_SLOT_WIDTH 6
1316
1317
1318
1319
1320 #define WM2200_AIF1RX4_SLOT_MASK 0x003F
1321 #define WM2200_AIF1RX4_SLOT_SHIFT 0
1322 #define WM2200_AIF1RX4_SLOT_WIDTH 6
1323
1324
1325
1326
1327 #define WM2200_AIF1RX5_SLOT_MASK 0x003F
1328 #define WM2200_AIF1RX5_SLOT_SHIFT 0
1329 #define WM2200_AIF1RX5_SLOT_WIDTH 6
1330
1331
1332
1333
1334 #define WM2200_AIF1RX6_SLOT_MASK 0x003F
1335 #define WM2200_AIF1RX6_SLOT_SHIFT 0
1336 #define WM2200_AIF1RX6_SLOT_WIDTH 6
1337
1338
1339
1340
1341 #define WM2200_AIF1RX6_ENA 0x0800
1342 #define WM2200_AIF1RX6_ENA_MASK 0x0800
1343 #define WM2200_AIF1RX6_ENA_SHIFT 11
1344 #define WM2200_AIF1RX6_ENA_WIDTH 1
1345 #define WM2200_AIF1RX5_ENA 0x0400
1346 #define WM2200_AIF1RX5_ENA_MASK 0x0400
1347 #define WM2200_AIF1RX5_ENA_SHIFT 10
1348 #define WM2200_AIF1RX5_ENA_WIDTH 1
1349 #define WM2200_AIF1RX4_ENA 0x0200
1350 #define WM2200_AIF1RX4_ENA_MASK 0x0200
1351 #define WM2200_AIF1RX4_ENA_SHIFT 9
1352 #define WM2200_AIF1RX4_ENA_WIDTH 1
1353 #define WM2200_AIF1RX3_ENA 0x0100
1354 #define WM2200_AIF1RX3_ENA_MASK 0x0100
1355 #define WM2200_AIF1RX3_ENA_SHIFT 8
1356 #define WM2200_AIF1RX3_ENA_WIDTH 1
1357 #define WM2200_AIF1RX2_ENA 0x0080
1358 #define WM2200_AIF1RX2_ENA_MASK 0x0080
1359 #define WM2200_AIF1RX2_ENA_SHIFT 7
1360 #define WM2200_AIF1RX2_ENA_WIDTH 1
1361 #define WM2200_AIF1RX1_ENA 0x0040
1362 #define WM2200_AIF1RX1_ENA_MASK 0x0040
1363 #define WM2200_AIF1RX1_ENA_SHIFT 6
1364 #define WM2200_AIF1RX1_ENA_WIDTH 1
1365 #define WM2200_AIF1TX6_ENA 0x0020
1366 #define WM2200_AIF1TX6_ENA_MASK 0x0020
1367 #define WM2200_AIF1TX6_ENA_SHIFT 5
1368 #define WM2200_AIF1TX6_ENA_WIDTH 1
1369 #define WM2200_AIF1TX5_ENA 0x0010
1370 #define WM2200_AIF1TX5_ENA_MASK 0x0010
1371 #define WM2200_AIF1TX5_ENA_SHIFT 4
1372 #define WM2200_AIF1TX5_ENA_WIDTH 1
1373 #define WM2200_AIF1TX4_ENA 0x0008
1374 #define WM2200_AIF1TX4_ENA_MASK 0x0008
1375 #define WM2200_AIF1TX4_ENA_SHIFT 3
1376 #define WM2200_AIF1TX4_ENA_WIDTH 1
1377 #define WM2200_AIF1TX3_ENA 0x0004
1378 #define WM2200_AIF1TX3_ENA_MASK 0x0004
1379 #define WM2200_AIF1TX3_ENA_SHIFT 2
1380 #define WM2200_AIF1TX3_ENA_WIDTH 1
1381 #define WM2200_AIF1TX2_ENA 0x0002
1382 #define WM2200_AIF1TX2_ENA_MASK 0x0002
1383 #define WM2200_AIF1TX2_ENA_SHIFT 1
1384 #define WM2200_AIF1TX2_ENA_WIDTH 1
1385 #define WM2200_AIF1TX1_ENA 0x0001
1386 #define WM2200_AIF1TX1_ENA_MASK 0x0001
1387 #define WM2200_AIF1TX1_ENA_SHIFT 0
1388 #define WM2200_AIF1TX1_ENA_WIDTH 1
1389
1390
1391
1392
1393 #define WM2200_OUT1LMIX_SRC1_MASK 0x007F
1394 #define WM2200_OUT1LMIX_SRC1_SHIFT 0
1395 #define WM2200_OUT1LMIX_SRC1_WIDTH 7
1396
1397
1398
1399
1400 #define WM2200_OUT1LMIX_VOL1_MASK 0x00FE
1401 #define WM2200_OUT1LMIX_VOL1_SHIFT 1
1402 #define WM2200_OUT1LMIX_VOL1_WIDTH 7
1403
1404
1405
1406
1407 #define WM2200_OUT1LMIX_SRC2_MASK 0x007F
1408 #define WM2200_OUT1LMIX_SRC2_SHIFT 0
1409 #define WM2200_OUT1LMIX_SRC2_WIDTH 7
1410
1411
1412
1413
1414 #define WM2200_OUT1LMIX_VOL2_MASK 0x00FE
1415 #define WM2200_OUT1LMIX_VOL2_SHIFT 1
1416 #define WM2200_OUT1LMIX_VOL2_WIDTH 7
1417
1418
1419
1420
1421 #define WM2200_OUT1LMIX_SRC3_MASK 0x007F
1422 #define WM2200_OUT1LMIX_SRC3_SHIFT 0
1423 #define WM2200_OUT1LMIX_SRC3_WIDTH 7
1424
1425
1426
1427
1428 #define WM2200_OUT1LMIX_VOL3_MASK 0x00FE
1429 #define WM2200_OUT1LMIX_VOL3_SHIFT 1
1430 #define WM2200_OUT1LMIX_VOL3_WIDTH 7
1431
1432
1433
1434
1435 #define WM2200_OUT1LMIX_SRC4_MASK 0x007F
1436 #define WM2200_OUT1LMIX_SRC4_SHIFT 0
1437 #define WM2200_OUT1LMIX_SRC4_WIDTH 7
1438
1439
1440
1441
1442 #define WM2200_OUT1LMIX_VOL4_MASK 0x00FE
1443 #define WM2200_OUT1LMIX_VOL4_SHIFT 1
1444 #define WM2200_OUT1LMIX_VOL4_WIDTH 7
1445
1446
1447
1448
1449 #define WM2200_OUT1RMIX_SRC1_MASK 0x007F
1450 #define WM2200_OUT1RMIX_SRC1_SHIFT 0
1451 #define WM2200_OUT1RMIX_SRC1_WIDTH 7
1452
1453
1454
1455
1456 #define WM2200_OUT1RMIX_VOL1_MASK 0x00FE
1457 #define WM2200_OUT1RMIX_VOL1_SHIFT 1
1458 #define WM2200_OUT1RMIX_VOL1_WIDTH 7
1459
1460
1461
1462
1463 #define WM2200_OUT1RMIX_SRC2_MASK 0x007F
1464 #define WM2200_OUT1RMIX_SRC2_SHIFT 0
1465 #define WM2200_OUT1RMIX_SRC2_WIDTH 7
1466
1467
1468
1469
1470 #define WM2200_OUT1RMIX_VOL2_MASK 0x00FE
1471 #define WM2200_OUT1RMIX_VOL2_SHIFT 1
1472 #define WM2200_OUT1RMIX_VOL2_WIDTH 7
1473
1474
1475
1476
1477 #define WM2200_OUT1RMIX_SRC3_MASK 0x007F
1478 #define WM2200_OUT1RMIX_SRC3_SHIFT 0
1479 #define WM2200_OUT1RMIX_SRC3_WIDTH 7
1480
1481
1482
1483
1484 #define WM2200_OUT1RMIX_VOL3_MASK 0x00FE
1485 #define WM2200_OUT1RMIX_VOL3_SHIFT 1
1486 #define WM2200_OUT1RMIX_VOL3_WIDTH 7
1487
1488
1489
1490
1491 #define WM2200_OUT1RMIX_SRC4_MASK 0x007F
1492 #define WM2200_OUT1RMIX_SRC4_SHIFT 0
1493 #define WM2200_OUT1RMIX_SRC4_WIDTH 7
1494
1495
1496
1497
1498 #define WM2200_OUT1RMIX_VOL4_MASK 0x00FE
1499 #define WM2200_OUT1RMIX_VOL4_SHIFT 1
1500 #define WM2200_OUT1RMIX_VOL4_WIDTH 7
1501
1502
1503
1504
1505 #define WM2200_OUT2LMIX_SRC1_MASK 0x007F
1506 #define WM2200_OUT2LMIX_SRC1_SHIFT 0
1507 #define WM2200_OUT2LMIX_SRC1_WIDTH 7
1508
1509
1510
1511
1512 #define WM2200_OUT2LMIX_VOL1_MASK 0x00FE
1513 #define WM2200_OUT2LMIX_VOL1_SHIFT 1
1514 #define WM2200_OUT2LMIX_VOL1_WIDTH 7
1515
1516
1517
1518
1519 #define WM2200_OUT2LMIX_SRC2_MASK 0x007F
1520 #define WM2200_OUT2LMIX_SRC2_SHIFT 0
1521 #define WM2200_OUT2LMIX_SRC2_WIDTH 7
1522
1523
1524
1525
1526 #define WM2200_OUT2LMIX_VOL2_MASK 0x00FE
1527 #define WM2200_OUT2LMIX_VOL2_SHIFT 1
1528 #define WM2200_OUT2LMIX_VOL2_WIDTH 7
1529
1530
1531
1532
1533 #define WM2200_OUT2LMIX_SRC3_MASK 0x007F
1534 #define WM2200_OUT2LMIX_SRC3_SHIFT 0
1535 #define WM2200_OUT2LMIX_SRC3_WIDTH 7
1536
1537
1538
1539
1540 #define WM2200_OUT2LMIX_VOL3_MASK 0x00FE
1541 #define WM2200_OUT2LMIX_VOL3_SHIFT 1
1542 #define WM2200_OUT2LMIX_VOL3_WIDTH 7
1543
1544
1545
1546
1547 #define WM2200_OUT2LMIX_SRC4_MASK 0x007F
1548 #define WM2200_OUT2LMIX_SRC4_SHIFT 0
1549 #define WM2200_OUT2LMIX_SRC4_WIDTH 7
1550
1551
1552
1553
1554 #define WM2200_OUT2LMIX_VOL4_MASK 0x00FE
1555 #define WM2200_OUT2LMIX_VOL4_SHIFT 1
1556 #define WM2200_OUT2LMIX_VOL4_WIDTH 7
1557
1558
1559
1560
1561 #define WM2200_OUT2RMIX_SRC1_MASK 0x007F
1562 #define WM2200_OUT2RMIX_SRC1_SHIFT 0
1563 #define WM2200_OUT2RMIX_SRC1_WIDTH 7
1564
1565
1566
1567
1568 #define WM2200_OUT2RMIX_VOL1_MASK 0x00FE
1569 #define WM2200_OUT2RMIX_VOL1_SHIFT 1
1570 #define WM2200_OUT2RMIX_VOL1_WIDTH 7
1571
1572
1573
1574
1575 #define WM2200_OUT2RMIX_SRC2_MASK 0x007F
1576 #define WM2200_OUT2RMIX_SRC2_SHIFT 0
1577 #define WM2200_OUT2RMIX_SRC2_WIDTH 7
1578
1579
1580
1581
1582 #define WM2200_OUT2RMIX_VOL2_MASK 0x00FE
1583 #define WM2200_OUT2RMIX_VOL2_SHIFT 1
1584 #define WM2200_OUT2RMIX_VOL2_WIDTH 7
1585
1586
1587
1588
1589 #define WM2200_OUT2RMIX_SRC3_MASK 0x007F
1590 #define WM2200_OUT2RMIX_SRC3_SHIFT 0
1591 #define WM2200_OUT2RMIX_SRC3_WIDTH 7
1592
1593
1594
1595
1596 #define WM2200_OUT2RMIX_VOL3_MASK 0x00FE
1597 #define WM2200_OUT2RMIX_VOL3_SHIFT 1
1598 #define WM2200_OUT2RMIX_VOL3_WIDTH 7
1599
1600
1601
1602
1603 #define WM2200_OUT2RMIX_SRC4_MASK 0x007F
1604 #define WM2200_OUT2RMIX_SRC4_SHIFT 0
1605 #define WM2200_OUT2RMIX_SRC4_WIDTH 7
1606
1607
1608
1609
1610 #define WM2200_OUT2RMIX_VOL4_MASK 0x00FE
1611 #define WM2200_OUT2RMIX_VOL4_SHIFT 1
1612 #define WM2200_OUT2RMIX_VOL4_WIDTH 7
1613
1614
1615
1616
1617 #define WM2200_AIF1TX1MIX_SRC1_MASK 0x007F
1618 #define WM2200_AIF1TX1MIX_SRC1_SHIFT 0
1619 #define WM2200_AIF1TX1MIX_SRC1_WIDTH 7
1620
1621
1622
1623
1624 #define WM2200_AIF1TX1MIX_VOL1_MASK 0x00FE
1625 #define WM2200_AIF1TX1MIX_VOL1_SHIFT 1
1626 #define WM2200_AIF1TX1MIX_VOL1_WIDTH 7
1627
1628
1629
1630
1631 #define WM2200_AIF1TX1MIX_SRC2_MASK 0x007F
1632 #define WM2200_AIF1TX1MIX_SRC2_SHIFT 0
1633 #define WM2200_AIF1TX1MIX_SRC2_WIDTH 7
1634
1635
1636
1637
1638 #define WM2200_AIF1TX1MIX_VOL2_MASK 0x00FE
1639 #define WM2200_AIF1TX1MIX_VOL2_SHIFT 1
1640 #define WM2200_AIF1TX1MIX_VOL2_WIDTH 7
1641
1642
1643
1644
1645 #define WM2200_AIF1TX1MIX_SRC3_MASK 0x007F
1646 #define WM2200_AIF1TX1MIX_SRC3_SHIFT 0
1647 #define WM2200_AIF1TX1MIX_SRC3_WIDTH 7
1648
1649
1650
1651
1652 #define WM2200_AIF1TX1MIX_VOL3_MASK 0x00FE
1653 #define WM2200_AIF1TX1MIX_VOL3_SHIFT 1
1654 #define WM2200_AIF1TX1MIX_VOL3_WIDTH 7
1655
1656
1657
1658
1659 #define WM2200_AIF1TX1MIX_SRC4_MASK 0x007F
1660 #define WM2200_AIF1TX1MIX_SRC4_SHIFT 0
1661 #define WM2200_AIF1TX1MIX_SRC4_WIDTH 7
1662
1663
1664
1665
1666 #define WM2200_AIF1TX1MIX_VOL4_MASK 0x00FE
1667 #define WM2200_AIF1TX1MIX_VOL4_SHIFT 1
1668 #define WM2200_AIF1TX1MIX_VOL4_WIDTH 7
1669
1670
1671
1672
1673 #define WM2200_AIF1TX2MIX_SRC1_MASK 0x007F
1674 #define WM2200_AIF1TX2MIX_SRC1_SHIFT 0
1675 #define WM2200_AIF1TX2MIX_SRC1_WIDTH 7
1676
1677
1678
1679
1680 #define WM2200_AIF1TX2MIX_VOL1_MASK 0x00FE
1681 #define WM2200_AIF1TX2MIX_VOL1_SHIFT 1
1682 #define WM2200_AIF1TX2MIX_VOL1_WIDTH 7
1683
1684
1685
1686
1687 #define WM2200_AIF1TX2MIX_SRC2_MASK 0x007F
1688 #define WM2200_AIF1TX2MIX_SRC2_SHIFT 0
1689 #define WM2200_AIF1TX2MIX_SRC2_WIDTH 7
1690
1691
1692
1693
1694 #define WM2200_AIF1TX2MIX_VOL2_MASK 0x00FE
1695 #define WM2200_AIF1TX2MIX_VOL2_SHIFT 1
1696 #define WM2200_AIF1TX2MIX_VOL2_WIDTH 7
1697
1698
1699
1700
1701 #define WM2200_AIF1TX2MIX_SRC3_MASK 0x007F
1702 #define WM2200_AIF1TX2MIX_SRC3_SHIFT 0
1703 #define WM2200_AIF1TX2MIX_SRC3_WIDTH 7
1704
1705
1706
1707
1708 #define WM2200_AIF1TX2MIX_VOL3_MASK 0x00FE
1709 #define WM2200_AIF1TX2MIX_VOL3_SHIFT 1
1710 #define WM2200_AIF1TX2MIX_VOL3_WIDTH 7
1711
1712
1713
1714
1715 #define WM2200_AIF1TX2MIX_SRC4_MASK 0x007F
1716 #define WM2200_AIF1TX2MIX_SRC4_SHIFT 0
1717 #define WM2200_AIF1TX2MIX_SRC4_WIDTH 7
1718
1719
1720
1721
1722 #define WM2200_AIF1TX2MIX_VOL4_MASK 0x00FE
1723 #define WM2200_AIF1TX2MIX_VOL4_SHIFT 1
1724 #define WM2200_AIF1TX2MIX_VOL4_WIDTH 7
1725
1726
1727
1728
1729 #define WM2200_AIF1TX3MIX_SRC1_MASK 0x007F
1730 #define WM2200_AIF1TX3MIX_SRC1_SHIFT 0
1731 #define WM2200_AIF1TX3MIX_SRC1_WIDTH 7
1732
1733
1734
1735
1736 #define WM2200_AIF1TX3MIX_VOL1_MASK 0x00FE
1737 #define WM2200_AIF1TX3MIX_VOL1_SHIFT 1
1738 #define WM2200_AIF1TX3MIX_VOL1_WIDTH 7
1739
1740
1741
1742
1743 #define WM2200_AIF1TX3MIX_SRC2_MASK 0x007F
1744 #define WM2200_AIF1TX3MIX_SRC2_SHIFT 0
1745 #define WM2200_AIF1TX3MIX_SRC2_WIDTH 7
1746
1747
1748
1749
1750 #define WM2200_AIF1TX3MIX_VOL2_MASK 0x00FE
1751 #define WM2200_AIF1TX3MIX_VOL2_SHIFT 1
1752 #define WM2200_AIF1TX3MIX_VOL2_WIDTH 7
1753
1754
1755
1756
1757 #define WM2200_AIF1TX3MIX_SRC3_MASK 0x007F
1758 #define WM2200_AIF1TX3MIX_SRC3_SHIFT 0
1759 #define WM2200_AIF1TX3MIX_SRC3_WIDTH 7
1760
1761
1762
1763
1764 #define WM2200_AIF1TX3MIX_VOL3_MASK 0x00FE
1765 #define WM2200_AIF1TX3MIX_VOL3_SHIFT 1
1766 #define WM2200_AIF1TX3MIX_VOL3_WIDTH 7
1767
1768
1769
1770
1771 #define WM2200_AIF1TX3MIX_SRC4_MASK 0x007F
1772 #define WM2200_AIF1TX3MIX_SRC4_SHIFT 0
1773 #define WM2200_AIF1TX3MIX_SRC4_WIDTH 7
1774
1775
1776
1777
1778 #define WM2200_AIF1TX3MIX_VOL4_MASK 0x00FE
1779 #define WM2200_AIF1TX3MIX_VOL4_SHIFT 1
1780 #define WM2200_AIF1TX3MIX_VOL4_WIDTH 7
1781
1782
1783
1784
1785 #define WM2200_AIF1TX4MIX_SRC1_MASK 0x007F
1786 #define WM2200_AIF1TX4MIX_SRC1_SHIFT 0
1787 #define WM2200_AIF1TX4MIX_SRC1_WIDTH 7
1788
1789
1790
1791
1792 #define WM2200_AIF1TX4MIX_VOL1_MASK 0x00FE
1793 #define WM2200_AIF1TX4MIX_VOL1_SHIFT 1
1794 #define WM2200_AIF1TX4MIX_VOL1_WIDTH 7
1795
1796
1797
1798
1799 #define WM2200_AIF1TX4MIX_SRC2_MASK 0x007F
1800 #define WM2200_AIF1TX4MIX_SRC2_SHIFT 0
1801 #define WM2200_AIF1TX4MIX_SRC2_WIDTH 7
1802
1803
1804
1805
1806 #define WM2200_AIF1TX4MIX_VOL2_MASK 0x00FE
1807 #define WM2200_AIF1TX4MIX_VOL2_SHIFT 1
1808 #define WM2200_AIF1TX4MIX_VOL2_WIDTH 7
1809
1810
1811
1812
1813 #define WM2200_AIF1TX4MIX_SRC3_MASK 0x007F
1814 #define WM2200_AIF1TX4MIX_SRC3_SHIFT 0
1815 #define WM2200_AIF1TX4MIX_SRC3_WIDTH 7
1816
1817
1818
1819
1820 #define WM2200_AIF1TX4MIX_VOL3_MASK 0x00FE
1821 #define WM2200_AIF1TX4MIX_VOL3_SHIFT 1
1822 #define WM2200_AIF1TX4MIX_VOL3_WIDTH 7
1823
1824
1825
1826
1827 #define WM2200_AIF1TX4MIX_SRC4_MASK 0x007F
1828 #define WM2200_AIF1TX4MIX_SRC4_SHIFT 0
1829 #define WM2200_AIF1TX4MIX_SRC4_WIDTH 7
1830
1831
1832
1833
1834 #define WM2200_AIF1TX4MIX_VOL4_MASK 0x00FE
1835 #define WM2200_AIF1TX4MIX_VOL4_SHIFT 1
1836 #define WM2200_AIF1TX4MIX_VOL4_WIDTH 7
1837
1838
1839
1840
1841 #define WM2200_AIF1TX5MIX_SRC1_MASK 0x007F
1842 #define WM2200_AIF1TX5MIX_SRC1_SHIFT 0
1843 #define WM2200_AIF1TX5MIX_SRC1_WIDTH 7
1844
1845
1846
1847
1848 #define WM2200_AIF1TX5MIX_VOL1_MASK 0x00FE
1849 #define WM2200_AIF1TX5MIX_VOL1_SHIFT 1
1850 #define WM2200_AIF1TX5MIX_VOL1_WIDTH 7
1851
1852
1853
1854
1855 #define WM2200_AIF1TX5MIX_SRC2_MASK 0x007F
1856 #define WM2200_AIF1TX5MIX_SRC2_SHIFT 0
1857 #define WM2200_AIF1TX5MIX_SRC2_WIDTH 7
1858
1859
1860
1861
1862 #define WM2200_AIF1TX5MIX_VOL2_MASK 0x00FE
1863 #define WM2200_AIF1TX5MIX_VOL2_SHIFT 1
1864 #define WM2200_AIF1TX5MIX_VOL2_WIDTH 7
1865
1866
1867
1868
1869 #define WM2200_AIF1TX5MIX_SRC3_MASK 0x007F
1870 #define WM2200_AIF1TX5MIX_SRC3_SHIFT 0
1871 #define WM2200_AIF1TX5MIX_SRC3_WIDTH 7
1872
1873
1874
1875
1876 #define WM2200_AIF1TX5MIX_VOL3_MASK 0x00FE
1877 #define WM2200_AIF1TX5MIX_VOL3_SHIFT 1
1878 #define WM2200_AIF1TX5MIX_VOL3_WIDTH 7
1879
1880
1881
1882
1883 #define WM2200_AIF1TX5MIX_SRC4_MASK 0x007F
1884 #define WM2200_AIF1TX5MIX_SRC4_SHIFT 0
1885 #define WM2200_AIF1TX5MIX_SRC4_WIDTH 7
1886
1887
1888
1889
1890 #define WM2200_AIF1TX5MIX_VOL4_MASK 0x00FE
1891 #define WM2200_AIF1TX5MIX_VOL4_SHIFT 1
1892 #define WM2200_AIF1TX5MIX_VOL4_WIDTH 7
1893
1894
1895
1896
1897 #define WM2200_AIF1TX6MIX_SRC1_MASK 0x007F
1898 #define WM2200_AIF1TX6MIX_SRC1_SHIFT 0
1899 #define WM2200_AIF1TX6MIX_SRC1_WIDTH 7
1900
1901
1902
1903
1904 #define WM2200_AIF1TX6MIX_VOL1_MASK 0x00FE
1905 #define WM2200_AIF1TX6MIX_VOL1_SHIFT 1
1906 #define WM2200_AIF1TX6MIX_VOL1_WIDTH 7
1907
1908
1909
1910
1911 #define WM2200_AIF1TX6MIX_SRC2_MASK 0x007F
1912 #define WM2200_AIF1TX6MIX_SRC2_SHIFT 0
1913 #define WM2200_AIF1TX6MIX_SRC2_WIDTH 7
1914
1915
1916
1917
1918 #define WM2200_AIF1TX6MIX_VOL2_MASK 0x00FE
1919 #define WM2200_AIF1TX6MIX_VOL2_SHIFT 1
1920 #define WM2200_AIF1TX6MIX_VOL2_WIDTH 7
1921
1922
1923
1924
1925 #define WM2200_AIF1TX6MIX_SRC3_MASK 0x007F
1926 #define WM2200_AIF1TX6MIX_SRC3_SHIFT 0
1927 #define WM2200_AIF1TX6MIX_SRC3_WIDTH 7
1928
1929
1930
1931
1932 #define WM2200_AIF1TX6MIX_VOL3_MASK 0x00FE
1933 #define WM2200_AIF1TX6MIX_VOL3_SHIFT 1
1934 #define WM2200_AIF1TX6MIX_VOL3_WIDTH 7
1935
1936
1937
1938
1939 #define WM2200_AIF1TX6MIX_SRC4_MASK 0x007F
1940 #define WM2200_AIF1TX6MIX_SRC4_SHIFT 0
1941 #define WM2200_AIF1TX6MIX_SRC4_WIDTH 7
1942
1943
1944
1945
1946 #define WM2200_AIF1TX6MIX_VOL4_MASK 0x00FE
1947 #define WM2200_AIF1TX6MIX_VOL4_SHIFT 1
1948 #define WM2200_AIF1TX6MIX_VOL4_WIDTH 7
1949
1950
1951
1952
1953 #define WM2200_EQLMIX_SRC1_MASK 0x007F
1954 #define WM2200_EQLMIX_SRC1_SHIFT 0
1955 #define WM2200_EQLMIX_SRC1_WIDTH 7
1956
1957
1958
1959
1960 #define WM2200_EQLMIX_VOL1_MASK 0x00FE
1961 #define WM2200_EQLMIX_VOL1_SHIFT 1
1962 #define WM2200_EQLMIX_VOL1_WIDTH 7
1963
1964
1965
1966
1967 #define WM2200_EQLMIX_SRC2_MASK 0x007F
1968 #define WM2200_EQLMIX_SRC2_SHIFT 0
1969 #define WM2200_EQLMIX_SRC2_WIDTH 7
1970
1971
1972
1973
1974 #define WM2200_EQLMIX_VOL2_MASK 0x00FE
1975 #define WM2200_EQLMIX_VOL2_SHIFT 1
1976 #define WM2200_EQLMIX_VOL2_WIDTH 7
1977
1978
1979
1980
1981 #define WM2200_EQLMIX_SRC3_MASK 0x007F
1982 #define WM2200_EQLMIX_SRC3_SHIFT 0
1983 #define WM2200_EQLMIX_SRC3_WIDTH 7
1984
1985
1986
1987
1988 #define WM2200_EQLMIX_VOL3_MASK 0x00FE
1989 #define WM2200_EQLMIX_VOL3_SHIFT 1
1990 #define WM2200_EQLMIX_VOL3_WIDTH 7
1991
1992
1993
1994
1995 #define WM2200_EQLMIX_SRC4_MASK 0x007F
1996 #define WM2200_EQLMIX_SRC4_SHIFT 0
1997 #define WM2200_EQLMIX_SRC4_WIDTH 7
1998
1999
2000
2001
2002 #define WM2200_EQLMIX_VOL4_MASK 0x00FE
2003 #define WM2200_EQLMIX_VOL4_SHIFT 1
2004 #define WM2200_EQLMIX_VOL4_WIDTH 7
2005
2006
2007
2008
2009 #define WM2200_EQRMIX_SRC1_MASK 0x007F
2010 #define WM2200_EQRMIX_SRC1_SHIFT 0
2011 #define WM2200_EQRMIX_SRC1_WIDTH 7
2012
2013
2014
2015
2016 #define WM2200_EQRMIX_VOL1_MASK 0x00FE
2017 #define WM2200_EQRMIX_VOL1_SHIFT 1
2018 #define WM2200_EQRMIX_VOL1_WIDTH 7
2019
2020
2021
2022
2023 #define WM2200_EQRMIX_SRC2_MASK 0x007F
2024 #define WM2200_EQRMIX_SRC2_SHIFT 0
2025 #define WM2200_EQRMIX_SRC2_WIDTH 7
2026
2027
2028
2029
2030 #define WM2200_EQRMIX_VOL2_MASK 0x00FE
2031 #define WM2200_EQRMIX_VOL2_SHIFT 1
2032 #define WM2200_EQRMIX_VOL2_WIDTH 7
2033
2034
2035
2036
2037 #define WM2200_EQRMIX_SRC3_MASK 0x007F
2038 #define WM2200_EQRMIX_SRC3_SHIFT 0
2039 #define WM2200_EQRMIX_SRC3_WIDTH 7
2040
2041
2042
2043
2044 #define WM2200_EQRMIX_VOL3_MASK 0x00FE
2045 #define WM2200_EQRMIX_VOL3_SHIFT 1
2046 #define WM2200_EQRMIX_VOL3_WIDTH 7
2047
2048
2049
2050
2051 #define WM2200_EQRMIX_SRC4_MASK 0x007F
2052 #define WM2200_EQRMIX_SRC4_SHIFT 0
2053 #define WM2200_EQRMIX_SRC4_WIDTH 7
2054
2055
2056
2057
2058 #define WM2200_EQRMIX_VOL4_MASK 0x00FE
2059 #define WM2200_EQRMIX_VOL4_SHIFT 1
2060 #define WM2200_EQRMIX_VOL4_WIDTH 7
2061
2062
2063
2064
2065 #define WM2200_LHPF1MIX_SRC1_MASK 0x007F
2066 #define WM2200_LHPF1MIX_SRC1_SHIFT 0
2067 #define WM2200_LHPF1MIX_SRC1_WIDTH 7
2068
2069
2070
2071
2072 #define WM2200_LHPF1MIX_VOL1_MASK 0x00FE
2073 #define WM2200_LHPF1MIX_VOL1_SHIFT 1
2074 #define WM2200_LHPF1MIX_VOL1_WIDTH 7
2075
2076
2077
2078
2079 #define WM2200_LHPF1MIX_SRC2_MASK 0x007F
2080 #define WM2200_LHPF1MIX_SRC2_SHIFT 0
2081 #define WM2200_LHPF1MIX_SRC2_WIDTH 7
2082
2083
2084
2085
2086 #define WM2200_LHPF1MIX_VOL2_MASK 0x00FE
2087 #define WM2200_LHPF1MIX_VOL2_SHIFT 1
2088 #define WM2200_LHPF1MIX_VOL2_WIDTH 7
2089
2090
2091
2092
2093 #define WM2200_LHPF1MIX_SRC3_MASK 0x007F
2094 #define WM2200_LHPF1MIX_SRC3_SHIFT 0
2095 #define WM2200_LHPF1MIX_SRC3_WIDTH 7
2096
2097
2098
2099
2100 #define WM2200_LHPF1MIX_VOL3_MASK 0x00FE
2101 #define WM2200_LHPF1MIX_VOL3_SHIFT 1
2102 #define WM2200_LHPF1MIX_VOL3_WIDTH 7
2103
2104
2105
2106
2107 #define WM2200_LHPF1MIX_SRC4_MASK 0x007F
2108 #define WM2200_LHPF1MIX_SRC4_SHIFT 0
2109 #define WM2200_LHPF1MIX_SRC4_WIDTH 7
2110
2111
2112
2113
2114 #define WM2200_LHPF1MIX_VOL4_MASK 0x00FE
2115 #define WM2200_LHPF1MIX_VOL4_SHIFT 1
2116 #define WM2200_LHPF1MIX_VOL4_WIDTH 7
2117
2118
2119
2120
2121 #define WM2200_LHPF2MIX_SRC1_MASK 0x007F
2122 #define WM2200_LHPF2MIX_SRC1_SHIFT 0
2123 #define WM2200_LHPF2MIX_SRC1_WIDTH 7
2124
2125
2126
2127
2128 #define WM2200_LHPF2MIX_VOL1_MASK 0x00FE
2129 #define WM2200_LHPF2MIX_VOL1_SHIFT 1
2130 #define WM2200_LHPF2MIX_VOL1_WIDTH 7
2131
2132
2133
2134
2135 #define WM2200_LHPF2MIX_SRC2_MASK 0x007F
2136 #define WM2200_LHPF2MIX_SRC2_SHIFT 0
2137 #define WM2200_LHPF2MIX_SRC2_WIDTH 7
2138
2139
2140
2141
2142 #define WM2200_LHPF2MIX_VOL2_MASK 0x00FE
2143 #define WM2200_LHPF2MIX_VOL2_SHIFT 1
2144 #define WM2200_LHPF2MIX_VOL2_WIDTH 7
2145
2146
2147
2148
2149 #define WM2200_LHPF2MIX_SRC3_MASK 0x007F
2150 #define WM2200_LHPF2MIX_SRC3_SHIFT 0
2151 #define WM2200_LHPF2MIX_SRC3_WIDTH 7
2152
2153
2154
2155
2156 #define WM2200_LHPF2MIX_VOL3_MASK 0x00FE
2157 #define WM2200_LHPF2MIX_VOL3_SHIFT 1
2158 #define WM2200_LHPF2MIX_VOL3_WIDTH 7
2159
2160
2161
2162
2163 #define WM2200_LHPF2MIX_SRC4_MASK 0x007F
2164 #define WM2200_LHPF2MIX_SRC4_SHIFT 0
2165 #define WM2200_LHPF2MIX_SRC4_WIDTH 7
2166
2167
2168
2169
2170 #define WM2200_LHPF2MIX_VOL4_MASK 0x00FE
2171 #define WM2200_LHPF2MIX_VOL4_SHIFT 1
2172 #define WM2200_LHPF2MIX_VOL4_WIDTH 7
2173
2174
2175
2176
2177 #define WM2200_DSP1LMIX_SRC1_MASK 0x007F
2178 #define WM2200_DSP1LMIX_SRC1_SHIFT 0
2179 #define WM2200_DSP1LMIX_SRC1_WIDTH 7
2180
2181
2182
2183
2184 #define WM2200_DSP1LMIX_VOL1_MASK 0x00FE
2185 #define WM2200_DSP1LMIX_VOL1_SHIFT 1
2186 #define WM2200_DSP1LMIX_VOL1_WIDTH 7
2187
2188
2189
2190
2191 #define WM2200_DSP1LMIX_SRC2_MASK 0x007F
2192 #define WM2200_DSP1LMIX_SRC2_SHIFT 0
2193 #define WM2200_DSP1LMIX_SRC2_WIDTH 7
2194
2195
2196
2197
2198 #define WM2200_DSP1LMIX_VOL2_MASK 0x00FE
2199 #define WM2200_DSP1LMIX_VOL2_SHIFT 1
2200 #define WM2200_DSP1LMIX_VOL2_WIDTH 7
2201
2202
2203
2204
2205 #define WM2200_DSP1LMIX_SRC3_MASK 0x007F
2206 #define WM2200_DSP1LMIX_SRC3_SHIFT 0
2207 #define WM2200_DSP1LMIX_SRC3_WIDTH 7
2208
2209
2210
2211
2212 #define WM2200_DSP1LMIX_VOL3_MASK 0x00FE
2213 #define WM2200_DSP1LMIX_VOL3_SHIFT 1
2214 #define WM2200_DSP1LMIX_VOL3_WIDTH 7
2215
2216
2217
2218
2219 #define WM2200_DSP1LMIX_SRC4_MASK 0x007F
2220 #define WM2200_DSP1LMIX_SRC4_SHIFT 0
2221 #define WM2200_DSP1LMIX_SRC4_WIDTH 7
2222
2223
2224
2225
2226 #define WM2200_DSP1LMIX_VOL4_MASK 0x00FE
2227 #define WM2200_DSP1LMIX_VOL4_SHIFT 1
2228 #define WM2200_DSP1LMIX_VOL4_WIDTH 7
2229
2230
2231
2232
2233 #define WM2200_DSP1RMIX_SRC1_MASK 0x007F
2234 #define WM2200_DSP1RMIX_SRC1_SHIFT 0
2235 #define WM2200_DSP1RMIX_SRC1_WIDTH 7
2236
2237
2238
2239
2240 #define WM2200_DSP1RMIX_VOL1_MASK 0x00FE
2241 #define WM2200_DSP1RMIX_VOL1_SHIFT 1
2242 #define WM2200_DSP1RMIX_VOL1_WIDTH 7
2243
2244
2245
2246
2247 #define WM2200_DSP1RMIX_SRC2_MASK 0x007F
2248 #define WM2200_DSP1RMIX_SRC2_SHIFT 0
2249 #define WM2200_DSP1RMIX_SRC2_WIDTH 7
2250
2251
2252
2253
2254 #define WM2200_DSP1RMIX_VOL2_MASK 0x00FE
2255 #define WM2200_DSP1RMIX_VOL2_SHIFT 1
2256 #define WM2200_DSP1RMIX_VOL2_WIDTH 7
2257
2258
2259
2260
2261 #define WM2200_DSP1RMIX_SRC3_MASK 0x007F
2262 #define WM2200_DSP1RMIX_SRC3_SHIFT 0
2263 #define WM2200_DSP1RMIX_SRC3_WIDTH 7
2264
2265
2266
2267
2268 #define WM2200_DSP1RMIX_VOL3_MASK 0x00FE
2269 #define WM2200_DSP1RMIX_VOL3_SHIFT 1
2270 #define WM2200_DSP1RMIX_VOL3_WIDTH 7
2271
2272
2273
2274
2275 #define WM2200_DSP1RMIX_SRC4_MASK 0x007F
2276 #define WM2200_DSP1RMIX_SRC4_SHIFT 0
2277 #define WM2200_DSP1RMIX_SRC4_WIDTH 7
2278
2279
2280
2281
2282 #define WM2200_DSP1RMIX_VOL4_MASK 0x00FE
2283 #define WM2200_DSP1RMIX_VOL4_SHIFT 1
2284 #define WM2200_DSP1RMIX_VOL4_WIDTH 7
2285
2286
2287
2288
2289 #define WM2200_DSP1AUX1MIX_SRC1_MASK 0x007F
2290 #define WM2200_DSP1AUX1MIX_SRC1_SHIFT 0
2291 #define WM2200_DSP1AUX1MIX_SRC1_WIDTH 7
2292
2293
2294
2295
2296 #define WM2200_DSP1AUX2MIX_SRC1_MASK 0x007F
2297 #define WM2200_DSP1AUX2MIX_SRC1_SHIFT 0
2298 #define WM2200_DSP1AUX2MIX_SRC1_WIDTH 7
2299
2300
2301
2302
2303 #define WM2200_DSP1AUX3MIX_SRC1_MASK 0x007F
2304 #define WM2200_DSP1AUX3MIX_SRC1_SHIFT 0
2305 #define WM2200_DSP1AUX3MIX_SRC1_WIDTH 7
2306
2307
2308
2309
2310 #define WM2200_DSP1AUX4MIX_SRC1_MASK 0x007F
2311 #define WM2200_DSP1AUX4MIX_SRC1_SHIFT 0
2312 #define WM2200_DSP1AUX4MIX_SRC1_WIDTH 7
2313
2314
2315
2316
2317 #define WM2200_DSP1AUX5MIX_SRC1_MASK 0x007F
2318 #define WM2200_DSP1AUX5MIX_SRC1_SHIFT 0
2319 #define WM2200_DSP1AUX5MIX_SRC1_WIDTH 7
2320
2321
2322
2323
2324 #define WM2200_DSP1AUX6MIX_SRC1_MASK 0x007F
2325 #define WM2200_DSP1AUX6MIX_SRC1_SHIFT 0
2326 #define WM2200_DSP1AUX6MIX_SRC1_WIDTH 7
2327
2328
2329
2330
2331 #define WM2200_DSP2LMIX_SRC1_MASK 0x007F
2332 #define WM2200_DSP2LMIX_SRC1_SHIFT 0
2333 #define WM2200_DSP2LMIX_SRC1_WIDTH 7
2334
2335
2336
2337
2338 #define WM2200_DSP2LMIX_VOL1_MASK 0x00FE
2339 #define WM2200_DSP2LMIX_VOL1_SHIFT 1
2340 #define WM2200_DSP2LMIX_VOL1_WIDTH 7
2341
2342
2343
2344
2345 #define WM2200_DSP2LMIX_SRC2_MASK 0x007F
2346 #define WM2200_DSP2LMIX_SRC2_SHIFT 0
2347 #define WM2200_DSP2LMIX_SRC2_WIDTH 7
2348
2349
2350
2351
2352 #define WM2200_DSP2LMIX_VOL2_MASK 0x00FE
2353 #define WM2200_DSP2LMIX_VOL2_SHIFT 1
2354 #define WM2200_DSP2LMIX_VOL2_WIDTH 7
2355
2356
2357
2358
2359 #define WM2200_DSP2LMIX_SRC3_MASK 0x007F
2360 #define WM2200_DSP2LMIX_SRC3_SHIFT 0
2361 #define WM2200_DSP2LMIX_SRC3_WIDTH 7
2362
2363
2364
2365
2366 #define WM2200_DSP2LMIX_VOL3_MASK 0x00FE
2367 #define WM2200_DSP2LMIX_VOL3_SHIFT 1
2368 #define WM2200_DSP2LMIX_VOL3_WIDTH 7
2369
2370
2371
2372
2373 #define WM2200_DSP2LMIX_SRC4_MASK 0x007F
2374 #define WM2200_DSP2LMIX_SRC4_SHIFT 0
2375 #define WM2200_DSP2LMIX_SRC4_WIDTH 7
2376
2377
2378
2379
2380 #define WM2200_DSP2LMIX_VOL4_MASK 0x00FE
2381 #define WM2200_DSP2LMIX_VOL4_SHIFT 1
2382 #define WM2200_DSP2LMIX_VOL4_WIDTH 7
2383
2384
2385
2386
2387 #define WM2200_DSP2RMIX_SRC1_MASK 0x007F
2388 #define WM2200_DSP2RMIX_SRC1_SHIFT 0
2389 #define WM2200_DSP2RMIX_SRC1_WIDTH 7
2390
2391
2392
2393
2394 #define WM2200_DSP2RMIX_VOL1_MASK 0x00FE
2395 #define WM2200_DSP2RMIX_VOL1_SHIFT 1
2396 #define WM2200_DSP2RMIX_VOL1_WIDTH 7
2397
2398
2399
2400
2401 #define WM2200_DSP2RMIX_SRC2_MASK 0x007F
2402 #define WM2200_DSP2RMIX_SRC2_SHIFT 0
2403 #define WM2200_DSP2RMIX_SRC2_WIDTH 7
2404
2405
2406
2407
2408 #define WM2200_DSP2RMIX_VOL2_MASK 0x00FE
2409 #define WM2200_DSP2RMIX_VOL2_SHIFT 1
2410 #define WM2200_DSP2RMIX_VOL2_WIDTH 7
2411
2412
2413
2414
2415 #define WM2200_DSP2RMIX_SRC3_MASK 0x007F
2416 #define WM2200_DSP2RMIX_SRC3_SHIFT 0
2417 #define WM2200_DSP2RMIX_SRC3_WIDTH 7
2418
2419
2420
2421
2422 #define WM2200_DSP2RMIX_VOL3_MASK 0x00FE
2423 #define WM2200_DSP2RMIX_VOL3_SHIFT 1
2424 #define WM2200_DSP2RMIX_VOL3_WIDTH 7
2425
2426
2427
2428
2429 #define WM2200_DSP2RMIX_SRC4_MASK 0x007F
2430 #define WM2200_DSP2RMIX_SRC4_SHIFT 0
2431 #define WM2200_DSP2RMIX_SRC4_WIDTH 7
2432
2433
2434
2435
2436 #define WM2200_DSP2RMIX_VOL4_MASK 0x00FE
2437 #define WM2200_DSP2RMIX_VOL4_SHIFT 1
2438 #define WM2200_DSP2RMIX_VOL4_WIDTH 7
2439
2440
2441
2442
2443 #define WM2200_DSP2AUX1MIX_SRC1_MASK 0x007F
2444 #define WM2200_DSP2AUX1MIX_SRC1_SHIFT 0
2445 #define WM2200_DSP2AUX1MIX_SRC1_WIDTH 7
2446
2447
2448
2449
2450 #define WM2200_DSP2AUX2MIX_SRC1_MASK 0x007F
2451 #define WM2200_DSP2AUX2MIX_SRC1_SHIFT 0
2452 #define WM2200_DSP2AUX2MIX_SRC1_WIDTH 7
2453
2454
2455
2456
2457 #define WM2200_DSP2AUX3MIX_SRC1_MASK 0x007F
2458 #define WM2200_DSP2AUX3MIX_SRC1_SHIFT 0
2459 #define WM2200_DSP2AUX3MIX_SRC1_WIDTH 7
2460
2461
2462
2463
2464 #define WM2200_DSP2AUX4MIX_SRC1_MASK 0x007F
2465 #define WM2200_DSP2AUX4MIX_SRC1_SHIFT 0
2466 #define WM2200_DSP2AUX4MIX_SRC1_WIDTH 7
2467
2468
2469
2470
2471 #define WM2200_DSP2AUX5MIX_SRC1_MASK 0x007F
2472 #define WM2200_DSP2AUX5MIX_SRC1_SHIFT 0
2473 #define WM2200_DSP2AUX5MIX_SRC1_WIDTH 7
2474
2475
2476
2477
2478 #define WM2200_DSP2AUX6MIX_SRC1_MASK 0x007F
2479 #define WM2200_DSP2AUX6MIX_SRC1_SHIFT 0
2480 #define WM2200_DSP2AUX6MIX_SRC1_WIDTH 7
2481
2482
2483
2484
2485 #define WM2200_GP1_DIR 0x8000
2486 #define WM2200_GP1_DIR_MASK 0x8000
2487 #define WM2200_GP1_DIR_SHIFT 15
2488 #define WM2200_GP1_DIR_WIDTH 1
2489 #define WM2200_GP1_PU 0x4000
2490 #define WM2200_GP1_PU_MASK 0x4000
2491 #define WM2200_GP1_PU_SHIFT 14
2492 #define WM2200_GP1_PU_WIDTH 1
2493 #define WM2200_GP1_PD 0x2000
2494 #define WM2200_GP1_PD_MASK 0x2000
2495 #define WM2200_GP1_PD_SHIFT 13
2496 #define WM2200_GP1_PD_WIDTH 1
2497 #define WM2200_GP1_POL 0x0400
2498 #define WM2200_GP1_POL_MASK 0x0400
2499 #define WM2200_GP1_POL_SHIFT 10
2500 #define WM2200_GP1_POL_WIDTH 1
2501 #define WM2200_GP1_OP_CFG 0x0200
2502 #define WM2200_GP1_OP_CFG_MASK 0x0200
2503 #define WM2200_GP1_OP_CFG_SHIFT 9
2504 #define WM2200_GP1_OP_CFG_WIDTH 1
2505 #define WM2200_GP1_DB 0x0100
2506 #define WM2200_GP1_DB_MASK 0x0100
2507 #define WM2200_GP1_DB_SHIFT 8
2508 #define WM2200_GP1_DB_WIDTH 1
2509 #define WM2200_GP1_LVL 0x0040
2510 #define WM2200_GP1_LVL_MASK 0x0040
2511 #define WM2200_GP1_LVL_SHIFT 6
2512 #define WM2200_GP1_LVL_WIDTH 1
2513 #define WM2200_GP1_FN_MASK 0x003F
2514 #define WM2200_GP1_FN_SHIFT 0
2515 #define WM2200_GP1_FN_WIDTH 6
2516
2517
2518
2519
2520 #define WM2200_GP2_DIR 0x8000
2521 #define WM2200_GP2_DIR_MASK 0x8000
2522 #define WM2200_GP2_DIR_SHIFT 15
2523 #define WM2200_GP2_DIR_WIDTH 1
2524 #define WM2200_GP2_PU 0x4000
2525 #define WM2200_GP2_PU_MASK 0x4000
2526 #define WM2200_GP2_PU_SHIFT 14
2527 #define WM2200_GP2_PU_WIDTH 1
2528 #define WM2200_GP2_PD 0x2000
2529 #define WM2200_GP2_PD_MASK 0x2000
2530 #define WM2200_GP2_PD_SHIFT 13
2531 #define WM2200_GP2_PD_WIDTH 1
2532 #define WM2200_GP2_POL 0x0400
2533 #define WM2200_GP2_POL_MASK 0x0400
2534 #define WM2200_GP2_POL_SHIFT 10
2535 #define WM2200_GP2_POL_WIDTH 1
2536 #define WM2200_GP2_OP_CFG 0x0200
2537 #define WM2200_GP2_OP_CFG_MASK 0x0200
2538 #define WM2200_GP2_OP_CFG_SHIFT 9
2539 #define WM2200_GP2_OP_CFG_WIDTH 1
2540 #define WM2200_GP2_DB 0x0100
2541 #define WM2200_GP2_DB_MASK 0x0100
2542 #define WM2200_GP2_DB_SHIFT 8
2543 #define WM2200_GP2_DB_WIDTH 1
2544 #define WM2200_GP2_LVL 0x0040
2545 #define WM2200_GP2_LVL_MASK 0x0040
2546 #define WM2200_GP2_LVL_SHIFT 6
2547 #define WM2200_GP2_LVL_WIDTH 1
2548 #define WM2200_GP2_FN_MASK 0x003F
2549 #define WM2200_GP2_FN_SHIFT 0
2550 #define WM2200_GP2_FN_WIDTH 6
2551
2552
2553
2554
2555 #define WM2200_GP3_DIR 0x8000
2556 #define WM2200_GP3_DIR_MASK 0x8000
2557 #define WM2200_GP3_DIR_SHIFT 15
2558 #define WM2200_GP3_DIR_WIDTH 1
2559 #define WM2200_GP3_PU 0x4000
2560 #define WM2200_GP3_PU_MASK 0x4000
2561 #define WM2200_GP3_PU_SHIFT 14
2562 #define WM2200_GP3_PU_WIDTH 1
2563 #define WM2200_GP3_PD 0x2000
2564 #define WM2200_GP3_PD_MASK 0x2000
2565 #define WM2200_GP3_PD_SHIFT 13
2566 #define WM2200_GP3_PD_WIDTH 1
2567 #define WM2200_GP3_POL 0x0400
2568 #define WM2200_GP3_POL_MASK 0x0400
2569 #define WM2200_GP3_POL_SHIFT 10
2570 #define WM2200_GP3_POL_WIDTH 1
2571 #define WM2200_GP3_OP_CFG 0x0200
2572 #define WM2200_GP3_OP_CFG_MASK 0x0200
2573 #define WM2200_GP3_OP_CFG_SHIFT 9
2574 #define WM2200_GP3_OP_CFG_WIDTH 1
2575 #define WM2200_GP3_DB 0x0100
2576 #define WM2200_GP3_DB_MASK 0x0100
2577 #define WM2200_GP3_DB_SHIFT 8
2578 #define WM2200_GP3_DB_WIDTH 1
2579 #define WM2200_GP3_LVL 0x0040
2580 #define WM2200_GP3_LVL_MASK 0x0040
2581 #define WM2200_GP3_LVL_SHIFT 6
2582 #define WM2200_GP3_LVL_WIDTH 1
2583 #define WM2200_GP3_FN_MASK 0x003F
2584 #define WM2200_GP3_FN_SHIFT 0
2585 #define WM2200_GP3_FN_WIDTH 6
2586
2587
2588
2589
2590 #define WM2200_GP4_DIR 0x8000
2591 #define WM2200_GP4_DIR_MASK 0x8000
2592 #define WM2200_GP4_DIR_SHIFT 15
2593 #define WM2200_GP4_DIR_WIDTH 1
2594 #define WM2200_GP4_PU 0x4000
2595 #define WM2200_GP4_PU_MASK 0x4000
2596 #define WM2200_GP4_PU_SHIFT 14
2597 #define WM2200_GP4_PU_WIDTH 1
2598 #define WM2200_GP4_PD 0x2000
2599 #define WM2200_GP4_PD_MASK 0x2000
2600 #define WM2200_GP4_PD_SHIFT 13
2601 #define WM2200_GP4_PD_WIDTH 1
2602 #define WM2200_GP4_POL 0x0400
2603 #define WM2200_GP4_POL_MASK 0x0400
2604 #define WM2200_GP4_POL_SHIFT 10
2605 #define WM2200_GP4_POL_WIDTH 1
2606 #define WM2200_GP4_OP_CFG 0x0200
2607 #define WM2200_GP4_OP_CFG_MASK 0x0200
2608 #define WM2200_GP4_OP_CFG_SHIFT 9
2609 #define WM2200_GP4_OP_CFG_WIDTH 1
2610 #define WM2200_GP4_DB 0x0100
2611 #define WM2200_GP4_DB_MASK 0x0100
2612 #define WM2200_GP4_DB_SHIFT 8
2613 #define WM2200_GP4_DB_WIDTH 1
2614 #define WM2200_GP4_LVL 0x0040
2615 #define WM2200_GP4_LVL_MASK 0x0040
2616 #define WM2200_GP4_LVL_SHIFT 6
2617 #define WM2200_GP4_LVL_WIDTH 1
2618 #define WM2200_GP4_FN_MASK 0x003F
2619 #define WM2200_GP4_FN_SHIFT 0
2620 #define WM2200_GP4_FN_WIDTH 6
2621
2622
2623
2624
2625 #define WM2200_DSP_IRQ1 0x0002
2626 #define WM2200_DSP_IRQ1_MASK 0x0002
2627 #define WM2200_DSP_IRQ1_SHIFT 1
2628 #define WM2200_DSP_IRQ1_WIDTH 1
2629 #define WM2200_DSP_IRQ0 0x0001
2630 #define WM2200_DSP_IRQ0_MASK 0x0001
2631 #define WM2200_DSP_IRQ0_SHIFT 0
2632 #define WM2200_DSP_IRQ0_WIDTH 1
2633
2634
2635
2636
2637 #define WM2200_DSP_IRQ3 0x0002
2638 #define WM2200_DSP_IRQ3_MASK 0x0002
2639 #define WM2200_DSP_IRQ3_SHIFT 1
2640 #define WM2200_DSP_IRQ3_WIDTH 1
2641 #define WM2200_DSP_IRQ2 0x0001
2642 #define WM2200_DSP_IRQ2_MASK 0x0001
2643 #define WM2200_DSP_IRQ2_SHIFT 0
2644 #define WM2200_DSP_IRQ2_WIDTH 1
2645
2646
2647
2648
2649 #define WM2200_LDO1ENA_PD 0x8000
2650 #define WM2200_LDO1ENA_PD_MASK 0x8000
2651 #define WM2200_LDO1ENA_PD_SHIFT 15
2652 #define WM2200_LDO1ENA_PD_WIDTH 1
2653 #define WM2200_MCLK2_PD 0x2000
2654 #define WM2200_MCLK2_PD_MASK 0x2000
2655 #define WM2200_MCLK2_PD_SHIFT 13
2656 #define WM2200_MCLK2_PD_WIDTH 1
2657 #define WM2200_MCLK1_PD 0x1000
2658 #define WM2200_MCLK1_PD_MASK 0x1000
2659 #define WM2200_MCLK1_PD_SHIFT 12
2660 #define WM2200_MCLK1_PD_WIDTH 1
2661 #define WM2200_DACLRCLK1_PU 0x0400
2662 #define WM2200_DACLRCLK1_PU_MASK 0x0400
2663 #define WM2200_DACLRCLK1_PU_SHIFT 10
2664 #define WM2200_DACLRCLK1_PU_WIDTH 1
2665 #define WM2200_DACLRCLK1_PD 0x0200
2666 #define WM2200_DACLRCLK1_PD_MASK 0x0200
2667 #define WM2200_DACLRCLK1_PD_SHIFT 9
2668 #define WM2200_DACLRCLK1_PD_WIDTH 1
2669 #define WM2200_BCLK1_PU 0x0100
2670 #define WM2200_BCLK1_PU_MASK 0x0100
2671 #define WM2200_BCLK1_PU_SHIFT 8
2672 #define WM2200_BCLK1_PU_WIDTH 1
2673 #define WM2200_BCLK1_PD 0x0080
2674 #define WM2200_BCLK1_PD_MASK 0x0080
2675 #define WM2200_BCLK1_PD_SHIFT 7
2676 #define WM2200_BCLK1_PD_WIDTH 1
2677 #define WM2200_DACDAT1_PU 0x0040
2678 #define WM2200_DACDAT1_PU_MASK 0x0040
2679 #define WM2200_DACDAT1_PU_SHIFT 6
2680 #define WM2200_DACDAT1_PU_WIDTH 1
2681 #define WM2200_DACDAT1_PD 0x0020
2682 #define WM2200_DACDAT1_PD_MASK 0x0020
2683 #define WM2200_DACDAT1_PD_SHIFT 5
2684 #define WM2200_DACDAT1_PD_WIDTH 1
2685 #define WM2200_DMICDAT3_PD 0x0010
2686 #define WM2200_DMICDAT3_PD_MASK 0x0010
2687 #define WM2200_DMICDAT3_PD_SHIFT 4
2688 #define WM2200_DMICDAT3_PD_WIDTH 1
2689 #define WM2200_DMICDAT2_PD 0x0008
2690 #define WM2200_DMICDAT2_PD_MASK 0x0008
2691 #define WM2200_DMICDAT2_PD_SHIFT 3
2692 #define WM2200_DMICDAT2_PD_WIDTH 1
2693 #define WM2200_DMICDAT1_PD 0x0004
2694 #define WM2200_DMICDAT1_PD_MASK 0x0004
2695 #define WM2200_DMICDAT1_PD_SHIFT 2
2696 #define WM2200_DMICDAT1_PD_WIDTH 1
2697 #define WM2200_RSTB_PU 0x0002
2698 #define WM2200_RSTB_PU_MASK 0x0002
2699 #define WM2200_RSTB_PU_SHIFT 1
2700 #define WM2200_RSTB_PU_WIDTH 1
2701 #define WM2200_ADDR_PD 0x0001
2702 #define WM2200_ADDR_PD_MASK 0x0001
2703 #define WM2200_ADDR_PD_SHIFT 0
2704 #define WM2200_ADDR_PD_WIDTH 1
2705
2706
2707
2708
2709 #define WM2200_DSP_IRQ0_EINT 0x0080
2710 #define WM2200_DSP_IRQ0_EINT_MASK 0x0080
2711 #define WM2200_DSP_IRQ0_EINT_SHIFT 7
2712 #define WM2200_DSP_IRQ0_EINT_WIDTH 1
2713 #define WM2200_DSP_IRQ1_EINT 0x0040
2714 #define WM2200_DSP_IRQ1_EINT_MASK 0x0040
2715 #define WM2200_DSP_IRQ1_EINT_SHIFT 6
2716 #define WM2200_DSP_IRQ1_EINT_WIDTH 1
2717 #define WM2200_DSP_IRQ2_EINT 0x0020
2718 #define WM2200_DSP_IRQ2_EINT_MASK 0x0020
2719 #define WM2200_DSP_IRQ2_EINT_SHIFT 5
2720 #define WM2200_DSP_IRQ2_EINT_WIDTH 1
2721 #define WM2200_DSP_IRQ3_EINT 0x0010
2722 #define WM2200_DSP_IRQ3_EINT_MASK 0x0010
2723 #define WM2200_DSP_IRQ3_EINT_SHIFT 4
2724 #define WM2200_DSP_IRQ3_EINT_WIDTH 1
2725 #define WM2200_GP4_EINT 0x0008
2726 #define WM2200_GP4_EINT_MASK 0x0008
2727 #define WM2200_GP4_EINT_SHIFT 3
2728 #define WM2200_GP4_EINT_WIDTH 1
2729 #define WM2200_GP3_EINT 0x0004
2730 #define WM2200_GP3_EINT_MASK 0x0004
2731 #define WM2200_GP3_EINT_SHIFT 2
2732 #define WM2200_GP3_EINT_WIDTH 1
2733 #define WM2200_GP2_EINT 0x0002
2734 #define WM2200_GP2_EINT_MASK 0x0002
2735 #define WM2200_GP2_EINT_SHIFT 1
2736 #define WM2200_GP2_EINT_WIDTH 1
2737 #define WM2200_GP1_EINT 0x0001
2738 #define WM2200_GP1_EINT_MASK 0x0001
2739 #define WM2200_GP1_EINT_SHIFT 0
2740 #define WM2200_GP1_EINT_WIDTH 1
2741
2742
2743
2744
2745 #define WM2200_IM_DSP_IRQ0_EINT 0x0080
2746 #define WM2200_IM_DSP_IRQ0_EINT_MASK 0x0080
2747 #define WM2200_IM_DSP_IRQ0_EINT_SHIFT 7
2748 #define WM2200_IM_DSP_IRQ0_EINT_WIDTH 1
2749 #define WM2200_IM_DSP_IRQ1_EINT 0x0040
2750 #define WM2200_IM_DSP_IRQ1_EINT_MASK 0x0040
2751 #define WM2200_IM_DSP_IRQ1_EINT_SHIFT 6
2752 #define WM2200_IM_DSP_IRQ1_EINT_WIDTH 1
2753 #define WM2200_IM_DSP_IRQ2_EINT 0x0020
2754 #define WM2200_IM_DSP_IRQ2_EINT_MASK 0x0020
2755 #define WM2200_IM_DSP_IRQ2_EINT_SHIFT 5
2756 #define WM2200_IM_DSP_IRQ2_EINT_WIDTH 1
2757 #define WM2200_IM_DSP_IRQ3_EINT 0x0010
2758 #define WM2200_IM_DSP_IRQ3_EINT_MASK 0x0010
2759 #define WM2200_IM_DSP_IRQ3_EINT_SHIFT 4
2760 #define WM2200_IM_DSP_IRQ3_EINT_WIDTH 1
2761 #define WM2200_IM_GP4_EINT 0x0008
2762 #define WM2200_IM_GP4_EINT_MASK 0x0008
2763 #define WM2200_IM_GP4_EINT_SHIFT 3
2764 #define WM2200_IM_GP4_EINT_WIDTH 1
2765 #define WM2200_IM_GP3_EINT 0x0004
2766 #define WM2200_IM_GP3_EINT_MASK 0x0004
2767 #define WM2200_IM_GP3_EINT_SHIFT 2
2768 #define WM2200_IM_GP3_EINT_WIDTH 1
2769 #define WM2200_IM_GP2_EINT 0x0002
2770 #define WM2200_IM_GP2_EINT_MASK 0x0002
2771 #define WM2200_IM_GP2_EINT_SHIFT 1
2772 #define WM2200_IM_GP2_EINT_WIDTH 1
2773 #define WM2200_IM_GP1_EINT 0x0001
2774 #define WM2200_IM_GP1_EINT_MASK 0x0001
2775 #define WM2200_IM_GP1_EINT_SHIFT 0
2776 #define WM2200_IM_GP1_EINT_WIDTH 1
2777
2778
2779
2780
2781 #define WM2200_WSEQ_BUSY_EINT 0x0100
2782 #define WM2200_WSEQ_BUSY_EINT_MASK 0x0100
2783 #define WM2200_WSEQ_BUSY_EINT_SHIFT 8
2784 #define WM2200_WSEQ_BUSY_EINT_WIDTH 1
2785 #define WM2200_FLL_LOCK_EINT 0x0002
2786 #define WM2200_FLL_LOCK_EINT_MASK 0x0002
2787 #define WM2200_FLL_LOCK_EINT_SHIFT 1
2788 #define WM2200_FLL_LOCK_EINT_WIDTH 1
2789 #define WM2200_CLKGEN_EINT 0x0001
2790 #define WM2200_CLKGEN_EINT_MASK 0x0001
2791 #define WM2200_CLKGEN_EINT_SHIFT 0
2792 #define WM2200_CLKGEN_EINT_WIDTH 1
2793
2794
2795
2796
2797 #define WM2200_WSEQ_BUSY_STS 0x0100
2798 #define WM2200_WSEQ_BUSY_STS_MASK 0x0100
2799 #define WM2200_WSEQ_BUSY_STS_SHIFT 8
2800 #define WM2200_WSEQ_BUSY_STS_WIDTH 1
2801 #define WM2200_FLL_LOCK_STS 0x0002
2802 #define WM2200_FLL_LOCK_STS_MASK 0x0002
2803 #define WM2200_FLL_LOCK_STS_SHIFT 1
2804 #define WM2200_FLL_LOCK_STS_WIDTH 1
2805 #define WM2200_CLKGEN_STS 0x0001
2806 #define WM2200_CLKGEN_STS_MASK 0x0001
2807 #define WM2200_CLKGEN_STS_SHIFT 0
2808 #define WM2200_CLKGEN_STS_WIDTH 1
2809
2810
2811
2812
2813 #define WM2200_IM_WSEQ_BUSY_EINT 0x0100
2814 #define WM2200_IM_WSEQ_BUSY_EINT_MASK 0x0100
2815 #define WM2200_IM_WSEQ_BUSY_EINT_SHIFT 8
2816 #define WM2200_IM_WSEQ_BUSY_EINT_WIDTH 1
2817 #define WM2200_IM_FLL_LOCK_EINT 0x0002
2818 #define WM2200_IM_FLL_LOCK_EINT_MASK 0x0002
2819 #define WM2200_IM_FLL_LOCK_EINT_SHIFT 1
2820 #define WM2200_IM_FLL_LOCK_EINT_WIDTH 1
2821 #define WM2200_IM_CLKGEN_EINT 0x0001
2822 #define WM2200_IM_CLKGEN_EINT_MASK 0x0001
2823 #define WM2200_IM_CLKGEN_EINT_SHIFT 0
2824 #define WM2200_IM_CLKGEN_EINT_WIDTH 1
2825
2826
2827
2828
2829 #define WM2200_IM_IRQ 0x0001
2830 #define WM2200_IM_IRQ_MASK 0x0001
2831 #define WM2200_IM_IRQ_SHIFT 0
2832 #define WM2200_IM_IRQ_WIDTH 1
2833
2834
2835
2836
2837 #define WM2200_EQL_B1_GAIN_MASK 0xF800
2838 #define WM2200_EQL_B1_GAIN_SHIFT 11
2839 #define WM2200_EQL_B1_GAIN_WIDTH 5
2840 #define WM2200_EQL_B2_GAIN_MASK 0x07C0
2841 #define WM2200_EQL_B2_GAIN_SHIFT 6
2842 #define WM2200_EQL_B2_GAIN_WIDTH 5
2843 #define WM2200_EQL_B3_GAIN_MASK 0x003E
2844 #define WM2200_EQL_B3_GAIN_SHIFT 1
2845 #define WM2200_EQL_B3_GAIN_WIDTH 5
2846 #define WM2200_EQL_ENA 0x0001
2847 #define WM2200_EQL_ENA_MASK 0x0001
2848 #define WM2200_EQL_ENA_SHIFT 0
2849 #define WM2200_EQL_ENA_WIDTH 1
2850
2851
2852
2853
2854 #define WM2200_EQL_B4_GAIN_MASK 0xF800
2855 #define WM2200_EQL_B4_GAIN_SHIFT 11
2856 #define WM2200_EQL_B4_GAIN_WIDTH 5
2857 #define WM2200_EQL_B5_GAIN_MASK 0x07C0
2858 #define WM2200_EQL_B5_GAIN_SHIFT 6
2859 #define WM2200_EQL_B5_GAIN_WIDTH 5
2860
2861
2862
2863
2864 #define WM2200_EQL_B1_A_MASK 0xFFFF
2865 #define WM2200_EQL_B1_A_SHIFT 0
2866 #define WM2200_EQL_B1_A_WIDTH 16
2867
2868
2869
2870
2871 #define WM2200_EQL_B1_B_MASK 0xFFFF
2872 #define WM2200_EQL_B1_B_SHIFT 0
2873 #define WM2200_EQL_B1_B_WIDTH 16
2874
2875
2876
2877
2878 #define WM2200_EQL_B1_PG_MASK 0xFFFF
2879 #define WM2200_EQL_B1_PG_SHIFT 0
2880 #define WM2200_EQL_B1_PG_WIDTH 16
2881
2882
2883
2884
2885 #define WM2200_EQL_B2_A_MASK 0xFFFF
2886 #define WM2200_EQL_B2_A_SHIFT 0
2887 #define WM2200_EQL_B2_A_WIDTH 16
2888
2889
2890
2891
2892 #define WM2200_EQL_B2_B_MASK 0xFFFF
2893 #define WM2200_EQL_B2_B_SHIFT 0
2894 #define WM2200_EQL_B2_B_WIDTH 16
2895
2896
2897
2898
2899 #define WM2200_EQL_B2_C_MASK 0xFFFF
2900 #define WM2200_EQL_B2_C_SHIFT 0
2901 #define WM2200_EQL_B2_C_WIDTH 16
2902
2903
2904
2905
2906 #define WM2200_EQL_B2_PG_MASK 0xFFFF
2907 #define WM2200_EQL_B2_PG_SHIFT 0
2908 #define WM2200_EQL_B2_PG_WIDTH 16
2909
2910
2911
2912
2913 #define WM2200_EQL_B3_A_MASK 0xFFFF
2914 #define WM2200_EQL_B3_A_SHIFT 0
2915 #define WM2200_EQL_B3_A_WIDTH 16
2916
2917
2918
2919
2920 #define WM2200_EQL_B3_B_MASK 0xFFFF
2921 #define WM2200_EQL_B3_B_SHIFT 0
2922 #define WM2200_EQL_B3_B_WIDTH 16
2923
2924
2925
2926
2927 #define WM2200_EQL_B3_C_MASK 0xFFFF
2928 #define WM2200_EQL_B3_C_SHIFT 0
2929 #define WM2200_EQL_B3_C_WIDTH 16
2930
2931
2932
2933
2934 #define WM2200_EQL_B3_PG_MASK 0xFFFF
2935 #define WM2200_EQL_B3_PG_SHIFT 0
2936 #define WM2200_EQL_B3_PG_WIDTH 16
2937
2938
2939
2940
2941 #define WM2200_EQL_B4_A_MASK 0xFFFF
2942 #define WM2200_EQL_B4_A_SHIFT 0
2943 #define WM2200_EQL_B4_A_WIDTH 16
2944
2945
2946
2947
2948 #define WM2200_EQL_B4_B_MASK 0xFFFF
2949 #define WM2200_EQL_B4_B_SHIFT 0
2950 #define WM2200_EQL_B4_B_WIDTH 16
2951
2952
2953
2954
2955 #define WM2200_EQL_B4_C_MASK 0xFFFF
2956 #define WM2200_EQL_B4_C_SHIFT 0
2957 #define WM2200_EQL_B4_C_WIDTH 16
2958
2959
2960
2961
2962 #define WM2200_EQL_B4_PG_MASK 0xFFFF
2963 #define WM2200_EQL_B4_PG_SHIFT 0
2964 #define WM2200_EQL_B4_PG_WIDTH 16
2965
2966
2967
2968
2969 #define WM2200_EQL_B5_A_MASK 0xFFFF
2970 #define WM2200_EQL_B5_A_SHIFT 0
2971 #define WM2200_EQL_B5_A_WIDTH 16
2972
2973
2974
2975
2976 #define WM2200_EQL_B5_B_MASK 0xFFFF
2977 #define WM2200_EQL_B5_B_SHIFT 0
2978 #define WM2200_EQL_B5_B_WIDTH 16
2979
2980
2981
2982
2983 #define WM2200_EQL_B5_PG_MASK 0xFFFF
2984 #define WM2200_EQL_B5_PG_SHIFT 0
2985 #define WM2200_EQL_B5_PG_WIDTH 16
2986
2987
2988
2989
2990 #define WM2200_EQR_B1_GAIN_MASK 0xF800
2991 #define WM2200_EQR_B1_GAIN_SHIFT 11
2992 #define WM2200_EQR_B1_GAIN_WIDTH 5
2993 #define WM2200_EQR_B2_GAIN_MASK 0x07C0
2994 #define WM2200_EQR_B2_GAIN_SHIFT 6
2995 #define WM2200_EQR_B2_GAIN_WIDTH 5
2996 #define WM2200_EQR_B3_GAIN_MASK 0x003E
2997 #define WM2200_EQR_B3_GAIN_SHIFT 1
2998 #define WM2200_EQR_B3_GAIN_WIDTH 5
2999 #define WM2200_EQR_ENA 0x0001
3000 #define WM2200_EQR_ENA_MASK 0x0001
3001 #define WM2200_EQR_ENA_SHIFT 0
3002 #define WM2200_EQR_ENA_WIDTH 1
3003
3004
3005
3006
3007 #define WM2200_EQR_B4_GAIN_MASK 0xF800
3008 #define WM2200_EQR_B4_GAIN_SHIFT 11
3009 #define WM2200_EQR_B4_GAIN_WIDTH 5
3010 #define WM2200_EQR_B5_GAIN_MASK 0x07C0
3011 #define WM2200_EQR_B5_GAIN_SHIFT 6
3012 #define WM2200_EQR_B5_GAIN_WIDTH 5
3013
3014
3015
3016
3017 #define WM2200_EQR_B1_A_MASK 0xFFFF
3018 #define WM2200_EQR_B1_A_SHIFT 0
3019 #define WM2200_EQR_B1_A_WIDTH 16
3020
3021
3022
3023
3024 #define WM2200_EQR_B1_B_MASK 0xFFFF
3025 #define WM2200_EQR_B1_B_SHIFT 0
3026 #define WM2200_EQR_B1_B_WIDTH 16
3027
3028
3029
3030
3031 #define WM2200_EQR_B1_PG_MASK 0xFFFF
3032 #define WM2200_EQR_B1_PG_SHIFT 0
3033 #define WM2200_EQR_B1_PG_WIDTH 16
3034
3035
3036
3037
3038 #define WM2200_EQR_B2_A_MASK 0xFFFF
3039 #define WM2200_EQR_B2_A_SHIFT 0
3040 #define WM2200_EQR_B2_A_WIDTH 16
3041
3042
3043
3044
3045 #define WM2200_EQR_B2_B_MASK 0xFFFF
3046 #define WM2200_EQR_B2_B_SHIFT 0
3047 #define WM2200_EQR_B2_B_WIDTH 16
3048
3049
3050
3051
3052 #define WM2200_EQR_B2_C_MASK 0xFFFF
3053 #define WM2200_EQR_B2_C_SHIFT 0
3054 #define WM2200_EQR_B2_C_WIDTH 16
3055
3056
3057
3058
3059 #define WM2200_EQR_B2_PG_MASK 0xFFFF
3060 #define WM2200_EQR_B2_PG_SHIFT 0
3061 #define WM2200_EQR_B2_PG_WIDTH 16
3062
3063
3064
3065
3066 #define WM2200_EQR_B3_A_MASK 0xFFFF
3067 #define WM2200_EQR_B3_A_SHIFT 0
3068 #define WM2200_EQR_B3_A_WIDTH 16
3069
3070
3071
3072
3073 #define WM2200_EQR_B3_B_MASK 0xFFFF
3074 #define WM2200_EQR_B3_B_SHIFT 0
3075 #define WM2200_EQR_B3_B_WIDTH 16
3076
3077
3078
3079
3080 #define WM2200_EQR_B3_C_MASK 0xFFFF
3081 #define WM2200_EQR_B3_C_SHIFT 0
3082 #define WM2200_EQR_B3_C_WIDTH 16
3083
3084
3085
3086
3087 #define WM2200_EQR_B3_PG_MASK 0xFFFF
3088 #define WM2200_EQR_B3_PG_SHIFT 0
3089 #define WM2200_EQR_B3_PG_WIDTH 16
3090
3091
3092
3093
3094 #define WM2200_EQR_B4_A_MASK 0xFFFF
3095 #define WM2200_EQR_B4_A_SHIFT 0
3096 #define WM2200_EQR_B4_A_WIDTH 16
3097
3098
3099
3100
3101 #define WM2200_EQR_B4_B_MASK 0xFFFF
3102 #define WM2200_EQR_B4_B_SHIFT 0
3103 #define WM2200_EQR_B4_B_WIDTH 16
3104
3105
3106
3107
3108 #define WM2200_EQR_B4_C_MASK 0xFFFF
3109 #define WM2200_EQR_B4_C_SHIFT 0
3110 #define WM2200_EQR_B4_C_WIDTH 16
3111
3112
3113
3114
3115 #define WM2200_EQR_B4_PG_MASK 0xFFFF
3116 #define WM2200_EQR_B4_PG_SHIFT 0
3117 #define WM2200_EQR_B4_PG_WIDTH 16
3118
3119
3120
3121
3122 #define WM2200_EQR_B5_A_MASK 0xFFFF
3123 #define WM2200_EQR_B5_A_SHIFT 0
3124 #define WM2200_EQR_B5_A_WIDTH 16
3125
3126
3127
3128
3129 #define WM2200_EQR_B5_B_MASK 0xFFFF
3130 #define WM2200_EQR_B5_B_SHIFT 0
3131 #define WM2200_EQR_B5_B_WIDTH 16
3132
3133
3134
3135
3136 #define WM2200_EQR_B5_PG_MASK 0xFFFF
3137 #define WM2200_EQR_B5_PG_SHIFT 0
3138 #define WM2200_EQR_B5_PG_WIDTH 16
3139
3140
3141
3142
3143 #define WM2200_LHPF1_MODE 0x0002
3144 #define WM2200_LHPF1_MODE_MASK 0x0002
3145 #define WM2200_LHPF1_MODE_SHIFT 1
3146 #define WM2200_LHPF1_MODE_WIDTH 1
3147 #define WM2200_LHPF1_ENA 0x0001
3148 #define WM2200_LHPF1_ENA_MASK 0x0001
3149 #define WM2200_LHPF1_ENA_SHIFT 0
3150 #define WM2200_LHPF1_ENA_WIDTH 1
3151
3152
3153
3154
3155 #define WM2200_LHPF1_COEFF_MASK 0xFFFF
3156 #define WM2200_LHPF1_COEFF_SHIFT 0
3157 #define WM2200_LHPF1_COEFF_WIDTH 16
3158
3159
3160
3161
3162 #define WM2200_LHPF2_MODE 0x0002
3163 #define WM2200_LHPF2_MODE_MASK 0x0002
3164 #define WM2200_LHPF2_MODE_SHIFT 1
3165 #define WM2200_LHPF2_MODE_WIDTH 1
3166 #define WM2200_LHPF2_ENA 0x0001
3167 #define WM2200_LHPF2_ENA_MASK 0x0001
3168 #define WM2200_LHPF2_ENA_SHIFT 0
3169 #define WM2200_LHPF2_ENA_WIDTH 1
3170
3171
3172
3173
3174 #define WM2200_LHPF2_COEFF_MASK 0xFFFF
3175 #define WM2200_LHPF2_COEFF_SHIFT 0
3176 #define WM2200_LHPF2_COEFF_WIDTH 16
3177
3178
3179
3180
3181 #define WM2200_DSP1_RW_SEQUENCE_ENA 0x0001
3182 #define WM2200_DSP1_RW_SEQUENCE_ENA_MASK 0x0001
3183 #define WM2200_DSP1_RW_SEQUENCE_ENA_SHIFT 0
3184 #define WM2200_DSP1_RW_SEQUENCE_ENA_WIDTH 1
3185
3186
3187
3188
3189 #define WM2200_DSP1_PAGE_BASE_PM_0_MASK 0xFF00
3190 #define WM2200_DSP1_PAGE_BASE_PM_0_SHIFT 8
3191 #define WM2200_DSP1_PAGE_BASE_PM_0_WIDTH 8
3192
3193
3194
3195
3196 #define WM2200_DSP1_PAGE_BASE_DM_0_MASK 0xFF00
3197 #define WM2200_DSP1_PAGE_BASE_DM_0_SHIFT 8
3198 #define WM2200_DSP1_PAGE_BASE_DM_0_WIDTH 8
3199
3200
3201
3202
3203 #define WM2200_DSP1_PAGE_BASE_ZM_0_MASK 0xFF00
3204 #define WM2200_DSP1_PAGE_BASE_ZM_0_SHIFT 8
3205 #define WM2200_DSP1_PAGE_BASE_ZM_0_WIDTH 8
3206
3207
3208
3209
3210 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_0_MASK 0x3FFF
3211 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_0_SHIFT 0
3212 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_0_WIDTH 14
3213
3214
3215
3216
3217 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_1_MASK 0x3FFF
3218 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_1_SHIFT 0
3219 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_1_WIDTH 14
3220
3221
3222
3223
3224 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_2_MASK 0x3FFF
3225 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_2_SHIFT 0
3226 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_2_WIDTH 14
3227
3228
3229
3230
3231 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_3_MASK 0x3FFF
3232 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_3_SHIFT 0
3233 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_3_WIDTH 14
3234
3235
3236
3237
3238 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_4_MASK 0x3FFF
3239 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_4_SHIFT 0
3240 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_4_WIDTH 14
3241
3242
3243
3244
3245 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_5_MASK 0x3FFF
3246 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_5_SHIFT 0
3247 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_5_WIDTH 14
3248
3249
3250
3251
3252 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_6_MASK 0x3FFF
3253 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_6_SHIFT 0
3254 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_6_WIDTH 14
3255
3256
3257
3258
3259 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_7_MASK 0x3FFF
3260 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_7_SHIFT 0
3261 #define WM2200_DSP1_START_ADDRESS_WDMA_BUFFER_7_WIDTH 14
3262
3263
3264
3265
3266 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_0_MASK 0x3FFF
3267 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_0_SHIFT 0
3268 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_0_WIDTH 14
3269
3270
3271
3272
3273 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_1_MASK 0x3FFF
3274 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_1_SHIFT 0
3275 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_1_WIDTH 14
3276
3277
3278
3279
3280 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_2_MASK 0x3FFF
3281 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_2_SHIFT 0
3282 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_2_WIDTH 14
3283
3284
3285
3286
3287 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_3_MASK 0x3FFF
3288 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_3_SHIFT 0
3289 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_3_WIDTH 14
3290
3291
3292
3293
3294 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_4_MASK 0x3FFF
3295 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_4_SHIFT 0
3296 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_4_WIDTH 14
3297
3298
3299
3300
3301 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_5_MASK 0x3FFF
3302 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_5_SHIFT 0
3303 #define WM2200_DSP1_START_ADDRESS_RDMA_BUFFER_5_WIDTH 14
3304
3305
3306
3307
3308 #define WM2200_DSP1_WDMA_BUFFER_LENGTH_MASK 0x00FF
3309 #define WM2200_DSP1_WDMA_BUFFER_LENGTH_SHIFT 0
3310 #define WM2200_DSP1_WDMA_BUFFER_LENGTH_WIDTH 8
3311
3312
3313
3314
3315 #define WM2200_DSP1_WDMA_CHANNEL_ENABLE_MASK 0x00FF
3316 #define WM2200_DSP1_WDMA_CHANNEL_ENABLE_SHIFT 0
3317 #define WM2200_DSP1_WDMA_CHANNEL_ENABLE_WIDTH 8
3318
3319
3320
3321
3322 #define WM2200_DSP1_RDMA_CHANNEL_ENABLE_MASK 0x003F
3323 #define WM2200_DSP1_RDMA_CHANNEL_ENABLE_SHIFT 0
3324 #define WM2200_DSP1_RDMA_CHANNEL_ENABLE_WIDTH 6
3325
3326
3327
3328
3329 #define WM2200_DSP1_DM_SIZE_MASK 0xFFFF
3330 #define WM2200_DSP1_DM_SIZE_SHIFT 0
3331 #define WM2200_DSP1_DM_SIZE_WIDTH 16
3332
3333
3334
3335
3336 #define WM2200_DSP1_PM_SIZE_MASK 0xFFFF
3337 #define WM2200_DSP1_PM_SIZE_SHIFT 0
3338 #define WM2200_DSP1_PM_SIZE_WIDTH 16
3339
3340
3341
3342
3343 #define WM2200_DSP1_ZM_SIZE_MASK 0xFFFF
3344 #define WM2200_DSP1_ZM_SIZE_SHIFT 0
3345 #define WM2200_DSP1_ZM_SIZE_WIDTH 16
3346
3347
3348
3349
3350 #define WM2200_DSP1_PING_FULL 0x8000
3351 #define WM2200_DSP1_PING_FULL_MASK 0x8000
3352 #define WM2200_DSP1_PING_FULL_SHIFT 15
3353 #define WM2200_DSP1_PING_FULL_WIDTH 1
3354 #define WM2200_DSP1_PONG_FULL 0x4000
3355 #define WM2200_DSP1_PONG_FULL_MASK 0x4000
3356 #define WM2200_DSP1_PONG_FULL_SHIFT 14
3357 #define WM2200_DSP1_PONG_FULL_WIDTH 1
3358 #define WM2200_DSP1_WDMA_ACTIVE_CHANNELS_MASK 0x00FF
3359 #define WM2200_DSP1_WDMA_ACTIVE_CHANNELS_SHIFT 0
3360 #define WM2200_DSP1_WDMA_ACTIVE_CHANNELS_WIDTH 8
3361
3362
3363
3364
3365 #define WM2200_DSP1_SCRATCH_0_MASK 0xFFFF
3366 #define WM2200_DSP1_SCRATCH_0_SHIFT 0
3367 #define WM2200_DSP1_SCRATCH_0_WIDTH 16
3368
3369
3370
3371
3372 #define WM2200_DSP1_SCRATCH_1_MASK 0xFFFF
3373 #define WM2200_DSP1_SCRATCH_1_SHIFT 0
3374 #define WM2200_DSP1_SCRATCH_1_WIDTH 16
3375
3376
3377
3378
3379 #define WM2200_DSP1_SCRATCH_2_MASK 0xFFFF
3380 #define WM2200_DSP1_SCRATCH_2_SHIFT 0
3381 #define WM2200_DSP1_SCRATCH_2_WIDTH 16
3382
3383
3384
3385
3386 #define WM2200_DSP1_SCRATCH_3_MASK 0xFFFF
3387 #define WM2200_DSP1_SCRATCH_3_SHIFT 0
3388 #define WM2200_DSP1_SCRATCH_3_WIDTH 16
3389
3390
3391
3392
3393 #define WM2200_DSP1_DBG_CLK_ENA 0x0008
3394 #define WM2200_DSP1_DBG_CLK_ENA_MASK 0x0008
3395 #define WM2200_DSP1_DBG_CLK_ENA_SHIFT 3
3396 #define WM2200_DSP1_DBG_CLK_ENA_WIDTH 1
3397 #define WM2200_DSP1_SYS_ENA 0x0004
3398 #define WM2200_DSP1_SYS_ENA_MASK 0x0004
3399 #define WM2200_DSP1_SYS_ENA_SHIFT 2
3400 #define WM2200_DSP1_SYS_ENA_WIDTH 1
3401 #define WM2200_DSP1_CORE_ENA 0x0002
3402 #define WM2200_DSP1_CORE_ENA_MASK 0x0002
3403 #define WM2200_DSP1_CORE_ENA_SHIFT 1
3404 #define WM2200_DSP1_CORE_ENA_WIDTH 1
3405 #define WM2200_DSP1_START 0x0001
3406 #define WM2200_DSP1_START_MASK 0x0001
3407 #define WM2200_DSP1_START_SHIFT 0
3408 #define WM2200_DSP1_START_WIDTH 1
3409
3410
3411
3412
3413 #define WM2200_DSP1_CLK_RATE_MASK 0x0018
3414 #define WM2200_DSP1_CLK_RATE_SHIFT 3
3415 #define WM2200_DSP1_CLK_RATE_WIDTH 2
3416 #define WM2200_DSP1_CLK_AVAIL 0x0004
3417 #define WM2200_DSP1_CLK_AVAIL_MASK 0x0004
3418 #define WM2200_DSP1_CLK_AVAIL_SHIFT 2
3419 #define WM2200_DSP1_CLK_AVAIL_WIDTH 1
3420 #define WM2200_DSP1_CLK_REQ_MASK 0x0003
3421 #define WM2200_DSP1_CLK_REQ_SHIFT 0
3422 #define WM2200_DSP1_CLK_REQ_WIDTH 2
3423
3424
3425
3426
3427 #define WM2200_DSP2_RW_SEQUENCE_ENA 0x0001
3428 #define WM2200_DSP2_RW_SEQUENCE_ENA_MASK 0x0001
3429 #define WM2200_DSP2_RW_SEQUENCE_ENA_SHIFT 0
3430 #define WM2200_DSP2_RW_SEQUENCE_ENA_WIDTH 1
3431
3432
3433
3434
3435 #define WM2200_DSP2_PAGE_BASE_PM_0_MASK 0xFF00
3436 #define WM2200_DSP2_PAGE_BASE_PM_0_SHIFT 8
3437 #define WM2200_DSP2_PAGE_BASE_PM_0_WIDTH 8
3438
3439
3440
3441
3442 #define WM2200_DSP2_PAGE_BASE_DM_0_MASK 0xFF00
3443 #define WM2200_DSP2_PAGE_BASE_DM_0_SHIFT 8
3444 #define WM2200_DSP2_PAGE_BASE_DM_0_WIDTH 8
3445
3446
3447
3448
3449 #define WM2200_DSP2_PAGE_BASE_ZM_0_MASK 0xFF00
3450 #define WM2200_DSP2_PAGE_BASE_ZM_0_SHIFT 8
3451 #define WM2200_DSP2_PAGE_BASE_ZM_0_WIDTH 8
3452
3453
3454
3455
3456 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_0_MASK 0x3FFF
3457 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_0_SHIFT 0
3458 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_0_WIDTH 14
3459
3460
3461
3462
3463 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_1_MASK 0x3FFF
3464 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_1_SHIFT 0
3465 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_1_WIDTH 14
3466
3467
3468
3469
3470 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_2_MASK 0x3FFF
3471 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_2_SHIFT 0
3472 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_2_WIDTH 14
3473
3474
3475
3476
3477 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_3_MASK 0x3FFF
3478 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_3_SHIFT 0
3479 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_3_WIDTH 14
3480
3481
3482
3483
3484 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_4_MASK 0x3FFF
3485 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_4_SHIFT 0
3486 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_4_WIDTH 14
3487
3488
3489
3490
3491 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_5_MASK 0x3FFF
3492 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_5_SHIFT 0
3493 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_5_WIDTH 14
3494
3495
3496
3497
3498 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_6_MASK 0x3FFF
3499 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_6_SHIFT 0
3500 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_6_WIDTH 14
3501
3502
3503
3504
3505 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_7_MASK 0x3FFF
3506 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_7_SHIFT 0
3507 #define WM2200_DSP2_START_ADDRESS_WDMA_BUFFER_7_WIDTH 14
3508
3509
3510
3511
3512 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_0_MASK 0x3FFF
3513 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_0_SHIFT 0
3514 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_0_WIDTH 14
3515
3516
3517
3518
3519 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_1_MASK 0x3FFF
3520 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_1_SHIFT 0
3521 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_1_WIDTH 14
3522
3523
3524
3525
3526 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_2_MASK 0x3FFF
3527 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_2_SHIFT 0
3528 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_2_WIDTH 14
3529
3530
3531
3532
3533 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_3_MASK 0x3FFF
3534 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_3_SHIFT 0
3535 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_3_WIDTH 14
3536
3537
3538
3539
3540 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_4_MASK 0x3FFF
3541 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_4_SHIFT 0
3542 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_4_WIDTH 14
3543
3544
3545
3546
3547 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_5_MASK 0x3FFF
3548 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_5_SHIFT 0
3549 #define WM2200_DSP2_START_ADDRESS_RDMA_BUFFER_5_WIDTH 14
3550
3551
3552
3553
3554 #define WM2200_DSP2_WDMA_BUFFER_LENGTH_MASK 0x00FF
3555 #define WM2200_DSP2_WDMA_BUFFER_LENGTH_SHIFT 0
3556 #define WM2200_DSP2_WDMA_BUFFER_LENGTH_WIDTH 8
3557
3558
3559
3560
3561 #define WM2200_DSP2_WDMA_CHANNEL_ENABLE_MASK 0x00FF
3562 #define WM2200_DSP2_WDMA_CHANNEL_ENABLE_SHIFT 0
3563 #define WM2200_DSP2_WDMA_CHANNEL_ENABLE_WIDTH 8
3564
3565
3566
3567
3568 #define WM2200_DSP2_RDMA_CHANNEL_ENABLE_MASK 0x003F
3569 #define WM2200_DSP2_RDMA_CHANNEL_ENABLE_SHIFT 0
3570 #define WM2200_DSP2_RDMA_CHANNEL_ENABLE_WIDTH 6
3571
3572
3573
3574
3575 #define WM2200_DSP2_DM_SIZE_MASK 0xFFFF
3576 #define WM2200_DSP2_DM_SIZE_SHIFT 0
3577 #define WM2200_DSP2_DM_SIZE_WIDTH 16
3578
3579
3580
3581
3582 #define WM2200_DSP2_PM_SIZE_MASK 0xFFFF
3583 #define WM2200_DSP2_PM_SIZE_SHIFT 0
3584 #define WM2200_DSP2_PM_SIZE_WIDTH 16
3585
3586
3587
3588
3589 #define WM2200_DSP2_ZM_SIZE_MASK 0xFFFF
3590 #define WM2200_DSP2_ZM_SIZE_SHIFT 0
3591 #define WM2200_DSP2_ZM_SIZE_WIDTH 16
3592
3593
3594
3595
3596 #define WM2200_DSP2_PING_FULL 0x8000
3597 #define WM2200_DSP2_PING_FULL_MASK 0x8000
3598 #define WM2200_DSP2_PING_FULL_SHIFT 15
3599 #define WM2200_DSP2_PING_FULL_WIDTH 1
3600 #define WM2200_DSP2_PONG_FULL 0x4000
3601 #define WM2200_DSP2_PONG_FULL_MASK 0x4000
3602 #define WM2200_DSP2_PONG_FULL_SHIFT 14
3603 #define WM2200_DSP2_PONG_FULL_WIDTH 1
3604 #define WM2200_DSP2_WDMA_ACTIVE_CHANNELS_MASK 0x00FF
3605 #define WM2200_DSP2_WDMA_ACTIVE_CHANNELS_SHIFT 0
3606 #define WM2200_DSP2_WDMA_ACTIVE_CHANNELS_WIDTH 8
3607
3608
3609
3610
3611 #define WM2200_DSP2_SCRATCH_0_MASK 0xFFFF
3612 #define WM2200_DSP2_SCRATCH_0_SHIFT 0
3613 #define WM2200_DSP2_SCRATCH_0_WIDTH 16
3614
3615
3616
3617
3618 #define WM2200_DSP2_SCRATCH_1_MASK 0xFFFF
3619 #define WM2200_DSP2_SCRATCH_1_SHIFT 0
3620 #define WM2200_DSP2_SCRATCH_1_WIDTH 16
3621
3622
3623
3624
3625 #define WM2200_DSP2_SCRATCH_2_MASK 0xFFFF
3626 #define WM2200_DSP2_SCRATCH_2_SHIFT 0
3627 #define WM2200_DSP2_SCRATCH_2_WIDTH 16
3628
3629
3630
3631
3632 #define WM2200_DSP2_SCRATCH_3_MASK 0xFFFF
3633 #define WM2200_DSP2_SCRATCH_3_SHIFT 0
3634 #define WM2200_DSP2_SCRATCH_3_WIDTH 16
3635
3636
3637
3638
3639 #define WM2200_DSP2_DBG_CLK_ENA 0x0008
3640 #define WM2200_DSP2_DBG_CLK_ENA_MASK 0x0008
3641 #define WM2200_DSP2_DBG_CLK_ENA_SHIFT 3
3642 #define WM2200_DSP2_DBG_CLK_ENA_WIDTH 1
3643 #define WM2200_DSP2_SYS_ENA 0x0004
3644 #define WM2200_DSP2_SYS_ENA_MASK 0x0004
3645 #define WM2200_DSP2_SYS_ENA_SHIFT 2
3646 #define WM2200_DSP2_SYS_ENA_WIDTH 1
3647 #define WM2200_DSP2_CORE_ENA 0x0002
3648 #define WM2200_DSP2_CORE_ENA_MASK 0x0002
3649 #define WM2200_DSP2_CORE_ENA_SHIFT 1
3650 #define WM2200_DSP2_CORE_ENA_WIDTH 1
3651 #define WM2200_DSP2_START 0x0001
3652 #define WM2200_DSP2_START_MASK 0x0001
3653 #define WM2200_DSP2_START_SHIFT 0
3654 #define WM2200_DSP2_START_WIDTH 1
3655
3656
3657
3658
3659 #define WM2200_DSP2_CLK_RATE_MASK 0x0018
3660 #define WM2200_DSP2_CLK_RATE_SHIFT 3
3661 #define WM2200_DSP2_CLK_RATE_WIDTH 2
3662 #define WM2200_DSP2_CLK_AVAIL 0x0004
3663 #define WM2200_DSP2_CLK_AVAIL_MASK 0x0004
3664 #define WM2200_DSP2_CLK_AVAIL_SHIFT 2
3665 #define WM2200_DSP2_CLK_AVAIL_WIDTH 1
3666 #define WM2200_DSP2_CLK_REQ_MASK 0x0003
3667 #define WM2200_DSP2_CLK_REQ_SHIFT 0
3668 #define WM2200_DSP2_CLK_REQ_WIDTH 2
3669
3670 #endif