Home
last modified time | relevance | path

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

/linux-4.4.14/sound/soc/pxa/
Dttc-dkb.c31 static struct snd_soc_jack hs_jack, mic_jack; variable
83 &hs_jack, hs_jack_pins, ARRAY_SIZE(hs_jack_pins)); in ttc_pm860x_init()
89 pm860x_hs_jack_detect(codec, &hs_jack, SND_JACK_HEADPHONE, in ttc_pm860x_init()
91 pm860x_mic_jack_detect(codec, &hs_jack, SND_JACK_MICROPHONE); in ttc_pm860x_init()
Dhx4700.c32 static struct snd_soc_jack hs_jack; variable
133 SND_JACK_HEADPHONE, &hs_jack, hs_jack_pin, in hx4700_ak4641_init()
138 err = snd_soc_jack_add_gpios(&hs_jack, 1, &hs_jack_gpio); in hx4700_ak4641_init()
145 snd_soc_jack_free_gpios(&hs_jack, 1, &hs_jack_gpio); in hx4700_card_remove()
Dpalm27x.c33 static struct snd_soc_jack hs_jack; variable
82 SND_JACK_HEADPHONE, &hs_jack, hs_jack_pins, in palm27x_ac97_init()
87 err = snd_soc_jack_add_gpios(&hs_jack, ARRAY_SIZE(hs_jack_gpios), in palm27x_ac97_init()
Dz2.c74 static struct snd_soc_jack hs_jack; variable
139 &hs_jack, hs_jack_pins, in z2_wm8750_init()
144 ret = snd_soc_jack_add_gpios(&hs_jack, ARRAY_SIZE(hs_jack_gpios), in z2_wm8750_init()
/linux-4.4.14/sound/soc/codecs/
Dtwl6040.c78 struct twl6040_jack_data hs_jack; member
304 struct twl6040_jack_data *hs_jack = &priv->hs_jack; in twl6040_hs_jack_detect() local
306 hs_jack->jack = jack; in twl6040_hs_jack_detect()
307 hs_jack->report = report; in twl6040_hs_jack_detect()
309 twl6040_hs_jack_report(codec, hs_jack->jack, hs_jack->report); in twl6040_hs_jack_detect()
316 struct twl6040_data, hs_jack.work.work); in twl6040_accessory_work()
318 struct twl6040_jack_data *hs_jack = &priv->hs_jack; in twl6040_accessory_work() local
320 twl6040_hs_jack_report(codec, hs_jack->jack, hs_jack->report); in twl6040_accessory_work()
330 &priv->hs_jack.work, msecs_to_jiffies(200)); in twl6040_audio_handler()
1119 INIT_DELAYED_WORK(&priv->hs_jack.work, twl6040_accessory_work); in twl6040_probe()
/linux-4.4.14/sound/soc/omap/
Domap-twl4030.c49 struct snd_soc_jack hs_jack; member
173 SND_JACK_HEADSET, &priv->hs_jack, in omap_twl4030_init()
179 ret = snd_soc_jack_add_gpios(&priv->hs_jack, in omap_twl4030_init()
216 snd_soc_jack_free_gpios(&priv->hs_jack, in omap_twl4030_card_remove()
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(codec, &hs_jack, SND_JACK_HEADSET); in omap_abe_twl6040_init()