Lines Matching full:inst
54 #define ASSERT_PROPERTIES(inst) \ argument
55 BUILD_ASSERT(DT_INST_PROP_LEN(inst, input_codes) == DT_INST_PROP_LEN(inst, lvgl_codes), \
58 #define LVGL_KEYPAD_INPUT_DEFINE(inst) \ argument
59 ASSERT_PROPERTIES(inst); \
60 LVGL_INPUT_DEFINE(inst, keypad, CONFIG_LV_Z_KEYPAD_INPUT_MSGQ_COUNT, \
62 static const uint16_t lvgl_keypad_input_codes_##inst[] = DT_INST_PROP(inst, input_codes); \
63 static const uint16_t lvgl_keypad_lvgl_codes_##inst[] = DT_INST_PROP(inst, lvgl_codes); \
64 static const struct lvgl_keypad_input_config lvgl_keypad_input_config_##inst = { \
65 .common_config.event_msgq = &LVGL_INPUT_EVENT_MSGQ(inst, keypad), \
66 .input_codes = lvgl_keypad_input_codes_##inst, \
67 .lvgl_codes = lvgl_keypad_lvgl_codes_##inst, \
68 .num_codes = DT_INST_PROP_LEN(inst, input_codes), \
70 static struct lvgl_common_input_data lvgl_common_input_data_##inst; \
71 DEVICE_DT_INST_DEFINE(inst, NULL, NULL, &lvgl_common_input_data_##inst, \
72 &lvgl_keypad_input_config_##inst, POST_KERNEL, \