Searched refs:pressed (Results 1 - 11 of 11) sorted by relevance
/drivers/input/misc/ |
H A D | gpio_input.c | 55 int pressed; local 92 pressed = gpio_get_value(key_entry->gpio) ^ npolarity; 94 if (pressed == !(debounce & DEBOUNCE_PRESSED)) { 105 if (pressed && (debounce & DEBOUNCE_NOTPRESSED)) { 108 "(%d) debounce pressed 1\n", 114 if (!pressed && (debounce & DEBOUNCE_PRESSED)) { 117 "(%d) debounce pressed 0\n", 132 key_entry->code, i, key_entry->gpio, pressed); 134 key_entry->code, pressed); 170 int pressed; local [all...] |
H A D | gpio_matrix.c | 110 int pressed = test_bit(key_index, kp->keys_pressed); local 115 if (pressed != test_bit(keycode, kp->input_devs->dev[dev]->key)) { 121 mi->input_gpios[in], pressed); 127 mi->input_gpios[in], pressed); 128 input_report_key(kp->input_devs->dev[dev], keycode, pressed); 209 /* No keys are pressed, reenable interrupt */
|
H A D | xen-kbdfront.c | 84 event->key.pressed);
|
H A D | Kconfig | 288 combinations are pressed.
|
/drivers/input/keyboard/ |
H A D | mcs_touchkey.c | 66 unsigned int pressed; local 75 pressed = (val & (1 << chip->pressbit)) >> chip->pressbit; 77 pressed ^= chip->press_invert; 80 if (pressed) { 90 input_report_key(input, data->key_code, pressed); 94 pressed ? "pressed" : "released");
|
H A D | locomokbd.c | 121 * The LoCoMo keyboard only generates interrupts when a key is pressed. 122 * So when a key is pressed, we enable a timer. This timer scans the 146 unsigned int scancode, pressed, key; local 149 pressed = rowd & KB_ROWMASK(row); 152 input_report_key(locomokbd->input, key, pressed); 153 if (likely(!pressed)) 160 * if it was pressed for more than a second. */ 180 /* if any keys are pressed, enable the timer */
|
H A D | mpr121_touchkey.c | 91 unsigned int key_num, key_val, pressed; local 110 pressed = reg & (1 << key_num); 116 input_report_key(input, key_val, pressed); 120 pressed ? "pressed" : "released");
|
H A D | samsung-keypad.c | 120 unsigned int pressed; local 135 pressed = row_state[col] & (1 << row); 139 pressed ? "pressed" : "released", row, col); 145 keypad->keycodes[val], pressed);
|
/drivers/staging/quickstart/ |
H A D | quickstart.c | 51 * 0x02 - A hot button was pressed while device was off/sleeping. 52 * 0x80 - A hot button was pressed while device was up. 69 static struct quickstart_button *pressed; variable in typeref:struct:quickstart_button 102 (pressed ? pressed->name : "none")); 116 pressed = NULL; 162 pressed = quickstart->button;
|
/drivers/platform/x86/ |
H A D | fujitsu-tablet.c | 246 int pressed; local 264 pressed = keymask & changed & BIT(i); 266 if (pressed) 269 input_report_key(fujitsu.idev, keycode, pressed);
|
/drivers/input/touchscreen/ |
H A D | eeti_ts.c | 71 unsigned int x, y, res, pressed, to = 100; local 90 pressed = buf[0] & REPORT_BIT_PRESSED; 110 input_report_key(priv->input, BTN_TOUCH, !!pressed);
|
Completed in 130 milliseconds