Lines Matching +full:6 +full:- +full:3
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * es8328.h -- ES8328 ALSA SoC Audio driver
25 #define ES8328_CONTROL1_VMIDSEL_5k (3 << 0)
26 #define ES8328_CONTROL1_VMIDSEL_MASK (3 << 0)
28 #define ES8328_CONTROL1_SEQEN (1 << 3)
32 #define ES8328_CONTROL1_LRCM (1 << 6)
39 #define ES8328_CONTROL2_ANALOG_OFF (1 << 3)
42 #define ES8328_CONTROL2_OVERCURRENT_ON (1 << 6)
49 #define ES8328_CHIPPOWER_ADCDLL_OFF 3
52 #define ES8328_CHIPPOWER_DACDIG_OFF 6
59 #define ES8328_ADCPOWER_MIC_BIAS_OFF 3
62 #define ES8328_ADCPOWER_AINR_OFF 6
69 #define ES8328_DACPOWER_LOUT2_ON 3
72 #define ES8328_DACPOWER_RDAC_OFF 6
82 #define ES8328_MASTERMODE_MCLKDIV2 (1 << 6)
90 #define ES8328_ADCCONTROL4_ADCFORMAT_MASK (3 << 0)
94 #define ES8328_ADCCONTROL4_ADCFORMAT_PCM (3 << 0)
109 #define ES8328_ADCCONTROL7_ADC_LER (1 << 3)
112 #define ES8328_ADCCONTROL7_ADC_RAMP_RATE_4 (0 << 6)
113 #define ES8328_ADCCONTROL7_ADC_RAMP_RATE_8 (1 << 6)
114 #define ES8328_ADCCONTROL7_ADC_RAMP_RATE_16 (2 << 6)
115 #define ES8328_ADCCONTROL7_ADC_RAMP_RATE_32 (3 << 6)
126 #define ES8328_DACCONTROL1_DACFORMAT_MASK (3 << 1)
130 #define ES8328_DACCONTROL1_DACFORMAT_PCM (3 << 1)
131 #define ES8328_DACCONTROL1_DACWL_SHIFT 3
132 #define ES8328_DACCONTROL1_DACWL_MASK (7 << 3)
133 #define ES8328_DACCONTROL1_DACLRP_I2S_POL_NORMAL (0 << 6)
134 #define ES8328_DACCONTROL1_DACLRP_I2S_POL_INV (1 << 6)
135 #define ES8328_DACCONTROL1_DACLRP_PCM_MSB_CLK2 (0 << 6)
136 #define ES8328_DACCONTROL1_DACLRP_PCM_MSB_CLK1 (1 << 6)
146 #define ES8328_DACCONTROL3_LEFTGAINVOL (1 << 3)
149 #define ES8328_DACCONTROL3_DACRAMPRATE (3 << 6)
165 #define ES8328_DACCONTROL6_CLICKFREE (1 << 3)
168 #define ES8328_DACCONTROL6_DEEMPH_MASK (3 << 6)
169 #define ES8328_DACCONTROL6_DEEMPH_OFF (0 << 6)
170 #define ES8328_DACCONTROL6_DEEMPH_32k (1 << 6)
171 #define ES8328_DACCONTROL6_DEEMPH_44_1k (2 << 6)
172 #define ES8328_DACCONTROL6_DEEMPH_48k (3 << 6)
178 #define ES8328_DACCONTROL7_VPP_SCALE_2p5 (3 << 0)
181 #define ES8328_DACCONTROL7_ZEROR (1 << 6)
198 #define ES8328_DACCONTROL16_RMIXSEL_RADC (3 << 0)
199 #define ES8328_DACCONTROL16_LMIXSEL_LIN1 (0 << 3)
200 #define ES8328_DACCONTROL16_LMIXSEL_LIN2 (1 << 3)
201 #define ES8328_DACCONTROL16_LMIXSEL_LIN3 (2 << 3)
202 #define ES8328_DACCONTROL16_LMIXSEL_LADC (3 << 3)
205 #define ES8328_DACCONTROL17_LI2LOVOL (7 << 3)
206 #define ES8328_DACCONTROL17_LI2LO (1 << 6)
210 #define ES8328_DACCONTROL18_RI2LOVOL (7 << 3)
211 #define ES8328_DACCONTROL18_RI2LO (1 << 6)
215 #define ES8328_DACCONTROL19_LI2ROVOL (7 << 3)
216 #define ES8328_DACCONTROL19_LI2RO (1 << 6)
220 #define ES8328_DACCONTROL20_RI2ROVOL (7 << 3)
221 #define ES8328_DACCONTROL20_RI2RO (1 << 6)
225 #define ES8328_DACCONTROL21_LI2MOVOL (7 << 3)
226 #define ES8328_DACCONTROL21_LI2MO (1 << 6)
230 #define ES8328_DACCONTROL22_RI2MOVOL (7 << 3)
231 #define ES8328_DACCONTROL22_RI2MO (1 << 6)
237 #define ES8328_DACCONTROL23_HPSWEN (1 << 3)
243 #define ES8328_DACCONTROL23_OUT3_RIGHT_MIXER (3 << 5)