Lines Matching full:switch
184 switch (reg) { in rt5640_volatile_register()
219 switch (reg) { in rt5640_readable_register()
383 SOC_DOUBLE("Speaker Channel Switch", RT5640_SPK_VOL,
388 SOC_DOUBLE("HP Channel Switch", RT5640_HP_VOL,
393 SOC_DOUBLE("OUT Playback Switch", RT5640_OUTPUT,
395 SOC_DOUBLE("OUT Channel Switch", RT5640_OUTPUT,
401 SOC_DOUBLE("DAC2 Playback Switch", RT5640_DAC2_CTRL,
419 SOC_DOUBLE("ADC Capture Switch", RT5640_ADC_DIG_VOL,
424 SOC_DOUBLE("Mono ADC Capture Switch", RT5640_DUMMY1,
436 SOC_ENUM("ADC IF1 Data Switch", rt5640_if1_adc_enum),
437 SOC_ENUM("DAC IF1 Data Switch", rt5640_if1_dac_enum),
438 SOC_ENUM("ADC IF2 Data Switch", rt5640_if2_adc_enum),
439 SOC_ENUM("DAC IF2 Data Switch", rt5640_if2_dac_enum),
444 SOC_SINGLE("Mono Playback Switch", RT5640_MONO_OUT, RT5640_L_MUTE_SFT,
491 SOC_DAPM_SINGLE("ADC1 Switch", RT5640_STO_ADC_MIXER,
493 SOC_DAPM_SINGLE("ADC2 Switch", RT5640_STO_ADC_MIXER,
498 SOC_DAPM_SINGLE("ADC1 Switch", RT5640_STO_ADC_MIXER,
500 SOC_DAPM_SINGLE("ADC2 Switch", RT5640_STO_ADC_MIXER,
505 SOC_DAPM_SINGLE("ADC1 Switch", RT5640_MONO_ADC_MIXER,
507 SOC_DAPM_SINGLE("ADC2 Switch", RT5640_MONO_ADC_MIXER,
512 SOC_DAPM_SINGLE("ADC1 Switch", RT5640_MONO_ADC_MIXER,
514 SOC_DAPM_SINGLE("ADC2 Switch", RT5640_MONO_ADC_MIXER,
519 SOC_DAPM_SINGLE("Stereo ADC Switch", RT5640_AD_DA_MIXER,
521 SOC_DAPM_SINGLE("INF1 Switch", RT5640_AD_DA_MIXER,
526 SOC_DAPM_SINGLE("Stereo ADC Switch", RT5640_AD_DA_MIXER,
528 SOC_DAPM_SINGLE("INF1 Switch", RT5640_AD_DA_MIXER,
533 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_STO_DAC_MIXER,
535 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_STO_DAC_MIXER,
537 SOC_DAPM_SINGLE("ANC Switch", RT5640_STO_DAC_MIXER,
542 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_STO_DAC_MIXER,
544 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_STO_DAC_MIXER,
546 SOC_DAPM_SINGLE("ANC Switch", RT5640_STO_DAC_MIXER,
551 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_STO_DAC_MIXER,
553 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_STO_DAC_MIXER,
558 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_STO_DAC_MIXER,
560 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_STO_DAC_MIXER,
565 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_MONO_DAC_MIXER,
567 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_MONO_DAC_MIXER,
569 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_MONO_DAC_MIXER,
574 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_MONO_DAC_MIXER,
576 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_MONO_DAC_MIXER,
578 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_MONO_DAC_MIXER,
583 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_DIG_MIXER,
585 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_DIG_MIXER,
590 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_DIG_MIXER,
592 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_DIG_MIXER,
598 SOC_DAPM_SINGLE("HPOL Switch", RT5640_REC_L2_MIXER,
600 SOC_DAPM_SINGLE("INL Switch", RT5640_REC_L2_MIXER,
602 SOC_DAPM_SINGLE("BST3 Switch", RT5640_REC_L2_MIXER,
604 SOC_DAPM_SINGLE("BST2 Switch", RT5640_REC_L2_MIXER,
606 SOC_DAPM_SINGLE("BST1 Switch", RT5640_REC_L2_MIXER,
608 SOC_DAPM_SINGLE("OUT MIXL Switch", RT5640_REC_L2_MIXER,
613 SOC_DAPM_SINGLE("HPOR Switch", RT5640_REC_R2_MIXER,
615 SOC_DAPM_SINGLE("INR Switch", RT5640_REC_R2_MIXER,
617 SOC_DAPM_SINGLE("BST3 Switch", RT5640_REC_R2_MIXER,
619 SOC_DAPM_SINGLE("BST2 Switch", RT5640_REC_R2_MIXER,
621 SOC_DAPM_SINGLE("BST1 Switch", RT5640_REC_R2_MIXER,
623 SOC_DAPM_SINGLE("OUT MIXR Switch", RT5640_REC_R2_MIXER,
629 SOC_DAPM_SINGLE("REC MIXL Switch", RT5640_SPK_L_MIXER,
631 SOC_DAPM_SINGLE("INL Switch", RT5640_SPK_L_MIXER,
633 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_SPK_L_MIXER,
635 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_SPK_L_MIXER,
637 SOC_DAPM_SINGLE("OUT MIXL Switch", RT5640_SPK_L_MIXER,
642 SOC_DAPM_SINGLE("REC MIXR Switch", RT5640_SPK_R_MIXER,
644 SOC_DAPM_SINGLE("INR Switch", RT5640_SPK_R_MIXER,
646 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_SPK_R_MIXER,
648 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_SPK_R_MIXER,
650 SOC_DAPM_SINGLE("OUT MIXR Switch", RT5640_SPK_R_MIXER,
655 SOC_DAPM_SINGLE("SPK MIXL Switch", RT5640_OUT_L3_MIXER,
657 SOC_DAPM_SINGLE("BST1 Switch", RT5640_OUT_L3_MIXER,
659 SOC_DAPM_SINGLE("INL Switch", RT5640_OUT_L3_MIXER,
661 SOC_DAPM_SINGLE("REC MIXL Switch", RT5640_OUT_L3_MIXER,
663 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_OUT_L3_MIXER,
665 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_OUT_L3_MIXER,
667 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_OUT_L3_MIXER,
672 SOC_DAPM_SINGLE("SPK MIXR Switch", RT5640_OUT_R3_MIXER,
674 SOC_DAPM_SINGLE("BST2 Switch", RT5640_OUT_R3_MIXER,
676 SOC_DAPM_SINGLE("BST1 Switch", RT5640_OUT_R3_MIXER,
678 SOC_DAPM_SINGLE("INR Switch", RT5640_OUT_R3_MIXER,
680 SOC_DAPM_SINGLE("REC MIXR Switch", RT5640_OUT_R3_MIXER,
682 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_OUT_R3_MIXER,
684 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_OUT_R3_MIXER,
686 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_OUT_R3_MIXER,
691 SOC_DAPM_SINGLE("BST1 Switch", RT5640_OUT_L3_MIXER,
693 SOC_DAPM_SINGLE("INL Switch", RT5640_OUT_L3_MIXER,
695 SOC_DAPM_SINGLE("REC MIXL Switch", RT5640_OUT_L3_MIXER,
697 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_OUT_L3_MIXER,
702 SOC_DAPM_SINGLE("BST2 Switch", RT5640_OUT_R3_MIXER,
704 SOC_DAPM_SINGLE("BST1 Switch", RT5640_OUT_R3_MIXER,
706 SOC_DAPM_SINGLE("INR Switch", RT5640_OUT_R3_MIXER,
708 SOC_DAPM_SINGLE("REC MIXR Switch", RT5640_OUT_R3_MIXER,
710 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_OUT_R3_MIXER,
715 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_SPO_L_MIXER,
717 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_SPO_L_MIXER,
719 SOC_DAPM_SINGLE("SPKVOL R Switch", RT5640_SPO_L_MIXER,
721 SOC_DAPM_SINGLE("SPKVOL L Switch", RT5640_SPO_L_MIXER,
723 SOC_DAPM_SINGLE("BST1 Switch", RT5640_SPO_L_MIXER,
728 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_SPO_R_MIXER,
730 SOC_DAPM_SINGLE("SPKVOL R Switch", RT5640_SPO_R_MIXER,
732 SOC_DAPM_SINGLE("BST1 Switch", RT5640_SPO_R_MIXER,
737 SOC_DAPM_SINGLE("HPO MIX DAC2 Switch", RT5640_HPO_MIXER,
739 SOC_DAPM_SINGLE("HPO MIX DAC1 Switch", RT5640_HPO_MIXER,
741 SOC_DAPM_SINGLE("HPO MIX HPVOL Switch", RT5640_HPO_MIXER,
746 SOC_DAPM_SINGLE("HPO MIX DAC1 Switch", RT5640_HPO_MIXER,
748 SOC_DAPM_SINGLE("HPO MIX HPVOL Switch", RT5640_HPO_MIXER,
753 SOC_DAPM_SINGLE("DAC L1 Switch", RT5640_LOUT_MIXER,
755 SOC_DAPM_SINGLE("DAC R1 Switch", RT5640_LOUT_MIXER,
757 SOC_DAPM_SINGLE("OUTVOL L Switch", RT5640_LOUT_MIXER,
759 SOC_DAPM_SINGLE("OUTVOL R Switch", RT5640_LOUT_MIXER,
764 SOC_DAPM_SINGLE("DAC R2 Switch", RT5640_MONO_MIXER,
766 SOC_DAPM_SINGLE("DAC L2 Switch", RT5640_MONO_MIXER,
768 SOC_DAPM_SINGLE("OUTVOL R Switch", RT5640_MONO_MIXER,
770 SOC_DAPM_SINGLE("OUTVOL L Switch", RT5640_MONO_MIXER,
772 SOC_DAPM_SINGLE("BST1 Switch", RT5640_MONO_MIXER,
777 SOC_DAPM_SINGLE_AUTODISABLE("Switch", RT5640_SPK_VOL,
781 SOC_DAPM_SINGLE_AUTODISABLE("Switch", RT5640_SPK_VOL,
785 SOC_DAPM_SINGLE_AUTODISABLE("Switch", RT5640_HP_VOL,
789 SOC_DAPM_SINGLE_AUTODISABLE("Switch", RT5640_HP_VOL,
974 switch (event) { in rt5640_hp_event()
997 switch (event) { in rt5640_lout_event()
1026 switch (event) { in rt5640_hp_power_event()
1043 switch (event) { in rt5640_hp_post_event()
1255 /* Output Switch */
1358 {"RECMIXL", "HPOL Switch", "HPOL"},
1359 {"RECMIXL", "INL Switch", "INL VOL"},
1360 {"RECMIXL", "BST3 Switch", "BST3"},
1361 {"RECMIXL", "BST2 Switch", "BST2"},
1362 {"RECMIXL", "BST1 Switch", "BST1"},
1363 {"RECMIXL", "OUT MIXL Switch", "OUT MIXL"},
1365 {"RECMIXR", "HPOR Switch", "HPOR"},
1366 {"RECMIXR", "INR Switch", "INR VOL"},
1367 {"RECMIXR", "BST3 Switch", "BST3"},
1368 {"RECMIXR", "BST2 Switch", "BST2"},
1369 {"RECMIXR", "BST1 Switch", "BST1"},
1370 {"RECMIXR", "OUT MIXR Switch", "OUT MIXR"},
1408 {"Stereo ADC MIXL", "ADC1 Switch", "Stereo ADC L1 Mux"},
1409 {"Stereo ADC MIXL", "ADC2 Switch", "Stereo ADC L2 Mux"},
1412 {"Stereo ADC MIXR", "ADC1 Switch", "Stereo ADC R1 Mux"},
1413 {"Stereo ADC MIXR", "ADC2 Switch", "Stereo ADC R2 Mux"},
1416 {"Mono ADC MIXL", "ADC1 Switch", "Mono ADC L1 Mux"},
1417 {"Mono ADC MIXL", "ADC2 Switch", "Mono ADC L2 Mux"},
1420 {"Mono ADC MIXR", "ADC1 Switch", "Mono ADC R1 Mux"},
1421 {"Mono ADC MIXR", "ADC2 Switch", "Mono ADC R2 Mux"},
1475 {"DAC MIXL", "Stereo ADC Switch", "Stereo ADC MIXL"},
1476 {"DAC MIXL", "INF1 Switch", "IF1 DAC L"},
1478 {"DAC MIXR", "Stereo ADC Switch", "Stereo ADC MIXR"},
1479 {"DAC MIXR", "INF1 Switch", "IF1 DAC R"},
1482 {"Stereo DAC MIXL", "DAC L1 Switch", "DAC MIXL"},
1483 {"Stereo DAC MIXR", "DAC R1 Switch", "DAC MIXR"},
1485 {"Mono DAC MIXL", "DAC L1 Switch", "DAC MIXL"},
1486 {"Mono DAC MIXR", "DAC R1 Switch", "DAC MIXR"},
1488 {"DIG MIXL", "DAC L1 Switch", "DAC MIXL"},
1489 {"DIG MIXR", "DAC R1 Switch", "DAC MIXR"},
1496 {"SPK MIXL", "REC MIXL Switch", "RECMIXL"},
1497 {"SPK MIXL", "INL Switch", "INL VOL"},
1498 {"SPK MIXL", "DAC L1 Switch", "DAC L1"},
1499 {"SPK MIXL", "OUT MIXL Switch", "OUT MIXL"},
1500 {"SPK MIXR", "REC MIXR Switch", "RECMIXR"},
1501 {"SPK MIXR", "INR Switch", "INR VOL"},
1502 {"SPK MIXR", "DAC R1 Switch", "DAC R1"},
1503 {"SPK MIXR", "OUT MIXR Switch", "OUT MIXR"},
1505 {"OUT MIXL", "BST1 Switch", "BST1"},
1506 {"OUT MIXL", "INL Switch", "INL VOL"},
1507 {"OUT MIXL", "REC MIXL Switch", "RECMIXL"},
1508 {"OUT MIXL", "DAC L1 Switch", "DAC L1"},
1510 {"OUT MIXR", "BST2 Switch", "BST2"},
1511 {"OUT MIXR", "BST1 Switch", "BST1"},
1512 {"OUT MIXR", "INR Switch", "INR VOL"},
1513 {"OUT MIXR", "REC MIXR Switch", "RECMIXR"},
1514 {"OUT MIXR", "DAC R1 Switch", "DAC R1"},
1523 {"SPOL MIX", "DAC R1 Switch", "DAC R1"},
1524 {"SPOL MIX", "DAC L1 Switch", "DAC L1"},
1525 {"SPOL MIX", "SPKVOL R Switch", "SPKVOL R"},
1526 {"SPOL MIX", "SPKVOL L Switch", "SPKVOL L"},
1527 {"SPOL MIX", "BST1 Switch", "BST1"},
1528 {"SPOR MIX", "DAC R1 Switch", "DAC R1"},
1529 {"SPOR MIX", "SPKVOL R Switch", "SPKVOL R"},
1530 {"SPOR MIX", "BST1 Switch", "BST1"},
1532 {"HPO MIX L", "HPO MIX DAC1 Switch", "DAC L1"},
1533 {"HPO MIX L", "HPO MIX HPVOL Switch", "HPOVOL L"},
1535 {"HPO MIX R", "HPO MIX DAC1 Switch", "DAC R1"},
1536 {"HPO MIX R", "HPO MIX HPVOL Switch", "HPOVOL R"},
1539 {"LOUT MIX", "DAC L1 Switch", "DAC L1"},
1540 {"LOUT MIX", "DAC R1 Switch", "DAC R1"},
1541 {"LOUT MIX", "OUTVOL L Switch", "OUTVOL L"},
1542 {"LOUT MIX", "OUTVOL R Switch", "OUTVOL R"},
1547 {"Speaker L Playback", "Switch", "SPOL MIX"},
1548 {"Speaker R Playback", "Switch", "SPOR MIX"},
1562 {"HP L Playback", "Switch", "HP Amp"},
1563 {"HP R Playback", "Switch", "HP Amp"},
1585 {"Stereo DAC MIXL", "DAC L2 Switch", "DAC L2 Mux"},
1586 {"Stereo DAC MIXL", "ANC Switch", "ANC"},
1587 {"Stereo DAC MIXR", "DAC R2 Switch", "DAC R2 Mux"},
1588 {"Stereo DAC MIXR", "ANC Switch", "ANC"},
1590 {"Mono DAC MIXL", "DAC L2 Switch", "DAC L2 Mux"},
1591 {"Mono DAC MIXL", "DAC R2 Switch", "DAC R2 Mux"},
1593 {"Mono DAC MIXR", "DAC R2 Switch", "DAC R2 Mux"},
1594 {"Mono DAC MIXR", "DAC L2 Switch", "DAC L2 Mux"},
1596 {"DIG MIXR", "DAC R2 Switch", "DAC R2 Mux"},
1597 {"DIG MIXL", "DAC L2 Switch", "DAC L2 Mux"},
1604 {"SPK MIXL", "DAC L2 Switch", "DAC L2"},
1605 {"SPK MIXR", "DAC R2 Switch", "DAC R2"},
1607 {"OUT MIXL", "SPK MIXL Switch", "SPK MIXL"},
1608 {"OUT MIXR", "SPK MIXR Switch", "SPK MIXR"},
1610 {"OUT MIXL", "DAC R2 Switch", "DAC R2"},
1611 {"OUT MIXL", "DAC L2 Switch", "DAC L2"},
1613 {"OUT MIXR", "DAC L2 Switch", "DAC L2"},
1614 {"OUT MIXR", "DAC R2 Switch", "DAC R2"},
1616 {"HPO MIX L", "HPO MIX DAC2 Switch", "DAC L2"},
1617 {"HPO MIX R", "HPO MIX DAC2 Switch", "DAC R2"},
1619 {"Mono MIX", "DAC R2 Switch", "DAC R2"},
1620 {"Mono MIX", "DAC L2 Switch", "DAC L2"},
1621 {"Mono MIX", "OUTVOL R Switch", "OUTVOL R"},
1622 {"Mono MIX", "OUTVOL L Switch", "OUTVOL L"},
1623 {"Mono MIX", "BST1 Switch", "BST1"},
1631 {"Stereo DAC MIXL", "DAC L2 Switch", "IF2 DAC L"},
1632 {"Stereo DAC MIXR", "DAC R2 Switch", "IF2 DAC R"},
1634 {"Mono DAC MIXL", "DAC L2 Switch", "IF2 DAC L"},
1635 {"Mono DAC MIXL", "DAC R2 Switch", "IF2 DAC R"},
1637 {"Mono DAC MIXR", "DAC R2 Switch", "IF2 DAC R"},
1638 {"Mono DAC MIXR", "DAC L2 Switch", "IF2 DAC L"},
1640 {"DIG MIXL", "DAC L2 Switch", "IF2 DAC L"},
1641 {"DIG MIXR", "DAC R2 Switch", "IF2 DAC R"},
1656 switch (dai_id) { in get_sdp_info()
1658 switch (val) { in get_sdp_info()
1674 switch (val) { in get_sdp_info()
1728 switch (params_width(params)) { in rt5640_hw_params()
1776 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { in rt5640_set_dai_fmt()
1788 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { in rt5640_set_dai_fmt()
1798 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in rt5640_set_dai_fmt()
1844 switch (clk_id) { in rt5640_set_dai_sysclk()
1892 switch (source) { in rt5640_set_dai_pll()
1939 switch (level) { in rt5640_set_bias_level()
2033 switch (clk_src) { in rt5640_sel_asrc_clk_src()
2487 switch (snd_soc_component_read(component, RT5640_RESET) & RT5640_ID_MASK) { in rt5640_probe()
2570 switch (val) { in rt5640_probe()