Lines Matching +full:8 +full:- +full:15

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 */
133 #define RT5660_L_MUTE (0x1 << 15)
134 #define RT5660_L_MUTE_SFT 15
141 #define RT5660_L_VOL_MASK (0x3f << 8)
142 #define RT5660_L_VOL_SFT 8
147 #define RT5660_IN_DF1 (0x1 << 15)
148 #define RT5660_IN_SFT1 15
149 #define RT5660_BST_MASK1 (0x7f << 8)
150 #define RT5660_BST_SFT1 8
157 #define RT5660_IN_DF3 (0x1 << 15)
158 #define RT5660_IN_SFT3 15
159 #define RT5660_BST_MASK3 (0x7f << 8)
160 #define RT5660_BST_SFT3 8
195 #define RT5660_M_ADCMIX_L (0x1 << 15)
196 #define RT5660_M_ADCMIX_L_SFT 15
211 #define RT5660_DAC_R1_STO_L_VOL_MASK (0x1 << 8)
212 #define RT5660_DAC_R1_STO_L_VOL_SFT 8
281 #define RT5660_G_DACR_SM_MASK (0x3 << 8)
282 #define RT5660_G_DACR_SM_SFT 8
363 #define RT5660_PWR_I2S1 (0x1 << 15)
364 #define RT5660_PWR_I2S1_BIT 15
377 #define RT5660_PWR_ADC_S1F (0x1 << 15)
378 #define RT5660_PWR_ADC_S1F_BIT 15
383 #define RT5660_PWR_VREF1 (0x1 << 15)
384 #define RT5660_PWR_VREF1_BIT 15
405 #define RT5660_PWR_BST1 (0x1 << 15)
406 #define RT5660_PWR_BST1_BIT 15
419 #define RT5660_PWR_OM_L (0x1 << 15)
420 #define RT5660_PWR_OM_L_BIT 15
431 #define RT5660_PWR_SV (0x1 << 15)
432 #define RT5660_PWR_SV_BIT 15
439 #define RT5660_I2S_MS_MASK (0x1 << 15)
440 #define RT5660_I2S_MS_SFT 15
441 #define RT5660_I2S_MS_M (0x0 << 15)
442 #define RT5660_I2S_MS_S (0x1 << 15)
448 #define RT5660_I2S_I_CP_MASK (0x3 << 8)
449 #define RT5660_I2S_I_CP_SFT 8
450 #define RT5660_I2S_I_CP_OFF (0x0 << 8)
451 #define RT5660_I2S_I_CP_U_LAW (0x1 << 8)
452 #define RT5660_I2S_I_CP_A_LAW (0x2 << 8)
471 #define RT5660_I2S_BCLK_MS1_MASK (0x1 << 15)
472 #define RT5660_I2S_BCLK_MS1_SFT 15
473 #define RT5660_I2S_BCLK_MS1_32 (0x0 << 15)
474 #define RT5660_I2S_BCLK_MS1_64 (0x1 << 15)
509 #define RT5660_DMIC_1_EN_MASK (0x1 << 15)
510 #define RT5660_DMIC_1_EN_SFT 15
511 #define RT5660_DMIC_1_DIS (0x0 << 15)
512 #define RT5660_DMIC_1_EN (0x1 << 15)
566 #define RT5660_AUTO_PD_MASK (0x1 << 8)
567 #define RT5660_AUTO_PD_SFT 8
568 #define RT5660_AUTO_PD_DIS (0x0 << 8)
569 #define RT5660_AUTO_PD_EN (0x1 << 8)
588 #define RT5660_SPKVDD_DET_MASK (0x1 << 15)
589 #define RT5660_SPKVDD_DET_SFT 15
590 #define RT5660_SPKVDD_DET_DIS (0x0 << 15)
591 #define RT5660_SPKVDD_DET_EN (0x1 << 15)
598 #define RT5660_MIC1_BS_MASK (0x1 << 15)
599 #define RT5660_MIC1_BS_SFT 15
600 #define RT5660_MIC1_BS_9AV (0x0 << 15)
601 #define RT5660_MIC1_BS_75AV (0x1 << 15)
615 #define RT5660_MIC2_OVCD_MASK (0x1 << 8)
616 #define RT5660_MIC2_OVCD_SFT 8
617 #define RT5660_MIC2_OVCD_DIS (0x0 << 8)
618 #define RT5660_MIC2_OVCD_EN (0x1 << 8)
630 #define RT5660_EQ_SRC_MASK (0x1 << 15)
631 #define RT5660_EQ_SRC_SFT 15
632 #define RT5660_EQ_SRC_DAC (0x0 << 15)
633 #define RT5660_EQ_SRC_ADC (0x1 << 15)
655 #define RT5660_JD_SPO_TRG_MASK (0x1 << 8)
656 #define RT5660_JD_SPO_TRG_SFT 8
657 #define RT5660_JD_SPO_TRG_LO (0x0 << 8)
658 #define RT5660_JD_SPO_TRG_HI (0x1 << 8)
661 #define RT5660_IRQ_JD_MASK (0x1 << 15)
662 #define RT5660_IRQ_JD_SFT 15
663 #define RT5660_IRQ_JD_BP (0x0 << 15)
664 #define RT5660_IRQ_JD_NOR (0x1 << 15)
687 #define RT5660_IRQ_MB1_OC_MASK (0x1 << 15)
688 #define RT5660_IRQ_MB1_OC_SFT 15
689 #define RT5660_IRQ_MB1_OC_BP (0x0 << 15)
690 #define RT5660_IRQ_MB1_OC_NOR (0x1 << 15)
758 #define RT5660_SV_MASK (0x1 << 15)
759 #define RT5660_SV_SFT 15
760 #define RT5660_SV_DIS (0x0 << 15)
761 #define RT5660_SV_EN (0x1 << 15)
782 #define RT5660_ZCD_SPO_MASK (0x1 << 15)
783 #define RT5660_ZCD_SPO_SFT 15
784 #define RT5660_ZCD_SPO_DIS (0x0 << 15)
785 #define RT5660_ZCD_SPO_EN (0x1 << 15)
786 #define RT5660_ZCD_OMR_MASK (0x1 << 8)
787 #define RT5660_ZCD_OMR_SFT 8
788 #define RT5660_ZCD_OMR_DIS (0x0 << 8)
789 #define RT5660_ZCD_OMR_EN (0x1 << 8)