Lines Matching +full:6 +full:- +full:14

1 /* SPDX-License-Identifier: GPL-2.0 */
85 #define RT5631_L_EN (0x1 << 14)
86 #define RT5631_L_EN_SHIFT 14
89 #define RT5631_R_EN (0x1 << 6)
90 #define RT5631_R_EN_SHIFT 6
96 #define RT5631_SPK_L_VOL_SEL_MASK (0x1 << 14)
97 #define RT5631_SPK_L_VOL_SEL_VMID (0x0 << 14)
98 #define RT5631_SPK_L_VOL_SEL_SPKMIX_L (0x1 << 14)
99 #define RT5631_SPK_R_VOL_SEL_MASK (0x1 << 6)
100 #define RT5631_SPK_R_VOL_SEL_VMID (0x0 << 6)
101 #define RT5631_SPK_R_VOL_SEL_SPKMIX_R (0x1 << 6)
104 #define RT5631_HP_L_VOL_SEL_MASK (0x1 << 14)
105 #define RT5631_HP_L_VOL_SEL_VMID (0x0 << 14)
106 #define RT5631_HP_L_VOL_SEL_OUTMIX_L (0x1 << 14)
107 #define RT5631_HP_R_VOL_SEL_MASK (0x1 << 6)
108 #define RT5631_HP_R_VOL_SEL_VMID (0x0 << 6)
109 #define RT5631_HP_R_VOL_SEL_OUTMIX_R (0x1 << 6)
112 #define RT5631_AUXOUT_1_VOL_SEL_MASK (0x1 << 14)
113 #define RT5631_AUXOUT_1_VOL_SEL_VMID (0x0 << 14)
114 #define RT5631_AUXOUT_1_VOL_SEL_OUTMIX_L (0x1 << 14)
117 #define RT5631_AUXOUT_2_VOL_SEL_MASK (0x1 << 6)
118 #define RT5631_AUXOUT_2_VOL_SEL_VMID (0x0 << 6)
119 #define RT5631_AUXOUT_2_VOL_SEL_OUTMIX_R (0x1 << 6)
133 #define RT5631_M_MIC1_TO_RECMIXER_L (0x1 << 14)
134 #define RT5631_M_MIC1_RECMIXL_BIT 14
141 #define RT5631_M_MIC2_TO_RECMIXER_R (0x1 << 6)
142 #define RT5631_M_MIC2_RECMIXR_BIT 6
151 #define RT5631_M_RECMIXER_R_TO_OUTMIXER_L (0x1 << 14)
152 #define RT5631_M_RECMIXR_OUTMIXL_BIT 14
171 #define RT5631_M_RECMIXER_R_TO_OUTMIXER_R (0x1 << 14)
172 #define RT5631_M_RECMIXR_OUTMIXR_BIT 14
195 #define RT5631_M_OUTMIXER_R_TO_AXO1MIXER (0x1 << 6)
196 #define RT5631_M_OUTMIXR_AXO1MIX_BIT 6
205 #define RT5631_M_OUTMIXER_R_TO_AXO2MIXER (0x1 << 6)
206 #define RT5631_M_OUTMIXR_AXO2MIX_BIT 6
240 #define RT5631_MICBIAS1_S_C_DET_MASK (0x1 << 6)
241 #define RT5631_MICBIAS1_S_C_DET_DIS (0x0 << 6)
242 #define RT5631_MICBIAS1_S_C_DET_ENA (0x1 << 6)
291 #define RT5631_M_MIC1_P_TO_SPKMIXER_L (0x1 << 14)
292 #define RT5631_M_MIC1P_SPKMIXL_BIT 14
300 #define RT5631_M_MIC2_P_TO_SPKMIXER_R (0x1 << 6)
301 #define RT5631_M_MIC2P_SPKMIXR_BIT 6
310 #define RT5631_M_SPKVOL_R_TO_SPOL_MIXER (0x1 << 14)
311 #define RT5631_M_SPKVOLR_SPOLMIX_BIT 14
322 #define RT5631_SPK_L_MUX_SEL_MASK (0x3 << 14)
323 #define RT5631_SPK_L_MUX_SEL_SPKMIXER_L (0x0 << 14)
324 #define RT5631_SPK_L_MUX_SEL_MONO_IN (0x1 << 14)
325 #define RT5631_SPK_L_MUX_SEL_DAC_L (0x3 << 14)
326 #define RT5631_SPK_L_MUX_SEL_SHIFT 14
334 #define RT5631_MONO_MUX_SEL_MASK (0x3 << 6)
335 #define RT5631_MONO_MUX_SEL_MONOMIXER (0x0 << 6)
336 #define RT5631_MONO_MUX_SEL_MONO_IN (0x1 << 6)
337 #define RT5631_MONO_MUX_SEL_SHIFT 6
366 #define RT5631_SDP_DAC_R_INV (0x1 << 6)
433 #define RT5631_PWR_DAC_L_TO_MIXER (0x1 << 6)
434 #define RT5631_PWR_DAC_L_TO_MIXER_BIT 6
441 #define RT5631_PWR_OUTMIXER_R (0x1 << 14)
442 #define RT5631_PWR_OUTMIXER_R_BIT 14
467 #define RT5631_PWR_FAST_VREF_CTRL (0x1 << 14)
468 #define RT5631_PWR_FAST_VREF_CTRL_BIT 14
495 #define RT5631_PWR_SPK_R_VOL (0x1 << 14)
496 #define RT5631_PWR_SPK_R_VOL_BIT 14
511 #define RT5631_PWR_MONO_IN_N_VOL (0x1 << 6)
512 #define RT5631_PWR_MONO_IN_N_VOL_BIT 6
548 #define RT5631_SYSCLK_SOUR_SEL_MASK (0x3 << 14)
549 #define RT5631_SYSCLK_SOUR_SEL_MCLK (0x0 << 14)
550 #define RT5631_SYSCLK_SOUR_SEL_PLL (0x1 << 14)
551 #define RT5631_SYSCLK_SOUR_SEL_PLL_TCK (0x2 << 14)
567 #define RT5631_ADC_DATA_SEL_MASK (0x3 << 14)
568 #define RT5631_ADC_DATA_SEL_Disable (0x0 << 14)
569 #define RT5631_ADC_DATA_SEL_MIC1 (0x1 << 14)
570 #define RT5631_ADC_DATA_SEL_MIC1_SHIFT 14
571 #define RT5631_ADC_DATA_SEL_MIC2 (0x2 << 14)
573 #define RT5631_ADC_DATA_SEL_STO (0x3 << 14)
574 #define RT5631_ADC_DATA_SEL_SHIFT 14
589 /* De-POP function Control 1(0x54) */
591 #define RT5631_EN_MUTE_UNMUTE_DEPOP (0x1 << 14)
602 /* De-POP Fnction Control(0x56) */
604 #define RT5631_EN_CAP_FREE_DEPOP (0x1 << 14)
607 #define RT5631_JD_USE_MASK (0x3 << 14)
608 #define RT5631_JD_USE_JD2 (0x3 << 14)
609 #define RT5631_JD_USE_JD1 (0x2 << 14)
610 #define RT5631_JD_USE_GPIO (0x1 << 14)
611 #define RT5631_JD_OFF (0x0 << 14)
624 #define RT5631_JD_SPK_R_TRI_MASK (0x1 << 6)
625 #define RT5631_JD_SPK_R_TRI_HI (0x1 << 6)
626 #define RT5631_JD_SPK_R_TRI_LO (0x0 << 6)
652 #define RT5631_ALC_FUN_MASK (0x3 << 14)
653 #define RT5631_ALC_FUN_DIS (0x0 << 14)
654 #define RT5631_ALC_ENA_DAC_PATH (0x1 << 14)
655 #define RT5631_ALC_ENA_ADC_PATH (0x3 << 14)
662 #define RT5631_ALC_NOISE_GATE_H_D_MASK (0x1 << 6)
663 #define RT5631_ALC_NOISE_GATE_H_D_DIS (0x0 << 6)
664 #define RT5631_ALC_NOISE_GATE_H_D_ENA (0x1 << 6)
668 #define RT5631_ALL_PASS_FILTER_EN (0x1 << 14)
672 #define RT5631_GAIN_3D_PARA_MASK (0x3 << 6)
673 #define RT5631_GAIN_3D_PARA_1_00 (0x0 << 6) /* 3D gain 1.0 */
674 #define RT5631_GAIN_3D_PARA_1_50 (0x1 << 6) /* 3D gain 1.5 */
675 #define RT5631_GAIN_3D_PARA_2_00 (0x2 << 6) /* 3D gain 2.0 */
692 #define RT5631_HW_EQ_UPDATE_CTRL (0x1 << 14)