Home
last modified time | relevance | path

Searched refs:key_state (Results 1 – 5 of 5) sorted by relevance

/drivers/input/misc/
Dgpio_input.c49 struct gpio_key_state key_state[0]; member
62 struct gpio_key_state *key_state; in gpio_event_input_timer_func() local
69 key_state = kp->key_state; in gpio_event_input_timer_func()
70 for (i = 0; i < nkeys; i++, key_entry++, key_state++) in gpio_event_input_timer_func()
75 key_state = ds->key_state; in gpio_event_input_timer_func()
78 for (i = 0; i < nkeys; i++, key_entry++, key_state++) { in gpio_event_input_timer_func()
79 debounce = key_state->debounce; in gpio_event_input_timer_func()
82 if (key_state->debounce & DEBOUNCE_UNSTABLE) { in gpio_event_input_timer_func()
83 debounce = key_state->debounce = DEBOUNCE_UNKNOWN; in gpio_event_input_timer_func()
96 key_state->debounce = DEBOUNCE_UNKNOWN; in gpio_event_input_timer_func()
[all …]
/drivers/input/keyboard/
Domap4-keypad.c94 unsigned char key_state[8]; member
139 unsigned char key_state[ARRAY_SIZE(keypad_data->key_state)]; in omap4_keypad_irq_thread_fn() local
141 u32 *new_state = (u32 *) key_state; in omap4_keypad_irq_thread_fn()
147 changed = key_state[row] ^ keypad_data->key_state[row]; in omap4_keypad_irq_thread_fn()
158 key_state[row] & (1 << col)); in omap4_keypad_irq_thread_fn()
165 memcpy(keypad_data->key_state, key_state, in omap4_keypad_irq_thread_fn()
166 sizeof(keypad_data->key_state)); in omap4_keypad_irq_thread_fn()
Dtwl4030_keypad.c190 static bool twl4030_is_in_ghost_state(struct twl4030_keypad *kp, u16 *key_state) in twl4030_is_in_ghost_state() argument
196 u16 col = key_state[i]; in twl4030_is_in_ghost_state()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h616 u8 key_state; member
Dipw2200.c4901 x->key_state, x->security_type, in ipw_rx_notification()