Lines Matching full:switch
262 switch (reg) { in max98088_readable_register()
273 switch (reg) { in max98088_writeable_register()
283 switch (reg) { in max98088_volatile_register()
457 SOC_DOUBLE_R("Headphone Switch", M98088_REG_39_LVL_HP_L,
459 SOC_DOUBLE_R("Speaker Switch", M98088_REG_3D_LVL_SPK_L,
461 SOC_DOUBLE_R("Receiver Switch", M98088_REG_3B_LVL_REC_L,
485 SOC_SINGLE("EQ1 Switch", M98088_REG_49_CFG_LEVEL, 0, 1, 0),
486 SOC_SINGLE("EQ2 Switch", M98088_REG_49_CFG_LEVEL, 1, 1, 0),
494 SOC_SINGLE("DAI2 DC Block Switch", M98088_REG_20_DAI2_FILTERS,
497 SOC_SINGLE("ALC Switch", M98088_REG_43_SPKALC_COMP, 7, 1, 0),
512 /* Left speaker mixer switch */
514 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_2B_MIX_SPK_LEFT, 0, 1, 0),
515 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_2B_MIX_SPK_LEFT, 7, 1, 0),
516 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_2B_MIX_SPK_LEFT, 0, 1, 0),
517 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_2B_MIX_SPK_LEFT, 7, 1, 0),
518 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_2B_MIX_SPK_LEFT, 5, 1, 0),
519 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_2B_MIX_SPK_LEFT, 6, 1, 0),
520 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_2B_MIX_SPK_LEFT, 1, 1, 0),
521 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_2B_MIX_SPK_LEFT, 2, 1, 0),
522 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_2B_MIX_SPK_LEFT, 3, 1, 0),
523 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_2B_MIX_SPK_LEFT, 4, 1, 0),
526 /* Right speaker mixer switch */
528 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 7, 1, 0),
529 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 0, 1, 0),
530 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 7, 1, 0),
531 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 0, 1, 0),
532 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 5, 1, 0),
533 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 6, 1, 0),
534 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 1, 1, 0),
535 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 2, 1, 0),
536 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 3, 1, 0),
537 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_2C_MIX_SPK_RIGHT, 4, 1, 0),
540 /* Left headphone mixer switch */
542 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_25_MIX_HP_LEFT, 0, 1, 0),
543 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_25_MIX_HP_LEFT, 7, 1, 0),
544 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_25_MIX_HP_LEFT, 0, 1, 0),
545 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_25_MIX_HP_LEFT, 7, 1, 0),
546 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_25_MIX_HP_LEFT, 5, 1, 0),
547 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_25_MIX_HP_LEFT, 6, 1, 0),
548 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_25_MIX_HP_LEFT, 1, 1, 0),
549 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_25_MIX_HP_LEFT, 2, 1, 0),
550 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_25_MIX_HP_LEFT, 3, 1, 0),
551 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_25_MIX_HP_LEFT, 4, 1, 0),
554 /* Right headphone mixer switch */
556 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_26_MIX_HP_RIGHT, 7, 1, 0),
557 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_26_MIX_HP_RIGHT, 0, 1, 0),
558 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_26_MIX_HP_RIGHT, 7, 1, 0),
559 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_26_MIX_HP_RIGHT, 0, 1, 0),
560 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_26_MIX_HP_RIGHT, 5, 1, 0),
561 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_26_MIX_HP_RIGHT, 6, 1, 0),
562 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_26_MIX_HP_RIGHT, 1, 1, 0),
563 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_26_MIX_HP_RIGHT, 2, 1, 0),
564 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_26_MIX_HP_RIGHT, 3, 1, 0),
565 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_26_MIX_HP_RIGHT, 4, 1, 0),
568 /* Left earpiece/receiver mixer switch */
570 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_28_MIX_REC_LEFT, 0, 1, 0),
571 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_28_MIX_REC_LEFT, 7, 1, 0),
572 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_28_MIX_REC_LEFT, 0, 1, 0),
573 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_28_MIX_REC_LEFT, 7, 1, 0),
574 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_28_MIX_REC_LEFT, 5, 1, 0),
575 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_28_MIX_REC_LEFT, 6, 1, 0),
576 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_28_MIX_REC_LEFT, 1, 1, 0),
577 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_28_MIX_REC_LEFT, 2, 1, 0),
578 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_28_MIX_REC_LEFT, 3, 1, 0),
579 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_28_MIX_REC_LEFT, 4, 1, 0),
582 /* Right earpiece/receiver mixer switch */
584 SOC_DAPM_SINGLE("Left DAC1 Switch", M98088_REG_29_MIX_REC_RIGHT, 7, 1, 0),
585 SOC_DAPM_SINGLE("Right DAC1 Switch", M98088_REG_29_MIX_REC_RIGHT, 0, 1, 0),
586 SOC_DAPM_SINGLE("Left DAC2 Switch", M98088_REG_29_MIX_REC_RIGHT, 7, 1, 0),
587 SOC_DAPM_SINGLE("Right DAC2 Switch", M98088_REG_29_MIX_REC_RIGHT, 0, 1, 0),
588 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_29_MIX_REC_RIGHT, 5, 1, 0),
589 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_29_MIX_REC_RIGHT, 6, 1, 0),
590 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_29_MIX_REC_RIGHT, 1, 1, 0),
591 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_29_MIX_REC_RIGHT, 2, 1, 0),
592 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_29_MIX_REC_RIGHT, 3, 1, 0),
593 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_29_MIX_REC_RIGHT, 4, 1, 0),
596 /* Left ADC mixer switch */
598 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_23_MIX_ADC_LEFT, 7, 1, 0),
599 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_23_MIX_ADC_LEFT, 6, 1, 0),
600 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_23_MIX_ADC_LEFT, 3, 1, 0),
601 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_23_MIX_ADC_LEFT, 2, 1, 0),
602 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_23_MIX_ADC_LEFT, 1, 1, 0),
603 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_23_MIX_ADC_LEFT, 0, 1, 0),
606 /* Right ADC mixer switch */
608 SOC_DAPM_SINGLE("MIC1 Switch", M98088_REG_24_MIX_ADC_RIGHT, 7, 1, 0),
609 SOC_DAPM_SINGLE("MIC2 Switch", M98088_REG_24_MIX_ADC_RIGHT, 6, 1, 0),
610 SOC_DAPM_SINGLE("INA1 Switch", M98088_REG_24_MIX_ADC_RIGHT, 3, 1, 0),
611 SOC_DAPM_SINGLE("INA2 Switch", M98088_REG_24_MIX_ADC_RIGHT, 2, 1, 0),
612 SOC_DAPM_SINGLE("INB1 Switch", M98088_REG_24_MIX_ADC_RIGHT, 1, 1, 0),
613 SOC_DAPM_SINGLE("INB2 Switch", M98088_REG_24_MIX_ADC_RIGHT, 0, 1, 0),
622 switch (event) { in max98088_mic_event()
656 switch (line) { in max98088_line_pga()
667 switch (event) { in max98088_line_pga()
818 {"Left HP Mixer", "Left DAC1 Switch", "DACL1"},
819 {"Left HP Mixer", "Left DAC2 Switch", "DACL2"},
820 {"Left HP Mixer", "Right DAC1 Switch", "DACR1"},
821 {"Left HP Mixer", "Right DAC2 Switch", "DACR2"},
822 {"Left HP Mixer", "MIC1 Switch", "MIC1 Input"},
823 {"Left HP Mixer", "MIC2 Switch", "MIC2 Input"},
824 {"Left HP Mixer", "INA1 Switch", "INA1 Input"},
825 {"Left HP Mixer", "INA2 Switch", "INA2 Input"},
826 {"Left HP Mixer", "INB1 Switch", "INB1 Input"},
827 {"Left HP Mixer", "INB2 Switch", "INB2 Input"},
830 {"Right HP Mixer", "Left DAC1 Switch", "DACL1"},
831 {"Right HP Mixer", "Left DAC2 Switch", "DACL2" },
832 {"Right HP Mixer", "Right DAC1 Switch", "DACR1"},
833 {"Right HP Mixer", "Right DAC2 Switch", "DACR2"},
834 {"Right HP Mixer", "MIC1 Switch", "MIC1 Input"},
835 {"Right HP Mixer", "MIC2 Switch", "MIC2 Input"},
836 {"Right HP Mixer", "INA1 Switch", "INA1 Input"},
837 {"Right HP Mixer", "INA2 Switch", "INA2 Input"},
838 {"Right HP Mixer", "INB1 Switch", "INB1 Input"},
839 {"Right HP Mixer", "INB2 Switch", "INB2 Input"},
842 {"Left SPK Mixer", "Left DAC1 Switch", "DACL1"},
843 {"Left SPK Mixer", "Left DAC2 Switch", "DACL2"},
844 {"Left SPK Mixer", "Right DAC1 Switch", "DACR1"},
845 {"Left SPK Mixer", "Right DAC2 Switch", "DACR2"},
846 {"Left SPK Mixer", "MIC1 Switch", "MIC1 Input"},
847 {"Left SPK Mixer", "MIC2 Switch", "MIC2 Input"},
848 {"Left SPK Mixer", "INA1 Switch", "INA1 Input"},
849 {"Left SPK Mixer", "INA2 Switch", "INA2 Input"},
850 {"Left SPK Mixer", "INB1 Switch", "INB1 Input"},
851 {"Left SPK Mixer", "INB2 Switch", "INB2 Input"},
854 {"Right SPK Mixer", "Left DAC1 Switch", "DACL1"},
855 {"Right SPK Mixer", "Left DAC2 Switch", "DACL2"},
856 {"Right SPK Mixer", "Right DAC1 Switch", "DACR1"},
857 {"Right SPK Mixer", "Right DAC2 Switch", "DACR2"},
858 {"Right SPK Mixer", "MIC1 Switch", "MIC1 Input"},
859 {"Right SPK Mixer", "MIC2 Switch", "MIC2 Input"},
860 {"Right SPK Mixer", "INA1 Switch", "INA1 Input"},
861 {"Right SPK Mixer", "INA2 Switch", "INA2 Input"},
862 {"Right SPK Mixer", "INB1 Switch", "INB1 Input"},
863 {"Right SPK Mixer", "INB2 Switch", "INB2 Input"},
866 {"Left REC Mixer", "Left DAC1 Switch", "DACL1"},
867 {"Left REC Mixer", "Left DAC2 Switch", "DACL2"},
868 {"Left REC Mixer", "Right DAC1 Switch", "DACR1"},
869 {"Left REC Mixer", "Right DAC2 Switch", "DACR2"},
870 {"Left REC Mixer", "MIC1 Switch", "MIC1 Input"},
871 {"Left REC Mixer", "MIC2 Switch", "MIC2 Input"},
872 {"Left REC Mixer", "INA1 Switch", "INA1 Input"},
873 {"Left REC Mixer", "INA2 Switch", "INA2 Input"},
874 {"Left REC Mixer", "INB1 Switch", "INB1 Input"},
875 {"Left REC Mixer", "INB2 Switch", "INB2 Input"},
878 {"Right REC Mixer", "Left DAC1 Switch", "DACL1"},
879 {"Right REC Mixer", "Left DAC2 Switch", "DACL2"},
880 {"Right REC Mixer", "Right DAC1 Switch", "DACR1"},
881 {"Right REC Mixer", "Right DAC2 Switch", "DACR2"},
882 {"Right REC Mixer", "MIC1 Switch", "MIC1 Input"},
883 {"Right REC Mixer", "MIC2 Switch", "MIC2 Input"},
884 {"Right REC Mixer", "INA1 Switch", "INA1 Input"},
885 {"Right REC Mixer", "INA2 Switch", "INA2 Input"},
886 {"Right REC Mixer", "INB1 Switch", "INB1 Input"},
887 {"Right REC Mixer", "INB2 Switch", "INB2 Input"},
904 {"Left ADC Mixer", "MIC1 Switch", "MIC1 Input"},
905 {"Left ADC Mixer", "MIC2 Switch", "MIC2 Input"},
906 {"Left ADC Mixer", "INA1 Switch", "INA1 Input"},
907 {"Left ADC Mixer", "INA2 Switch", "INA2 Input"},
908 {"Left ADC Mixer", "INB1 Switch", "INB1 Input"},
909 {"Left ADC Mixer", "INB2 Switch", "INB2 Input"},
912 {"Right ADC Mixer", "MIC1 Switch", "MIC1 Input"},
913 {"Right ADC Mixer", "MIC2 Switch", "MIC2 Input"},
914 {"Right ADC Mixer", "INA1 Switch", "INA1 Input"},
915 {"Right ADC Mixer", "INA2 Switch", "INA2 Input"},
916 {"Right ADC Mixer", "INB1 Switch", "INB1 Input"},
917 {"Right ADC Mixer", "INB2 Switch", "INB2 Input"},
976 switch (params_width(params)) { in max98088_dai1_hw_params()
1043 switch (params_width(params)) { in max98088_dai2_hw_params()
1150 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { in max98088_dai1_set_fmt()
1169 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in max98088_dai1_set_fmt()
1179 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { in max98088_dai1_set_fmt()
1221 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { in max98088_dai2_set_fmt()
1240 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in max98088_dai2_set_fmt()
1250 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { in max98088_dai2_set_fmt()
1314 switch (level) { in max98088_set_bias_level()
1530 switch (channel) { in max98088_put_eq_enum()