Lines Matching refs:common
22 struct input_kbd_matrix_common_config common; member
36 struct input_kbd_matrix_common_data common; member
48 const struct input_kbd_matrix_common_config *common = &cfg->common; in gpio_kbd_matrix_drive_column() local
55 state = BIT_MASK(common->col_size); in gpio_kbd_matrix_drive_column()
65 gpio_mask = BIT_MASK(common->col_size) << gpio0->pin; in gpio_kbd_matrix_drive_column()
73 for (int i = 0; i < common->col_size; i++) { in gpio_kbd_matrix_drive_column()
93 const struct input_kbd_matrix_common_config *common = &cfg->common; in gpio_kbd_matrix_read_row() local
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()
120 const struct input_kbd_matrix_common_config *common = &cfg->common; in gpio_kbd_matrix_idle_poll_handler() local
124 K_USEC(common->stable_poll_period_us)); in gpio_kbd_matrix_idle_poll_handler()
134 const struct input_kbd_matrix_common_config *common = &cfg->common; in gpio_kbd_matrix_set_detect_mode() local
140 K_USEC(common->stable_poll_period_us)); in gpio_kbd_matrix_set_detect_mode()
149 for (int i = 0; i < common->row_size; i++) { in gpio_kbd_matrix_set_detect_mode()
191 const struct input_kbd_matrix_common_config *common = &cfg->common; in gpio_kbd_matrix_init() local
196 for (i = 0; i < common->col_size; i++) { in gpio_kbd_matrix_init()
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()
255 cfg->col_gpio, common->col_size); in gpio_kbd_matrix_init()
315 .common = INPUT_KBD_MATRIX_DT_INST_COMMON_CONFIG_INIT_ROW_COL( \