Lines Matching defs:btn_type
63 unsigned int btn_type = 0, val80, val81;
80 btn_type |= SND_JACK_BTN_0;
83 btn_type |= SND_JACK_BTN_3;
90 btn_type |= SND_JACK_BTN_1;
95 btn_type |= SND_JACK_BTN_2;
99 btn_type |= SND_JACK_BTN_3;
103 return btn_type;
160 int btn_type = 0, ret;
182 btn_type = rt700_button_detect(rt700);
185 btn_type = rt700_button_detect(rt700);
195 "in %s, btn_type=0x%x\n", __func__, btn_type);
197 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type | btn_type,
202 if (btn_type) {
223 int btn_type = 0, ret;
235 btn_type = rt700_button_detect(rt700);
247 btn_type = 0;
250 "%s, btn_type=0x%x\n", __func__, btn_type);
251 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type | btn_type,
256 if (btn_type) {