Searched refs:key_state (Results 1 – 5 of 5) sorted by relevance
49 struct gpio_key_state key_state[0]; member62 struct gpio_key_state *key_state; in gpio_event_input_timer_func() local69 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 …]
94 unsigned char key_state[8]; member139 unsigned char key_state[ARRAY_SIZE(keypad_data->key_state)]; in omap4_keypad_irq_thread_fn() local141 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()
190 static bool twl4030_is_in_ghost_state(struct twl4030_keypad *kp, u16 *key_state) in twl4030_is_in_ghost_state() argument196 u16 col = key_state[i]; in twl4030_is_in_ghost_state()
616 u8 key_state; member
4901 x->key_state, x->security_type, in ipw_rx_notification()