Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/input/misc/
Datc260x-onkey.c104 int ret, key_down; in atc260x_onkey_query() local
107 onkey->params->reg_int_ctl, &key_down); in atc260x_onkey_query()
109 key_down = 1; in atc260x_onkey_query()
113 key_down &= onkey->params->kdwn_state_bm; in atc260x_onkey_query()
121 if (key_down) { in atc260x_onkey_query()
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()
/linux-5.19.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()
/linux-5.19.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()
149 bool key_down; in samsung_keypad_irq() local
160 key_down = samsung_keypad_report(keypad, row_state); in samsung_keypad_irq()
161 if (key_down) in samsung_keypad_irq()
165 } while (key_down && !keypad->stopped); in samsung_keypad_irq()
Domap-keypad.c97 unsigned char new_state[8], changed, key_down = 0; in omap_kp_tasklet() local
106 key_down |= new_state[col]; in omap_kp_tasklet()
134 if (key_down) { in omap_kp_tasklet()
/linux-5.19.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()
/linux-5.19.10/drivers/tty/
Dsysrq.c654 unsigned long key_down[BITS_TO_LONGS(KEY_CNT)]; member
694 if (test_bit(key, state->key_down)) in sysrq_parse_reset_sequence()
907 set_bit(code, sysrq->key_down); in sysrq_handle_keypress()
909 clear_bit(code, sysrq->key_down); in sysrq_handle_keypress()
917 } else if (value == 0 && test_and_clear_bit(code, sysrq->key_down)) { in sysrq_handle_keypress()
/linux-5.19.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
/linux-5.19.10/drivers/tty/vt/
Dkeyboard.c141 static DECLARE_BITMAP(key_down, KEY_CNT); /* keyboard key bitmap */
399 for_each_set_bit(k, key_down, min(NR_KEYS, KEY_CNT)) { in do_compute_shiftstate()
1342 if (test_bit(KEY_LEFTALT, key_down) || in emulate_raw()
1343 test_bit(KEY_RIGHTALT, key_down)) { in emulate_raw()
1458 assign_bit(keycode, key_down, down); in kbd_keycode()
/linux-5.19.10/arch/arm/boot/dts/
Domap3-ldp.dts87 key_down {