Lines Matching full:headset
32 struct snd_soc_jack headset; member
38 /* Headset jack detection DAPM pins */
41 .pin = "Headset Mic",
111 SND_SOC_DAPM_MIC("Headset Mic", NULL),
120 {"IN1P", NULL, "Headset Mic"},
121 {"IN1N", NULL, "Headset Mic"},
131 {"Headset Mic", NULL, "Platform Clock"},
154 SOC_DAPM_PIN_SWITCH("Headset Mic"),
188 { "headset-gpios", &headset_gpios, 1 },
228 ret = snd_soc_card_jack_new_pins(runtime->card, "Headset", in cht_codec_init()
231 &ctx->headset, in cht_codec_init()
237 snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cht_codec_init()
238 snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_1, KEY_VOLUMEUP); in cht_codec_init()
239 snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN); in cht_codec_init()
241 rt5670_set_jack_detect(component, &ctx->headset); in cht_codec_init()