Lines Matching refs:jack
38 static void sc7180_jack_free(struct snd_jack *jack) in sc7180_jack_free() argument
40 struct snd_soc_component *component = jack->private_data; in sc7180_jack_free()
62 struct snd_jack *jack; in sc7180_headset_init() local
79 jack = pdata->hs_jack.jack; in sc7180_headset_init()
81 snd_jack_set_key(jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in sc7180_headset_init()
82 snd_jack_set_key(jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in sc7180_headset_init()
83 snd_jack_set_key(jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in sc7180_headset_init()
84 snd_jack_set_key(jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in sc7180_headset_init()
86 jack->private_data = component; in sc7180_headset_init()
87 jack->private_free = sc7180_jack_free; in sc7180_headset_init()
98 struct snd_jack *jack; in sc7180_hdmi_init() local
111 jack = pdata->hdmi_jack.jack; in sc7180_hdmi_init()
112 jack->private_data = component; in sc7180_hdmi_init()
113 jack->private_free = sc7180_jack_free; in sc7180_hdmi_init()