Home
last modified time | relevance | path

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

123

/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/pxa/
H A 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()
H A 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()
H A 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()
H A 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()
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/pxa/
H A 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()
H A 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()
H A 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()
H A 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()
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/pxa/
H A 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()
H A 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()
H A 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()
H A 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()
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/codecs/
H A 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()
H A 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()
H A 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()
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/codecs/
H A 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()
H A 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()
H A 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()
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/codecs/
H A 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()
H A 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()
H A 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()
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/qcom/
H A Dsc7180.c31 struct snd_soc_jack hs_jack; member
59 &pdata->hs_jack, NULL, 0); in sc7180_headset_init()
66 jack = pdata->hs_jack.jack; in sc7180_headset_init()
76 return snd_soc_component_set_jack(component, &pdata->hs_jack, NULL); in sc7180_headset_init()
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/qcom/
H A Dsc7180.c31 struct snd_soc_jack hs_jack; member
59 &pdata->hs_jack, NULL, 0); in sc7180_headset_init()
66 jack = pdata->hs_jack.jack; in sc7180_headset_init()
76 return snd_soc_component_set_jack(component, &pdata->hs_jack, NULL); in sc7180_headset_init()
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/qcom/
H A Dsc7180.c31 struct snd_soc_jack hs_jack; member
59 &pdata->hs_jack, NULL, 0); in sc7180_headset_init()
66 jack = pdata->hs_jack.jack; in sc7180_headset_init()
76 return snd_soc_component_set_jack(component, &pdata->hs_jack, NULL); in sc7180_headset_init()
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/ti/
H A 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()

123