Lines Matching refs:common
27 struct input_kbd_matrix_common_config common; member
43 struct input_kbd_matrix_common_data common; member
60 const struct input_kbd_matrix_common_config *common = &config->common; in npcx_kbd_set_detect_mode() local
63 for (int i = 0; i < common->row_size; i++) { in npcx_kbd_set_detect_mode()
76 const struct input_kbd_matrix_common_config *common = &config->common; in npcx_kbd_drive_column() local
80 if (col >= common->col_size) { in npcx_kbd_drive_column()
90 mask = ~BIT_MASK(common->col_size); in npcx_kbd_drive_column()
108 const struct input_kbd_matrix_common_config *common = &config->common; in npcx_kbd_read_row() local
115 val = ~val & BIT_MASK(common->row_size); in npcx_kbd_read_row()
143 const struct input_kbd_matrix_common_config *common = &config->common; in npcx_kbd_init() local
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()
218 .common = INPUT_KBD_MATRIX_DT_INST_COMMON_CONFIG_INIT(0, &npcx_kbd_api),