Lines Matching +full:gpio +full:- +full:keymap
1 /* SPDX-License-Identifier: GPL-2.0 */
12 #define KEY(row, col, val) ((((row) & (MATRIX_MAX_ROWS - 1)) << 24) |\
13 (((col) & (MATRIX_MAX_COLS - 1)) << 16) |\
23 * struct matrix_keymap_data - keymap for matrix keyboards
24 * @keymap: pointer to array of uint32 values encoded with KEY() macro
25 * representing keymap
26 * @keymap_size: number of entries (initialized) in this keymap
29 * keymaps to drivers that implement matrix-like keypads/keyboards.
32 const uint32_t *keymap; member
37 * struct matrix_keypad_platform_data - platform-dependent keypad data
39 * @row_gpios: pointer to array of gpio numbers representing rows
40 * @col_gpios: pointer to array of gpio numbers reporesenting colums
44 * needed before we can keypad after activating column gpio
49 * @active_low: gpio polarity
56 * This structure represents platform-specific data that use used by
70 /* key debounce interval in milli-second */
85 unsigned short *keymap,