Lines Matching full:dapm
39 static void tosa_ext_control(struct snd_soc_dapm_context *dapm) in tosa_ext_control() argument
42 snd_soc_dapm_mutex_lock(dapm); in tosa_ext_control()
47 snd_soc_dapm_disable_pin_unlocked(dapm, "Mic (Internal)"); in tosa_ext_control()
48 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in tosa_ext_control()
49 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in tosa_ext_control()
52 snd_soc_dapm_enable_pin_unlocked(dapm, "Mic (Internal)"); in tosa_ext_control()
53 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in tosa_ext_control()
54 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in tosa_ext_control()
57 snd_soc_dapm_disable_pin_unlocked(dapm, "Mic (Internal)"); in tosa_ext_control()
58 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in tosa_ext_control()
59 snd_soc_dapm_enable_pin_unlocked(dapm, "Headset Jack"); in tosa_ext_control()
64 snd_soc_dapm_enable_pin_unlocked(dapm, "Speaker"); in tosa_ext_control()
66 snd_soc_dapm_disable_pin_unlocked(dapm, "Speaker"); in tosa_ext_control()
68 snd_soc_dapm_sync_unlocked(dapm); in tosa_ext_control()
70 snd_soc_dapm_mutex_unlock(dapm); in tosa_ext_control()
78 tosa_ext_control(&rtd->card->dapm); in tosa_startup()
103 tosa_ext_control(&card->dapm); in tosa_set_jack()
123 tosa_ext_control(&card->dapm); in tosa_set_spk()
127 /* tosa dapm event handlers */
135 /* tosa machine dapm widgets */