Lines Matching full:switch
263 switch (reg) { in max98088_readable_register()
274 switch (reg) { in max98088_writeable_register()
284 switch (reg) { in max98088_volatile_register()
458 SOC_DOUBLE_R("Headphone Switch", M98088_REG_39_LVL_HP_L,
460 SOC_DOUBLE_R("Speaker Switch", M98088_REG_3D_LVL_SPK_L,
462 SOC_DOUBLE_R("Receiver Switch", M98088_REG_3B_LVL_REC_L,
489 SOC_SINGLE("EQ1 Switch", M98088_REG_49_CFG_LEVEL, 0, 1, 0),
490 SOC_SINGLE("EQ2 Switch", M98088_REG_49_CFG_LEVEL, 1, 1, 0),
498 SOC_SINGLE("DAI2 DC Block Switch", M98088_REG_20_DAI2_FILTERS,
501 SOC_SINGLE("ALC Switch", M98088_REG_43_SPKALC_COMP, 7, 1, 0),
516 /* Left speaker mixer switch */
518 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_2B_MIX_SPK_LEFT, 0, 1, 0),
519 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_2B_MIX_SPK_LEFT, 7, 1, 0),
520 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_2B_MIX_SPK_LEFT, 0, 1, 0),
521 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_2B_MIX_SPK_LEFT, 7, 1, 0),
522 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_2B_MIX_SPK_LEFT, 5, 1, 0),
523 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_2B_MIX_SPK_LEFT, 6, 1, 0),
524 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_2B_MIX_SPK_LEFT, 1, 1, 0),
525 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_2B_MIX_SPK_LEFT, 2, 1, 0),
526 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_2B_MIX_SPK_LEFT, 3, 1, 0),
527 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_2B_MIX_SPK_LEFT, 4, 1, 0),
530 /* Right speaker mixer switch */
532 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 7, 1, 0),
533 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 0, 1, 0),
534 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 7, 1, 0),
535 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 0, 1, 0),
536 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 5, 1, 0),
537 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 6, 1, 0),
538 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 1, 1, 0),
539 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 2, 1, 0),
540 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 3, 1, 0),
541 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 4, 1, 0),
544 /* Left headphone mixer switch */
546 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_25_MIX_HP_LEFT, 0, 1, 0),
547 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_25_MIX_HP_LEFT, 7, 1, 0),
548 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_25_MIX_HP_LEFT, 0, 1, 0),
549 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_25_MIX_HP_LEFT, 7, 1, 0),
550 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_25_MIX_HP_LEFT, 5, 1, 0),
551 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_25_MIX_HP_LEFT, 6, 1, 0),
552 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_25_MIX_HP_LEFT, 1, 1, 0),
553 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_25_MIX_HP_LEFT, 2, 1, 0),
554 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_25_MIX_HP_LEFT, 3, 1, 0),
555 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_25_MIX_HP_LEFT, 4, 1, 0),
558 /* Right headphone mixer switch */
560 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_26_MIX_HP_RIGHT, 7, 1, 0),
561 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_26_MIX_HP_RIGHT, 0, 1, 0),
562 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_26_MIX_HP_RIGHT, 7, 1, 0),
563 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_26_MIX_HP_RIGHT, 0, 1, 0),
564 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_26_MIX_HP_RIGHT, 5, 1, 0),
565 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_26_MIX_HP_RIGHT, 6, 1, 0),
566 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_26_MIX_HP_RIGHT, 1, 1, 0),
567 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_26_MIX_HP_RIGHT, 2, 1, 0),
568 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_26_MIX_HP_RIGHT, 3, 1, 0),
569 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_26_MIX_HP_RIGHT, 4, 1, 0),
572 /* Left earpiece/receiver mixer switch */
574 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_28_MIX_REC_LEFT, 0, 1, 0),
575 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_28_MIX_REC_LEFT, 7, 1, 0),
576 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_28_MIX_REC_LEFT, 0, 1, 0),
577 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_28_MIX_REC_LEFT, 7, 1, 0),
578 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_28_MIX_REC_LEFT, 5, 1, 0),
579 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_28_MIX_REC_LEFT, 6, 1, 0),
580 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_28_MIX_REC_LEFT, 1, 1, 0),
581 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_28_MIX_REC_LEFT, 2, 1, 0),
582 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_28_MIX_REC_LEFT, 3, 1, 0),
583 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_28_MIX_REC_LEFT, 4, 1, 0),
586 /* Right earpiece/receiver mixer switch */
588 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_29_MIX_REC_RIGHT, 7, 1, 0),
589 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_29_MIX_REC_RIGHT, 0, 1, 0),
590 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_29_MIX_REC_RIGHT, 7, 1, 0),
591 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_29_MIX_REC_RIGHT, 0, 1, 0),
592 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_29_MIX_REC_RIGHT, 5, 1, 0),
593 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_29_MIX_REC_RIGHT, 6, 1, 0),
594 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_29_MIX_REC_RIGHT, 1, 1, 0),
595 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_29_MIX_REC_RIGHT, 2, 1, 0),
596 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_29_MIX_REC_RIGHT, 3, 1, 0),
597 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_29_MIX_REC_RIGHT, 4, 1, 0),
600 /* Left ADC mixer switch */
602 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_23_MIX_ADC_LEFT, 7, 1, 0),
603 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_23_MIX_ADC_LEFT, 6, 1, 0),
604 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_23_MIX_ADC_LEFT, 3, 1, 0),
605 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_23_MIX_ADC_LEFT, 2, 1, 0),
606 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_23_MIX_ADC_LEFT, 1, 1, 0),
607 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_23_MIX_ADC_LEFT, 0, 1, 0),
610 /* Right ADC mixer switch */
612 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_24_MIX_ADC_RIGHT, 7, 1, 0),
613 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_24_MIX_ADC_RIGHT, 6, 1, 0),
614 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_24_MIX_ADC_RIGHT, 3, 1, 0),
615 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_24_MIX_ADC_RIGHT, 2, 1, 0),
616 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_24_MIX_ADC_RIGHT, 1, 1, 0),
617 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_24_MIX_ADC_RIGHT, 0, 1, 0),
626 switch (event) { in max98088_mic_event()
660 switch (line) { in max98088_line_pga()
671 switch (event) { in max98088_line_pga()
822 {"Left HP Mixer", "Left DAC1 Switch", "DACL1"},
823 {"Left HP Mixer", "Left DAC2 Switch", "DACL2"},
824 {"Left HP Mixer", "Right DAC1 Switch", "DACR1"},
825 {"Left HP Mixer", "Right DAC2 Switch", "DACR2"},
826 {"Left HP Mixer", "MIC1 Switch", "MIC1 Input"},
827 {"Left HP Mixer", "MIC2 Switch", "MIC2 Input"},
828 {"Left HP Mixer", "INA1 Switch", "INA1 Input"},
829 {"Left HP Mixer", "INA2 Switch", "INA2 Input"},
830 {"Left HP Mixer", "INB1 Switch", "INB1 Input"},
831 {"Left HP Mixer", "INB2 Switch", "INB2 Input"},
834 {"Right HP Mixer", "Left DAC1 Switch", "DACL1"},
835 {"Right HP Mixer", "Left DAC2 Switch", "DACL2" },
836 {"Right HP Mixer", "Right DAC1 Switch", "DACR1"},
837 {"Right HP Mixer", "Right DAC2 Switch", "DACR2"},
838 {"Right HP Mixer", "MIC1 Switch", "MIC1 Input"},
839 {"Right HP Mixer", "MIC2 Switch", "MIC2 Input"},
840 {"Right HP Mixer", "INA1 Switch", "INA1 Input"},
841 {"Right HP Mixer", "INA2 Switch", "INA2 Input"},
842 {"Right HP Mixer", "INB1 Switch", "INB1 Input"},
843 {"Right HP Mixer", "INB2 Switch", "INB2 Input"},
846 {"Left SPK Mixer", "Left DAC1 Switch", "DACL1"},
847 {"Left SPK Mixer", "Left DAC2 Switch", "DACL2"},
848 {"Left SPK Mixer", "Right DAC1 Switch", "DACR1"},
849 {"Left SPK Mixer", "Right DAC2 Switch", "DACR2"},
850 {"Left SPK Mixer", "MIC1 Switch", "MIC1 Input"},
851 {"Left SPK Mixer", "MIC2 Switch", "MIC2 Input"},
852 {"Left SPK Mixer", "INA1 Switch", "INA1 Input"},
853 {"Left SPK Mixer", "INA2 Switch", "INA2 Input"},
854 {"Left SPK Mixer", "INB1 Switch", "INB1 Input"},
855 {"Left SPK Mixer", "INB2 Switch", "INB2 Input"},
858 {"Right SPK Mixer", "Left DAC1 Switch", "DACL1"},
859 {"Right SPK Mixer", "Left DAC2 Switch", "DACL2"},
860 {"Right SPK Mixer", "Right DAC1 Switch", "DACR1"},
861 {"Right SPK Mixer", "Right DAC2 Switch", "DACR2"},
862 {"Right SPK Mixer", "MIC1 Switch", "MIC1 Input"},
863 {"Right SPK Mixer", "MIC2 Switch", "MIC2 Input"},
864 {"Right SPK Mixer", "INA1 Switch", "INA1 Input"},
865 {"Right SPK Mixer", "INA2 Switch", "INA2 Input"},
866 {"Right SPK Mixer", "INB1 Switch", "INB1 Input"},
867 {"Right SPK Mixer", "INB2 Switch", "INB2 Input"},
870 {"Left REC Mixer", "Left DAC1 Switch", "DACL1"},
871 {"Left REC Mixer", "Left DAC2 Switch", "DACL2"},
872 {"Left REC Mixer", "Right DAC1 Switch", "DACR1"},
873 {"Left REC Mixer", "Right DAC2 Switch", "DACR2"},
874 {"Left REC Mixer", "MIC1 Switch", "MIC1 Input"},
875 {"Left REC Mixer", "MIC2 Switch", "MIC2 Input"},
876 {"Left REC Mixer", "INA1 Switch", "INA1 Input"},
877 {"Left REC Mixer", "INA2 Switch", "INA2 Input"},
878 {"Left REC Mixer", "INB1 Switch", "INB1 Input"},
879 {"Left REC Mixer", "INB2 Switch", "INB2 Input"},
882 {"Right REC Mixer", "Left DAC1 Switch", "DACL1"},
883 {"Right REC Mixer", "Left DAC2 Switch", "DACL2"},
884 {"Right REC Mixer", "Right DAC1 Switch", "DACR1"},
885 {"Right REC Mixer", "Right DAC2 Switch", "DACR2"},
886 {"Right REC Mixer", "MIC1 Switch", "MIC1 Input"},
887 {"Right REC Mixer", "MIC2 Switch", "MIC2 Input"},
888 {"Right REC Mixer", "INA1 Switch", "INA1 Input"},
889 {"Right REC Mixer", "INA2 Switch", "INA2 Input"},
890 {"Right REC Mixer", "INB1 Switch", "INB1 Input"},
891 {"Right REC Mixer", "INB2 Switch", "INB2 Input"},
908 {"Left ADC Mixer", "MIC1 Switch", "MIC1 Input"},
909 {"Left ADC Mixer", "MIC2 Switch", "MIC2 Input"},
910 {"Left ADC Mixer", "INA1 Switch", "INA1 Input"},
911 {"Left ADC Mixer", "INA2 Switch", "INA2 Input"},
912 {"Left ADC Mixer", "INB1 Switch", "INB1 Input"},
913 {"Left ADC Mixer", "INB2 Switch", "INB2 Input"},
916 {"Right ADC Mixer", "MIC1 Switch", "MIC1 Input"},
917 {"Right ADC Mixer", "MIC2 Switch", "MIC2 Input"},
918 {"Right ADC Mixer", "INA1 Switch", "INA1 Input"},
919 {"Right ADC Mixer", "INA2 Switch", "INA2 Input"},
920 {"Right ADC Mixer", "INB1 Switch", "INB1 Input"},
921 {"Right ADC Mixer", "INB2 Switch", "INB2 Input"},
980 switch (params_width(params)) { in max98088_dai1_hw_params()
1050 switch (params_width(params)) { in max98088_dai2_hw_params()
1162 switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in max98088_dai1_set_fmt()
1179 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in max98088_dai1_set_fmt()
1189 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { in max98088_dai1_set_fmt()
1231 switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in max98088_dai2_set_fmt()
1248 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in max98088_dai2_set_fmt()
1258 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { in max98088_dai2_set_fmt()
1322 switch (level) { in max98088_set_bias_level()
1538 switch (channel) { in max98088_put_eq_enum()