Home
last modified time | relevance | path

Searched refs:hs_jack (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/pxa/
Dttc-dkb.c17 static struct snd_soc_jack hs_jack, mic_jack; variable
69 &hs_jack, hs_jack_pins, ARRAY_SIZE(hs_jack_pins)); in ttc_pm860x_init()
75 pm860x_hs_jack_detect(component, &hs_jack, SND_JACK_HEADPHONE, in ttc_pm860x_init()
77 pm860x_mic_jack_detect(component, &hs_jack, SND_JACK_MICROPHONE); in ttc_pm860x_init()
Dpalm27x.c26 static struct snd_soc_jack hs_jack; variable
75 SND_JACK_HEADPHONE, &hs_jack, hs_jack_pins, in palm27x_ac97_init()
80 err = snd_soc_jack_add_gpios(&hs_jack, ARRAY_SIZE(hs_jack_gpios), in palm27x_ac97_init()
Dz2.c71 static struct snd_soc_jack hs_jack; variable
136 &hs_jack, hs_jack_pins, in z2_wm8750_init()
141 ret = snd_soc_jack_add_gpios(&hs_jack, ARRAY_SIZE(hs_jack_gpios), in z2_wm8750_init()
Dhx4700.c25 static struct snd_soc_jack hs_jack; variable
126 SND_JACK_HEADPHONE, &hs_jack, hs_jack_pin, in hx4700_ak4641_init()
131 err = snd_soc_jack_add_gpios(&hs_jack, 1, &hs_jack_gpio); in hx4700_ak4641_init()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtwl6040.c64 struct twl6040_jack_data hs_jack; member
292 struct twl6040_jack_data *hs_jack = &priv->hs_jack; in twl6040_hs_jack_detect() local
294 hs_jack->jack = jack; in twl6040_hs_jack_detect()
295 hs_jack->report = report; in twl6040_hs_jack_detect()
297 twl6040_hs_jack_report(component, hs_jack->jack, hs_jack->report); in twl6040_hs_jack_detect()
304 struct twl6040_data, hs_jack.work.work); in twl6040_accessory_work()
306 struct twl6040_jack_data *hs_jack = &priv->hs_jack; in twl6040_accessory_work() local
308 twl6040_hs_jack_report(component, hs_jack->jack, hs_jack->report); in twl6040_accessory_work()
318 &priv->hs_jack.work, msecs_to_jiffies(200)); in twl6040_audio_handler()
1115 INIT_DELAYED_WORK(&priv->hs_jack.work, twl6040_accessory_work); in twl6040_probe()
Drt700.c162 if (!rt700->hs_jack) in rt700_jack_detect_handler()
196 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type | btn_type, in rt700_jack_detect_handler()
203 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type, in rt700_jack_detect_handler()
250 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type | btn_type, in rt700_btn_check_handler()
257 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type, in rt700_btn_check_handler()
282 if (rt700->hs_jack) { in rt700_jack_init()
315 struct snd_soc_jack *hs_jack, void *data) in rt700_set_jack_detect() argument
319 rt700->hs_jack = hs_jack; in rt700_set_jack_detect()
1218 if (rt700->hs_jack) in rt700_io_init()
Drt711.c242 if (!rt711->hs_jack) in rt711_jack_detect_handler()
276 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type, in rt711_jack_detect_handler()
283 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type, in rt711_jack_detect_handler()
331 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type, in rt711_btn_check_handler()
338 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type, in rt711_btn_check_handler()
364 if (rt711->hs_jack) { in rt711_jack_init()
420 struct snd_soc_jack *hs_jack, void *data) in rt711_set_jack_detect() argument
424 rt711->hs_jack = hs_jack; in rt711_set_jack_detect()
1288 if (rt711->hs_jack) in rt711_io_init()
Drt700.h22 struct snd_soc_jack *hs_jack; member
Drt711.h22 struct snd_soc_jack *hs_jack; member
Drt5668.c47 struct snd_soc_jack *hs_jack; member
963 snd_soc_jack_report(rt5668->hs_jack, rt5668->jack_type, in rt5668_jd_check_handler()
973 struct snd_soc_jack *hs_jack, void *data) in rt5668_set_jack_detect() argument
1014 rt5668->hs_jack = hs_jack; in rt5668_set_jack_detect()
1090 snd_soc_jack_report(rt5668->hs_jack, rt5668->jack_type, in rt5668_jack_detect_handler()
Drt5682-i2c.c67 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type, in rt5682_jd_check_handler()
Drt5659.c1341 struct snd_soc_jack *hs_jack) in rt5659_set_jack_detect() argument
1345 rt5659->hs_jack = hs_jack; in rt5659_set_jack_detect()
1419 snd_soc_jack_report(rt5659->hs_jack, report, SND_JACK_HEADSET | in rt5659_jack_detect_work()
1431 if (!rt5659->hs_jack) in rt5659_jack_detect_intel_hd_header()
1452 snd_soc_jack_report(rt5659->hs_jack, rt5659->jack_type, in rt5659_jack_detect_intel_hd_header()
1474 snd_soc_jack_report(rt5659->hs_jack, rt5659->jack_type, in rt5659_jack_detect_intel_hd_header()
Drt5682.c1004 struct snd_soc_jack *hs_jack, void *data) in rt5682_set_jack_detect() argument
1008 rt5682->hs_jack = hs_jack; in rt5682_set_jack_detect()
1010 if (!hs_jack) { in rt5682_set_jack_detect()
1149 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type, in rt5682_jack_detect_handler()
Drt5663.c62 struct snd_soc_jack *hs_jack; member
1868 struct snd_soc_jack *hs_jack, void *data) in rt5663_set_jack_detect() argument
1872 rt5663->hs_jack = hs_jack; in rt5663_set_jack_detect()
1995 snd_soc_jack_report(rt5663->hs_jack, report, SND_JACK_HEADSET | in rt5663_jack_detect_work()
2022 snd_soc_jack_report(rt5663->hs_jack, 0, SND_JACK_HEADSET | in rt5663_jd_unplug_work()
Drt5665.c49 struct snd_soc_jack *hs_jack; member
1252 snd_soc_jack_report(rt5665->hs_jack, rt5665->jack_type, in rt5665_jd_check_handler()
1262 struct snd_soc_jack *hs_jack, void *data) in rt5665_set_jack_detect() argument
1285 rt5665->hs_jack = hs_jack; in rt5665_set_jack_detect()
1367 snd_soc_jack_report(rt5665->hs_jack, rt5665->jack_type, in rt5665_jack_detect_handler()
Drt5659.h1798 struct snd_soc_jack *hs_jack; member
1819 struct snd_soc_jack *hs_jack);
Drt5682.h1400 struct snd_soc_jack *hs_jack; member
/kernel/linux/linux-5.10/sound/soc/ti/
Domap-twl4030.c35 struct snd_soc_jack hs_jack; member
159 SND_JACK_HEADSET, &priv->hs_jack, in omap_twl4030_init()
165 ret = snd_soc_jack_add_gpios(&priv->hs_jack, in omap_twl4030_init()
Domap-abe-twl6040.c104 static struct snd_soc_jack hs_jack; variable
186 SND_JACK_HEADSET, &hs_jack, in omap_abe_twl6040_init()
192 twl6040_hs_jack_detect(component, &hs_jack, SND_JACK_HEADSET); in omap_abe_twl6040_init()