Searched refs:key_down (Results 1 – 11 of 11) sorted by relevance
/drivers/input/keyboard/ |
D | samsung-keypad.c | 115 unsigned int key_down = 0; in samsung_keypad_report() local 121 key_down |= row_state[col]; in samsung_keypad_report() 146 return key_down; in samsung_keypad_report() 154 bool key_down; in samsung_keypad_irq() local 165 key_down = samsung_keypad_report(keypad, row_state); in samsung_keypad_irq() 166 if (key_down) in samsung_keypad_irq() 170 } while (key_down && !keypad->stopped); in samsung_keypad_irq()
|
D | omap-keypad.c | 134 unsigned char new_state[8], changed, key_down = 0; in omap_kp_tasklet() local 144 key_down |= new_state[col]; in omap_kp_tasklet() 180 if (key_down) { in omap_kp_tasklet()
|
/drivers/input/ |
D | keycombo.c | 32 int key_down; member 90 state->key_down++; in keycombo_event() 92 state->key_down--; in keycombo_event() 94 if (state->key_down == state->key_down_target && state->key_up == 0) { in keycombo_event()
|
/drivers/input/misc/ |
D | keychord.c | 53 int key_down; member 74 if (keychord->count != kdev->key_down) in check_keychord() 103 kdev->key_down++; in keychord_event() 105 kdev->key_down--; in keychord_event() 318 kdev->key_down = 0; in keychord_write()
|
D | pcf8574_keypad.c | 71 int key_down = nextstate < ARRAY_SIZE(lp->btncode); in pcf8574_kp_irq_handler() local 72 unsigned short keycode = key_down ? in pcf8574_kp_irq_handler() 75 input_report_key(lp->idev, keycode, key_down); in pcf8574_kp_irq_handler()
|
D | atlas_btns.c | 58 int key_down = !(address & 0x10); in acpi_atlas_button_handler() local 61 input_report_key(input_dev, atlas_keymap[code], key_down); in acpi_atlas_button_handler()
|
/drivers/hid/ |
D | hid-appleir.c | 165 static void key_down(struct hid_device *hid, struct appleir *appleir, int key) in key_down() function 222 key_down(hid, appleir, appleir->current_key); in appleir_raw_event() 240 key_down(hid, appleir, appleir->current_key); in appleir_raw_event()
|
/drivers/tty/ |
D | sysrq.c | 605 unsigned long key_down[BITS_TO_LONGS(KEY_CNT)]; member 643 if (test_bit(key, state->key_down)) in sysrq_parse_reset_sequence() 839 set_bit(code, sysrq->key_down); in sysrq_handle_keypress() 841 clear_bit(code, sysrq->key_down); in sysrq_handle_keypress() 849 } else if (value == 0 && test_and_clear_bit(code, sysrq->key_down)) { in sysrq_handle_keypress()
|
/drivers/misc/ibmasm/ |
D | remote.c | 153 input->data.keyboard.key_down in print_input() 180 input_report_key(dev, key, input->data.keyboard.key_down); in send_keyboard_event()
|
D | remote.h | 71 unsigned char key_down; member
|
/drivers/tty/vt/ |
D | keyboard.c | 125 static unsigned long key_down[BITS_TO_LONGS(KEY_CNT)]; /* keyboard key bitmap */ variable 379 for_each_set_bit(k, key_down, min(NR_KEYS, KEY_CNT)) { in do_compute_shiftstate() 1275 if (test_bit(KEY_LEFTALT, key_down) || in emulate_raw() 1276 test_bit(KEY_RIGHTALT, key_down)) { in emulate_raw() 1389 set_bit(keycode, key_down); in kbd_keycode() 1391 clear_bit(keycode, key_down); in kbd_keycode()
|