Lines Matching refs:jack
26 struct snd_soc_jack *jack; member
160 if (!ts3a227e->jack) in ts3a227e_jack_report()
171 snd_soc_jack_report(ts3a227e->jack, report, TS3A227E_JACK_MASK); in ts3a227e_jack_report()
245 struct snd_soc_jack *jack) in ts3a227e_enable_jack_detect() argument
249 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in ts3a227e_enable_jack_detect()
250 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in ts3a227e_enable_jack_detect()
251 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in ts3a227e_enable_jack_detect()
252 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in ts3a227e_enable_jack_detect()
254 ts3a227e->jack = jack; in ts3a227e_enable_jack_detect()
262 struct snd_soc_jack *jack, void *data) in ts3a227e_set_jack() argument
264 if (jack == NULL) in ts3a227e_set_jack()
267 return ts3a227e_enable_jack_detect(component, jack); in ts3a227e_set_jack()