Lines Matching defs:btn_type
134 unsigned int btn_type = 0, offset, idx, val, owner;
167 btn_type |= SND_JACK_BTN_2;
170 btn_type |= SND_JACK_BTN_3;
173 btn_type |= SND_JACK_BTN_0;
176 btn_type |= SND_JACK_BTN_1;
182 btn_type |= SND_JACK_BTN_2;
186 btn_type |= SND_JACK_BTN_3;
190 btn_type |= SND_JACK_BTN_0;
194 btn_type |= SND_JACK_BTN_1;
207 return btn_type;
257 int btn_type = 0, ret;
274 btn_type = rt712_sdca_button_detect(rt712);
277 btn_type = 0;
282 "in %s, btn_type=0x%x\n", __func__, btn_type);
287 snd_soc_jack_report(rt712->hs_jack, rt712->jack_type | btn_type,
292 if (btn_type) {
308 int btn_type = 0, ret, idx;
338 btn_type |= SND_JACK_BTN_2;
341 btn_type |= SND_JACK_BTN_3;
344 btn_type |= SND_JACK_BTN_0;
347 btn_type |= SND_JACK_BTN_1;
353 btn_type |= SND_JACK_BTN_2;
357 btn_type |= SND_JACK_BTN_3;
361 btn_type |= SND_JACK_BTN_0;
365 btn_type |= SND_JACK_BTN_1;
373 dev_dbg(&rt712->slave->dev, "%s, btn_type=0x%x\n", __func__, btn_type);
374 snd_soc_jack_report(rt712->hs_jack, rt712->jack_type | btn_type,
379 if (btn_type) {