Lines Matching refs:current_mode
2943 int current_mode; in adaptive_kbd_mode_show() local
2945 current_mode = adaptive_keyboard_get_mode(); in adaptive_kbd_mode_show()
2946 if (current_mode < 0) in adaptive_kbd_mode_show()
2947 return current_mode; in adaptive_kbd_mode_show()
2949 return snprintf(buf, PAGE_SIZE, "%d\n", current_mode); in adaptive_kbd_mode_show()
3626 int current_mode = 0; in adaptive_keyboard_hotkey_notify_hotkey() local
3636 current_mode = adaptive_keyboard_get_mode(); in adaptive_keyboard_hotkey_notify_hotkey()
3637 if (current_mode < 0) in adaptive_keyboard_hotkey_notify_hotkey()
3640 current_mode); in adaptive_keyboard_hotkey_notify_hotkey()
3649 current_mode = adaptive_keyboard_get_mode(); in adaptive_keyboard_hotkey_notify_hotkey()
3650 if (current_mode < 0) in adaptive_keyboard_hotkey_notify_hotkey()
3653 adaptive_keyboard_prev_mode = current_mode; in adaptive_keyboard_hotkey_notify_hotkey()