Lines Matching refs:buttons_pressed
58 int buttons_pressed;
296 if (!wcd_cancel_btn_work(mbhc) && mbhc->buttons_pressed) {
297 snd_soc_jack_report(mbhc->jack, 0, mbhc->buttons_pressed);
298 mbhc->buttons_pressed &= ~WCD_MBHC_JACK_BUTTON_MASK;
621 snd_soc_jack_report(mbhc->jack, mbhc->buttons_pressed,
622 mbhc->buttons_pressed);
649 mbhc->buttons_pressed |= mask;
668 if (!(mbhc->buttons_pressed & WCD_MBHC_JACK_BUTTON_MASK))
673 snd_soc_jack_report(mbhc->jack, 0, mbhc->buttons_pressed);
677 snd_soc_jack_report(mbhc->jack, mbhc->buttons_pressed,
678 mbhc->buttons_pressed);
679 snd_soc_jack_report(mbhc->jack, 0, mbhc->buttons_pressed);
682 mbhc->buttons_pressed &= ~WCD_MBHC_JACK_BUTTON_MASK;