/Zephyr-Core-3.7.0/samples/drivers/display/src/ |
D | main.c | 186 struct display_capabilities capabilities; in main() local 203 display_get_capabilities(display_dev, &capabilities); in main() 205 if (capabilities.screen_info & SCREEN_INFO_MONO_VTILED) { in main() 213 if ((capabilities.x_resolution < 3 * rect_w) || in main() 214 (capabilities.y_resolution < 3 * rect_h) || in main() 215 (capabilities.x_resolution < 8 * rect_h)) { in main() 216 rect_w = capabilities.x_resolution * 40 / 100; in main() 217 rect_h = capabilities.y_resolution * 40 / 100; in main() 218 h_step = capabilities.y_resolution * 20 / 100; in main() 222 scale = (capabilities.x_resolution / 8) / rect_h; in main() [all …]
|
/Zephyr-Core-3.7.0/drivers/auxdisplay/ |
D | auxdisplay_hd44780.c | 64 struct auxdisplay_capabilities capabilities; member 130 if (config->capabilities.mode > AUXDISPLAY_HD44780_MODE_8_BIT) { in auxdisplay_hd44780_init() 160 if (config->capabilities.mode == AUXDISPLAY_HD44780_MODE_4_BIT) { in auxdisplay_hd44780_init() 172 } else if (config->capabilities.mode == AUXDISPLAY_HD44780_MODE_4_BIT && i > 3) { in auxdisplay_hd44780_init() 176 } else if (config->capabilities.mode == AUXDISPLAY_HD44780_MODE_8_BIT) { in auxdisplay_hd44780_init() 210 if (config->capabilities.mode == AUXDISPLAY_HD44780_MODE_4_BIT) { in auxdisplay_hd44780_init() 220 if (config->capabilities.rows > 1) { in auxdisplay_hd44780_init() 225 auxdisplay_hd44780_command(dev, false, cmd, config->capabilities.mode); in auxdisplay_hd44780_init() 229 config->capabilities.mode); in auxdisplay_hd44780_init() 237 struct auxdisplay_capabilities *capabilities) in auxdisplay_hd44780_capabilities_get() argument [all …]
|
D | auxdisplay_serlcd.c | 80 struct auxdisplay_capabilities capabilities; member 184 const struct auxdisplay_capabilities capabilities = config->capabilities; in auxdisplay_serlcd_cursor_position_set() local 185 const uint16_t columns = capabilities.columns; in auxdisplay_serlcd_cursor_position_set() 186 const uint16_t rows = capabilities.rows; in auxdisplay_serlcd_cursor_position_set() 253 struct auxdisplay_capabilities *capabilities) in auxdisplay_serlcd_capabilities_get() argument 257 memcpy(capabilities, &config->capabilities, sizeof(struct auxdisplay_capabilities)); in auxdisplay_serlcd_capabilities_get() 324 if (data->cursor_x >= config->capabilities.columns) { in auxdisplay_serlcd_advance_current_position() 328 if (data->cursor_y >= config->capabilities.rows) { in auxdisplay_serlcd_advance_current_position() 410 .capabilities = { \
|
D | auxdisplay_pt6314.c | 65 struct auxdisplay_capabilities capabilities; member 109 (config->capabilities.rows == 2 ? PT6314_FS_ROWS_2 : PT6314_FS_ROWS_1) | in auxdisplay_pt6314_function_set() 178 } else if (x >= config->capabilities.columns || y >= config->capabilities.rows) { in auxdisplay_pt6314_cursor_position_set() 199 struct auxdisplay_capabilities *capabilities) in auxdisplay_pt6314_capabilities_get() argument 203 memcpy(capabilities, &config->capabilities, sizeof(struct auxdisplay_capabilities)); in auxdisplay_pt6314_capabilities_get() 255 if (data->cursor_x == config->capabilities.columns) { in auxdisplay_pt6314_write() 259 if (data->cursor_y == config->capabilities.rows) { in auxdisplay_pt6314_write() 306 .capabilities = \
|
D | auxdisplay_jhd1313.c | 74 struct auxdisplay_capabilities capabilities; member 329 struct auxdisplay_capabilities *capabilities) in auxdisplay_jhd1313_capabilities_get() argument 333 memcpy(capabilities, &config->capabilities, sizeof(struct auxdisplay_capabilities)); in auxdisplay_jhd1313_capabilities_get() 353 .capabilities = { \
|
D | auxdisplay_itron.c | 55 struct auxdisplay_capabilities capabilities; member 221 struct auxdisplay_capabilities *capabilities) in auxdisplay_itron_capabilities_get() argument 225 memcpy(capabilities, &config->capabilities, sizeof(struct auxdisplay_capabilities)); in auxdisplay_itron_capabilities_get() 427 .capabilities = { \
|
/Zephyr-Core-3.7.0/drivers/display/ |
D | display_dummy.c | 83 struct display_capabilities *capabilities) in dummy_display_get_capabilities() argument 88 memset(capabilities, 0, sizeof(struct display_capabilities)); in dummy_display_get_capabilities() 89 capabilities->x_resolution = config->width; in dummy_display_get_capabilities() 90 capabilities->y_resolution = config->height; in dummy_display_get_capabilities() 91 capabilities->supported_pixel_formats = PIXEL_FORMAT_ARGB_8888 | in dummy_display_get_capabilities() 95 capabilities->current_pixel_format = disp_data->current_pixel_format; in dummy_display_get_capabilities() 96 capabilities->screen_info = SCREEN_INFO_MONO_VTILED | in dummy_display_get_capabilities()
|
D | display_st7789v.c | 189 struct display_capabilities *capabilities) in st7789v_get_capabilities() argument 193 memset(capabilities, 0, sizeof(struct display_capabilities)); in st7789v_get_capabilities() 194 capabilities->x_resolution = config->width; in st7789v_get_capabilities() 195 capabilities->y_resolution = config->height; in st7789v_get_capabilities() 198 capabilities->supported_pixel_formats = PIXEL_FORMAT_RGB_565; in st7789v_get_capabilities() 199 capabilities->current_pixel_format = PIXEL_FORMAT_RGB_565; in st7789v_get_capabilities() 201 capabilities->supported_pixel_formats = PIXEL_FORMAT_RGB_888; in st7789v_get_capabilities() 202 capabilities->current_pixel_format = PIXEL_FORMAT_RGB_888; in st7789v_get_capabilities() 204 capabilities->current_orientation = DISPLAY_ORIENTATION_NORMAL; in st7789v_get_capabilities()
|
D | display_mcux_dcnano_lcdif.c | 124 struct display_capabilities *capabilities) in mcux_dcnano_lcdif_get_capabilities() argument 129 capabilities->y_resolution = config->dpi_config.panelHeight; in mcux_dcnano_lcdif_get_capabilities() 130 capabilities->x_resolution = config->dpi_config.panelWidth; in mcux_dcnano_lcdif_get_capabilities() 131 capabilities->supported_pixel_formats = in mcux_dcnano_lcdif_get_capabilities() 133 capabilities->current_orientation = DISPLAY_ORIENTATION_NORMAL; in mcux_dcnano_lcdif_get_capabilities() 140 capabilities->current_pixel_format = PIXEL_FORMAT_BGR_565; in mcux_dcnano_lcdif_get_capabilities() 143 capabilities->current_pixel_format = PIXEL_FORMAT_ARGB_8888; in mcux_dcnano_lcdif_get_capabilities()
|
D | display_ili9xxx.c | 361 struct display_capabilities *capabilities) in ili9xxx_get_capabilities() argument 366 memset(capabilities, 0, sizeof(struct display_capabilities)); in ili9xxx_get_capabilities() 368 capabilities->supported_pixel_formats = in ili9xxx_get_capabilities() 370 capabilities->current_pixel_format = data->pixel_format; in ili9xxx_get_capabilities() 374 capabilities->x_resolution = config->x_resolution; in ili9xxx_get_capabilities() 375 capabilities->y_resolution = config->y_resolution; in ili9xxx_get_capabilities() 377 capabilities->x_resolution = config->y_resolution; in ili9xxx_get_capabilities() 378 capabilities->y_resolution = config->x_resolution; in ili9xxx_get_capabilities() 381 capabilities->current_orientation = data->orientation; in ili9xxx_get_capabilities()
|
D | display_gc9x01x.c | 567 struct display_capabilities *capabilities) in gc9x01x_get_capabilities() argument 572 memset(capabilities, 0, sizeof(struct display_capabilities)); in gc9x01x_get_capabilities() 574 capabilities->supported_pixel_formats = PIXEL_FORMAT_RGB_565 | PIXEL_FORMAT_RGB_888; in gc9x01x_get_capabilities() 575 capabilities->current_pixel_format = data->pixel_format; in gc9x01x_get_capabilities() 579 capabilities->x_resolution = config->x_resolution; in gc9x01x_get_capabilities() 580 capabilities->y_resolution = config->y_resolution; in gc9x01x_get_capabilities() 582 capabilities->x_resolution = config->y_resolution; in gc9x01x_get_capabilities() 583 capabilities->y_resolution = config->x_resolution; in gc9x01x_get_capabilities() 586 capabilities->current_orientation = data->orientation; in gc9x01x_get_capabilities()
|
D | display_st7796s.c | 176 struct display_capabilities *capabilities) in st7796s_get_capabilities() argument 180 memset(capabilities, 0, sizeof(struct display_capabilities)); in st7796s_get_capabilities() 182 capabilities->current_pixel_format = st7796s_get_pixelfmt(dev); in st7796s_get_capabilities() 184 capabilities->x_resolution = config->width; in st7796s_get_capabilities() 185 capabilities->y_resolution = config->height; in st7796s_get_capabilities() 186 capabilities->current_orientation = DISPLAY_ORIENTATION_NORMAL; in st7796s_get_capabilities()
|
D | display_st7735r.c | 248 struct display_capabilities *capabilities) in st7735r_get_capabilities() argument 252 memset(capabilities, 0, sizeof(struct display_capabilities)); in st7735r_get_capabilities() 253 capabilities->x_resolution = config->width; in st7735r_get_capabilities() 254 capabilities->y_resolution = config->height; in st7735r_get_capabilities() 265 capabilities->supported_pixel_formats = PIXEL_FORMAT_BGR_565; in st7735r_get_capabilities() 266 capabilities->current_pixel_format = PIXEL_FORMAT_BGR_565; in st7735r_get_capabilities() 268 capabilities->supported_pixel_formats = PIXEL_FORMAT_RGB_565; in st7735r_get_capabilities() 269 capabilities->current_pixel_format = PIXEL_FORMAT_RGB_565; in st7735r_get_capabilities() 272 capabilities->current_orientation = DISPLAY_ORIENTATION_NORMAL; in st7735r_get_capabilities()
|
D | display_nt35510.c | 270 struct display_capabilities *capabilities) in nt35510_get_capabilities() argument 275 memset(capabilities, 0, sizeof(struct display_capabilities)); in nt35510_get_capabilities() 276 capabilities->x_resolution = cfg->width; in nt35510_get_capabilities() 277 capabilities->y_resolution = cfg->height; in nt35510_get_capabilities() 278 capabilities->supported_pixel_formats = PIXEL_FORMAT_RGB_565 | PIXEL_FORMAT_RGB_888; in nt35510_get_capabilities() 279 capabilities->current_pixel_format = data->pixel_format; in nt35510_get_capabilities() 280 capabilities->current_orientation = data->orientation; in nt35510_get_capabilities()
|
D | display_hx8394.c | 515 struct display_capabilities *capabilities) in hx8394_get_capabilities() argument 519 memset(capabilities, 0, sizeof(struct display_capabilities)); in hx8394_get_capabilities() 520 capabilities->x_resolution = config->panel_width; in hx8394_get_capabilities() 521 capabilities->y_resolution = config->panel_height; in hx8394_get_capabilities() 522 capabilities->supported_pixel_formats = config->pixel_format; in hx8394_get_capabilities() 523 capabilities->current_pixel_format = config->pixel_format; in hx8394_get_capabilities() 524 capabilities->current_orientation = DISPLAY_ORIENTATION_NORMAL; in hx8394_get_capabilities()
|
D | display_mcux_elcdif.c | 281 struct display_capabilities *capabilities) in mcux_elcdif_get_capabilities() argument 285 memset(capabilities, 0, sizeof(struct display_capabilities)); in mcux_elcdif_get_capabilities() 286 capabilities->x_resolution = config->rgb_mode.panelWidth; in mcux_elcdif_get_capabilities() 287 capabilities->y_resolution = config->rgb_mode.panelHeight; in mcux_elcdif_get_capabilities() 288 capabilities->supported_pixel_formats = supported_fmts; in mcux_elcdif_get_capabilities() 289 capabilities->current_pixel_format = ((struct mcux_elcdif_data *)dev->data)->pixel_format; in mcux_elcdif_get_capabilities() 290 capabilities->current_orientation = DISPLAY_ORIENTATION_NORMAL; in mcux_elcdif_get_capabilities()
|
D | display_renesas_lcdc.c | 441 struct display_capabilities *capabilities) in display_smartbond_get_capabilities() argument 443 memset(capabilities, 0, sizeof(*capabilities)); in display_smartbond_get_capabilities() 454 capabilities->supported_pixel_formats = DT_INST_PROP(0, pixel_format); in display_smartbond_get_capabilities() 455 capabilities->current_orientation = DISPLAY_ORIENTATION_NORMAL; in display_smartbond_get_capabilities() 456 capabilities->current_pixel_format = DT_INST_PROP(0, pixel_format); in display_smartbond_get_capabilities() 457 capabilities->x_resolution = DT_INST_PROP(0, width); in display_smartbond_get_capabilities() 458 capabilities->y_resolution = DT_INST_PROP(0, height); in display_smartbond_get_capabilities()
|
D | display_rm67162.c | 468 struct display_capabilities *capabilities) in rm67162_get_capabilities() argument 473 memset(capabilities, 0, sizeof(struct display_capabilities)); in rm67162_get_capabilities() 474 capabilities->x_resolution = config->panel_width; in rm67162_get_capabilities() 475 capabilities->y_resolution = config->panel_height; in rm67162_get_capabilities() 476 capabilities->supported_pixel_formats = PIXEL_FORMAT_RGB_565 | in rm67162_get_capabilities() 480 capabilities->current_pixel_format = PIXEL_FORMAT_RGB_565; in rm67162_get_capabilities() 483 capabilities->current_pixel_format = PIXEL_FORMAT_RGB_888; in rm67162_get_capabilities() 490 capabilities->current_orientation = DISPLAY_ORIENTATION_ROTATED_90; in rm67162_get_capabilities()
|
D | display_stm32_ltdc.c | 142 struct display_capabilities *capabilities) in stm32_ltdc_get_capabilities() argument 146 memset(capabilities, 0, sizeof(struct display_capabilities)); in stm32_ltdc_get_capabilities() 148 capabilities->x_resolution = data->hltdc.LayerCfg[0].WindowX1 - in stm32_ltdc_get_capabilities() 150 capabilities->y_resolution = data->hltdc.LayerCfg[0].WindowY1 - in stm32_ltdc_get_capabilities() 152 capabilities->supported_pixel_formats = PIXEL_FORMAT_ARGB_8888 | in stm32_ltdc_get_capabilities() 155 capabilities->screen_info = 0; in stm32_ltdc_get_capabilities() 157 capabilities->current_pixel_format = data->current_pixel_format; in stm32_ltdc_get_capabilities() 158 capabilities->current_orientation = DISPLAY_ORIENTATION_NORMAL; in stm32_ltdc_get_capabilities()
|
/Zephyr-Core-3.7.0/samples/subsys/video/capture/src/ |
D | main.c | 22 struct display_capabilities capabilities; in display_setup() local 32 display_get_capabilities(display_dev, &capabilities); in display_setup() 37 capabilities.x_resolution, capabilities.y_resolution, in display_setup() 38 capabilities.supported_pixel_formats, capabilities.current_pixel_format, in display_setup() 39 capabilities.current_orientation); in display_setup()
|
/Zephyr-Core-3.7.0/scripts/west_commands/runners/ |
D | qemu.py | 18 def capabilities(cls): member in QemuBinaryRunner
|
D | xtensa.py | 20 def capabilities(cls): member in XtensaBinaryRunner
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | display.h | 196 capabilities); 415 capabilities) in display_get_capabilities() 420 api->get_capabilities(dev, capabilities); in display_get_capabilities()
|
/Zephyr-Core-3.7.0/doc/kernel/memory_management/ |
D | shared_multi_heap.rst | 7 manage a set of reserved memory regions with different capabilities / 12 be used by drivers or applications to request memory with certain capabilities. 23 integer value that is used to define the region capabilities (for example:
|
/Zephyr-Core-3.7.0/doc/connectivity/networking/api/ |
D | lldp.rst | 14 protocol used by network devices for advertising their identity, capabilities,
|