Lines Matching +full:0 +full:x6b
23 #define DA7213_STATUS1 0x02
24 #define DA7213_PLL_STATUS 0x03
25 #define DA7213_AUX_L_GAIN_STATUS 0x04
26 #define DA7213_AUX_R_GAIN_STATUS 0x05
27 #define DA7213_MIC_1_GAIN_STATUS 0x06
28 #define DA7213_MIC_2_GAIN_STATUS 0x07
29 #define DA7213_MIXIN_L_GAIN_STATUS 0x08
30 #define DA7213_MIXIN_R_GAIN_STATUS 0x09
31 #define DA7213_ADC_L_GAIN_STATUS 0x0A
32 #define DA7213_ADC_R_GAIN_STATUS 0x0B
33 #define DA7213_DAC_L_GAIN_STATUS 0x0C
34 #define DA7213_DAC_R_GAIN_STATUS 0x0D
35 #define DA7213_HP_L_GAIN_STATUS 0x0E
36 #define DA7213_HP_R_GAIN_STATUS 0x0F
37 #define DA7213_LINE_GAIN_STATUS 0x10
40 #define DA7213_DIG_ROUTING_DAI 0x21
41 #define DA7213_SR 0x22
42 #define DA7213_REFERENCES 0x23
43 #define DA7213_PLL_FRAC_TOP 0x24
44 #define DA7213_PLL_FRAC_BOT 0x25
45 #define DA7213_PLL_INTEGER 0x26
46 #define DA7213_PLL_CTRL 0x27
47 #define DA7213_DAI_CLK_MODE 0x28
48 #define DA7213_DAI_CTRL 0x29
49 #define DA7213_DIG_ROUTING_DAC 0x2A
50 #define DA7213_ALC_CTRL1 0x2B
53 #define DA7213_AUX_L_GAIN 0x30
54 #define DA7213_AUX_R_GAIN 0x31
55 #define DA7213_MIXIN_L_SELECT 0x32
56 #define DA7213_MIXIN_R_SELECT 0x33
57 #define DA7213_MIXIN_L_GAIN 0x34
58 #define DA7213_MIXIN_R_GAIN 0x35
59 #define DA7213_ADC_L_GAIN 0x36
60 #define DA7213_ADC_R_GAIN 0x37
61 #define DA7213_ADC_FILTERS1 0x38
62 #define DA7213_MIC_1_GAIN 0x39
63 #define DA7213_MIC_2_GAIN 0x3A
66 #define DA7213_DAC_FILTERS5 0x40
67 #define DA7213_DAC_FILTERS2 0x41
68 #define DA7213_DAC_FILTERS3 0x42
69 #define DA7213_DAC_FILTERS4 0x43
70 #define DA7213_DAC_FILTERS1 0x44
71 #define DA7213_DAC_L_GAIN 0x45
72 #define DA7213_DAC_R_GAIN 0x46
73 #define DA7213_CP_CTRL 0x47
74 #define DA7213_HP_L_GAIN 0x48
75 #define DA7213_HP_R_GAIN 0x49
76 #define DA7213_LINE_GAIN 0x4A
77 #define DA7213_MIXOUT_L_SELECT 0x4B
78 #define DA7213_MIXOUT_R_SELECT 0x4C
81 #define DA7213_SYSTEM_MODES_INPUT 0x50
82 #define DA7213_SYSTEM_MODES_OUTPUT 0x51
85 #define DA7213_AUX_L_CTRL 0x60
86 #define DA7213_AUX_R_CTRL 0x61
87 #define DA7213_MICBIAS_CTRL 0x62
88 #define DA7213_MIC_1_CTRL 0x63
89 #define DA7213_MIC_2_CTRL 0x64
90 #define DA7213_MIXIN_L_CTRL 0x65
91 #define DA7213_MIXIN_R_CTRL 0x66
92 #define DA7213_ADC_L_CTRL 0x67
93 #define DA7213_ADC_R_CTRL 0x68
94 #define DA7213_DAC_L_CTRL 0x69
95 #define DA7213_DAC_R_CTRL 0x6A
96 #define DA7213_HP_L_CTRL 0x6B
97 #define DA7213_HP_R_CTRL 0x6C
98 #define DA7213_LINE_CTRL 0x6D
99 #define DA7213_MIXOUT_L_CTRL 0x6E
100 #define DA7213_MIXOUT_R_CTRL 0x6F
103 #define DA7213_LDO_CTRL 0x90
104 #define DA7213_IO_CTRL 0x91
105 #define DA7213_GAIN_RAMP_CTRL 0x92
106 #define DA7213_MIC_CONFIG 0x93
107 #define DA7213_PC_COUNT 0x94
108 #define DA7213_CP_VOL_THRESHOLD1 0x95
109 #define DA7213_CP_DELAY 0x96
110 #define DA7213_CP_DETECTOR 0x97
111 #define DA7213_DAI_OFFSET 0x98
112 #define DA7213_DIG_CTRL 0x99
113 #define DA7213_ALC_CTRL2 0x9A
114 #define DA7213_ALC_CTRL3 0x9B
115 #define DA7213_ALC_NOISE 0x9C
116 #define DA7213_ALC_TARGET_MIN 0x9D
117 #define DA7213_ALC_TARGET_MAX 0x9E
118 #define DA7213_ALC_GAIN_LIMITS 0x9F
119 #define DA7213_ALC_ANA_GAIN_LIMITS 0xA0
120 #define DA7213_ALC_ANTICLIP_CTRL 0xA1
121 #define DA7213_ALC_ANTICLIP_LEVEL 0xA2
123 #define DA7213_ALC_OFFSET_AUTO_M_L 0xA3
124 #define DA7213_ALC_OFFSET_AUTO_U_L 0xA4
125 #define DA7213_ALC_OFFSET_MAN_M_L 0xA6
126 #define DA7213_ALC_OFFSET_MAN_U_L 0xA7
127 #define DA7213_ALC_OFFSET_AUTO_M_R 0xA8
128 #define DA7213_ALC_OFFSET_AUTO_U_R 0xA9
129 #define DA7213_ALC_OFFSET_MAN_M_R 0xAB
130 #define DA7213_ALC_OFFSET_MAN_U_R 0xAC
131 #define DA7213_ALC_CIC_OP_LVL_CTRL 0xAD
132 #define DA7213_ALC_CIC_OP_LVL_DATA 0xAE
133 #define DA7213_DAC_NG_SETUP_TIME 0xAF
134 #define DA7213_DAC_NG_OFF_THRESHOLD 0xB0
135 #define DA7213_DAC_NG_ON_THRESHOLD 0xB1
136 #define DA7213_DAC_NG_CTRL 0xB2
143 /* DA7213_PLL_STATUS = 0x03 */
144 #define DA7219_PLL_SRM_LOCK (0x1 << 1)
146 /* DA7213_SR = 0x22 */
147 #define DA7213_SR_8000 (0x1 << 0)
148 #define DA7213_SR_11025 (0x2 << 0)
149 #define DA7213_SR_12000 (0x3 << 0)
150 #define DA7213_SR_16000 (0x5 << 0)
151 #define DA7213_SR_22050 (0x6 << 0)
152 #define DA7213_SR_24000 (0x7 << 0)
153 #define DA7213_SR_32000 (0x9 << 0)
154 #define DA7213_SR_44100 (0xA << 0)
155 #define DA7213_SR_48000 (0xB << 0)
156 #define DA7213_SR_88200 (0xE << 0)
157 #define DA7213_SR_96000 (0xF << 0)
159 /* DA7213_REFERENCES = 0x23 */
160 #define DA7213_BIAS_EN (0x1 << 3)
161 #define DA7213_VMID_EN (0x1 << 7)
163 /* DA7213_PLL_CTRL = 0x27 */
164 #define DA7213_PLL_INDIV_5_TO_9_MHZ (0x0 << 2)
165 #define DA7213_PLL_INDIV_9_TO_18_MHZ (0x1 << 2)
166 #define DA7213_PLL_INDIV_18_TO_36_MHZ (0x2 << 2)
167 #define DA7213_PLL_INDIV_36_TO_54_MHZ (0x3 << 2)
168 #define DA7213_PLL_INDIV_MASK (0x3 << 2)
169 #define DA7213_PLL_MCLK_SQR_EN (0x1 << 4)
170 #define DA7213_PLL_32K_MODE (0x1 << 5)
171 #define DA7213_PLL_SRM_EN (0x1 << 6)
172 #define DA7213_PLL_EN (0x1 << 7)
173 #define DA7213_PLL_MODE_MASK (0x7 << 5)
175 /* DA7213_DAI_CLK_MODE = 0x28 */
176 #define DA7213_DAI_BCLKS_PER_WCLK_32 (0x0 << 0)
177 #define DA7213_DAI_BCLKS_PER_WCLK_64 (0x1 << 0)
178 #define DA7213_DAI_BCLKS_PER_WCLK_128 (0x2 << 0)
179 #define DA7213_DAI_BCLKS_PER_WCLK_256 (0x3 << 0)
180 #define DA7213_DAI_BCLKS_PER_WCLK_MASK (0x3 << 0)
181 #define DA7213_DAI_CLK_POL_INV (0x1 << 2)
182 #define DA7213_DAI_CLK_POL_MASK (0x1 << 2)
183 #define DA7213_DAI_WCLK_POL_INV (0x1 << 3)
184 #define DA7213_DAI_WCLK_POL_MASK (0x1 << 3)
185 #define DA7213_DAI_CLK_EN_MASK (0x1 << 7)
187 /* DA7213_DAI_CTRL = 0x29 */
188 #define DA7213_DAI_FORMAT_I2S_MODE (0x0 << 0)
189 #define DA7213_DAI_FORMAT_LEFT_J (0x1 << 0)
190 #define DA7213_DAI_FORMAT_RIGHT_J (0x2 << 0)
191 #define DA7213_DAI_FORMAT_DSP (0x3 << 0)
192 #define DA7213_DAI_FORMAT_MASK (0x3 << 0)
193 #define DA7213_DAI_WORD_LENGTH_S16_LE (0x0 << 2)
194 #define DA7213_DAI_WORD_LENGTH_S20_LE (0x1 << 2)
195 #define DA7213_DAI_WORD_LENGTH_S24_LE (0x2 << 2)
196 #define DA7213_DAI_WORD_LENGTH_S32_LE (0x3 << 2)
197 #define DA7213_DAI_WORD_LENGTH_MASK (0x3 << 2)
198 #define DA7213_DAI_MONO_MODE_EN (0x1 << 4)
199 #define DA7213_DAI_MONO_MODE_MASK (0x1 << 4)
202 /* DA7213_DIG_ROUTING_DAI = 0x21 */
203 #define DA7213_DAI_L_SRC_SHIFT 0
207 /* DA7213_DIG_ROUTING_DAC = 0x2A */
208 #define DA7213_DAC_L_SRC_SHIFT 0
213 #define DA7213_DAC_MONO_MAX 0x1
215 /* DA7213_ALC_CTRL1 = 0x2B */
216 #define DA7213_ALC_OFFSET_EN_SHIFT 0
217 #define DA7213_ALC_OFFSET_EN_MAX 0x1
218 #define DA7213_ALC_OFFSET_EN (0x1 << 0)
219 #define DA7213_ALC_SYNC_MODE (0x1 << 1)
220 #define DA7213_ALC_CALIB_MODE_MAN (0x1 << 2)
222 #define DA7213_ALC_AUTO_CALIB_EN (0x1 << 4)
223 #define DA7213_ALC_CALIB_OVERFLOW (0x1 << 5)
225 #define DA7213_ALC_EN_MAX 0x1
227 /* DA7213_AUX_L/R_GAIN = 0x30/0x31 */
228 #define DA7213_AUX_AMP_GAIN_SHIFT 0
229 #define DA7213_AUX_AMP_GAIN_MAX 0x3F
231 /* DA7213_MIXIN_L/R_SELECT = 0x32/0x33 */
233 #define DA7213_DMIC_EN_MAX 0x1
235 /* DA7213_MIXIN_L_SELECT = 0x32 */
236 #define DA7213_MIXIN_L_MIX_SELECT_AUX_L_SHIFT 0
238 #define DA7213_MIXIN_L_MIX_SELECT_MIC_1 (0x1 << 1)
240 #define DA7213_MIXIN_L_MIX_SELECT_MIC_2 (0x1 << 2)
242 #define DA7213_MIXIN_L_MIX_SELECT_MAX 0x1
244 /* DA7213_MIXIN_R_SELECT = 0x33 */
245 #define DA7213_MIXIN_R_MIX_SELECT_AUX_R_SHIFT 0
247 #define DA7213_MIXIN_R_MIX_SELECT_MIC_2 (0x1 << 1)
249 #define DA7213_MIXIN_R_MIX_SELECT_MIC_1 (0x1 << 2)
251 #define DA7213_MIXIN_R_MIX_SELECT_MAX 0x1
252 #define DA7213_MIC_BIAS_OUTPUT_SELECT_2 (0x1 << 6)
254 /* DA7213_MIXIN_L/R_GAIN = 0x34/0x35 */
255 #define DA7213_MIXIN_AMP_GAIN_SHIFT 0
256 #define DA7213_MIXIN_AMP_GAIN_MAX 0xF
258 /* DA7213_ADC_L/R_GAIN = 0x36/0x37 */
259 #define DA7213_ADC_AMP_GAIN_SHIFT 0
260 #define DA7213_ADC_AMP_GAIN_MAX 0x7F
262 /* DA7213_ADC/DAC_FILTERS1 = 0x38/0x44 */
263 #define DA7213_VOICE_HPF_CORNER_SHIFT 0
266 #define DA7213_VOICE_EN_MAX 0x1
270 #define DA7213_HPF_EN_MAX 0x1
272 /* DA7213_MIC_1/2_GAIN = 0x39/0x3A */
273 #define DA7213_MIC_AMP_GAIN_SHIFT 0
274 #define DA7213_MIC_AMP_GAIN_MAX 0x7
276 /* DA7213_DAC_FILTERS5 = 0x40 */
278 #define DA7213_DAC_SOFTMUTE_EN_MAX 0x1
282 /* DA7213_DAC_FILTERS2/3/4 = 0x41/0x42/0x43 */
283 #define DA7213_DAC_EQ_BAND_MAX 0xF
285 /* DA7213_DAC_FILTERS2 = 0x41 */
286 #define DA7213_DAC_EQ_BAND1_SHIFT 0
289 /* DA7213_DAC_FILTERS2 = 0x42 */
290 #define DA7213_DAC_EQ_BAND3_SHIFT 0
293 /* DA7213_DAC_FILTERS4 = 0x43 */
294 #define DA7213_DAC_EQ_BAND5_SHIFT 0
296 #define DA7213_DAC_EQ_EN_MAX 0x1
298 /* DA7213_DAC_L/R_GAIN = 0x45/0x46 */
299 #define DA7213_DAC_AMP_GAIN_SHIFT 0
300 #define DA7213_DAC_AMP_GAIN_MAX 0x7F
302 /* DA7213_HP_L/R_GAIN = 0x45/0x46 */
303 #define DA7213_HP_AMP_GAIN_SHIFT 0
304 #define DA7213_HP_AMP_GAIN_MAX 0x3F
306 /* DA7213_CP_CTRL = 0x47 */
309 /* DA7213_LINE_GAIN = 0x4A */
310 #define DA7213_LINE_AMP_GAIN_SHIFT 0
311 #define DA7213_LINE_AMP_GAIN_MAX 0x3F
313 /* DA7213_MIXOUT_L_SELECT = 0x4B */
314 #define DA7213_MIXOUT_L_MIX_SELECT_AUX_L_SHIFT 0
321 #define DA7213_MIXOUT_L_MIX_SELECT_MAX 0x1
323 /* DA7213_MIXOUT_R_SELECT = 0x4C */
324 #define DA7213_MIXOUT_R_MIX_SELECT_AUX_R_SHIFT 0
331 #define DA7213_MIXOUT_R_MIX_SELECT_MAX 0x1
334 * DA7213_AUX_L/R_CTRL = 0x60/0x61,
335 * DA7213_MIC_1/2_CTRL = 0x63/0x64,
336 * DA7213_MIXIN_L/R_CTRL = 0x65/0x66,
337 * DA7213_ADC_L/R_CTRL = 0x65/0x66,
338 * DA7213_DAC_L/R_CTRL = 0x69/0x6A,
339 * DA7213_HP_L/R_CTRL = 0x6B/0x6C,
340 * DA7213_LINE_CTRL = 0x6D
343 #define DA7213_MUTE_EN_MAX 0x1
344 #define DA7213_MUTE_EN (0x1 << 6)
347 * DA7213_AUX_L/R_CTRL = 0x60/0x61,
348 * DA7213_MIXIN_L/R_CTRL = 0x65/0x66,
349 * DA7213_ADC_L/R_CTRL = 0x65/0x66,
350 * DA7213_DAC_L/R_CTRL = 0x69/0x6A,
351 * DA7213_HP_L/R_CTRL = 0x6B/0x6C,
352 * DA7213_LINE_CTRL = 0x6D
355 #define DA7213_GAIN_RAMP_EN_MAX 0x1
356 #define DA7213_GAIN_RAMP_EN (0x1 << 5)
359 * DA7213_AUX_L/R_CTRL = 0x60/0x61,
360 * DA7213_MIXIN_L/R_CTRL = 0x65/0x66,
361 * DA7213_HP_L/R_CTRL = 0x6B/0x6C,
362 * DA7213_LINE_CTRL = 0x6D
365 #define DA7213_ZC_EN_MAX 0x1
368 * DA7213_AUX_L/R_CTRL = 0x60/0x61,
369 * DA7213_MIC_1/2_CTRL = 0x63/0x64,
370 * DA7213_MIXIN_L/R_CTRL = 0x65/0x66,
371 * DA7213_HP_L/R_CTRL = 0x6B/0x6C,
372 * DA7213_MIXOUT_L/R_CTRL = 0x6E/0x6F,
373 * DA7213_LINE_CTRL = 0x6D
377 /* DA7213_MIC_1/2_CTRL = 0x63/0x64 */
381 /* DA7213_MICBIAS_CTRL = 0x62 */
382 #define DA7213_MICBIAS1_LEVEL_SHIFT 0
383 #define DA7213_MICBIAS1_LEVEL_MASK (0x3 << 0)
386 #define DA7213_MICBIAS2_LEVEL_MASK (0x3 << 4)
389 /* DA7213_MIXIN_L/R_CTRL = 0x65/0x66 */
390 #define DA7213_MIXIN_MIX_EN (0x1 << 3)
392 /* DA7213_ADC_L/R_CTRL = 0x67/0x68 */
394 #define DA7213_ADC_EN (0x1 << 7)
396 /* DA7213_DAC_L/R_CTRL = 0x69/0x6A*/
399 /* DA7213_HP_L/R_CTRL = 0x6B/0x6C */
400 #define DA7213_HP_AMP_OE (0x1 << 3)
402 /* DA7213_LINE_CTRL = 0x6D */
403 #define DA7213_LINE_AMP_OE (0x1 << 3)
405 /* DA7213_MIXOUT_L/R_CTRL = 0x6E/0x6F */
406 #define DA7213_MIXOUT_MIX_EN (0x1 << 3)
408 /* DA7213_GAIN_RAMP_CTRL = 0x92 */
409 #define DA7213_GAIN_RAMP_RATE_SHIFT 0
412 /* DA7213_MIC_CONFIG = 0x93 */
413 #define DA7213_DMIC_DATA_SEL_SHIFT 0
414 #define DA7213_DMIC_DATA_SEL_MASK (0x1 << 0)
416 #define DA7213_DMIC_SAMPLEPHASE_MASK (0x1 << 1)
418 #define DA7213_DMIC_CLK_RATE_MASK (0x1 << 2)
420 /* DA7213_PC_COUNT = 0x94 */
421 #define DA7213_PC_FREERUN_MASK (0x1 << 0)
423 /* DA7213_DIG_CTRL = 0x99 */
426 #define DA7213_DAC_INV_MAX 0x1
428 /* DA7213_ALC_CTRL2 = 0x9A */
429 #define DA7213_ALC_ATTACK_SHIFT 0
434 /* DA7213_ALC_CTRL3 = 0x9B */
435 #define DA7213_ALC_HOLD_SHIFT 0
442 * DA7213_ALC_NOISE = 0x9C,
443 * DA7213_ALC_TARGET_MIN/MAX = 0x9D/0x9E
445 #define DA7213_ALC_THRESHOLD_SHIFT 0
446 #define DA7213_ALC_THRESHOLD_MAX 0x3F
448 /* DA7213_ALC_GAIN_LIMITS = 0x9F */
449 #define DA7213_ALC_ATTEN_MAX_SHIFT 0
451 #define DA7213_ALC_ATTEN_GAIN_MAX_MAX 0xF
453 /* DA7213_ALC_ANA_GAIN_LIMITS = 0xA0 */
454 #define DA7213_ALC_ANA_GAIN_MIN_SHIFT 0
456 #define DA7213_ALC_ANA_GAIN_MAX 0x7
458 /* DA7213_ALC_ANTICLIP_CTRL = 0xA1 */
460 #define DA7213_ALC_ANTICLIP_EN_MAX 0x1
462 /* DA7213_ALC_ANTICLIP_LEVEL = 0xA2 */
463 #define DA7213_ALC_ANTICLIP_LEVEL_SHIFT 0
464 #define DA7213_ALC_ANTICLIP_LEVEL_MAX 0x7F
466 /* DA7213_ALC_CIC_OP_LVL_CTRL = 0xAD */
467 #define DA7213_ALC_DATA_MIDDLE (0x2 << 0)
468 #define DA7213_ALC_DATA_TOP (0x3 << 0)
469 #define DA7213_ALC_CIC_OP_CHANNEL_LEFT (0x0 << 7)
470 #define DA7213_ALC_CIC_OP_CHANNEL_RIGHT (0x1 << 7)
472 /* DA7213_DAC_NG_SETUP_TIME = 0xAF */
473 #define DA7213_DAC_NG_SETUP_TIME_SHIFT 0
479 /* DA7213_DAC_NG_OFF/ON_THRESH = 0xB0/0xB1 */
480 #define DA7213_DAC_NG_THRESHOLD_SHIFT 0
481 #define DA7213_DAC_NG_THRESHOLD_MAX 0x7
483 /* DA7213_DAC_NG_CTRL = 0xB2 */
485 #define DA7213_DAC_NG_EN_MAX 0x1
493 #define DA7213_NO_INVERT 0
498 #define DA7213_BYTE_MASK 0xFF
501 #define DA7213_ALC_OFFSET_15_8 0x00FF00
502 #define DA7213_ALC_OFFSET_19_16 0x0F0000
516 DA7213_CLKSRC_MCLK = 0,
521 DA7213_SYSCLK_MCLK = 0,
529 DA7213_SUPPLY_VDDA = 0,