Lines Matching refs:rows
23 unsigned int rows, unsigned int cols, in matrix_keypad_map_key() argument
31 if (row >= rows || col >= cols) { in matrix_keypad_map_key()
34 __func__, key, row, col, rows, cols); in matrix_keypad_map_key()
53 unsigned int *rows, unsigned int *cols) in matrix_keypad_parse_properties() argument
55 *rows = *cols = 0; in matrix_keypad_parse_properties()
57 device_property_read_u32(dev, "keypad,num-rows", rows); in matrix_keypad_parse_properties()
60 if (!*rows || !*cols) { in matrix_keypad_parse_properties()
70 unsigned int rows, unsigned int cols, in matrix_keypad_parse_keymap() argument
75 unsigned int max_keys = rows << row_shift; in matrix_keypad_parse_keymap()
109 if (!matrix_keypad_map_key(input_dev, rows, cols, in matrix_keypad_parse_keymap()
152 unsigned int rows, unsigned int cols, in matrix_keypad_build_keymap() argument
157 size_t max_keys = rows << row_shift; in matrix_keypad_build_keymap()
185 if (!matrix_keypad_map_key(input_dev, rows, cols, in matrix_keypad_build_keymap()
190 error = matrix_keypad_parse_keymap(keymap_name, rows, cols, in matrix_keypad_build_keymap()