Lines Matching full:jack
11 #include <sound/jack.h>
32 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
33 SOC_DAPM_PIN_SWITCH("Mic Jack"),
38 SND_SOC_DAPM_HP("Headphone Jack", NULL),
39 SND_SOC_DAPM_MIC("Mic Jack", NULL),
44 /* HP jack connectors - unknown if we have jack detect */
45 {"Headphone Jack", NULL, "HPO Pin"},
46 {"MIC1", NULL, "Mic Jack"},
54 .pin = "Headphone Jack",
58 .pin = "Mic Jack",
67 struct snd_soc_jack *jack; in avs_rt298_codec_init() local
70 jack = snd_soc_card_get_drvdata(card); in avs_rt298_codec_init()
77 ret = snd_soc_card_jack_new_pins(card, "Headset Jack", SND_JACK_HEADSET | SND_JACK_BTN_0, in avs_rt298_codec_init()
78 jack, pins, num_pins); in avs_rt298_codec_init()
82 return snd_soc_component_set_jack(snd_soc_rtd_to_codec(runtime, 0)->component, jack, NULL); in avs_rt298_codec_init()
194 struct snd_soc_jack *jack = snd_soc_card_get_drvdata(card); in avs_card_resume_post() local
196 return snd_soc_component_set_jack(codec_dai->component, jack, NULL); in avs_card_resume_post()
204 struct snd_soc_jack *jack; in avs_rt298_probe() local
222 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt298_probe()
224 if (!jack || !card) in avs_rt298_probe()
241 snd_soc_card_set_drvdata(card, jack); in avs_rt298_probe()