Home
last modified time | relevance | path

Searched refs:pressed (Results 1 – 16 of 16) sorted by relevance

/drivers/input/misc/
Dgpio_input.c55 int pressed; in gpio_event_input_timer_func() local
92 pressed = gpio_get_value(key_entry->gpio) ^ npolarity; in gpio_event_input_timer_func()
94 if (pressed == !(debounce & DEBOUNCE_PRESSED)) { in gpio_event_input_timer_func()
105 if (pressed && (debounce & DEBOUNCE_NOTPRESSED)) { in gpio_event_input_timer_func()
114 if (!pressed && (debounce & DEBOUNCE_PRESSED)) { in gpio_event_input_timer_func()
132 key_entry->code, i, key_entry->gpio, pressed); in gpio_event_input_timer_func()
134 key_entry->code, pressed); in gpio_event_input_timer_func()
170 int pressed; in gpio_event_input_irq_handler() local
198 pressed = gpio_get_value(key_entry->gpio) ^ in gpio_event_input_irq_handler()
204 key_entry->gpio, pressed); in gpio_event_input_irq_handler()
[all …]
Dgpio_matrix.c110 int pressed = test_bit(key_index, kp->keys_pressed); in report_key() local
115 if (pressed != test_bit(keycode, kp->input_devs->dev[dev]->key)) { in report_key()
121 mi->input_gpios[in], pressed); in report_key()
127 mi->input_gpios[in], pressed); in report_key()
128 input_report_key(kp->input_devs->dev[dev], keycode, pressed); in report_key()
Dxen-kbdfront.c84 event->key.pressed); in input_handler()
DKconfig288 combinations are pressed.
/drivers/input/keyboard/
Dmcs_touchkey.c66 unsigned int pressed; in mcs_touchkey_interrupt() local
75 pressed = (val & (1 << chip->pressbit)) >> chip->pressbit; in mcs_touchkey_interrupt()
77 pressed ^= chip->press_invert; in mcs_touchkey_interrupt()
80 if (pressed) { in mcs_touchkey_interrupt()
90 input_report_key(input, data->key_code, pressed); in mcs_touchkey_interrupt()
94 pressed ? "pressed" : "released"); in mcs_touchkey_interrupt()
Dmpr121_touchkey.c91 unsigned int key_num, key_val, pressed; in mpr_touchkey_interrupt() local
110 pressed = reg & (1 << key_num); in mpr_touchkey_interrupt()
116 input_report_key(input, key_val, pressed); in mpr_touchkey_interrupt()
120 pressed ? "pressed" : "released"); in mpr_touchkey_interrupt()
Dlocomokbd.c146 unsigned int scancode, pressed, key; in locomokbd_scankeyboard() local
149 pressed = rowd & KB_ROWMASK(row); in locomokbd_scankeyboard()
152 input_report_key(locomokbd->input, key, pressed); in locomokbd_scankeyboard()
153 if (likely(!pressed)) in locomokbd_scankeyboard()
Dsamsung-keypad.c120 unsigned int pressed; in samsung_keypad_report() local
135 pressed = row_state[col] & (1 << row); in samsung_keypad_report()
139 pressed ? "pressed" : "released", row, col); in samsung_keypad_report()
145 keypad->keycodes[val], pressed); in samsung_keypad_report()
/drivers/staging/quickstart/
Dquickstart.c69 static struct quickstart_button *pressed; variable
102 (pressed ? pressed->name : "none")); in quickstart_pressed_button_show()
116 pressed = NULL; in quickstart_pressed_button_store()
162 pressed = quickstart->button; in quickstart_acpi_notify()
/drivers/platform/x86/
Dfujitsu-tablet.c246 int pressed; in fujitsu_interrupt() local
264 pressed = keymask & changed & BIT(i); in fujitsu_interrupt()
266 if (pressed) in fujitsu_interrupt()
269 input_report_key(fujitsu.idev, keycode, pressed); in fujitsu_interrupt()
/drivers/input/touchscreen/
Deeti_ts.c71 unsigned int x, y, res, pressed, to = 100; in eeti_ts_read() local
90 pressed = buf[0] & REPORT_BIT_PRESSED; in eeti_ts_read()
110 input_report_key(priv->input, BTN_TOUCH, !!pressed); in eeti_ts_read()
/drivers/tty/vt/
Dkeyboard.c944 static unsigned pressed, committing; in k_brl() local
962 pressed |= 1 << (value - 1); in k_brl()
964 committing = pressed; in k_brl()
969 committing = pressed; in k_brl()
972 pressed &= ~(1 << (value - 1)); in k_brl()
973 if (!pressed && committing) { in k_brl()
982 pressed &= ~(1 << (value - 1)); in k_brl()
/drivers/input/
DKconfig172 Say Y here if you want to reboot when some keys are pressed;
/drivers/char/
DKconfig217 time the orange button is pressed a number of times, the number of
218 times the button was pressed will be written to that device.
221 perform actions based on how many times the button is pressed in a
/drivers/staging/panel/
DKconfig62 supports simultaneous keys pressed when the keypad supports them.
/drivers/staging/speakup/
Dspkguide.txt875 pressed the enter key. In this case, we are echoing strings that we
1016 and you pressed keypad 3. Speakup says:
1023 example, Speakup said that you pressed "keypad 3."
1028 Again, these are part of the help system. For instance, if you had pressed