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