Lines Matching defs:btn_type
170 unsigned int btn_type = 0, offset, idx, val, owner;
203 btn_type |= SND_JACK_BTN_2;
206 btn_type |= SND_JACK_BTN_3;
209 btn_type |= SND_JACK_BTN_0;
212 btn_type |= SND_JACK_BTN_1;
218 btn_type |= SND_JACK_BTN_2;
222 btn_type |= SND_JACK_BTN_3;
226 btn_type |= SND_JACK_BTN_0;
230 btn_type |= SND_JACK_BTN_1;
243 return btn_type;
293 int btn_type = 0, ret;
310 btn_type = rt711_sdca_button_detect(rt711);
313 btn_type = 0;
318 "in %s, btn_type=0x%x\n", __func__, btn_type);
323 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type,
328 if (btn_type) {
344 int btn_type = 0, ret, idx;
374 btn_type |= SND_JACK_BTN_2;
377 btn_type |= SND_JACK_BTN_3;
380 btn_type |= SND_JACK_BTN_0;
383 btn_type |= SND_JACK_BTN_1;
389 btn_type |= SND_JACK_BTN_2;
393 btn_type |= SND_JACK_BTN_3;
397 btn_type |= SND_JACK_BTN_0;
401 btn_type |= SND_JACK_BTN_1;
408 dev_dbg(&rt711->slave->dev, "%s, btn_type=0x%x\n", __func__, btn_type);
409 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type,
414 if (btn_type) {