Searched refs:hook_status (Results 1 – 2 of 2) sorted by relevance
91 unsigned int hook_status : 1; member192 if (headset_info->hook_status == HOOK_DOWN) { in headset_interrupt()193 headset_info->hook_status = HOOK_UP; in headset_interrupt()194 input_report_key(headset_info->input_dev, HOOK_KEY_CODE, headset_info->hook_status); in headset_interrupt()336 old_status = headset->hook_status; in hook_work_callback()338 headset->hook_status = HOOK_DOWN; in hook_work_callback()340 headset->hook_status = HOOK_UP; in hook_work_callback()342 headset->hook_status ? "down" : "up", val, headset->hook_time); in hook_work_callback()343 if (old_status == headset->hook_status) { in hook_work_callback()345 headset->hook_status, headset->hook_time); in hook_work_callback()[all …]
76 unsigned int hook_status : 1; member199 headset_info->hook_status = HOOK_UP; in headsetobserve_work()239 old_status = headset_info->hook_status; in hook_work()242 headset_info->hook_status = in hook_work()246 headset_info->hook_status = in hook_work()249 if (old_status == headset_info->hook_status) { in hook_work()254 headset_info->hook_status ? "key down" : "key up"); in hook_work()255 if (headset_info->hook_status == HOOK_DOWN) { in hook_work()271 headset_info->hook_status); in hook_work()297 headset_info->hook_status = HOOK_UP; in headset_timer_callback()[all …]