Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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()
1114 INIT_DELAYED_WORK(&priv->hs_jack.work, twl6040_accessory_work); in twl6040_probe()
Drt5682.c53 struct snd_soc_jack *hs_jack; member
984 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type, in rt5682_jd_check_handler()
994 struct snd_soc_jack *hs_jack, void *data) in rt5682_set_jack_detect() argument
998 rt5682->hs_jack = hs_jack; in rt5682_set_jack_detect()
1000 if (!hs_jack) { in rt5682_set_jack_detect()
1117 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type, in rt5682_jack_detect_handler()
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()
1088 snd_soc_jack_report(rt5668->hs_jack, rt5668->jack_type, in rt5668_jack_detect_handler()
Drt5659.c1378 struct snd_soc_jack *hs_jack) in rt5659_set_jack_detect() argument
1382 rt5659->hs_jack = hs_jack; in rt5659_set_jack_detect()
1456 snd_soc_jack_report(rt5659->hs_jack, report, SND_JACK_HEADSET | in rt5659_jack_detect_work()
1468 if (!rt5659->hs_jack) in rt5659_jack_detect_intel_hd_header()
1489 snd_soc_jack_report(rt5659->hs_jack, rt5659->jack_type, in rt5659_jack_detect_intel_hd_header()
1511 snd_soc_jack_report(rt5659->hs_jack, rt5659->jack_type, in rt5659_jack_detect_intel_hd_header()
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);
/Linux-v5.4/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()