Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/keyboard/
Dpxa27x_keypad.c96 #define MAX_MATRIX_KEY_NUM (MAX_MATRIX_KEY_ROWS * MAX_MATRIX_KEY_COLS) macro
97 #define MAX_KEYPAD_KEYS (MAX_MATRIX_KEY_NUM + MAX_DIRECT_KEY_NUM)
204 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = code; in pxa27x_keypad_direct_key_parse_dt()
256 unsigned int n = MAX_MATRIX_KEY_NUM + (i << 1); in pxa27x_keypad_rotary_parse_dt()
368 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = keycode; in pxa27x_keypad_build_keycode()
375 keypad->keycodes[MAX_MATRIX_KEY_NUM + 0] = keycode; in pxa27x_keypad_build_keycode()
379 keypad->keycodes[MAX_MATRIX_KEY_NUM + 1] = keycode; in pxa27x_keypad_build_keycode()
392 keypad->keycodes[MAX_MATRIX_KEY_NUM + 2] = keycode; in pxa27x_keypad_build_keycode()
396 keypad->keycodes[MAX_MATRIX_KEY_NUM + 3] = keycode; in pxa27x_keypad_build_keycode()
498 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];