Lines Matching full:jack
10 #include <sound/jack.h>
18 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
19 SOC_DAPM_PIN_SWITCH("Mic Jack"),
24 SND_SOC_DAPM_HP("Headphone Jack", NULL),
25 SND_SOC_DAPM_MIC("Mic Jack", NULL),
30 /* HP jack connectors - unknown if we have jack detect */
31 {"Headphone Jack", NULL, "HPO Pin"},
32 {"MIC1", NULL, "Mic Jack"},
40 .pin = "Headphone Jack",
44 .pin = "Mic Jack",
53 struct snd_soc_jack *jack; in avs_rt298_codec_init() local
57 jack = snd_soc_card_get_drvdata(card); in avs_rt298_codec_init()
64 ret = snd_soc_card_jack_new_pins(card, "Headset", SND_JACK_HEADSET | SND_JACK_BTN_0, jack, in avs_rt298_codec_init()
69 snd_soc_component_set_jack(component, jack, NULL); in avs_rt298_codec_init()
188 static int avs_card_set_jack(struct snd_soc_card *card, struct snd_soc_jack *jack) in avs_card_set_jack() argument
193 snd_soc_component_set_jack(component, jack, NULL); in avs_card_set_jack()
209 struct snd_soc_jack *jack = snd_soc_card_get_drvdata(card); in avs_card_resume_post() local
211 return avs_card_set_jack(card, jack); in avs_card_resume_post()
220 struct snd_soc_jack *jack; in avs_rt298_probe() local
241 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt298_probe()
243 if (!jack || !card) in avs_rt298_probe()
261 snd_soc_card_set_drvdata(card, jack); in avs_rt298_probe()