Home
last modified time | relevance | path

Searched refs:snd_soc_dapm_get_pin_status (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/sound/soc/ti/
Dams-delta.c124 if (pin != snd_soc_dapm_get_pin_status(dapm, "Mouthpiece")) { in ams_delta_set_audio_mode()
132 if (pin != snd_soc_dapm_get_pin_status(dapm, "Earpiece")) { in ams_delta_set_audio_mode()
140 if (pin != snd_soc_dapm_get_pin_status(dapm, "Microphone")) { in ams_delta_set_audio_mode()
148 if (pin != snd_soc_dapm_get_pin_status(dapm, "Speaker")) { in ams_delta_set_audio_mode()
180 pins = ((snd_soc_dapm_get_pin_status(dapm, "Mouthpiece") << in ams_delta_get_audio_mode()
182 (snd_soc_dapm_get_pin_status(dapm, "Earpiece") << in ams_delta_get_audio_mode()
185 pins |= (snd_soc_dapm_get_pin_status(dapm, "Microphone") << in ams_delta_get_audio_mode()
188 pins = ((snd_soc_dapm_get_pin_status(dapm, "Microphone") << in ams_delta_get_audio_mode()
190 (snd_soc_dapm_get_pin_status(dapm, "Speaker") << in ams_delta_get_audio_mode()
/Linux-v6.6/sound/soc/codecs/
Drt5682.c987 if (!snd_soc_dapm_get_pin_status(dapm, "MICBIAS") && in rt5682_headset_detect()
988 !snd_soc_dapm_get_pin_status(dapm, "PLL1") && in rt5682_headset_detect()
989 !snd_soc_dapm_get_pin_status(dapm, "PLL2B")) in rt5682_headset_detect()
992 if (!snd_soc_dapm_get_pin_status(dapm, "Vref2") && in rt5682_headset_detect()
993 !snd_soc_dapm_get_pin_status(dapm, "PLL1") && in rt5682_headset_detect()
994 !snd_soc_dapm_get_pin_status(dapm, "PLL2B")) in rt5682_headset_detect()
1603 if (!snd_soc_dapm_get_pin_status(w->dapm, "MICBIAS")) in set_dmic_power()
1606 if (!snd_soc_dapm_get_pin_status(w->dapm, "Vref2")) in set_dmic_power()
Dtwl6040.c526 if (snd_soc_dapm_get_pin_status(dapm, "EP")) in twl6040_get_dl1_gain()
529 if (snd_soc_dapm_get_pin_status(dapm, "HSOR") || in twl6040_get_dl1_gain()
530 snd_soc_dapm_get_pin_status(dapm, "HSOL")) { in twl6040_get_dl1_gain()
/Linux-v6.6/include/sound/
Dsoc-dapm.h510 int snd_soc_dapm_get_pin_status(struct snd_soc_dapm_context *dapm, const char *pin);
/Linux-v6.6/sound/soc/
Dsoc-component.c216 return snd_soc_dapm_get_pin_status(dapm, pin); in snd_soc_component_get_pin_status()
Dsoc-dapm.c3595 snd_soc_dapm_get_pin_status(&card->dapm, pin); in snd_soc_dapm_get_pin_switch()
4763 int snd_soc_dapm_get_pin_status(struct snd_soc_dapm_context *dapm, in snd_soc_dapm_get_pin_status() function
4773 EXPORT_SYMBOL_GPL(snd_soc_dapm_get_pin_status);