Home
last modified time | relevance | path

Searched refs:key_down (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_f3a.c42 bool key_down = !(f3a->data_regs[0] & BIT(button)); in rmi_f3a_report_button() local
47 rmi_f03_overwrite_button(f3a->f03, key_code, key_down); in rmi_f3a_report_button()
51 __func__, key_code, key_down); in rmi_f3a_report_button()
52 input_report_key(f3a->input, key_code, key_down); in rmi_f3a_report_button()
Drmi_f30.c107 bool key_down = !(f30->data_regs[reg_num] & BIT(bit_num)); in rmi_f30_report_button() local
112 rmi_f03_overwrite_button(f30->f03, key_code, key_down); in rmi_f30_report_button()
116 __func__, key_code, key_down); in rmi_f30_report_button()
118 input_report_key(f30->input, key_code, key_down); in rmi_f30_report_button()
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dsamsung-keypad.c111 unsigned int key_down = 0; in samsung_keypad_report() local
117 key_down |= row_state[col]; in samsung_keypad_report()
142 return key_down; in samsung_keypad_report()
150 bool key_down; in samsung_keypad_irq() local
161 key_down = samsung_keypad_report(keypad, row_state); in samsung_keypad_irq()
162 if (key_down) in samsung_keypad_irq()
166 } while (key_down && !keypad->stopped); in samsung_keypad_irq()
Domap-keypad.c96 unsigned char new_state[8], changed, key_down = 0; in omap_kp_tasklet() local
105 key_down |= new_state[col]; in omap_kp_tasklet()
133 if (key_down) { in omap_kp_tasklet()
/kernel/linux/linux-5.10/drivers/input/misc/
Dpcf8574_keypad.c70 int key_down = nextstate < ARRAY_SIZE(lp->btncode); in pcf8574_kp_irq_handler() local
71 unsigned short keycode = key_down ? in pcf8574_kp_irq_handler()
74 input_report_key(lp->idev, keycode, key_down); in pcf8574_kp_irq_handler()
Datlas_btns.c44 int key_down = !(address & 0x10); in acpi_atlas_button_handler() local
47 input_report_key(input_dev, atlas_keymap[code], key_down); in acpi_atlas_button_handler()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-appleir.c157 static void key_down(struct hid_device *hid, struct appleir *appleir, int key) in key_down() function
214 key_down(hid, appleir, appleir->current_key); in appleir_raw_event()
232 key_down(hid, appleir, appleir->current_key); in appleir_raw_event()
/kernel/linux/linux-5.10/drivers/tty/
Dsysrq.c650 unsigned long key_down[BITS_TO_LONGS(KEY_CNT)]; member
690 if (test_bit(key, state->key_down)) in sysrq_parse_reset_sequence()
901 set_bit(code, sysrq->key_down); in sysrq_handle_keypress()
903 clear_bit(code, sysrq->key_down); in sysrq_handle_keypress()
911 } else if (value == 0 && test_and_clear_bit(code, sysrq->key_down)) { in sysrq_handle_keypress()
/kernel/linux/linux-5.10/drivers/misc/ibmasm/
Dremote.c139 input->data.keyboard.key_down in print_input()
166 input_report_key(dev, key, input->data.keyboard.key_down); in send_keyboard_event()
Dremote.h58 unsigned char key_down; member
/kernel/linux/linux-5.10/drivers/tty/vt/
Dkeyboard.c128 static unsigned long key_down[BITS_TO_LONGS(KEY_CNT)]; /* keyboard key bitmap */ variable
382 for_each_set_bit(k, key_down, min(NR_KEYS, KEY_CNT)) { in do_compute_shiftstate()
1307 if (test_bit(KEY_LEFTALT, key_down) || in emulate_raw()
1308 test_bit(KEY_RIGHTALT, key_down)) { in emulate_raw()
1421 set_bit(keycode, key_down); in kbd_keycode()
1423 clear_bit(keycode, key_down); in kbd_keycode()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap3-ldp.dts87 key_down {
Dexynos4412-origen.dts462 key_down {