Lines Matching +full:11 +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
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
297 #define RT5660_M_DAC_R_SPM (0x1 << 14)
298 #define RT5660_M_DAC_R_SPM_SFT 14
303 #define RT5660_M_BST1_SPM (0x1 << 11)
304 #define RT5660_M_BST1_SPM_SFT 11
367 #define RT5660_PWR_DAC_R1 (0x1 << 11)
368 #define RT5660_PWR_DAC_R1_BIT 11
379 #define RT5660_PWR_DAC_S1F (0x1 << 11)
380 #define RT5660_PWR_DAC_S1F_BIT 11
385 #define RT5660_PWR_FV1 (0x1 << 14)
386 #define RT5660_PWR_FV1_BIT 14
389 #define RT5660_PWR_BG (0x1 << 11)
390 #define RT5660_PWR_BG_BIT 11
407 #define RT5660_PWR_BST2 (0x1 << 14)
408 #define RT5660_PWR_BST2_BIT 14
411 #define RT5660_PWR_MB1 (0x1 << 11)
412 #define RT5660_PWR_MB1_BIT 11
421 #define RT5660_PWR_OM_R (0x1 << 14)
422 #define RT5660_PWR_OM_R_BIT 14
425 #define RT5660_PWR_RM_L (0x1 << 11)
426 #define RT5660_PWR_RM_L_BIT 11
433 #define RT5660_PWR_LV_L (0x1 << 11)
434 #define RT5660_PWR_LV_L_BIT 11
503 #define RT5660_DAHPF_EN (0x1 << 11)
504 #define RT5660_DAHPF_EN_SFT 11
521 #define RT5660_SEL_DMIC_DATA_MASK (0x1 << 11)
522 #define RT5660_SEL_DMIC_DATA_SFT 11
523 #define RT5660_SEL_DMIC_DATA_GPIO2 (0x0 << 11)
524 #define RT5660_SEL_DMIC_DATA_IN1P (0x1 << 11)
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)
558 #define RT5660_PLL_M_BP (0x1 << 11)
559 #define RT5660_PLL_M_BP_SFT 11
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)
606 #define RT5660_MIC1_OVCD_MASK (0x1 << 11)
607 #define RT5660_MIC1_OVCD_SFT 11
608 #define RT5660_MIC1_OVCD_DIS (0x0 << 11)
609 #define RT5660_MIC1_OVCD_EN (0x1 << 11)
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)
643 #define RT5660_JD_LOUT_MASK (0x1 << 11)
644 #define RT5660_JD_LOUT_SFT 11
645 #define RT5660_JD_LOUT_DIS (0x0 << 11)
646 #define RT5660_JD_LOUT_EN (0x1 << 11)
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)
677 #define RT5660_JD_P_MASK (0x1 << 11)
678 #define RT5660_JD_P_SFT 11
679 #define RT5660_JD_P_NOR (0x0 << 11)
680 #define RT5660_JD_P_INV (0x1 << 11)
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)
695 #define RT5660_MB1_OC_STKY_MASK (0x1 << 11)
696 #define RT5660_MB1_OC_STKY_SFT 11
697 #define RT5660_MB1_OC_STKY_DIS (0x0 << 11)
698 #define RT5660_MB1_OC_STKY_EN (0x1 << 11)
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)
770 #define RT5660_ZCD_DIG_MASK (0x1 << 11)
771 #define RT5660_ZCD_DIG_SFT 11
772 #define RT5660_ZCD_DIG_DIS (0x0 << 11)
773 #define RT5660_ZCD_DIG_EN (0x1 << 11)
808 #define RT5660_PWR_VREF_HP (0x1 << 11)
809 #define RT5660_PWR_VREF_HP_SFT 11