Home
last modified time | relevance | path

Searched refs:MAX_MATRIX_KEY_NUM (Results 1 – 2 of 2) sorted by relevance

/drivers/input/keyboard/
Dpxa27x_keypad.c93 #define MAX_MATRIX_KEY_NUM (MAX_MATRIX_KEY_ROWS * MAX_MATRIX_KEY_COLS) macro
94 #define MAX_KEYPAD_KEYS (MAX_MATRIX_KEY_NUM + MAX_DIRECT_KEY_NUM)
201 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = code; in pxa27x_keypad_direct_key_parse_dt()
253 unsigned int n = MAX_MATRIX_KEY_NUM + (i << 1); in pxa27x_keypad_rotary_parse_dt()
365 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = keycode; in pxa27x_keypad_build_keycode()
372 keypad->keycodes[MAX_MATRIX_KEY_NUM + 0] = keycode; in pxa27x_keypad_build_keycode()
376 keypad->keycodes[MAX_MATRIX_KEY_NUM + 1] = keycode; in pxa27x_keypad_build_keycode()
389 keypad->keycodes[MAX_MATRIX_KEY_NUM + 2] = keycode; in pxa27x_keypad_build_keycode()
393 keypad->keycodes[MAX_MATRIX_KEY_NUM + 3] = keycode; in pxa27x_keypad_build_keycode()
495 int code = MAX_MATRIX_KEY_NUM + 2 * r + (delta > 0 ? 0 : 1); in report_rotary_event()
[all …]
Dimx_keypad.c42 #define MAX_MATRIX_KEY_NUM (MAX_MATRIX_KEY_ROWS * MAX_MATRIX_KEY_COLS) macro
66 unsigned short keycodes[MAX_MATRIX_KEY_NUM];