Lines Matching full:switch
182 switch (reg) { in rt5640_volatile_register()
218 switch (reg) { in rt5640_readable_register()
382 SOC_DOUBLE("Speaker Channel Switch", RT5640_SPK_VOL,
387 SOC_DOUBLE("HP Channel Switch", RT5640_HP_VOL,
392 SOC_DOUBLE("OUT Playback Switch", RT5640_OUTPUT,
394 SOC_DOUBLE("OUT Channel Switch", RT5640_OUTPUT,
400 SOC_DOUBLE("DAC2 Playback Switch", RT5640_DAC2_CTRL,
421 SOC_DOUBLE("ADC Capture Switch", RT5640_ADC_DIG_VOL,
426 SOC_DOUBLE("Mono ADC Capture Switch", RT5640_DUMMY1,
438 SOC_ENUM("ADC IF1 Data Switch", rt5640_if1_adc_enum),
439 SOC_ENUM("DAC IF1 Data Switch", rt5640_if1_dac_enum),
440 SOC_ENUM("ADC IF2 Data Switch", rt5640_if2_adc_enum),
441 SOC_ENUM("DAC IF2 Data Switch", rt5640_if2_dac_enum),
446 SOC_SINGLE("Mono Playback Switch", RT5640_MONO_OUT, RT5640_L_MUTE_SFT,
490 SOC_DAPM_SINGLE("ADC1 Switch", RT5640_STO_ADC_MIXER,
492 SOC_DAPM_SINGLE("ADC2 Switch", RT5640_STO_ADC_MIXER,
497 SOC_DAPM_SINGLE("ADC1 Switch", RT5640_STO_ADC_MIXER,
499 SOC_DAPM_SINGLE("ADC2 Switch", RT5640_STO_ADC_MIXER,
504 SOC_DAPM_SINGLE("ADC1 Switch", RT5640_MONO_ADC_MIXER,
506 SOC_DAPM_SINGLE("ADC2 Switch", RT5640_MONO_ADC_MIXER,
511 SOC_DAPM_SINGLE("ADC1 Switch", RT5640_MONO_ADC_MIXER,
513 SOC_DAPM_SINGLE("ADC2 Switch", RT5640_MONO_ADC_MIXER,
518 SOC_DAPM_SINGLE("Stereo ADC Switch", RT5640_AD_DA_MIXER,
520 SOC_DAPM_SINGLE("INF1 Switch", RT5640_AD_DA_MIXER,
525 SOC_DAPM_SINGLE("Stereo ADC Switch", RT5640_AD_DA_MIXER,
527 SOC_DAPM_SINGLE("INF1 Switch", RT5640_AD_DA_MIXER,
532 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_STO_DAC_MIXER,
534 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_STO_DAC_MIXER,
536 SOC_DAPM_SINGLE("ANC Switch", RT5640_STO_DAC_MIXER,
541 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_STO_DAC_MIXER,
543 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_STO_DAC_MIXER,
545 SOC_DAPM_SINGLE("ANC Switch", RT5640_STO_DAC_MIXER,
550 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_STO_DAC_MIXER,
552 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_STO_DAC_MIXER,
557 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_STO_DAC_MIXER,
559 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_STO_DAC_MIXER,
564 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_MONO_DAC_MIXER,
566 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_MONO_DAC_MIXER,
568 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_MONO_DAC_MIXER,
573 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_MONO_DAC_MIXER,
575 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_MONO_DAC_MIXER,
577 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_MONO_DAC_MIXER,
582 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_DIG_MIXER,
584 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_DIG_MIXER,
589 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_DIG_MIXER,
591 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_DIG_MIXER,
597 SOC_DAPM_SINGLE("HPOL Switch", RT5640_REC_L2_MIXER,
599 SOC_DAPM_SINGLE("INL Switch", RT5640_REC_L2_MIXER,
601 SOC_DAPM_SINGLE("BST3 Switch", RT5640_REC_L2_MIXER,
603 SOC_DAPM_SINGLE("BST2 Switch", RT5640_REC_L2_MIXER,
605 SOC_DAPM_SINGLE("BST1 Switch", RT5640_REC_L2_MIXER,
607 SOC_DAPM_SINGLE("OUT MIXL Switch", RT5640_REC_L2_MIXER,
612 SOC_DAPM_SINGLE("HPOR Switch", RT5640_REC_R2_MIXER,
614 SOC_DAPM_SINGLE("INR Switch", RT5640_REC_R2_MIXER,
616 SOC_DAPM_SINGLE("BST3 Switch", RT5640_REC_R2_MIXER,
618 SOC_DAPM_SINGLE("BST2 Switch", RT5640_REC_R2_MIXER,
620 SOC_DAPM_SINGLE("BST1 Switch", RT5640_REC_R2_MIXER,
622 SOC_DAPM_SINGLE("OUT MIXR Switch", RT5640_REC_R2_MIXER,
628 SOC_DAPM_SINGLE("REC MIXL Switch", RT5640_SPK_L_MIXER,
630 SOC_DAPM_SINGLE("INL Switch", RT5640_SPK_L_MIXER,
632 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_SPK_L_MIXER,
634 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_SPK_L_MIXER,
636 SOC_DAPM_SINGLE("OUT MIXL Switch", RT5640_SPK_L_MIXER,
641 SOC_DAPM_SINGLE("REC MIXR Switch", RT5640_SPK_R_MIXER,
643 SOC_DAPM_SINGLE("INR Switch", RT5640_SPK_R_MIXER,
645 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_SPK_R_MIXER,
647 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_SPK_R_MIXER,
649 SOC_DAPM_SINGLE("OUT MIXR Switch", RT5640_SPK_R_MIXER,
654 SOC_DAPM_SINGLE("SPK MIXL Switch", RT5640_OUT_L3_MIXER,
656 SOC_DAPM_SINGLE("BST1 Switch", RT5640_OUT_L3_MIXER,
658 SOC_DAPM_SINGLE("INL Switch", RT5640_OUT_L3_MIXER,
660 SOC_DAPM_SINGLE("REC MIXL Switch", RT5640_OUT_L3_MIXER,
662 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_OUT_L3_MIXER,
664 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_OUT_L3_MIXER,
666 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_OUT_L3_MIXER,
671 SOC_DAPM_SINGLE("SPK MIXR Switch", RT5640_OUT_R3_MIXER,
673 SOC_DAPM_SINGLE("BST2 Switch", RT5640_OUT_R3_MIXER,
675 SOC_DAPM_SINGLE("BST1 Switch", RT5640_OUT_R3_MIXER,
677 SOC_DAPM_SINGLE("INR Switch", RT5640_OUT_R3_MIXER,
679 SOC_DAPM_SINGLE("REC MIXR Switch", RT5640_OUT_R3_MIXER,
681 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_OUT_R3_MIXER,
683 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_OUT_R3_MIXER,
685 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_OUT_R3_MIXER,
690 SOC_DAPM_SINGLE("BST1 Switch", RT5640_OUT_L3_MIXER,
692 SOC_DAPM_SINGLE("INL Switch", RT5640_OUT_L3_MIXER,
694 SOC_DAPM_SINGLE("REC MIXL Switch", RT5640_OUT_L3_MIXER,
696 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_OUT_L3_MIXER,
701 SOC_DAPM_SINGLE("BST2 Switch", RT5640_OUT_R3_MIXER,
703 SOC_DAPM_SINGLE("BST1 Switch", RT5640_OUT_R3_MIXER,
705 SOC_DAPM_SINGLE("INR Switch", RT5640_OUT_R3_MIXER,
707 SOC_DAPM_SINGLE("REC MIXR Switch", RT5640_OUT_R3_MIXER,
709 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_OUT_R3_MIXER,
714 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_SPO_L_MIXER,
716 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_SPO_L_MIXER,
718 SOC_DAPM_SINGLE("SPKVOL R Switch", RT5640_SPO_L_MIXER,
720 SOC_DAPM_SINGLE("SPKVOL L Switch", RT5640_SPO_L_MIXER,
722 SOC_DAPM_SINGLE("BST1 Switch", RT5640_SPO_L_MIXER,
727 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_SPO_R_MIXER,
729 SOC_DAPM_SINGLE("SPKVOL R Switch", RT5640_SPO_R_MIXER,
731 SOC_DAPM_SINGLE("BST1 Switch", RT5640_SPO_R_MIXER,
736 SOC_DAPM_SINGLE("HPO MIX DAC2 Switch", RT5640_HPO_MIXER,
738 SOC_DAPM_SINGLE("HPO MIX DAC1 Switch", RT5640_HPO_MIXER,
740 SOC_DAPM_SINGLE("HPO MIX HPVOL Switch", RT5640_HPO_MIXER,
745 SOC_DAPM_SINGLE("HPO MIX DAC1 Switch", RT5640_HPO_MIXER,
747 SOC_DAPM_SINGLE("HPO MIX HPVOL Switch", RT5640_HPO_MIXER,
752 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_LOUT_MIXER,
754 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_LOUT_MIXER,
756 SOC_DAPM_SINGLE("OUTVOL L Switch", RT5640_LOUT_MIXER,
758 SOC_DAPM_SINGLE("OUTVOL R Switch", RT5640_LOUT_MIXER,
763 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_MONO_MIXER,
765 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_MONO_MIXER,
767 SOC_DAPM_SINGLE("OUTVOL R Switch", RT5640_MONO_MIXER,
769 SOC_DAPM_SINGLE("OUTVOL L Switch", RT5640_MONO_MIXER,
771 SOC_DAPM_SINGLE("BST1 Switch", RT5640_MONO_MIXER,
776 SOC_DAPM_SINGLE_AUTODISABLE("Switch", RT5640_SPK_VOL,
780 SOC_DAPM_SINGLE_AUTODISABLE("Switch", RT5640_SPK_VOL,
784 SOC_DAPM_SINGLE_AUTODISABLE("Switch", RT5640_HP_VOL,
788 SOC_DAPM_SINGLE_AUTODISABLE("Switch", RT5640_HP_VOL,
973 switch (event) { in rt5640_hp_event()
996 switch (event) { in rt5640_lout_event()
1025 switch (event) { in rt5640_hp_power_event()
1042 switch (event) { in rt5640_hp_post_event()
1254 /* Output Switch */
1357 {"RECMIXL", "HPOL Switch", "HPOL"},
1358 {"RECMIXL", "INL Switch", "INL VOL"},
1359 {"RECMIXL", "BST3 Switch", "BST3"},
1360 {"RECMIXL", "BST2 Switch", "BST2"},
1361 {"RECMIXL", "BST1 Switch", "BST1"},
1362 {"RECMIXL", "OUT MIXL Switch", "OUT MIXL"},
1364 {"RECMIXR", "HPOR Switch", "HPOR"},
1365 {"RECMIXR", "INR Switch", "INR VOL"},
1366 {"RECMIXR", "BST3 Switch", "BST3"},
1367 {"RECMIXR", "BST2 Switch", "BST2"},
1368 {"RECMIXR", "BST1 Switch", "BST1"},
1369 {"RECMIXR", "OUT MIXR Switch", "OUT MIXR"},
1407 {"Stereo ADC MIXL", "ADC1 Switch", "Stereo ADC L1 Mux"},
1408 {"Stereo ADC MIXL", "ADC2 Switch", "Stereo ADC L2 Mux"},
1411 {"Stereo ADC MIXR", "ADC1 Switch", "Stereo ADC R1 Mux"},
1412 {"Stereo ADC MIXR", "ADC2 Switch", "Stereo ADC R2 Mux"},
1415 {"Mono ADC MIXL", "ADC1 Switch", "Mono ADC L1 Mux"},
1416 {"Mono ADC MIXL", "ADC2 Switch", "Mono ADC L2 Mux"},
1419 {"Mono ADC MIXR", "ADC1 Switch", "Mono ADC R1 Mux"},
1420 {"Mono ADC MIXR", "ADC2 Switch", "Mono ADC R2 Mux"},
1474 {"DAC MIXL", "Stereo ADC Switch", "Stereo ADC MIXL"},
1475 {"DAC MIXL", "INF1 Switch", "IF1 DAC L"},
1477 {"DAC MIXR", "Stereo ADC Switch", "Stereo ADC MIXR"},
1478 {"DAC MIXR", "INF1 Switch", "IF1 DAC R"},
1481 {"Stereo DAC MIXL", "DAC L1 Switch", "DAC MIXL"},
1482 {"Stereo DAC MIXR", "DAC R1 Switch", "DAC MIXR"},
1484 {"Mono DAC MIXL", "DAC L1 Switch", "DAC MIXL"},
1485 {"Mono DAC MIXR", "DAC R1 Switch", "DAC MIXR"},
1487 {"DIG MIXL", "DAC L1 Switch", "DAC MIXL"},
1488 {"DIG MIXR", "DAC R1 Switch", "DAC MIXR"},
1495 {"SPK MIXL", "REC MIXL Switch", "RECMIXL"},
1496 {"SPK MIXL", "INL Switch", "INL VOL"},
1497 {"SPK MIXL", "DAC L1 Switch", "DAC L1"},
1498 {"SPK MIXL", "OUT MIXL Switch", "OUT MIXL"},
1499 {"SPK MIXR", "REC MIXR Switch", "RECMIXR"},
1500 {"SPK MIXR", "INR Switch", "INR VOL"},
1501 {"SPK MIXR", "DAC R1 Switch", "DAC R1"},
1502 {"SPK MIXR", "OUT MIXR Switch", "OUT MIXR"},
1504 {"OUT MIXL", "BST1 Switch", "BST1"},
1505 {"OUT MIXL", "INL Switch", "INL VOL"},
1506 {"OUT MIXL", "REC MIXL Switch", "RECMIXL"},
1507 {"OUT MIXL", "DAC L1 Switch", "DAC L1"},
1509 {"OUT MIXR", "BST2 Switch", "BST2"},
1510 {"OUT MIXR", "BST1 Switch", "BST1"},
1511 {"OUT MIXR", "INR Switch", "INR VOL"},
1512 {"OUT MIXR", "REC MIXR Switch", "RECMIXR"},
1513 {"OUT MIXR", "DAC R1 Switch", "DAC R1"},
1522 {"SPOL MIX", "DAC R1 Switch", "DAC R1"},
1523 {"SPOL MIX", "DAC L1 Switch", "DAC L1"},
1524 {"SPOL MIX", "SPKVOL R Switch", "SPKVOL R"},
1525 {"SPOL MIX", "SPKVOL L Switch", "SPKVOL L"},
1526 {"SPOL MIX", "BST1 Switch", "BST1"},
1527 {"SPOR MIX", "DAC R1 Switch", "DAC R1"},
1528 {"SPOR MIX", "SPKVOL R Switch", "SPKVOL R"},
1529 {"SPOR MIX", "BST1 Switch", "BST1"},
1531 {"HPO MIX L", "HPO MIX DAC1 Switch", "DAC L1"},
1532 {"HPO MIX L", "HPO MIX HPVOL Switch", "HPOVOL L"},
1534 {"HPO MIX R", "HPO MIX DAC1 Switch", "DAC R1"},
1535 {"HPO MIX R", "HPO MIX HPVOL Switch", "HPOVOL R"},
1538 {"LOUT MIX", "DAC L1 Switch", "DAC L1"},
1539 {"LOUT MIX", "DAC R1 Switch", "DAC R1"},
1540 {"LOUT MIX", "OUTVOL L Switch", "OUTVOL L"},
1541 {"LOUT MIX", "OUTVOL R Switch", "OUTVOL R"},
1546 {"Speaker L Playback", "Switch", "SPOL MIX"},
1547 {"Speaker R Playback", "Switch", "SPOR MIX"},
1561 {"HP L Playback", "Switch", "HP Amp"},
1562 {"HP R Playback", "Switch", "HP Amp"},
1584 {"Stereo DAC MIXL", "DAC L2 Switch", "DAC L2 Mux"},
1585 {"Stereo DAC MIXL", "ANC Switch", "ANC"},
1586 {"Stereo DAC MIXR", "DAC R2 Switch", "DAC R2 Mux"},
1587 {"Stereo DAC MIXR", "ANC Switch", "ANC"},
1589 {"Mono DAC MIXL", "DAC L2 Switch", "DAC L2 Mux"},
1590 {"Mono DAC MIXL", "DAC R2 Switch", "DAC R2 Mux"},
1592 {"Mono DAC MIXR", "DAC R2 Switch", "DAC R2 Mux"},
1593 {"Mono DAC MIXR", "DAC L2 Switch", "DAC L2 Mux"},
1595 {"DIG MIXR", "DAC R2 Switch", "DAC R2 Mux"},
1596 {"DIG MIXL", "DAC L2 Switch", "DAC L2 Mux"},
1603 {"SPK MIXL", "DAC L2 Switch", "DAC L2"},
1604 {"SPK MIXR", "DAC R2 Switch", "DAC R2"},
1606 {"OUT MIXL", "SPK MIXL Switch", "SPK MIXL"},
1607 {"OUT MIXR", "SPK MIXR Switch", "SPK MIXR"},
1609 {"OUT MIXL", "DAC R2 Switch", "DAC R2"},
1610 {"OUT MIXL", "DAC L2 Switch", "DAC L2"},
1612 {"OUT MIXR", "DAC L2 Switch", "DAC L2"},
1613 {"OUT MIXR", "DAC R2 Switch", "DAC R2"},
1615 {"HPO MIX L", "HPO MIX DAC2 Switch", "DAC L2"},
1616 {"HPO MIX R", "HPO MIX DAC2 Switch", "DAC R2"},
1618 {"Mono MIX", "DAC R2 Switch", "DAC R2"},
1619 {"Mono MIX", "DAC L2 Switch", "DAC L2"},
1620 {"Mono MIX", "OUTVOL R Switch", "OUTVOL R"},
1621 {"Mono MIX", "OUTVOL L Switch", "OUTVOL L"},
1622 {"Mono MIX", "BST1 Switch", "BST1"},
1630 {"Stereo DAC MIXL", "DAC L2 Switch", "IF2 DAC L"},
1631 {"Stereo DAC MIXR", "DAC R2 Switch", "IF2 DAC R"},
1633 {"Mono DAC MIXL", "DAC L2 Switch", "IF2 DAC L"},
1634 {"Mono DAC MIXL", "DAC R2 Switch", "IF2 DAC R"},
1636 {"Mono DAC MIXR", "DAC R2 Switch", "IF2 DAC R"},
1637 {"Mono DAC MIXR", "DAC L2 Switch", "IF2 DAC L"},
1639 {"DIG MIXL", "DAC L2 Switch", "IF2 DAC L"},
1640 {"DIG MIXR", "DAC R2 Switch", "IF2 DAC R"},
1655 switch (dai_id) { in get_sdp_info()
1657 switch (val) { in get_sdp_info()
1673 switch (val) { in get_sdp_info()
1727 switch (params_width(params)) { in rt5640_hw_params()
1775 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { in rt5640_set_dai_fmt()
1787 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { in rt5640_set_dai_fmt()
1797 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in rt5640_set_dai_fmt()
1841 switch (clk_id) { in rt5640_set_dai_sysclk()
1893 switch (source) { in rt5640_set_dai_pll()
1940 switch (level) { in rt5640_set_bias_level()
2036 switch (clk_src) { in rt5640_sel_asrc_clk_src()
2675 switch (snd_soc_component_read(component, RT5640_RESET) & RT5640_ID_MASK) { in rt5640_probe()
2762 switch (val) { in rt5640_probe()