Lines Matching +full:10 +full:- +full:14

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * rt5660.h -- RT5660 ALSA SoC audio driver
20 /* I/O - Output */
23 /* I/O - Input */
26 /* I/O - ADC/DAC/DMIC */
30 /* Mixer - D-D */
35 /* Mixer - ADC */
40 /* Mixer - DAC */
61 /* Format - ADC/DAC */
66 /* Function - Analog */
89 /* Function - Digital */
135 #define RT5660_VOL_L_MUTE (0x1 << 14)
136 #define RT5660_VOL_L_SFT 14
179 #define RT5660_STO1_ADC_L_BST_MASK (0x3 << 14)
180 #define RT5660_STO1_ADC_L_BST_SFT 14
185 #define RT5660_M_ADC_L1 (0x1 << 14)
186 #define RT5660_M_ADC_L1_SFT 14
197 #define RT5660_M_DAC1_L (0x1 << 14)
198 #define RT5660_M_DAC1_L_SFT 14
205 #define RT5660_M_DAC_L1 (0x1 << 14)
206 #define RT5660_M_DAC_L1_SFT 14
223 #define RT5660_IF1_DAC_IN_SEL (0x3 << 14)
224 #define RT5660_IF1_DAC_IN_SFT 14
237 #define RT5660_G_OM_L_RM_L_MASK (0x7 << 10)
238 #define RT5660_G_OM_L_RM_L_SFT 10
257 #define RT5660_G_OM_R_RM_R_MASK (0x7 << 10)
258 #define RT5660_G_OM_R_RM_R_SFT 10
269 #define RT5660_M_DAC1_LM (0x1 << 14)
270 #define RT5660_M_DAC1_LM_SFT 14
275 #define RT5660_G_BST3_SM_MASK (0x3 << 14)
276 #define RT5660_G_BST3_SM_SFT 14
279 #define RT5660_G_DACl_SM_MASK (0x3 << 10)
280 #define RT5660_G_DACl_SM_SFT 10
297 #define RT5660_M_DAC_R_SPM (0x1 << 14)
298 #define RT5660_M_DAC_R_SPM_SFT 14
309 #define RT5660_G_BST2_OM_L_MASK (0x7 << 10)
310 #define RT5660_G_BST2_OM_L_SFT 10
317 #define RT5660_G_DAC_R1_OM_L_MASK (0x7 << 10)
318 #define RT5660_G_DAC_R1_OM_L_SFT 10
337 #define RT5660_G_BST2_OM_R_MASK (0x7 << 10)
338 #define RT5660_G_BST2_OM_R_SFT 10
345 #define RT5660_G_DAC_L_OM_R_MASK (0x7 << 10)
346 #define RT5660_G_DAC_L_OM_R_SFT 10
385 #define RT5660_PWR_FV1 (0x1 << 14)
386 #define RT5660_PWR_FV1_BIT 14
407 #define RT5660_PWR_BST2 (0x1 << 14)
408 #define RT5660_PWR_BST2_BIT 14
413 #define RT5660_PWR_MB2 (0x1 << 10)
414 #define RT5660_PWR_MB2_BIT 10
421 #define RT5660_PWR_OM_R (0x1 << 14)
422 #define RT5660_PWR_OM_R_BIT 14
427 #define RT5660_PWR_RM_R (0x1 << 10)
428 #define RT5660_PWR_RM_R_BIT 10
435 #define RT5660_PWR_LV_R (0x1 << 10)
436 #define RT5660_PWR_LV_R_BIT 10
443 #define RT5660_I2S_O_CP_MASK (0x3 << 10)
444 #define RT5660_I2S_O_CP_SFT 10
445 #define RT5660_I2S_O_CP_OFF (0x0 << 10)
446 #define RT5660_I2S_O_CP_U_LAW (0x1 << 10)
447 #define RT5660_I2S_O_CP_A_LAW (0x2 << 10)
505 #define RT5660_ADHPF_EN (0x1 << 10)
506 #define RT5660_ADHPF_EN_SFT 10
529 #define RT5660_SCLK_SRC_MASK (0x3 << 14)
530 #define RT5660_SCLK_SRC_SFT 14
531 #define RT5660_SCLK_SRC_MCLK (0x0 << 14)
532 #define RT5660_SCLK_SRC_PLL1 (0x1 << 14)
533 #define RT5660_SCLK_SRC_RCCLK (0x2 << 14)
592 #define RT5660_SPK_AG_MASK (0x1 << 14)
593 #define RT5660_SPK_AG_SFT 14
594 #define RT5660_SPK_AG_DIS (0x0 << 14)
595 #define RT5660_SPK_AG_EN (0x1 << 14)
602 #define RT5660_MIC2_BS_MASK (0x1 << 14)
603 #define RT5660_MIC2_BS_SFT 14
604 #define RT5660_MIC2_BS_9AV (0x0 << 14)
605 #define RT5660_MIC2_BS_75AV (0x1 << 14)
634 #define RT5660_EQ_UPD (0x1 << 14)
635 #define RT5660_EQ_UPD_BIT 14
638 #define RT5660_JD_MASK (0x3 << 14)
639 #define RT5660_JD_SFT 14
640 #define RT5660_JD_DIS (0x0 << 14)
641 #define RT5660_JD_GPIO1 (0x1 << 14)
642 #define RT5660_JD_GPIO2 (0x2 << 14)
647 #define RT5660_JD_LOUT_TRG_MASK (0x1 << 10)
648 #define RT5660_JD_LOUT_TRG_SFT 10
649 #define RT5660_JD_LOUT_TRG_LO (0x0 << 10)
650 #define RT5660_JD_LOUT_TRG_HI (0x1 << 10)
665 #define RT5660_IRQ_OT_MASK (0x1 << 14)
666 #define RT5660_IRQ_OT_SFT 14
667 #define RT5660_IRQ_OT_BP (0x0 << 14)
668 #define RT5660_IRQ_OT_NOR (0x1 << 14)
681 #define RT5660_OT_P_MASK (0x1 << 10)
682 #define RT5660_OT_P_SFT 10
683 #define RT5660_OT_P_NOR (0x0 << 10)
684 #define RT5660_OT_P_INV (0x1 << 10)
691 #define RT5660_IRQ_MB2_OC_MASK (0x1 << 14)
692 #define RT5660_IRQ_MB2_OC_SFT 14
693 #define RT5660_IRQ_MB2_OC_BP (0x0 << 14)
694 #define RT5660_IRQ_MB2_OC_NOR (0x1 << 14)
699 #define RT5660_MB2_OC_STKY_MASK (0x1 << 10)
700 #define RT5660_MB2_OC_STKY_SFT 10
701 #define RT5660_MB2_OC_STKY_DIS (0x0 << 10)
702 #define RT5660_MB2_OC_STKY_EN (0x1 << 10)
717 #define RT5660_GP2_PIN_MASK (0x1 << 14)
718 #define RT5660_GP2_PIN_SFT 14
719 #define RT5660_GP2_PIN_GPIO2 (0x0 << 14)
720 #define RT5660_GP2_PIN_DMIC1_SDA (0x1 << 14)
762 #define RT5660_SPO_SV_MASK (0x1 << 14)
763 #define RT5660_SPO_SV_SFT 14
764 #define RT5660_SPO_SV_DIS (0x0 << 14)
765 #define RT5660_SPO_SV_EN (0x1 << 14)
774 #define RT5660_ZCD_MASK (0x1 << 10)
775 #define RT5660_ZCD_SFT 10
776 #define RT5660_ZCD_PD (0x0 << 10)
777 #define RT5660_ZCD_PU (0x1 << 10)