Lines Matching +full:column +full:- +full:offset
4 * SPDX-License-Identifier: Apache-2.0
25 /** Special drive_column argument for not driving any column */
26 #define INPUT_KBD_MATRIX_COLUMN_DRIVE_NONE -1
29 #define INPUT_KBD_MATRIX_COLUMN_DRIVE_ALL -2
46 * @brief Enables or disables a specific row, column combination in the actual
49 * This allows enabling or disabling specific row, column combination in the
57 * @param col The matrix column to enable or disable.
61 * @retval -errno Negative errno if row or col are out of range for the device.
77 * @brief Request to drive a specific column.
79 * Request to drive a specific matrix column, or none, or all.
82 * @param col The column to drive, or
97 * request to drive all the column and typically involves reenabling
141 BUILD_ASSERT(IN_RANGE(_row_size, 1, INPUT_KBD_MATRIX_ROW_BITS), "invalid row-size"); \
142 BUILD_ASSERT(IN_RANGE(_col_size, 1, UINT8_MAX), "invalid col-size"); \
145 "actual-key-mask size does not match the number of columns"); \
169 * @param col_size The matrix column count.
188 * @param _col_size The matrix column count.
232 * @param col_size The matrix column count.
268 * @brief Validate the offset of the common data structures.
291 * @brief Drive column hook
293 * This can be implemented by the application to handle column selection
298 * @param col The column to drive, or
313 * @retval -errno Negative errno in case of failure.