Go to the documentation of this file.
21 #define WM9081_SYSCLK_MCLK 1
22 #define WM9081_SYSCLK_FLL_MCLK 2
27 #define WM9081_SOFTWARE_RESET 0x00
28 #define WM9081_ANALOGUE_LINEOUT 0x02
29 #define WM9081_ANALOGUE_SPEAKER_PGA 0x03
30 #define WM9081_VMID_CONTROL 0x04
31 #define WM9081_BIAS_CONTROL_1 0x05
32 #define WM9081_ANALOGUE_MIXER 0x07
33 #define WM9081_ANTI_POP_CONTROL 0x08
34 #define WM9081_ANALOGUE_SPEAKER_1 0x09
35 #define WM9081_ANALOGUE_SPEAKER_2 0x0A
36 #define WM9081_POWER_MANAGEMENT 0x0B
37 #define WM9081_CLOCK_CONTROL_1 0x0C
38 #define WM9081_CLOCK_CONTROL_2 0x0D
39 #define WM9081_CLOCK_CONTROL_3 0x0E
40 #define WM9081_FLL_CONTROL_1 0x10
41 #define WM9081_FLL_CONTROL_2 0x11
42 #define WM9081_FLL_CONTROL_3 0x12
43 #define WM9081_FLL_CONTROL_4 0x13
44 #define WM9081_FLL_CONTROL_5 0x14
45 #define WM9081_AUDIO_INTERFACE_1 0x16
46 #define WM9081_AUDIO_INTERFACE_2 0x17
47 #define WM9081_AUDIO_INTERFACE_3 0x18
48 #define WM9081_AUDIO_INTERFACE_4 0x19
49 #define WM9081_INTERRUPT_STATUS 0x1A
50 #define WM9081_INTERRUPT_STATUS_MASK 0x1B
51 #define WM9081_INTERRUPT_POLARITY 0x1C
52 #define WM9081_INTERRUPT_CONTROL 0x1D
53 #define WM9081_DAC_DIGITAL_1 0x1E
54 #define WM9081_DAC_DIGITAL_2 0x1F
55 #define WM9081_DRC_1 0x20
56 #define WM9081_DRC_2 0x21
57 #define WM9081_DRC_3 0x22
58 #define WM9081_DRC_4 0x23
59 #define WM9081_WRITE_SEQUENCER_1 0x26
60 #define WM9081_WRITE_SEQUENCER_2 0x27
61 #define WM9081_MW_SLAVE_1 0x28
62 #define WM9081_EQ_1 0x2A
63 #define WM9081_EQ_2 0x2B
64 #define WM9081_EQ_3 0x2C
65 #define WM9081_EQ_4 0x2D
66 #define WM9081_EQ_5 0x2E
67 #define WM9081_EQ_6 0x2F
68 #define WM9081_EQ_7 0x30
69 #define WM9081_EQ_8 0x31
70 #define WM9081_EQ_9 0x32
71 #define WM9081_EQ_10 0x33
72 #define WM9081_EQ_11 0x34
73 #define WM9081_EQ_12 0x35
74 #define WM9081_EQ_13 0x36
75 #define WM9081_EQ_14 0x37
76 #define WM9081_EQ_15 0x38
77 #define WM9081_EQ_16 0x39
78 #define WM9081_EQ_17 0x3A
79 #define WM9081_EQ_18 0x3B
80 #define WM9081_EQ_19 0x3C
81 #define WM9081_EQ_20 0x3D
83 #define WM9081_REGISTER_COUNT 55
84 #define WM9081_MAX_REGISTER 0x3D
93 #define WM9081_SW_RST_DEV_ID1_MASK 0xFFFF
94 #define WM9081_SW_RST_DEV_ID1_SHIFT 0
95 #define WM9081_SW_RST_DEV_ID1_WIDTH 16
100 #define WM9081_LINEOUT_MUTE 0x0080
101 #define WM9081_LINEOUT_MUTE_MASK 0x0080
102 #define WM9081_LINEOUT_MUTE_SHIFT 7
103 #define WM9081_LINEOUT_MUTE_WIDTH 1
104 #define WM9081_LINEOUTZC 0x0040
105 #define WM9081_LINEOUTZC_MASK 0x0040
106 #define WM9081_LINEOUTZC_SHIFT 6
107 #define WM9081_LINEOUTZC_WIDTH 1
108 #define WM9081_LINEOUT_VOL_MASK 0x003F
109 #define WM9081_LINEOUT_VOL_SHIFT 0
110 #define WM9081_LINEOUT_VOL_WIDTH 6
115 #define WM9081_SPKPGA_MUTE 0x0080
116 #define WM9081_SPKPGA_MUTE_MASK 0x0080
117 #define WM9081_SPKPGA_MUTE_SHIFT 7
118 #define WM9081_SPKPGA_MUTE_WIDTH 1
119 #define WM9081_SPKPGAZC 0x0040
120 #define WM9081_SPKPGAZC_MASK 0x0040
121 #define WM9081_SPKPGAZC_SHIFT 6
122 #define WM9081_SPKPGAZC_WIDTH 1
123 #define WM9081_SPKPGA_VOL_MASK 0x003F
124 #define WM9081_SPKPGA_VOL_SHIFT 0
125 #define WM9081_SPKPGA_VOL_WIDTH 6
130 #define WM9081_VMID_BUF_ENA 0x0020
131 #define WM9081_VMID_BUF_ENA_MASK 0x0020
132 #define WM9081_VMID_BUF_ENA_SHIFT 5
133 #define WM9081_VMID_BUF_ENA_WIDTH 1
134 #define WM9081_VMID_RAMP 0x0008
135 #define WM9081_VMID_RAMP_MASK 0x0008
136 #define WM9081_VMID_RAMP_SHIFT 3
137 #define WM9081_VMID_RAMP_WIDTH 1
138 #define WM9081_VMID_SEL_MASK 0x0006
139 #define WM9081_VMID_SEL_SHIFT 1
140 #define WM9081_VMID_SEL_WIDTH 2
141 #define WM9081_VMID_FAST_ST 0x0001
142 #define WM9081_VMID_FAST_ST_MASK 0x0001
143 #define WM9081_VMID_FAST_ST_SHIFT 0
144 #define WM9081_VMID_FAST_ST_WIDTH 1
149 #define WM9081_BIAS_SRC 0x0040
150 #define WM9081_BIAS_SRC_MASK 0x0040
151 #define WM9081_BIAS_SRC_SHIFT 6
152 #define WM9081_BIAS_SRC_WIDTH 1
153 #define WM9081_STBY_BIAS_LVL 0x0020
154 #define WM9081_STBY_BIAS_LVL_MASK 0x0020
155 #define WM9081_STBY_BIAS_LVL_SHIFT 5
156 #define WM9081_STBY_BIAS_LVL_WIDTH 1
157 #define WM9081_STBY_BIAS_ENA 0x0010
158 #define WM9081_STBY_BIAS_ENA_MASK 0x0010
159 #define WM9081_STBY_BIAS_ENA_SHIFT 4
160 #define WM9081_STBY_BIAS_ENA_WIDTH 1
161 #define WM9081_BIAS_LVL_MASK 0x000C
162 #define WM9081_BIAS_LVL_SHIFT 2
163 #define WM9081_BIAS_LVL_WIDTH 2
164 #define WM9081_BIAS_ENA 0x0002
165 #define WM9081_BIAS_ENA_MASK 0x0002
166 #define WM9081_BIAS_ENA_SHIFT 1
167 #define WM9081_BIAS_ENA_WIDTH 1
168 #define WM9081_STARTUP_BIAS_ENA 0x0001
169 #define WM9081_STARTUP_BIAS_ENA_MASK 0x0001
170 #define WM9081_STARTUP_BIAS_ENA_SHIFT 0
171 #define WM9081_STARTUP_BIAS_ENA_WIDTH 1
176 #define WM9081_DAC_SEL 0x0010
177 #define WM9081_DAC_SEL_MASK 0x0010
178 #define WM9081_DAC_SEL_SHIFT 4
179 #define WM9081_DAC_SEL_WIDTH 1
180 #define WM9081_IN2_VOL 0x0008
181 #define WM9081_IN2_VOL_MASK 0x0008
182 #define WM9081_IN2_VOL_SHIFT 3
183 #define WM9081_IN2_VOL_WIDTH 1
184 #define WM9081_IN2_ENA 0x0004
185 #define WM9081_IN2_ENA_MASK 0x0004
186 #define WM9081_IN2_ENA_SHIFT 2
187 #define WM9081_IN2_ENA_WIDTH 1
188 #define WM9081_IN1_VOL 0x0002
189 #define WM9081_IN1_VOL_MASK 0x0002
190 #define WM9081_IN1_VOL_SHIFT 1
191 #define WM9081_IN1_VOL_WIDTH 1
192 #define WM9081_IN1_ENA 0x0001
193 #define WM9081_IN1_ENA_MASK 0x0001
194 #define WM9081_IN1_ENA_SHIFT 0
195 #define WM9081_IN1_ENA_WIDTH 1
200 #define WM9081_LINEOUT_DISCH 0x0004
201 #define WM9081_LINEOUT_DISCH_MASK 0x0004
202 #define WM9081_LINEOUT_DISCH_SHIFT 2
203 #define WM9081_LINEOUT_DISCH_WIDTH 1
204 #define WM9081_LINEOUT_VROI 0x0002
205 #define WM9081_LINEOUT_VROI_MASK 0x0002
206 #define WM9081_LINEOUT_VROI_SHIFT 1
207 #define WM9081_LINEOUT_VROI_WIDTH 1
208 #define WM9081_LINEOUT_CLAMP 0x0001
209 #define WM9081_LINEOUT_CLAMP_MASK 0x0001
210 #define WM9081_LINEOUT_CLAMP_SHIFT 0
211 #define WM9081_LINEOUT_CLAMP_WIDTH 1
216 #define WM9081_SPK_DCGAIN_MASK 0x0038
217 #define WM9081_SPK_DCGAIN_SHIFT 3
218 #define WM9081_SPK_DCGAIN_WIDTH 3
219 #define WM9081_SPK_ACGAIN_MASK 0x0007
220 #define WM9081_SPK_ACGAIN_SHIFT 0
221 #define WM9081_SPK_ACGAIN_WIDTH 3
226 #define WM9081_SPK_MODE 0x0040
227 #define WM9081_SPK_MODE_MASK 0x0040
228 #define WM9081_SPK_MODE_SHIFT 6
229 #define WM9081_SPK_MODE_WIDTH 1
230 #define WM9081_SPK_INV_MUTE 0x0010
231 #define WM9081_SPK_INV_MUTE_MASK 0x0010
232 #define WM9081_SPK_INV_MUTE_SHIFT 4
233 #define WM9081_SPK_INV_MUTE_WIDTH 1
234 #define WM9081_OUT_SPK_CTRL 0x0008
235 #define WM9081_OUT_SPK_CTRL_MASK 0x0008
236 #define WM9081_OUT_SPK_CTRL_SHIFT 3
237 #define WM9081_OUT_SPK_CTRL_WIDTH 1
242 #define WM9081_TSHUT_ENA 0x0100
243 #define WM9081_TSHUT_ENA_MASK 0x0100
244 #define WM9081_TSHUT_ENA_SHIFT 8
245 #define WM9081_TSHUT_ENA_WIDTH 1
246 #define WM9081_TSENSE_ENA 0x0080
247 #define WM9081_TSENSE_ENA_MASK 0x0080
248 #define WM9081_TSENSE_ENA_SHIFT 7
249 #define WM9081_TSENSE_ENA_WIDTH 1
250 #define WM9081_TEMP_SHUT 0x0040
251 #define WM9081_TEMP_SHUT_MASK 0x0040
252 #define WM9081_TEMP_SHUT_SHIFT 6
253 #define WM9081_TEMP_SHUT_WIDTH 1
254 #define WM9081_LINEOUT_ENA 0x0010
255 #define WM9081_LINEOUT_ENA_MASK 0x0010
256 #define WM9081_LINEOUT_ENA_SHIFT 4
257 #define WM9081_LINEOUT_ENA_WIDTH 1
258 #define WM9081_SPKPGA_ENA 0x0004
259 #define WM9081_SPKPGA_ENA_MASK 0x0004
260 #define WM9081_SPKPGA_ENA_SHIFT 2
261 #define WM9081_SPKPGA_ENA_WIDTH 1
262 #define WM9081_SPK_ENA 0x0002
263 #define WM9081_SPK_ENA_MASK 0x0002
264 #define WM9081_SPK_ENA_SHIFT 1
265 #define WM9081_SPK_ENA_WIDTH 1
266 #define WM9081_DAC_ENA 0x0001
267 #define WM9081_DAC_ENA_MASK 0x0001
268 #define WM9081_DAC_ENA_SHIFT 0
269 #define WM9081_DAC_ENA_WIDTH 1
274 #define WM9081_CLK_OP_DIV_MASK 0x1C00
275 #define WM9081_CLK_OP_DIV_SHIFT 10
276 #define WM9081_CLK_OP_DIV_WIDTH 3
277 #define WM9081_CLK_TO_DIV_MASK 0x0300
278 #define WM9081_CLK_TO_DIV_SHIFT 8
279 #define WM9081_CLK_TO_DIV_WIDTH 2
280 #define WM9081_MCLKDIV2 0x0080
281 #define WM9081_MCLKDIV2_MASK 0x0080
282 #define WM9081_MCLKDIV2_SHIFT 7
283 #define WM9081_MCLKDIV2_WIDTH 1
288 #define WM9081_CLK_SYS_RATE_MASK 0x00F0
289 #define WM9081_CLK_SYS_RATE_SHIFT 4
290 #define WM9081_CLK_SYS_RATE_WIDTH 4
291 #define WM9081_SAMPLE_RATE_MASK 0x000F
292 #define WM9081_SAMPLE_RATE_SHIFT 0
293 #define WM9081_SAMPLE_RATE_WIDTH 4
298 #define WM9081_CLK_SRC_SEL 0x2000
299 #define WM9081_CLK_SRC_SEL_MASK 0x2000
300 #define WM9081_CLK_SRC_SEL_SHIFT 13
301 #define WM9081_CLK_SRC_SEL_WIDTH 1
302 #define WM9081_CLK_OP_ENA 0x0020
303 #define WM9081_CLK_OP_ENA_MASK 0x0020
304 #define WM9081_CLK_OP_ENA_SHIFT 5
305 #define WM9081_CLK_OP_ENA_WIDTH 1
306 #define WM9081_CLK_TO_ENA 0x0004
307 #define WM9081_CLK_TO_ENA_MASK 0x0004
308 #define WM9081_CLK_TO_ENA_SHIFT 2
309 #define WM9081_CLK_TO_ENA_WIDTH 1
310 #define WM9081_CLK_DSP_ENA 0x0002
311 #define WM9081_CLK_DSP_ENA_MASK 0x0002
312 #define WM9081_CLK_DSP_ENA_SHIFT 1
313 #define WM9081_CLK_DSP_ENA_WIDTH 1
314 #define WM9081_CLK_SYS_ENA 0x0001
315 #define WM9081_CLK_SYS_ENA_MASK 0x0001
316 #define WM9081_CLK_SYS_ENA_SHIFT 0
317 #define WM9081_CLK_SYS_ENA_WIDTH 1
322 #define WM9081_FLL_HOLD 0x0008
323 #define WM9081_FLL_HOLD_MASK 0x0008
324 #define WM9081_FLL_HOLD_SHIFT 3
325 #define WM9081_FLL_HOLD_WIDTH 1
326 #define WM9081_FLL_FRAC 0x0004
327 #define WM9081_FLL_FRAC_MASK 0x0004
328 #define WM9081_FLL_FRAC_SHIFT 2
329 #define WM9081_FLL_FRAC_WIDTH 1
330 #define WM9081_FLL_ENA 0x0001
331 #define WM9081_FLL_ENA_MASK 0x0001
332 #define WM9081_FLL_ENA_SHIFT 0
333 #define WM9081_FLL_ENA_WIDTH 1
338 #define WM9081_FLL_OUTDIV_MASK 0x0700
339 #define WM9081_FLL_OUTDIV_SHIFT 8
340 #define WM9081_FLL_OUTDIV_WIDTH 3
341 #define WM9081_FLL_CTRL_RATE_MASK 0x0070
342 #define WM9081_FLL_CTRL_RATE_SHIFT 4
343 #define WM9081_FLL_CTRL_RATE_WIDTH 3
344 #define WM9081_FLL_FRATIO_MASK 0x0007
345 #define WM9081_FLL_FRATIO_SHIFT 0
346 #define WM9081_FLL_FRATIO_WIDTH 3
351 #define WM9081_FLL_K_MASK 0xFFFF
352 #define WM9081_FLL_K_SHIFT 0
353 #define WM9081_FLL_K_WIDTH 16
358 #define WM9081_FLL_N_MASK 0x7FE0
359 #define WM9081_FLL_N_SHIFT 5
360 #define WM9081_FLL_N_WIDTH 10
361 #define WM9081_FLL_GAIN_MASK 0x000F
362 #define WM9081_FLL_GAIN_SHIFT 0
363 #define WM9081_FLL_GAIN_WIDTH 4
368 #define WM9081_FLL_CLK_REF_DIV_MASK 0x0018
369 #define WM9081_FLL_CLK_REF_DIV_SHIFT 3
370 #define WM9081_FLL_CLK_REF_DIV_WIDTH 2
371 #define WM9081_FLL_CLK_SRC_MASK 0x0003
372 #define WM9081_FLL_CLK_SRC_SHIFT 0
373 #define WM9081_FLL_CLK_SRC_WIDTH 2
378 #define WM9081_AIFDAC_CHAN 0x0040
379 #define WM9081_AIFDAC_CHAN_MASK 0x0040
380 #define WM9081_AIFDAC_CHAN_SHIFT 6
381 #define WM9081_AIFDAC_CHAN_WIDTH 1
382 #define WM9081_AIFDAC_TDM_SLOT_MASK 0x0030
383 #define WM9081_AIFDAC_TDM_SLOT_SHIFT 4
384 #define WM9081_AIFDAC_TDM_SLOT_WIDTH 2
385 #define WM9081_AIFDAC_TDM_MODE_MASK 0x000C
386 #define WM9081_AIFDAC_TDM_MODE_SHIFT 2
387 #define WM9081_AIFDAC_TDM_MODE_WIDTH 2
388 #define WM9081_DAC_COMP 0x0002
389 #define WM9081_DAC_COMP_MASK 0x0002
390 #define WM9081_DAC_COMP_SHIFT 1
391 #define WM9081_DAC_COMP_WIDTH 1
392 #define WM9081_DAC_COMPMODE 0x0001
393 #define WM9081_DAC_COMPMODE_MASK 0x0001
394 #define WM9081_DAC_COMPMODE_SHIFT 0
395 #define WM9081_DAC_COMPMODE_WIDTH 1
400 #define WM9081_AIF_TRIS 0x0200
401 #define WM9081_AIF_TRIS_MASK 0x0200
402 #define WM9081_AIF_TRIS_SHIFT 9
403 #define WM9081_AIF_TRIS_WIDTH 1
404 #define WM9081_DAC_DAT_INV 0x0100
405 #define WM9081_DAC_DAT_INV_MASK 0x0100
406 #define WM9081_DAC_DAT_INV_SHIFT 8
407 #define WM9081_DAC_DAT_INV_WIDTH 1
408 #define WM9081_AIF_BCLK_INV 0x0080
409 #define WM9081_AIF_BCLK_INV_MASK 0x0080
410 #define WM9081_AIF_BCLK_INV_SHIFT 7
411 #define WM9081_AIF_BCLK_INV_WIDTH 1
412 #define WM9081_BCLK_DIR 0x0040
413 #define WM9081_BCLK_DIR_MASK 0x0040
414 #define WM9081_BCLK_DIR_SHIFT 6
415 #define WM9081_BCLK_DIR_WIDTH 1
416 #define WM9081_LRCLK_DIR 0x0020
417 #define WM9081_LRCLK_DIR_MASK 0x0020
418 #define WM9081_LRCLK_DIR_SHIFT 5
419 #define WM9081_LRCLK_DIR_WIDTH 1
420 #define WM9081_AIF_LRCLK_INV 0x0010
421 #define WM9081_AIF_LRCLK_INV_MASK 0x0010
422 #define WM9081_AIF_LRCLK_INV_SHIFT 4
423 #define WM9081_AIF_LRCLK_INV_WIDTH 1
424 #define WM9081_AIF_WL_MASK 0x000C
425 #define WM9081_AIF_WL_SHIFT 2
426 #define WM9081_AIF_WL_WIDTH 2
427 #define WM9081_AIF_FMT_MASK 0x0003
428 #define WM9081_AIF_FMT_SHIFT 0
429 #define WM9081_AIF_FMT_WIDTH 2
434 #define WM9081_BCLK_DIV_MASK 0x001F
435 #define WM9081_BCLK_DIV_SHIFT 0
436 #define WM9081_BCLK_DIV_WIDTH 5
441 #define WM9081_LRCLK_RATE_MASK 0x07FF
442 #define WM9081_LRCLK_RATE_SHIFT 0
443 #define WM9081_LRCLK_RATE_WIDTH 11
448 #define WM9081_WSEQ_BUSY_EINT 0x0004
449 #define WM9081_WSEQ_BUSY_EINT_MASK 0x0004
450 #define WM9081_WSEQ_BUSY_EINT_SHIFT 2
451 #define WM9081_WSEQ_BUSY_EINT_WIDTH 1
452 #define WM9081_TSHUT_EINT 0x0001
453 #define WM9081_TSHUT_EINT_MASK 0x0001
454 #define WM9081_TSHUT_EINT_SHIFT 0
455 #define WM9081_TSHUT_EINT_WIDTH 1
460 #define WM9081_IM_WSEQ_BUSY_EINT 0x0004
461 #define WM9081_IM_WSEQ_BUSY_EINT_MASK 0x0004
462 #define WM9081_IM_WSEQ_BUSY_EINT_SHIFT 2
463 #define WM9081_IM_WSEQ_BUSY_EINT_WIDTH 1
464 #define WM9081_IM_TSHUT_EINT 0x0001
465 #define WM9081_IM_TSHUT_EINT_MASK 0x0001
466 #define WM9081_IM_TSHUT_EINT_SHIFT 0
467 #define WM9081_IM_TSHUT_EINT_WIDTH 1
472 #define WM9081_TSHUT_INV 0x0001
473 #define WM9081_TSHUT_INV_MASK 0x0001
474 #define WM9081_TSHUT_INV_SHIFT 0
475 #define WM9081_TSHUT_INV_WIDTH 1
480 #define WM9081_IRQ_POL 0x8000
481 #define WM9081_IRQ_POL_MASK 0x8000
482 #define WM9081_IRQ_POL_SHIFT 15
483 #define WM9081_IRQ_POL_WIDTH 1
484 #define WM9081_IRQ_OP_CTRL 0x0001
485 #define WM9081_IRQ_OP_CTRL_MASK 0x0001
486 #define WM9081_IRQ_OP_CTRL_SHIFT 0
487 #define WM9081_IRQ_OP_CTRL_WIDTH 1
492 #define WM9081_DAC_VOL_MASK 0x00FF
493 #define WM9081_DAC_VOL_SHIFT 0
494 #define WM9081_DAC_VOL_WIDTH 8
499 #define WM9081_DAC_MUTERATE 0x0400
500 #define WM9081_DAC_MUTERATE_MASK 0x0400
501 #define WM9081_DAC_MUTERATE_SHIFT 10
502 #define WM9081_DAC_MUTERATE_WIDTH 1
503 #define WM9081_DAC_MUTEMODE 0x0200
504 #define WM9081_DAC_MUTEMODE_MASK 0x0200
505 #define WM9081_DAC_MUTEMODE_SHIFT 9
506 #define WM9081_DAC_MUTEMODE_WIDTH 1
507 #define WM9081_DAC_MUTE 0x0008
508 #define WM9081_DAC_MUTE_MASK 0x0008
509 #define WM9081_DAC_MUTE_SHIFT 3
510 #define WM9081_DAC_MUTE_WIDTH 1
511 #define WM9081_DEEMPH_MASK 0x0006
512 #define WM9081_DEEMPH_SHIFT 1
513 #define WM9081_DEEMPH_WIDTH 2
518 #define WM9081_DRC_ENA 0x8000
519 #define WM9081_DRC_ENA_MASK 0x8000
520 #define WM9081_DRC_ENA_SHIFT 15
521 #define WM9081_DRC_ENA_WIDTH 1
522 #define WM9081_DRC_STARTUP_GAIN_MASK 0x07C0
523 #define WM9081_DRC_STARTUP_GAIN_SHIFT 6
524 #define WM9081_DRC_STARTUP_GAIN_WIDTH 5
525 #define WM9081_DRC_FF_DLY 0x0020
526 #define WM9081_DRC_FF_DLY_MASK 0x0020
527 #define WM9081_DRC_FF_DLY_SHIFT 5
528 #define WM9081_DRC_FF_DLY_WIDTH 1
529 #define WM9081_DRC_QR 0x0004
530 #define WM9081_DRC_QR_MASK 0x0004
531 #define WM9081_DRC_QR_SHIFT 2
532 #define WM9081_DRC_QR_WIDTH 1
533 #define WM9081_DRC_ANTICLIP 0x0002
534 #define WM9081_DRC_ANTICLIP_MASK 0x0002
535 #define WM9081_DRC_ANTICLIP_SHIFT 1
536 #define WM9081_DRC_ANTICLIP_WIDTH 1
541 #define WM9081_DRC_ATK_MASK 0xF000
542 #define WM9081_DRC_ATK_SHIFT 12
543 #define WM9081_DRC_ATK_WIDTH 4
544 #define WM9081_DRC_DCY_MASK 0x0F00
545 #define WM9081_DRC_DCY_SHIFT 8
546 #define WM9081_DRC_DCY_WIDTH 4
547 #define WM9081_DRC_QR_THR_MASK 0x00C0
548 #define WM9081_DRC_QR_THR_SHIFT 6
549 #define WM9081_DRC_QR_THR_WIDTH 2
550 #define WM9081_DRC_QR_DCY_MASK 0x0030
551 #define WM9081_DRC_QR_DCY_SHIFT 4
552 #define WM9081_DRC_QR_DCY_WIDTH 2
553 #define WM9081_DRC_MINGAIN_MASK 0x000C
554 #define WM9081_DRC_MINGAIN_SHIFT 2
555 #define WM9081_DRC_MINGAIN_WIDTH 2
556 #define WM9081_DRC_MAXGAIN_MASK 0x0003
557 #define WM9081_DRC_MAXGAIN_SHIFT 0
558 #define WM9081_DRC_MAXGAIN_WIDTH 2
563 #define WM9081_DRC_HI_COMP_MASK 0x0038
564 #define WM9081_DRC_HI_COMP_SHIFT 3
565 #define WM9081_DRC_HI_COMP_WIDTH 3
566 #define WM9081_DRC_LO_COMP_MASK 0x0007
567 #define WM9081_DRC_LO_COMP_SHIFT 0
568 #define WM9081_DRC_LO_COMP_WIDTH 3
573 #define WM9081_DRC_KNEE_IP_MASK 0x07E0
574 #define WM9081_DRC_KNEE_IP_SHIFT 5
575 #define WM9081_DRC_KNEE_IP_WIDTH 6
576 #define WM9081_DRC_KNEE_OP_MASK 0x001F
577 #define WM9081_DRC_KNEE_OP_SHIFT 0
578 #define WM9081_DRC_KNEE_OP_WIDTH 5
583 #define WM9081_WSEQ_ENA 0x8000
584 #define WM9081_WSEQ_ENA_MASK 0x8000
585 #define WM9081_WSEQ_ENA_SHIFT 15
586 #define WM9081_WSEQ_ENA_WIDTH 1
587 #define WM9081_WSEQ_ABORT 0x0200
588 #define WM9081_WSEQ_ABORT_MASK 0x0200
589 #define WM9081_WSEQ_ABORT_SHIFT 9
590 #define WM9081_WSEQ_ABORT_WIDTH 1
591 #define WM9081_WSEQ_START 0x0100
592 #define WM9081_WSEQ_START_MASK 0x0100
593 #define WM9081_WSEQ_START_SHIFT 8
594 #define WM9081_WSEQ_START_WIDTH 1
595 #define WM9081_WSEQ_START_INDEX_MASK 0x007F
596 #define WM9081_WSEQ_START_INDEX_SHIFT 0
597 #define WM9081_WSEQ_START_INDEX_WIDTH 7
602 #define WM9081_WSEQ_CURRENT_INDEX_MASK 0x07F0
603 #define WM9081_WSEQ_CURRENT_INDEX_SHIFT 4
604 #define WM9081_WSEQ_CURRENT_INDEX_WIDTH 7
605 #define WM9081_WSEQ_BUSY 0x0001
606 #define WM9081_WSEQ_BUSY_MASK 0x0001
607 #define WM9081_WSEQ_BUSY_SHIFT 0
608 #define WM9081_WSEQ_BUSY_WIDTH 1
613 #define WM9081_SPI_CFG 0x0020
614 #define WM9081_SPI_CFG_MASK 0x0020
615 #define WM9081_SPI_CFG_SHIFT 5
616 #define WM9081_SPI_CFG_WIDTH 1
617 #define WM9081_SPI_4WIRE 0x0010
618 #define WM9081_SPI_4WIRE_MASK 0x0010
619 #define WM9081_SPI_4WIRE_SHIFT 4
620 #define WM9081_SPI_4WIRE_WIDTH 1
621 #define WM9081_ARA_ENA 0x0008
622 #define WM9081_ARA_ENA_MASK 0x0008
623 #define WM9081_ARA_ENA_SHIFT 3
624 #define WM9081_ARA_ENA_WIDTH 1
625 #define WM9081_AUTO_INC 0x0002
626 #define WM9081_AUTO_INC_MASK 0x0002
627 #define WM9081_AUTO_INC_SHIFT 1
628 #define WM9081_AUTO_INC_WIDTH 1
633 #define WM9081_EQ_B1_GAIN_MASK 0xF800
634 #define WM9081_EQ_B1_GAIN_SHIFT 11
635 #define WM9081_EQ_B1_GAIN_WIDTH 5
636 #define WM9081_EQ_B2_GAIN_MASK 0x07C0
637 #define WM9081_EQ_B2_GAIN_SHIFT 6
638 #define WM9081_EQ_B2_GAIN_WIDTH 5
639 #define WM9081_EQ_B4_GAIN_MASK 0x003E
640 #define WM9081_EQ_B4_GAIN_SHIFT 1
641 #define WM9081_EQ_B4_GAIN_WIDTH 5
642 #define WM9081_EQ_ENA 0x0001
643 #define WM9081_EQ_ENA_MASK 0x0001
644 #define WM9081_EQ_ENA_SHIFT 0
645 #define WM9081_EQ_ENA_WIDTH 1
650 #define WM9081_EQ_B3_GAIN_MASK 0xF800
651 #define WM9081_EQ_B3_GAIN_SHIFT 11
652 #define WM9081_EQ_B3_GAIN_WIDTH 5
653 #define WM9081_EQ_B5_GAIN_MASK 0x07C0
654 #define WM9081_EQ_B5_GAIN_SHIFT 6
655 #define WM9081_EQ_B5_GAIN_WIDTH 5
660 #define WM9081_EQ_B1_A_MASK 0xFFFF
661 #define WM9081_EQ_B1_A_SHIFT 0
662 #define WM9081_EQ_B1_A_WIDTH 16
667 #define WM9081_EQ_B1_B_MASK 0xFFFF
668 #define WM9081_EQ_B1_B_SHIFT 0
669 #define WM9081_EQ_B1_B_WIDTH 16
674 #define WM9081_EQ_B1_PG_MASK 0xFFFF
675 #define WM9081_EQ_B1_PG_SHIFT 0
676 #define WM9081_EQ_B1_PG_WIDTH 16
681 #define WM9081_EQ_B2_A_MASK 0xFFFF
682 #define WM9081_EQ_B2_A_SHIFT 0
683 #define WM9081_EQ_B2_A_WIDTH 16
688 #define WM9081_EQ_B2_B_MASK 0xFFFF
689 #define WM9081_EQ_B2_B_SHIFT 0
690 #define WM9081_EQ_B2_B_WIDTH 16
695 #define WM9081_EQ_B2_C_MASK 0xFFFF
696 #define WM9081_EQ_B2_C_SHIFT 0
697 #define WM9081_EQ_B2_C_WIDTH 16
702 #define WM9081_EQ_B2_PG_MASK 0xFFFF
703 #define WM9081_EQ_B2_PG_SHIFT 0
704 #define WM9081_EQ_B2_PG_WIDTH 16
709 #define WM9081_EQ_B4_A_MASK 0xFFFF
710 #define WM9081_EQ_B4_A_SHIFT 0
711 #define WM9081_EQ_B4_A_WIDTH 16
716 #define WM9081_EQ_B4_B_MASK 0xFFFF
717 #define WM9081_EQ_B4_B_SHIFT 0
718 #define WM9081_EQ_B4_B_WIDTH 16
723 #define WM9081_EQ_B4_C_MASK 0xFFFF
724 #define WM9081_EQ_B4_C_SHIFT 0
725 #define WM9081_EQ_B4_C_WIDTH 16
730 #define WM9081_EQ_B4_PG_MASK 0xFFFF
731 #define WM9081_EQ_B4_PG_SHIFT 0
732 #define WM9081_EQ_B4_PG_WIDTH 16
737 #define WM9081_EQ_B3_A_MASK 0xFFFF
738 #define WM9081_EQ_B3_A_SHIFT 0
739 #define WM9081_EQ_B3_A_WIDTH 16
744 #define WM9081_EQ_B3_B_MASK 0xFFFF
745 #define WM9081_EQ_B3_B_SHIFT 0
746 #define WM9081_EQ_B3_B_WIDTH 16
751 #define WM9081_EQ_B3_C_MASK 0xFFFF
752 #define WM9081_EQ_B3_C_SHIFT 0
753 #define WM9081_EQ_B3_C_WIDTH 16
758 #define WM9081_EQ_B3_PG_MASK 0xFFFF
759 #define WM9081_EQ_B3_PG_SHIFT 0
760 #define WM9081_EQ_B3_PG_WIDTH 16
765 #define WM9081_EQ_B5_A_MASK 0xFFFF
766 #define WM9081_EQ_B5_A_SHIFT 0
767 #define WM9081_EQ_B5_A_WIDTH 16
772 #define WM9081_EQ_B5_B_MASK 0xFFFF
773 #define WM9081_EQ_B5_B_SHIFT 0
774 #define WM9081_EQ_B5_B_WIDTH 16
779 #define WM9081_EQ_B5_PG_MASK 0xFFFF
780 #define WM9081_EQ_B5_PG_SHIFT 0
781 #define WM9081_EQ_B5_PG_WIDTH 16