Searched refs:row_size (Results 1 – 12 of 12) sorted by relevance
/Zephyr-latest/include/zephyr/input/ |
D | input_kbd_matrix.h | 113 uint8_t row_size; member 161 node_id, DT_PROP(node_id, row_size), DT_PROP(node_id, col_size)) 171 #define INPUT_KBD_MATRIX_DT_INST_DEFINE_ROW_COL(inst, row_size, col_size) \ argument 172 INPUT_KBD_MATRIX_DT_DEFINE_ROW_COL(DT_DRV_INST(inst), row_size, col_size) 193 .row_size = _row_size, \ 223 node_id, api, DT_PROP(node_id, row_size), DT_PROP(node_id, col_size)) 234 #define INPUT_KBD_MATRIX_DT_INST_COMMON_CONFIG_INIT_ROW_COL(inst, api, row_size, col_size) \ argument 235 INPUT_KBD_MATRIX_DT_COMMON_CONFIG_INIT_ROW_COL(DT_DRV_INST(inst), api, row_size, col_size)
|
/Zephyr-latest/drivers/input/ |
D | input_npcx_kbd.c | 23 #define ROW_SIZE DT_INST_PROP(0, row_size) 63 for (int i = 0; i < common->row_size; i++) { in npcx_kbd_set_detect_mode() 115 val = ~val & BIT_MASK(common->row_size); in npcx_kbd_read_row() 185 if (common->row_size != ROW_SIZE) { in npcx_kbd_init() 186 LOG_ERR("Unexpected ROW_SIZE: %d != %d", common->row_size, ROW_SIZE); in npcx_kbd_init() 191 for (int i = 0; i < common->row_size; i++) { in npcx_kbd_init() 241 BUILD_ASSERT(IN_RANGE(DT_INST_PROP(0, row_size), 1, 8), "invalid row-size");
|
D | input_gpio_kbd_matrix.c | 103 return (gpio_val >> gpio0->pin) & BIT_MASK(common->row_size); in gpio_kbd_matrix_read_row() 106 for (int i = 0; i < common->row_size; i++) { in gpio_kbd_matrix_read_row() 149 for (int i = 0; i < common->row_size; i++) { in gpio_kbd_matrix_set_detect_mode() 215 for (i = 0; i < common->row_size; i++) { in gpio_kbd_matrix_init() 251 cfg->row_gpio, common->row_size); in gpio_kbd_matrix_init()
|
D | input_kbd_matrix.c | 160 for (int r = 0; r < cfg->row_size; r++) { in input_kbd_matrix_update_state() 161 uint8_t cyc_idx = c * cfg->row_size + r; in input_kbd_matrix_update_state() 184 for (int r = 0; r < cfg->row_size; r++) { in input_kbd_matrix_update_state() 193 uint8_t cyc_idx = c * cfg->row_size + r; in input_kbd_matrix_update_state() 407 if (row >= cfg->row_size || col >= cfg->col_size) { in input_kbd_matrix_actual_key_mask_set()
|
D | input_xec_kbd.c | 253 BUILD_ASSERT(IN_RANGE(DT_INST_PROP(0, row_size), 1, 8), "invalid row-size");
|
D | input_ite_it8801_kbd.c | 225 BUILD_ASSERT(IN_RANGE(DT_INST_PROP(inst, row_size), 1, 8), "invalid row-size"); \
|
D | input_ite_it8xxx2_kbd.c | 267 BUILD_ASSERT(IN_RANGE(DT_INST_PROP(0, row_size), 1, 8), "invalid row-size");
|
/Zephyr-latest/subsys/input/ |
D | input_keymap.c | 22 uint8_t row_size; member 56 if (data->row >= cfg->row_size || in keymap_cb() 93 DT_PROP(node_id, row_size), "invalid row"); \ 115 .row_size = DT_INST_PROP(inst, row_size), \
|
D | input_utils.c | 207 if (row > (cfg->row_size - 1)) { in kbd_matrix_state_log()
|
/Zephyr-latest/tests/subsys/input/kbd_matrix_state_dump/src/ |
D | main.c | 15 .row_size = INPUT_KBD_MATRIX_ROW_BITS,
|
/Zephyr-latest/tests/lib/cmsis_nn/src/ |
D | main.c | 508 const int32_t row_size = SOFTMAX_ROW_SIZE; in ZTEST() local 516 arm_softmax_s8(input_data, num_rows, row_size, mult, shift, diff_min, output); in ZTEST()
|
/Zephyr-latest/tests/drivers/input/kbd_matrix/src/ |
D | main.c | 383 .row_size = 3, in ZTEST()
|