Home
last modified time | relevance | path

Searched refs:report (Results 1 – 25 of 42) sorted by relevance

12

/sound/soc/
Dsoc-jack.c216 int report; in snd_soc_jack_gpio_detect() local
223 report = gpio->report; in snd_soc_jack_gpio_detect()
225 report = 0; in snd_soc_jack_gpio_detect()
228 report = gpio->jack_status_check(gpio->data); in snd_soc_jack_gpio_detect()
230 snd_soc_jack_report(jack, report, gpio->report); in snd_soc_jack_gpio_detect()
/sound/soc/codecs/
Dwm8350.c55 int report; member
1243 int report; in wm8350_hp_work() local
1247 report = jack->report; in wm8350_hp_work()
1249 report = 0; in wm8350_hp_work()
1251 snd_soc_jack_report(jack->jack, report, jack->report); in wm8350_hp_work()
1319 struct snd_soc_jack *jack, int report) in wm8350_hp_jack_detect() argument
1328 priv->hpl.report = report; in wm8350_hp_jack_detect()
1334 priv->hpr.report = report; in wm8350_hp_jack_detect()
1342 if (report) { in wm8350_hp_jack_detect()
1368 int report = 0; in wm8350_mic_handler() local
[all …]
Dda7219-aad.c118 int report = 0, ret = 0; in da7219_aad_hptest_work() local
253 report |= SND_JACK_HEADPHONE; in da7219_aad_hptest_work()
255 report |= SND_JACK_LINEOUT; in da7219_aad_hptest_work()
333 snd_soc_jack_report(da7219_aad->jack, report, in da7219_aad_hptest_work()
350 int i, ret, report = 0, mask = 0; in da7219_aad_irq_thread() local
378 report |= SND_JACK_MECHANICAL; in da7219_aad_irq_thread()
399 report |= SND_JACK_HEADSET; in da7219_aad_irq_thread()
413 report |= SND_JACK_BTN_0 >> i; in da7219_aad_irq_thread()
417 snd_soc_jack_report(da7219_aad->jack, report, mask); in da7219_aad_irq_thread()
423 report &= ~(SND_JACK_BTN_0 >> i); in da7219_aad_irq_thread()
[all …]
Dts3a227e.c150 int report = 0; in ts3a227e_jack_report() local
156 report = SND_JACK_HEADPHONE; in ts3a227e_jack_report()
158 report |= SND_JACK_MICROPHONE; in ts3a227e_jack_report()
161 report |= ts3a227e_buttons[i]; in ts3a227e_jack_report()
163 snd_soc_jack_report(ts3a227e->jack, report, TS3A227E_JACK_MASK); in ts3a227e_jack_report()
Dtwl6040.c48 int report; member
271 struct snd_soc_jack *jack, int report) in twl6040_hs_jack_report() argument
281 snd_soc_jack_report(jack, report, report); in twl6040_hs_jack_report()
283 snd_soc_jack_report(jack, 0, report); in twl6040_hs_jack_report()
289 struct snd_soc_jack *jack, int report) in twl6040_hs_jack_detect() argument
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()
308 twl6040_hs_jack_report(component, hs_jack->jack, hs_jack->report); in twl6040_accessory_work()
D88pm860x-codec.c1206 int status, shrt, report = 0, mic_report = 0; in pm860x_component_handler() local
1222 report |= SND_JACK_HEADPHONE; in pm860x_component_handler()
1229 report |= pm860x->det.hs_shrt; in pm860x_component_handler()
1232 report |= pm860x->det.hook_det; in pm860x_component_handler()
1235 report |= pm860x->det.lo_shrt; in pm860x_component_handler()
1237 if (report) in pm860x_component_handler()
1238 snd_soc_jack_report(pm860x->det.hp_jack, report, mask); in pm860x_component_handler()
1244 report, mask); in pm860x_component_handler()
Dwm8350.h20 struct snd_soc_jack *jack, int report);
Dtwl6040.h25 struct snd_soc_jack *jack, int report);
Dwm8994.c3581 int report; in wm8994_mic_work() local
3595 report = 0; in wm8994_mic_work()
3598 report = SND_JACK_HEADSET; in wm8994_mic_work()
3602 report = SND_JACK_HEADPHONE; in wm8994_mic_work()
3604 report |= SND_JACK_BTN_0; in wm8994_mic_work()
3606 if (report) in wm8994_mic_work()
3611 snd_soc_jack_report(priv->micdet[0].jack, report, in wm8994_mic_work()
3614 report = 0; in wm8994_mic_work()
3617 report = SND_JACK_HEADSET; in wm8994_mic_work()
3621 report = SND_JACK_HEADPHONE; in wm8994_mic_work()
[all …]
Drt5645.c3260 int val, btn_type, gpio_state = 0, report = 0; in rt5645_jack_detect_work() local
3273 report = rt5645_jack_detect(rt5645->component, gpio_state); in rt5645_jack_detect_work()
3276 report, SND_JACK_HEADPHONE); in rt5645_jack_detect_work()
3278 report, SND_JACK_MICROPHONE); in rt5645_jack_detect_work()
3291 report = rt5645_jack_detect(rt5645->component, 1); in rt5645_jack_detect_work()
3297 report = SND_JACK_HEADSET; in rt5645_jack_detect_work()
3308 report |= SND_JACK_BTN_0; in rt5645_jack_detect_work()
3313 report |= SND_JACK_BTN_1; in rt5645_jack_detect_work()
3318 report |= SND_JACK_BTN_2; in rt5645_jack_detect_work()
3323 report |= SND_JACK_BTN_3; in rt5645_jack_detect_work()
[all …]
Drt5663.c1904 int btn_type, report = 0; in rt5663_jack_detect_work() local
1915 report = rt5663_v2_jack_detect( in rt5663_jack_detect_work()
1919 report = rt5663_jack_detect(rt5663->component, 1); in rt5663_jack_detect_work()
1931 report = SND_JACK_HEADSET; in rt5663_jack_detect_work()
1944 report |= SND_JACK_BTN_0; in rt5663_jack_detect_work()
1949 report |= SND_JACK_BTN_1; in rt5663_jack_detect_work()
1954 report |= SND_JACK_BTN_2; in rt5663_jack_detect_work()
1959 report |= SND_JACK_BTN_3; in rt5663_jack_detect_work()
1972 report = rt5663->jack_type; in rt5663_jack_detect_work()
1985 report = rt5663_v2_jack_detect(rt5663->component, 0); in rt5663_jack_detect_work()
[all …]
Drt5670.c518 int val, btn_type, report = jack->status; in rt5670_irq_detection() local
530 report = rt5670_headset_detect(rt5670->component, 1); in rt5670_irq_detection()
538 report = SND_JACK_HEADSET; in rt5670_irq_detection()
542 report |= SND_JACK_BTN_1; in rt5670_irq_detection()
545 report |= SND_JACK_BTN_0; in rt5670_irq_detection()
548 report |= SND_JACK_BTN_2; in rt5670_irq_detection()
558 report = rt5670->jack_type; in rt5670_irq_detection()
565 report = 0; in rt5670_irq_detection()
574 return report; in rt5670_irq_detection()
586 rt5670->hp_gpio.report = SND_JACK_HEADSET | in rt5670_set_jack_detect()
Drt5659.c1357 int val, btn_type, report = 0; in rt5659_jack_detect_work() local
1367 report = rt5659_headset_detect(rt5659->component, 1); in rt5659_jack_detect_work()
1370 report = SND_JACK_HEADSET; in rt5659_jack_detect_work()
1383 report |= SND_JACK_BTN_0; in rt5659_jack_detect_work()
1388 report |= SND_JACK_BTN_1; in rt5659_jack_detect_work()
1393 report |= SND_JACK_BTN_2; in rt5659_jack_detect_work()
1398 report |= SND_JACK_BTN_3; in rt5659_jack_detect_work()
1412 report = rt5659->jack_type; in rt5659_jack_detect_work()
1416 report = rt5659_headset_detect(rt5659->component, 0); in rt5659_jack_detect_work()
1419 snd_soc_jack_report(rt5659->hs_jack, report, SND_JACK_HEADSET | in rt5659_jack_detect_work()
/sound/soc/intel/boards/
Dbytcr_rt5651.c561 int report; in byt_rt5651_init() local
643 report = 0; in byt_rt5651_init()
645 report = SND_JACK_HEADSET | SND_JACK_BTN_0; in byt_rt5651_init()
647 report = SND_JACK_HEADSET; in byt_rt5651_init()
649 if (report) { in byt_rt5651_init()
651 report, &priv->jack, bytcr_jack_pins, in byt_rt5651_init()
658 if (report & SND_JACK_BTN_0) in byt_rt5651_init()
Dbdw-rt5677.c105 .report = SND_JACK_HEADPHONE,
111 .report = SND_JACK_MICROPHONE,
Dcht_bsw_max98090_ti.c166 .report = SND_JACK_HEADPHONE | SND_JACK_LINEOUT,
172 .report = SND_JACK_MICROPHONE,
Dkbl_rt5660.c82 .report = SND_JACK_LINEOUT,
88 .report = SND_JACK_MICROPHONE,
/sound/soc/tegra/
Dtegra_max98090.c100 .report = SND_JACK_HEADPHONE,
116 .report = SND_JACK_MICROPHONE,
Dtegra_rt5677.c97 .report = SND_JACK_HEADPHONE,
110 .report = SND_JACK_MICROPHONE,
/sound/soc/pxa/
Dpalm27x.c41 .report = SND_JACK_HEADPHONE,
Dz2.c95 .report = SND_JACK_HEADSET,
Dhx4700.c46 .report = SND_JACK_HEADPHONE,
/sound/soc/samsung/
Dsmartq_wm8987.c91 .report = SND_JACK_HEADPHONE,
Dh1940_uda1380.c50 .report = SND_JACK_HEADPHONE,
Drx1950_uda1380.c59 .report = SND_JACK_HEADPHONE,

12