Lines Matching refs:btn_type
62 unsigned int btn_type = 0, val80, val81; in rt700_button_detect() local
79 btn_type |= SND_JACK_BTN_0; in rt700_button_detect()
82 btn_type |= SND_JACK_BTN_3; in rt700_button_detect()
89 btn_type |= SND_JACK_BTN_1; in rt700_button_detect()
94 btn_type |= SND_JACK_BTN_2; in rt700_button_detect()
98 btn_type |= SND_JACK_BTN_3; in rt700_button_detect()
102 return btn_type; in rt700_button_detect()
159 int btn_type = 0, ret; in rt700_jack_detect_handler() local
181 btn_type = rt700_button_detect(rt700); in rt700_jack_detect_handler()
184 btn_type = rt700_button_detect(rt700); in rt700_jack_detect_handler()
194 "in %s, btn_type=0x%x\n", __func__, btn_type); in rt700_jack_detect_handler()
196 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type | btn_type, in rt700_jack_detect_handler()
201 if (btn_type) { in rt700_jack_detect_handler()
222 int btn_type = 0, ret; in rt700_btn_check_handler() local
234 btn_type = rt700_button_detect(rt700); in rt700_btn_check_handler()
246 btn_type = 0; in rt700_btn_check_handler()
249 "%s, btn_type=0x%x\n", __func__, btn_type); in rt700_btn_check_handler()
250 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type | btn_type, in rt700_btn_check_handler()
255 if (btn_type) { in rt700_btn_check_handler()