/Zephyr-latest/samples/modules/lvgl/screen_transparency/src/ |
D | main.c | 37 const struct device *display_dev; in main() local 40 display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); in main() 41 if (!device_is_ready(display_dev)) { in main() 46 display_get_capabilities(display_dev, &display_caps); in main() 53 err = display_set_pixel_format(display_dev, PIXEL_FORMAT_ARGB_8888); in main() 63 display_blanking_off(display_dev); in main()
|
/Zephyr-latest/samples/drivers/video/capture/src/ |
D | main.c | 28 static inline int display_setup(const struct device *const display_dev, const uint32_t pixfmt) in display_setup() argument 33 LOG_INF("Display device: %s", display_dev->name); in display_setup() 35 display_get_capabilities(display_dev, &capabilities); in display_setup() 48 ret = display_set_pixel_format(display_dev, PIXEL_FORMAT_BGR_565); in display_setup() 53 ret = display_set_pixel_format(display_dev, PIXEL_FORMAT_ARGB_8888); in display_setup() 65 return display_blanking_off(display_dev); in display_setup() 68 static inline void video_display_frame(const struct device *const display_dev, in video_display_frame() argument 79 display_write(display_dev, 0, vbuf->line_offset, &buf_desc, vbuf->buffer); in video_display_frame() 191 const struct device *const display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); in main() local 193 if (!device_is_ready(display_dev)) { in main() [all …]
|
/Zephyr-latest/samples/subsys/input/draw_touch_events/src/ |
D | main.c | 34 static const struct device *const display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); variable 73 display_write(display_dev, x, y, &buf_desc, buffer_cross_empty); in clear_screen() 113 LOG_INF("Touch sample for touchscreen: %s, dc: %s", touch_dev->name, display_dev->name); in main() 120 if (!device_is_ready(display_dev)) { in main() 121 LOG_ERR("Device %s not found. Aborting sample.", display_dev->name); in main() 130 display_blanking_off(display_dev); in main() 146 display_write(display_dev, get_draw_position(touch_point_drawn.x, WIDTH), in main() 150 display_write(display_dev, get_draw_position(touch_point.x, WIDTH), in main()
|
/Zephyr-latest/samples/modules/lvgl/demos/src/ |
D | main.c | 20 const struct device *display_dev; in main() local 26 display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); in main() 27 if (!device_is_ready(display_dev)) { in main() 63 display_blanking_off(display_dev); in main()
|
/Zephyr-latest/samples/drivers/display/src/ |
D | main.c | 185 const struct device *display_dev; in main() local 191 display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); in main() 192 if (!device_is_ready(display_dev)) { in main() 194 display_dev->name); in main() 202 LOG_INF("Display sample for %s", display_dev->name); in main() 203 display_get_capabilities(display_dev, &capabilities); in main() 317 display_write(display_dev, 0, idx, &buf_desc, buf); in main() 327 display_write(display_dev, x, y, &buf_desc, buf); in main() 332 display_write(display_dev, x, y, &buf_desc, buf); in main() 344 display_write(display_dev, x, y, &buf_desc, buf); in main() [all …]
|
/Zephyr-latest/samples/modules/lvgl/accelerometer_chart/src/ |
D | main.c | 70 const struct device *display_dev; in main() local 72 display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); in main() 73 if (!device_is_ready(display_dev)) { in main() 89 display_blanking_off(display_dev); in main()
|
/Zephyr-latest/modules/lvgl/ |
D | lvgl_display_mono.c | 78 const struct device *display_dev = data->display_dev; in lvgl_flush_cb_mono() local 91 display_blanking_on(display_dev); in lvgl_flush_cb_mono() 103 display_write(display_dev, area->x1, area->y1, &desc, (void *)px_map); in lvgl_flush_cb_mono() 105 display_write(display_dev, area->x1, area->y1, &desc, (void *)px_map); in lvgl_flush_cb_mono() 113 display_blanking_off(display_dev); in lvgl_flush_cb_mono()
|
D | lvgl.c | 226 const struct device *display_dev = DEVICE_DT_GET(DISPLAY_NODE); in lvgl_init() local 230 if (!device_is_ready(display_dev)) { in lvgl_init() 246 disp_data.display_dev = display_dev; in lvgl_init() 247 display_get_capabilities(display_dev, &disp_data.cap); in lvgl_init()
|
D | lvgl_display.c | 31 display_write(data->display_dev, flush.x, flush.y, &flush.desc, flush.buf); in lvgl_flush_thread_entry() 135 display_write(data->display_dev, request->x, request->y, &request->desc, request->buf); in lvgl_flush_display()
|
/Zephyr-latest/tests/lib/gui/lvgl/src/ |
D | main.c | 59 static const struct device *display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); variable 106 display_set_pixel_format(display_dev, PIXEL_FORMAT_MONO10); in setup_lvgl() 109 display_set_pixel_format(display_dev, PIXEL_FORMAT_RGB_888); in setup_lvgl() 111 display_set_pixel_format(display_dev, PIXEL_FORMAT_RGB_565); in setup_lvgl() 113 display_set_pixel_format(display_dev, PIXEL_FORMAT_ARGB_8888); in setup_lvgl()
|
/Zephyr-latest/samples/subsys/display/lvgl/src/ |
D | main.c | 60 const struct device *display_dev; in main() local 64 display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); in main() 65 if (!device_is_ready(display_dev)) { in main() 145 display_blanking_off(display_dev); in main()
|
/Zephyr-latest/samples/drivers/video/capture_to_lvgl/src/ |
D | main.c | 23 const struct device *display_dev; in main() local 30 display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); in main() 31 if (!device_is_ready(display_dev)) { in main() 131 display_blanking_off(display_dev); in main()
|
/Zephyr-latest/drivers/display/ |
D | display_stm32_ltdc.c | 262 const struct device *display_dev = config->display_controller; in stm32_ltdc_display_blanking_off() local 265 if (display_dev == NULL) { in stm32_ltdc_display_blanking_off() 270 if (!device_is_ready(display_dev)) { in stm32_ltdc_display_blanking_off() 271 LOG_ERR("Display device %s not ready", display_dev->name); in stm32_ltdc_display_blanking_off() 275 return display_blanking_off(display_dev); in stm32_ltdc_display_blanking_off() 281 const struct device *display_dev = config->display_controller; in stm32_ltdc_display_blanking_on() local 284 if (display_dev == NULL) { in stm32_ltdc_display_blanking_on() 289 if (!device_is_ready(display_dev)) { in stm32_ltdc_display_blanking_on() 290 LOG_ERR("Display device %s not ready", display_dev->name); in stm32_ltdc_display_blanking_on() 294 return display_blanking_on(display_dev); in stm32_ltdc_display_blanking_on()
|
/Zephyr-latest/samples/subsys/smf/smf_calculator/src/ |
D | main.c | 114 const struct device *display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); in setup_display() local 116 if (!device_is_ready(display_dev)) { in setup_display() 168 display_blanking_off(display_dev); in setup_display()
|
/Zephyr-latest/modules/lvgl/include/ |
D | lvgl_display.h | 19 const struct device *display_dev; member
|