/sound/soc/ |
D | soc-jack.c | 216 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/ |
D | wm8350.c | 55 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 …]
|
D | da7219-aad.c | 118 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 …]
|
D | ts3a227e.c | 150 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()
|
D | twl6040.c | 48 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()
|
D | 88pm860x-codec.c | 1206 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()
|
D | wm8350.h | 20 struct snd_soc_jack *jack, int report);
|
D | twl6040.h | 25 struct snd_soc_jack *jack, int report);
|
D | wm8994.c | 3581 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 …]
|
D | rt5645.c | 3260 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 …]
|
D | rt5663.c | 1904 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 …]
|
D | rt5670.c | 518 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()
|
D | rt5659.c | 1357 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/ |
D | bytcr_rt5651.c | 561 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()
|
D | bdw-rt5677.c | 105 .report = SND_JACK_HEADPHONE, 111 .report = SND_JACK_MICROPHONE,
|
D | cht_bsw_max98090_ti.c | 166 .report = SND_JACK_HEADPHONE | SND_JACK_LINEOUT, 172 .report = SND_JACK_MICROPHONE,
|
D | kbl_rt5660.c | 82 .report = SND_JACK_LINEOUT, 88 .report = SND_JACK_MICROPHONE,
|
/sound/soc/tegra/ |
D | tegra_max98090.c | 100 .report = SND_JACK_HEADPHONE, 116 .report = SND_JACK_MICROPHONE,
|
D | tegra_rt5677.c | 97 .report = SND_JACK_HEADPHONE, 110 .report = SND_JACK_MICROPHONE,
|
/sound/soc/pxa/ |
D | palm27x.c | 41 .report = SND_JACK_HEADPHONE,
|
D | z2.c | 95 .report = SND_JACK_HEADSET,
|
D | hx4700.c | 46 .report = SND_JACK_HEADPHONE,
|
/sound/soc/samsung/ |
D | smartq_wm8987.c | 91 .report = SND_JACK_HEADPHONE,
|
D | h1940_uda1380.c | 50 .report = SND_JACK_HEADPHONE,
|
D | rx1950_uda1380.c | 59 .report = SND_JACK_HEADPHONE,
|