Searched refs:matrix_volatile_state (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/input/keyboard/
H A Dimx_keypad.c81 /* Scan the matrix and return the new state in *matrix_volatile_state. */ imx_keypad_scan_matrix()
83 unsigned short *matrix_volatile_state) imx_keypad_scan_matrix()
127 * 1s in matrix_volatile_state[col] means key pressures imx_keypad_scan_matrix()
131 matrix_volatile_state[col] = (~reg_val) & keypad->rows_en_mask; imx_keypad_scan_matrix()
148 unsigned short *matrix_volatile_state) imx_keypad_fire_events()
161 matrix_volatile_state[col]; imx_keypad_fire_events()
175 matrix_volatile_state[col] & (1 << row)); imx_keypad_fire_events()
178 matrix_volatile_state[col] & (1 << row)); imx_keypad_fire_events()
190 unsigned short matrix_volatile_state[MAX_MATRIX_KEY_COLS]; imx_keypad_check_for_events() local
195 memset(matrix_volatile_state, 0, sizeof(matrix_volatile_state)); imx_keypad_check_for_events()
197 imx_keypad_scan_matrix(keypad, matrix_volatile_state); imx_keypad_check_for_events()
204 if (keypad->matrix_unstable_state[i] ^ matrix_volatile_state[i]) { imx_keypad_check_for_events()
218 memcpy(keypad->matrix_unstable_state, matrix_volatile_state, imx_keypad_check_for_events()
219 sizeof(matrix_volatile_state)); imx_keypad_check_for_events()
241 imx_keypad_fire_events(keypad, matrix_volatile_state); imx_keypad_check_for_events()
243 memcpy(keypad->matrix_stable_state, matrix_volatile_state, imx_keypad_check_for_events()
244 sizeof(matrix_volatile_state)); imx_keypad_check_for_events()
249 if (matrix_volatile_state[i] != 0) { imx_keypad_check_for_events()
82 imx_keypad_scan_matrix(struct imx_keypad *keypad, unsigned short *matrix_volatile_state) imx_keypad_scan_matrix() argument
147 imx_keypad_fire_events(struct imx_keypad *keypad, unsigned short *matrix_volatile_state) imx_keypad_fire_events() argument

Completed in 158 milliseconds