/sound/soc/codecs/ |
D | wm8350.c | 58 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 …]
|
D | da7219-aad.c | 119 int report = 0, ret = 0; in da7219_aad_hptest_work() local 254 report |= SND_JACK_HEADPHONE; in da7219_aad_hptest_work() 256 report |= SND_JACK_LINEOUT; in da7219_aad_hptest_work() 334 snd_soc_jack_report(da7219_aad->jack, report, in da7219_aad_hptest_work() 351 int i, report = 0, mask = 0; in da7219_aad_irq_thread() local 375 report |= SND_JACK_MECHANICAL; in da7219_aad_irq_thread() 396 report |= SND_JACK_HEADSET; in da7219_aad_irq_thread() 410 report |= SND_JACK_BTN_0 >> i; in da7219_aad_irq_thread() 414 snd_soc_jack_report(da7219_aad->jack, report, mask); in da7219_aad_irq_thread() 420 report &= ~(SND_JACK_BTN_0 >> i); in da7219_aad_irq_thread() [all …]
|
D | ts3a227e.c | 152 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()
|
D | twl6040.c | 62 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()
|
D | 88pm860x-codec.c | 1222 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()
|
D | wm8350.h | 24 struct snd_soc_jack *jack, int report);
|
D | twl6040.h | 39 struct snd_soc_jack *jack, int report);
|
D | rt5663.c | 1689 int btn_type, report = 0; in rt5663_jack_detect_work() local 1700 report = rt5663_v2_jack_detect( in rt5663_jack_detect_work() 1704 report = rt5663_jack_detect(rt5663->codec, 1); in rt5663_jack_detect_work() 1714 report = SND_JACK_HEADSET; in rt5663_jack_detect_work() 1727 report |= SND_JACK_BTN_0; in rt5663_jack_detect_work() 1732 report |= SND_JACK_BTN_1; in rt5663_jack_detect_work() 1737 report |= SND_JACK_BTN_2; in rt5663_jack_detect_work() 1742 report |= SND_JACK_BTN_3; in rt5663_jack_detect_work() 1755 report = rt5663->jack_type; in rt5663_jack_detect_work() 1761 report = rt5663_v2_jack_detect(rt5663->codec, 0); in rt5663_jack_detect_work() [all …]
|
D | rt5645.c | 3234 int val, btn_type, gpio_state = 0, report = 0; in rt5645_jack_detect_work() local 3245 report = rt5645_jack_detect(rt5645->codec, gpio_state); in rt5645_jack_detect_work() 3248 report, SND_JACK_HEADPHONE); in rt5645_jack_detect_work() 3250 report, SND_JACK_MICROPHONE); in rt5645_jack_detect_work() 3259 report = rt5645_jack_detect(rt5645->codec, 1); in rt5645_jack_detect_work() 3265 report = SND_JACK_HEADSET; in rt5645_jack_detect_work() 3276 report |= SND_JACK_BTN_0; in rt5645_jack_detect_work() 3281 report |= SND_JACK_BTN_1; in rt5645_jack_detect_work() 3286 report |= SND_JACK_BTN_2; in rt5645_jack_detect_work() 3291 report |= SND_JACK_BTN_3; in rt5645_jack_detect_work() [all …]
|
D | wm8994.c | 3432 int report; in wm8994_mic_work() local 3446 report = 0; in wm8994_mic_work() 3449 report = SND_JACK_HEADSET; in wm8994_mic_work() 3453 report = SND_JACK_HEADPHONE; in wm8994_mic_work() 3455 report |= SND_JACK_BTN_0; in wm8994_mic_work() 3457 if (report) in wm8994_mic_work() 3462 snd_soc_jack_report(priv->micdet[0].jack, report, in wm8994_mic_work() 3465 report = 0; in wm8994_mic_work() 3468 report = SND_JACK_HEADSET; in wm8994_mic_work() 3472 report = SND_JACK_HEADPHONE; in wm8994_mic_work() [all …]
|
D | rt5670.c | 503 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()
|
D | rt5659.c | 1397 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/ |
D | soc-jack.c | 299 int report; in snd_soc_jack_gpio_detect() local 306 report = gpio->report; in snd_soc_jack_gpio_detect() 308 report = 0; in snd_soc_jack_gpio_detect() 311 report = gpio->jack_status_check(gpio->data); in snd_soc_jack_gpio_detect() 313 snd_soc_jack_report(jack, report, gpio->report); in snd_soc_jack_gpio_detect()
|
/sound/soc/intel/boards/ |
D | byt-max98090.c | 71 .report = SND_JACK_HEADPHONE | SND_JACK_LINEOUT, 77 .report = SND_JACK_MICROPHONE,
|
D | bdw-rt5677.c | 113 .report = SND_JACK_HEADPHONE, 119 .report = SND_JACK_MICROPHONE,
|
/sound/soc/tegra/ |
D | tegra_max98090.c | 111 .report = SND_JACK_HEADPHONE, 127 .report = SND_JACK_MICROPHONE,
|
D | tegra_rt5677.c | 108 .report = SND_JACK_HEADPHONE, 121 .report = SND_JACK_MICROPHONE,
|
D | tegra_rt5640.c | 94 .report = SND_JACK_HEADPHONE,
|
D | tegra_alc5632.c | 87 .report = SND_JACK_HEADSET,
|
/sound/soc/pxa/ |
D | palm27x.c | 45 .report = SND_JACK_HEADPHONE,
|
D | z2.c | 98 .report = SND_JACK_HEADSET,
|
D | hx4700.c | 51 .report = SND_JACK_HEADPHONE,
|
/sound/soc/samsung/ |
D | smartq_wm8987.c | 98 .report = SND_JACK_HEADPHONE,
|
D | h1940_uda1380.c | 58 .report = SND_JACK_HEADPHONE,
|
D | rx1950_uda1380.c | 69 .report = SND_JACK_HEADPHONE,
|