Home
last modified time | relevance | path

Searched refs:headset (Results 1 – 25 of 85) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/headset_observe/
H A Drk_headset_irq_hook_adc.c315 struct headset_priv *headset = headset_info; in hook_work_callback() local
316 struct rk_headset_pdata *pdata = headset->pdata; in hook_work_callback()
319 ret = iio_read_channel_raw(headset->chan, &val); in hook_work_callback()
327 if (headset->headset_status == HEADSET_OUT || in hook_work_callback()
328 headset->heatset_irq_working == BUSY || in hook_work_callback()
329 headset->heatset_irq_working == WAIT || in hook_work_callback()
336 old_status = headset->hook_status; in hook_work_callback()
338 headset->hook_status = HOOK_DOWN; in hook_work_callback()
340 headset->hook_status = HOOK_UP; in hook_work_callback()
342 headset->hook_status ? "down" : "up", val, headset->hook_time); in hook_work_callback()
[all …]
H A Drk_headset.c279 struct headset_priv *headset = from_timer(headset, t, headset_timer); in headset_timer_callback() local
280 struct rk_headset_pdata *pdata = headset->pdata; in headset_timer_callback()
284 headset->headset_status); in headset_timer_callback()
285 if (headset->headset_status == HEADSET_OUT) { in headset_timer_callback()
294 headset->isMic = 1; in headset_timer_callback()
296 headset->isHook_irq = enable; in headset_timer_callback()
305 headset->isMic = 0; in headset_timer_callback()
307 pr_info("headset->isMic = %d\n", headset->isMic); in headset_timer_callback()
309 if (headset->isMic == 1) in headset_timer_callback()
355 struct headset_priv *headset; in rk_headset_probe() local
[all …]
/OK3568_Linux_fs/kernel/Documentation/sound/hd-audio/
H A Dmodels.rst75 headset-mic
76 Indicates a combined headset (headphone+mic) jack
77 headset-mode
78 More comprehensive headset support for ALC269 & co
79 headset-mode-no-hp-mic
87 dell-headset-multi
89 dell-headset-dock
149 aspire-headset-mic
172 Subwoofer and headset fixupes for Dell Inspiron
189 alc283-headset
[all …]
/OK3568_Linux_fs/kernel/sound/soc/intel/boards/
H A Dcht_bsw_rt5672.c31 struct snd_soc_jack headset; member
203 &ctx->headset, in cht_codec_init()
209 snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cht_codec_init()
210 snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_1, KEY_VOLUMEUP); in cht_codec_init()
211 snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN); in cht_codec_init()
213 rt5670_set_jack_detect(component, &ctx->headset); in cht_codec_init()
H A Dsof_da7219_max98373.c31 struct snd_soc_jack headset; member
138 static struct snd_soc_jack headset; variable
163 &headset, NULL, 0); in da7219_codec_init()
169 jack = &headset; in da7219_codec_init()
H A Dcml_rt1011_rt5682.c72 struct snd_soc_jack headset; member
144 &ctx->headset, NULL, 0); in cml_rt5682_codec_init()
150 jack = &ctx->headset; in cml_rt5682_codec_init()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Drockchip-max98090.txt11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is
23 rockchip,headset-codec = <&headsetcodec>;
40 rockchip,headset-codec = <&headsetcodec>;
H A Dmt8183-da7219-max98357.txt7 - mediatek,headset-codec: the phandles of da7219 codecs
17 mediatek,headset-codec = <&da7219>;
H A Dmt8183-mt6358-ts3a227-max98357.txt10 - mediatek,headset-codec: the phandles of ts3a227 codecs
19 mediatek,headset-codec = <&ts3a227>;
H A Drockchip,multicodecs.txt17 - io-channels : headset mic/key detect adc channel.
18 - io-channel-names : headset mic/key adc channel name.
22 - poll-interval : headset adc key poller internal ms.
H A Dqcom,msm8916-wcd-analog.txt20 "mbhc_switch_int" - multi button headset interrupt.
36 detection on headset when the mbhc is powered up
39 detection on headset when mbhc is powered up
H A Drt5663.txt25 between headphone and headset.
39 also different between headphone and headset. In the example, the
H A Dnvidia,tegra-audio-wm8903.txt32 - nvidia,headset : The Mic Jack represents state of the headset microphone pin
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A Daudio_codec.c719 struct snd_soc_jack_pin *headset, *button; in gbaudio_init_jack() local
727 headset = devm_kzalloc(module->dev, sizeof(*headset), GFP_KERNEL); in gbaudio_init_jack()
728 if (!headset) in gbaudio_init_jack()
731 headset->pin = module->jack_name; in gbaudio_init_jack()
732 headset->mask = module->jack_mask; in gbaudio_init_jack()
734 &module->headset.jack, headset, 1); in gbaudio_init_jack()
741 list_add(&module->headset.list, &module->jack_list); in gbaudio_init_jack()
979 if (jack == &module->headset) in gbaudio_unregister_module()
H A Daudio_module.c24 struct snd_jack *jack = module->headset.jack.jack; in gbaudio_request_jack()
45 snd_soc_jack_report(&module->headset.jack, 0, in gbaudio_request_jack()
64 snd_soc_jack_report(&module->headset.jack, report, module->jack_mask); in gbaudio_request_jack()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Ds5pv210-fascinate4g.dts67 headset-micbias-supply = <&headset_micbias_reg>;
72 io-channel-names = "headset-detect";
73 headset-detect-gpios = <&gph0 6 GPIO_ACTIVE_HIGH>;
74 headset-key-gpios = <&gph3 6 GPIO_ACTIVE_HIGH>;
128 headset_det: headset-det {
141 headset_micbias_ena: headset-micbias-ena {
H A Drk3288-veyron-analog-audio.dtsi19 rockchip,headset-codec = <&headsetcodec>;
94 headset {
H A Ds5pv210-galaxys.dts94 headset-micbias-supply = <&micbias_reg>;
99 io-channel-names = "headset-detect";
100 headset-detect-gpios = <&gph0 6 GPIO_ACTIVE_LOW>;
101 headset-key-gpios = <&gph3 6 GPIO_ACTIVE_HIGH>;
158 headset_det: headset-det {
/OK3568_Linux_fs/buildroot/board/rockchip/rk3399/fs-overlay/usr/share/pulseaudio/alsa-mixer/paths/
H A Danalog-input-headset-mic-rockchip.conf22 description-key = analog-input-microphone-headset
/OK3568_Linux_fs/buildroot/board/rockchip/rk3566_rk3568/fs-overlay/usr/share/pulseaudio/alsa-mixer/paths/
H A Danalog-input-headset-mic-rockchip.conf22 description-key = analog-input-microphone-headset
/OK3568_Linux_fs/buildroot/board/rockchip/rk3562/fs-overlay/usr/share/pulseaudio/alsa-mixer/paths/
H A Danalog-input-headset-mic-rockchip.conf22 description-key = analog-input-microphone-headset
/OK3568_Linux_fs/buildroot/board/rockchip/rk3399pro/fs-overlay/usr/share/pulseaudio/alsa-mixer/paths/
H A Danalog-input-headset-mic-rockchip.conf22 description-key = analog-input-microphone-headset
/OK3568_Linux_fs/buildroot/board/forlinx/ok3568/fs-overlay/usr/share/pulseaudio/alsa-mixer/paths/
H A Danalog-input-headset-mic-rockchip.conf22 description-key = analog-input-microphone-headset
/OK3568_Linux_fs/debian/overlay/usr/share/pulseaudio/alsa-mixer/paths/
H A Danalog-input-headset-mic-rockchip.conf22 description-key = analog-input-microphone-headset
/OK3568_Linux_fs/buildroot/board/rockchip/rk3588/fs-overlay/usr/share/pulseaudio/alsa-mixer/paths/
H A Danalog-input-headset-mic-rockchip.conf22 description-key = analog-input-microphone-headset

1234