Lines Matching defs:btn_type
139 unsigned int btn_type = 0, val80, val81;
158 btn_type |= SND_JACK_BTN_0;
161 btn_type |= SND_JACK_BTN_3;
168 btn_type |= SND_JACK_BTN_1;
173 btn_type |= SND_JACK_BTN_2;
177 btn_type |= SND_JACK_BTN_3;
181 return btn_type;
240 int btn_type = 0, ret;
269 btn_type = rt711_button_detect(rt711);
272 btn_type = rt711_button_detect(rt711);
282 "in %s, btn_type=0x%x\n", __func__, btn_type);
284 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type,
289 if (btn_type) {
310 int btn_type = 0, ret;
322 btn_type = rt711_button_detect(rt711);
335 btn_type = 0;
338 "%s, btn_type=0x%x\n", __func__, btn_type);
339 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type,
344 if (btn_type) {