Lines Matching full:jack
10 #include <sound/jack.h>
22 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
23 SOC_DAPM_PIN_SWITCH("Mic Jack"),
38 /* Codec needs clock for Jack detection and button press */ in avs_rt274_clock_control()
63 SND_SOC_DAPM_HP("Headphone Jack", NULL),
64 SND_SOC_DAPM_MIC("Mic Jack", NULL),
70 {"Headphone Jack", NULL, "HPO Pin"},
71 {"MIC", NULL, "Mic Jack"},
73 {"Headphone Jack", NULL, "Platform Clock"},
79 .pin = "Headphone Jack",
83 .pin = "Mic Jack",
93 struct snd_soc_jack *jack; in avs_rt274_codec_init() local
97 jack = snd_soc_card_get_drvdata(card); in avs_rt274_codec_init()
104 ret = snd_soc_card_jack_new_pins(card, "Headset", SND_JACK_HEADSET, jack, pins, num_pins); in avs_rt274_codec_init()
108 snd_soc_component_set_jack(component, jack, NULL); in avs_rt274_codec_init()
217 static int avs_card_set_jack(struct snd_soc_card *card, struct snd_soc_jack *jack) in avs_card_set_jack() argument
222 snd_soc_component_set_jack(component, jack, NULL); in avs_card_set_jack()
238 struct snd_soc_jack *jack = snd_soc_card_get_drvdata(card); in avs_card_resume_post() local
240 return avs_card_set_jack(card, jack); in avs_card_resume_post()
249 struct snd_soc_jack *jack; in avs_rt274_probe() local
270 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt274_probe()
272 if (!jack || !card) in avs_rt274_probe()
290 snd_soc_card_set_drvdata(card, jack); in avs_rt274_probe()