Home
last modified time | relevance | path

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

12

/sound/soc/
Dsoc-jack.c253 int report; in snd_soc_jack_gpio_detect() local
260 report = gpio->report; in snd_soc_jack_gpio_detect()
262 report = 0; in snd_soc_jack_gpio_detect()
265 report = gpio->jack_status_check(gpio->data); in snd_soc_jack_gpio_detect()
267 snd_soc_jack_report(jack, report, gpio->report); in snd_soc_jack_gpio_detect()
/sound/soc/codecs/
Dwm8350.c58 int report; member
1246 int report; in wm8350_hp_work() local
1250 report = jack->report; in wm8350_hp_work()
1252 report = 0; in wm8350_hp_work()
1254 snd_soc_jack_report(jack->jack, report, jack->report); in wm8350_hp_work()
1322 struct snd_soc_jack *jack, int report) in wm8350_hp_jack_detect() argument
1331 priv->hpl.report = report; in wm8350_hp_jack_detect()
1337 priv->hpr.report = report; in wm8350_hp_jack_detect()
1345 if (report) { in wm8350_hp_jack_detect()
1371 int report = 0; in wm8350_mic_handler() local
[all …]
Dda7219-aad.c119 int report = 0, ret = 0; in da7219_aad_hptest_work() local
234 report |= SND_JACK_HEADPHONE; in da7219_aad_hptest_work()
236 report |= SND_JACK_LINEOUT; in da7219_aad_hptest_work()
307 snd_soc_jack_report(da7219_aad->jack, report, in da7219_aad_hptest_work()
324 int i, report = 0, mask = 0; in da7219_aad_irq_thread() local
348 report |= SND_JACK_MECHANICAL; in da7219_aad_irq_thread()
369 report |= SND_JACK_HEADSET; in da7219_aad_irq_thread()
383 report |= SND_JACK_BTN_0 >> i; in da7219_aad_irq_thread()
387 snd_soc_jack_report(da7219_aad->jack, report, mask); in da7219_aad_irq_thread()
393 report &= ~(SND_JACK_BTN_0 >> i); in da7219_aad_irq_thread()
[all …]
Dts3a227e.c152 int report = 0; in ts3a227e_jack_report() local
158 report = SND_JACK_HEADPHONE; in ts3a227e_jack_report()
160 report |= SND_JACK_MICROPHONE; in ts3a227e_jack_report()
163 report |= ts3a227e_buttons[i]; in ts3a227e_jack_report()
165 snd_soc_jack_report(ts3a227e->jack, report, TS3A227E_JACK_MASK); in ts3a227e_jack_report()
Dtwl6040.c62 int report; member
283 struct snd_soc_jack *jack, int report) in twl6040_hs_jack_report() argument
293 snd_soc_jack_report(jack, report, report); in twl6040_hs_jack_report()
295 snd_soc_jack_report(jack, 0, report); in twl6040_hs_jack_report()
301 struct snd_soc_jack *jack, int report) in twl6040_hs_jack_detect() argument
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()
320 twl6040_hs_jack_report(codec, hs_jack->jack, hs_jack->report); in twl6040_accessory_work()
D88pm860x-codec.c1222 int status, shrt, report = 0, mic_report = 0; in pm860x_codec_handler() local
1238 report |= SND_JACK_HEADPHONE; in pm860x_codec_handler()
1245 report |= pm860x->det.hs_shrt; in pm860x_codec_handler()
1248 report |= pm860x->det.hook_det; in pm860x_codec_handler()
1251 report |= pm860x->det.lo_shrt; in pm860x_codec_handler()
1253 if (report) in pm860x_codec_handler()
1254 snd_soc_jack_report(pm860x->det.hp_jack, report, mask); in pm860x_codec_handler()
1260 report, mask); in pm860x_codec_handler()
Dwm8350.h24 struct snd_soc_jack *jack, int report);
Drt5663.c1639 int btn_type, report = 0; in rt5663_jack_detect_work() local
1650 report = rt5668_jack_detect(rt5663->codec, 1); in rt5663_jack_detect_work()
1653 report = rt5663_jack_detect(rt5663->codec, 1); in rt5663_jack_detect_work()
1660 report = SND_JACK_HEADSET; in rt5663_jack_detect_work()
1673 report |= SND_JACK_BTN_0; in rt5663_jack_detect_work()
1678 report |= SND_JACK_BTN_1; in rt5663_jack_detect_work()
1683 report |= SND_JACK_BTN_2; in rt5663_jack_detect_work()
1688 report |= SND_JACK_BTN_3; in rt5663_jack_detect_work()
1701 report = rt5663->jack_type; in rt5663_jack_detect_work()
1707 report = rt5668_jack_detect(rt5663->codec, 0); in rt5663_jack_detect_work()
[all …]
Dtwl6040.h39 struct snd_soc_jack *jack, int report);
Drt5645.c3223 int val, btn_type, gpio_state = 0, report = 0; in rt5645_jack_detect_work() local
3234 report = rt5645_jack_detect(rt5645->codec, gpio_state); in rt5645_jack_detect_work()
3237 report, SND_JACK_HEADPHONE); in rt5645_jack_detect_work()
3239 report, SND_JACK_MICROPHONE); in rt5645_jack_detect_work()
3255 report = rt5645_jack_detect(rt5645->codec, 1); in rt5645_jack_detect_work()
3262 report = SND_JACK_HEADSET; in rt5645_jack_detect_work()
3273 report |= SND_JACK_BTN_0; in rt5645_jack_detect_work()
3278 report |= SND_JACK_BTN_1; in rt5645_jack_detect_work()
3283 report |= SND_JACK_BTN_2; in rt5645_jack_detect_work()
3288 report |= SND_JACK_BTN_3; in rt5645_jack_detect_work()
[all …]
Dwm8994.c3431 int report; in wm8994_mic_work() local
3445 report = 0; in wm8994_mic_work()
3448 report = SND_JACK_HEADSET; in wm8994_mic_work()
3452 report = SND_JACK_HEADPHONE; in wm8994_mic_work()
3454 report |= SND_JACK_BTN_0; in wm8994_mic_work()
3456 if (report) in wm8994_mic_work()
3461 snd_soc_jack_report(priv->micdet[0].jack, report, in wm8994_mic_work()
3464 report = 0; in wm8994_mic_work()
3467 report = SND_JACK_HEADSET; in wm8994_mic_work()
3471 report = SND_JACK_HEADPHONE; in wm8994_mic_work()
[all …]
Drt5670.c503 int val, btn_type, report = jack->status; in rt5670_irq_detection() local
515 report = rt5670_headset_detect(rt5670->codec, 1); in rt5670_irq_detection()
523 report = SND_JACK_HEADSET; in rt5670_irq_detection()
527 report |= SND_JACK_BTN_1; in rt5670_irq_detection()
530 report |= SND_JACK_BTN_0; in rt5670_irq_detection()
533 report |= SND_JACK_BTN_2; in rt5670_irq_detection()
543 report = rt5670->jack_type; in rt5670_irq_detection()
550 report = 0; in rt5670_irq_detection()
559 return report; in rt5670_irq_detection()
571 rt5670->hp_gpio.report = SND_JACK_HEADSET | in rt5670_set_jack_detect()
Drt5659.c1397 int val, btn_type, report = 0; in rt5659_jack_detect_work() local
1407 report = rt5659_headset_detect(rt5659->codec, 1); in rt5659_jack_detect_work()
1410 report = SND_JACK_HEADSET; in rt5659_jack_detect_work()
1423 report |= SND_JACK_BTN_0; in rt5659_jack_detect_work()
1428 report |= SND_JACK_BTN_1; in rt5659_jack_detect_work()
1433 report |= SND_JACK_BTN_2; in rt5659_jack_detect_work()
1438 report |= SND_JACK_BTN_3; in rt5659_jack_detect_work()
1452 report = rt5659->jack_type; in rt5659_jack_detect_work()
1456 report = rt5659_headset_detect(rt5659->codec, 0); in rt5659_jack_detect_work()
1459 snd_soc_jack_report(rt5659->hs_jack, report, SND_JACK_HEADSET | in rt5659_jack_detect_work()
/sound/soc/intel/boards/
Dbyt-max98090.c72 .report = SND_JACK_HEADPHONE | SND_JACK_LINEOUT,
79 .report = SND_JACK_MICROPHONE,
Dbdw-rt5677.c112 .report = SND_JACK_HEADPHONE,
118 .report = SND_JACK_MICROPHONE,
/sound/soc/tegra/
Dtegra_max98090.c111 .report = SND_JACK_HEADPHONE,
127 .report = SND_JACK_MICROPHONE,
Dtegra_rt5677.c108 .report = SND_JACK_HEADPHONE,
121 .report = SND_JACK_MICROPHONE,
Dtegra_alc5632.c87 .report = SND_JACK_HEADSET,
/sound/soc/pxa/
Dpalm27x.c48 .report = SND_JACK_HEADPHONE,
Dz2.c98 .report = SND_JACK_HEADSET,
Dhx4700.c53 .report = SND_JACK_HEADPHONE,
/sound/soc/samsung/
Dsmartq_wm8987.c98 .report = SND_JACK_HEADPHONE,
Dh1940_uda1380.c58 .report = SND_JACK_HEADPHONE,
Drx1950_uda1380.c70 .report = SND_JACK_HEADPHONE,
/sound/soc/fsl/
Dimx-es8328.c40 .report = SND_JACK_HEADSET,

12