Lines Matching refs:common_data
21 struct lvgl_common_input_data *common_data = dev->data; in lvgl_input_get_indev() local
23 return common_data->indev; in lvgl_input_get_indev()
30 struct lvgl_common_input_data *common_data = dev->data; in lvgl_input_read_cb() local
33 memcpy(data, &common_data->previous_event, sizeof(lv_indev_data_t)); in lvgl_input_read_cb()
41 memcpy(&common_data->previous_event, data, sizeof(lv_indev_data_t)); in lvgl_input_read_cb()
51 struct lvgl_common_input_data *common_data = dev->data; in lvgl_input_register_driver() local
53 if (common_data == NULL) { in lvgl_input_register_driver()
57 common_data->indev = lv_indev_create(); in lvgl_input_register_driver()
59 if (common_data->indev == NULL) { in lvgl_input_register_driver()
63 lv_indev_set_type(common_data->indev, indev_type); in lvgl_input_register_driver()
64 lv_indev_set_read_cb(common_data->indev, lvgl_input_read_cb); in lvgl_input_register_driver()
65 lv_indev_set_user_data(common_data->indev, (void *)dev); in lvgl_input_register_driver()