Lines Matching full:jack
10 #include <sound/jack.h>
23 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
24 SOC_DAPM_PIN_SWITCH("Mic Jack"),
39 /* Codec needs clock for Jack detection and button press */ in avs_rt274_clock_control()
64 SND_SOC_DAPM_HP("Headphone Jack", NULL),
65 SND_SOC_DAPM_MIC("Mic Jack", NULL),
71 {"Headphone Jack", NULL, "HPO Pin"},
72 {"MIC", NULL, "Mic Jack"},
74 {"Headphone Jack", NULL, "Platform Clock"},
80 .pin = "Headphone Jack",
84 .pin = "Mic Jack",
94 struct snd_soc_jack *jack; in avs_rt274_codec_init() local
98 jack = snd_soc_card_get_drvdata(card); in avs_rt274_codec_init()
105 ret = snd_soc_card_jack_new_pins(card, "Headset Jack", SND_JACK_HEADSET, jack, pins, in avs_rt274_codec_init()
110 snd_soc_component_set_jack(component, jack, NULL); in avs_rt274_codec_init()
205 struct snd_soc_jack *jack = snd_soc_card_get_drvdata(card); in avs_card_resume_post() local
207 return snd_soc_component_set_jack(codec_dai->component, jack, NULL); in avs_card_resume_post()
215 struct snd_soc_jack *jack; in avs_rt274_probe() local
233 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt274_probe()
235 if (!jack || !card) in avs_rt274_probe()
252 snd_soc_card_set_drvdata(card, jack); in avs_rt274_probe()