Home
last modified time | relevance | path

Searched refs:headset_status (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/headset_observe/
H A Drk_headset_irq_hook_adc.c76 extern int wm8994_headset_mic_detect(bool headset_status);
79 extern int rt5631_headset_mic_detect(bool headset_status);
90 unsigned int headset_status : 1; member
140 old_status = headset_info->headset_status; in headset_interrupt()
144 headset_info->headset_status = HEADSET_IN; in headset_interrupt()
146 headset_info->headset_status = HEADSET_OUT; in headset_interrupt()
150 headset_info->headset_status = HEADSET_IN; in headset_interrupt()
152 headset_info->headset_status = HEADSET_OUT; in headset_interrupt()
158 if (old_status == headset_info->headset_status) { in headset_interrupt()
160 headset_info->headset_status); in headset_interrupt()
[all …]
H A Drk_headset.c75 unsigned int headset_status : 1; member
170 old_status = headset_info->headset_status; in headsetobserve_work()
172 headset_info->headset_status = level ? HEADSET_IN : HEADSET_OUT; in headsetobserve_work()
174 headset_info->headset_status = level ? HEADSET_OUT : HEADSET_IN; in headsetobserve_work()
176 if (old_status == headset_info->headset_status) { in headsetobserve_work()
182 headset_info->headset_status ? "in" : "out"); in headsetobserve_work()
183 if (headset_info->headset_status == HEADSET_IN) { in headsetobserve_work()
198 } else if (headset_info->headset_status == HEADSET_OUT) { in headsetobserve_work()
232 if (headset_info->headset_status == HEADSET_OUT) { in hook_work()
284 headset->headset_status); in headset_timer_callback()
[all …]