/Zephyr-latest/tests/drivers/display/display_read_write/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 15 static const uint32_t display_width = DT_PROP(DT_CHOSEN(zephyr_display), width); 20 static uint8_t disp_buffer[DT_PROP(DT_CHOSEN(zephyr_display), width) * 46 static void verify_bytes_of_area(uint8_t *data, int cmp_x, int cmp_y, size_t width, size_t height) in verify_bytes_of_area() argument 50 .pitch = width, in verify_bytes_of_area() 51 .width = width, in verify_bytes_of_area() 52 .buf_size = height * width * bpp, in verify_bytes_of_area() 60 zassert_mem_equal(data, disp_buffer, width * height / 8, NULL); in verify_bytes_of_area() 62 zassert_mem_equal(data, disp_buffer, width * height * bpp, NULL); in verify_bytes_of_area() 66 static void verify_background_color(int x, int y, size_t width, size_t height, uint32_t color) in verify_background_color() argument [all …]
|
/Zephyr-latest/subsys/shell/modules/ |
D | devmem_service.c | 6 * SPDX-License-Identifier: Apache-2.0 27 static inline bool is_ascii(uint8_t data) in is_ascii() argument 29 return (data >= 0x30 && data <= 0x39) || (data >= 0x61 && data <= 0x66) || in is_ascii() 30 (data >= 0x41 && data <= 0x46); in is_ascii() 34 static uint32_t *data; variable 43 static int memory_dump(const struct shell *sh, mem_addr_t phys_addr, size_t size, uint8_t width) in memory_dump() argument 48 const size_t vsize = width / BITS_PER_BYTE; in memory_dump() 60 addr += SHELL_HEXDUMP_BYTES_IN_LINE, size -= MIN(size, SHELL_HEXDUMP_BYTES_IN_LINE)) { in memory_dump() 64 switch (width) { in memory_dump() 86 shell_fprintf(sh, SHELL_NORMAL, "Incorrect data width\n"); in memory_dump() [all …]
|
/Zephyr-latest/drivers/display/ |
D | display_intel_multibootfb.c | 4 * This code attempts to be endian-agnostic. It manipulates the framebuffer 5 * address space only in 32-bit words (and assumes those words are 0xAARRGGBB). 7 * SPDX-License-Identifier: Apache-2.0 20 uint16_t width; member 36 return -ENOTSUP; in framebuf_set_pixel_format() 47 return -ENOTSUP; in framebuf_set_orientation() 54 const struct framebuf_dev_config *config = dev->config; in framebuf_get_capabilities() 56 caps->x_resolution = config->width; in framebuf_get_capabilities() 57 caps->y_resolution = config->height; in framebuf_get_capabilities() 58 caps->supported_pixel_formats = PIXEL_FORMAT_ARGB_8888; in framebuf_get_capabilities() [all …]
|
D | display_renesas_ra.c | 4 * SPDX-License-Identifier: Apache-2.0 27 uint16_t width; member 47 struct display_ra_data *data = dev->data; in renesas_ra_glcdc_isr() local 50 if (data->front_buf != data->pend_buf) { in renesas_ra_glcdc_isr() 51 data->front_buf = data->pend_buf; in renesas_ra_glcdc_isr() 52 k_sem_give(&data->sem); in renesas_ra_glcdc_isr() 59 struct display_ra_data *data = dev->data; in ra_display_write() local 60 const struct display_ra_config *config = dev->config; in ra_display_write() 67 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in ra_display_write() 68 __ASSERT((desc->pitch * BYTE_PER_PIXEL * desc->height) <= desc->buf_size, in ra_display_write() [all …]
|
D | display_stm32_ltdc.c | 2 * Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com> 6 * SPDX-License-Identifier: Apache-2.0 36 /* Data enable pulse polarity */ 72 uint32_t width; member 85 struct display_stm32_ltdc_data *data = dev->data; in stm32_ltdc_global_isr() local 87 if (__HAL_LTDC_GET_FLAG(&data->hltdc, LTDC_FLAG_LI) && in stm32_ltdc_global_isr() 88 __HAL_LTDC_GET_IT_SOURCE(&data->hltdc, LTDC_IT_LI)) { in stm32_ltdc_global_isr() 89 if (data->front_buf != data->pend_buf) { in stm32_ltdc_global_isr() 90 data->front_buf = data->pend_buf; in stm32_ltdc_global_isr() 92 LTDC_LAYER(&data->hltdc, LTDC_LAYER_1)->CFBAR = (uint32_t)data->front_buf; in stm32_ltdc_global_isr() [all …]
|
D | ssd1322.c | 4 * SPDX-License-Identifier: Apache-2.0 50 uint16_t width; member 69 const struct ssd1322_config *config = dev->config; in ssd1322_write_command() 71 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, cmd, buf, len); in ssd1322_write_command() 85 * The controller uses 4-bit grayscale format, so one pixel is represented by 4 bits. 86 * Zephyr's display API does not support this format, so this uses mono01, and converts each 1-bit 122 *pixel_count -= pixels_in_chunk; in ssd1322_conv_mono01_grayscale() 128 const struct ssd1322_config *config = dev->config; in ssd1322_write_pixels() 136 len = ssd1322_conv_mono01_grayscale(&buf, &pixel_count, config->conversion_buf, in ssd1322_write_pixels() 137 config->conversion_buf_size, in ssd1322_write_pixels() [all …]
|
D | display_dummy.c | 5 * SPDX-License-Identifier: Apache-2.0 18 uint16_t width; member 27 struct dummy_display_data *disp_data = dev->data; in dummy_display_init() 29 disp_data->current_pixel_format = PIXEL_FORMAT_ARGB_8888; in dummy_display_init() 39 const struct dummy_display_config *config = dev->config; in dummy_display_write() 41 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in dummy_display_write() 42 __ASSERT(desc->pitch <= config->width, in dummy_display_write() 44 __ASSERT(desc->height <= config->height, in dummy_display_write() 46 __ASSERT(x + desc->pitch <= config->width, in dummy_display_write() 48 __ASSERT(y + desc->height <= config->height, in dummy_display_write() [all …]
|
D | ssd16xx.c | 3 * Copyright (c) 2018-2020 PHYTEC Messtechnik GmbH 6 * SPDX-License-Identifier: Apache-2.0 48 /* Width (bits) of integer type representing an x coordinate */ 50 /* Width (bits) of integer type representing a y coordinate */ 74 uint8_t *data; member 106 uint16_t width; member 115 const struct ssd16xx_config *config = dev->config; in ssd16xx_busy_wait() 116 int pin = gpio_pin_get_dt(&config->busy_gpio); in ssd16xx_busy_wait() 121 pin = gpio_pin_get_dt(&config->busy_gpio); in ssd16xx_busy_wait() 126 const uint8_t *data, size_t len) in ssd16xx_write_cmd() argument [all …]
|
D | display_ili9xxx.c | 6 * SPDX-License-Identifier: Apache-2.0 11 #include <zephyr/dt-bindings/display/ili9xxx.h> 27 * so that we can be sure the bitshift to convert GRAM data back 28 * to RGB565 will result in correct data 70 const struct ili9xxx_config *config = dev->config; in ili9xxx_transmit() 72 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in ili9xxx_transmit() 92 const struct ili9xxx_config *config = dev->config; in ili9xxx_hw_reset() 94 if (mipi_dbi_reset(config->mipi_dev, ILI9XXX_RESET_PULSE_TIME) < 0) { in ili9xxx_hw_reset() 108 spi_data[1] = sys_cpu_to_be16(x + w - 1U); in ili9xxx_set_mem_area() 115 spi_data[1] = sys_cpu_to_be16(y + h - 1U); in ili9xxx_set_mem_area() [all …]
|
D | display_st7789v.c | 9 * SPDX-License-Identifier: Apache-2.0 47 uint16_t width; member 64 struct st7789v_data *data = dev->data; in st7789v_set_lcd_margins() local 66 data->x_offset = x_offset; in st7789v_set_lcd_margins() 67 data->y_offset = y_offset; in st7789v_set_lcd_margins() 73 const struct st7789v_config *config = dev->config; in st7789v_transmit() 75 mipi_dbi_command_write(config->mipi_dbi, &config->dbi_config, cmd, in st7789v_transmit() 87 const struct st7789v_config *config = dev->config; in st7789v_reset_display() 93 ret = mipi_dbi_reset(config->mipi_dbi, 6); in st7789v_reset_display() 94 if (ret == -ENOTSUP) { in st7789v_reset_display() [all …]
|
D | uc81xx.c | 6 * SPDX-License-Identifier: Apache-2.0 32 uint8_t *data; member 84 uint16_t width; member 99 const struct uc81xx_config *config = dev->config; in uc81xx_busy_wait() 100 int pin = gpio_pin_get_dt(&config->busy_gpio); in uc81xx_busy_wait() 105 pin = gpio_pin_get_dt(&config->busy_gpio); in uc81xx_busy_wait() 110 const uint8_t *data, size_t len) in uc81xx_write_cmd() argument 112 const struct uc81xx_config *config = dev->config; in uc81xx_write_cmd() 117 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in uc81xx_write_cmd() 118 cmd, data, len); in uc81xx_write_cmd() [all …]
|
/Zephyr-latest/modules/lvgl/ |
D | lvgl_display_mono.c | 4 * SPDX-License-Identifier: Apache-2.0 15 static ALWAYS_INLINE void set_px_at_pos(uint8_t *dst_buf, uint32_t x, uint32_t y, uint32_t width, in set_px_at_pos() argument 21 if (caps->screen_info & SCREEN_INFO_MONO_VTILED) { in set_px_at_pos() 22 buf = dst_buf + x + y / 8 * width; in set_px_at_pos() 24 if (caps->screen_info & SCREEN_INFO_MONO_MSB_FIRST) { in set_px_at_pos() 25 bit = 7 - y % 8; in set_px_at_pos() 30 buf = dst_buf + x / 8 + y * width / 8; in set_px_at_pos() 32 if (caps->screen_info & SCREEN_INFO_MONO_MSB_FIRST) { in set_px_at_pos() 33 bit = 7 - x % 8; in set_px_at_pos() 39 if (caps->current_pixel_format == PIXEL_FORMAT_MONO10) { in set_px_at_pos() [all …]
|
/Zephyr-latest/drivers/dma/ |
D | dma_mcux_lpc.c | 2 * Copyright (c) 2020-2023 NXP 4 * SPDX-License-Identifier: Apache-2.0 49 uint32_t width; member 71 ((DMA_Type *)((const struct dma_mcux_lpc_config *const)(dev)->config)->base) 74 ((struct channel_data *)(&(((struct dma_mcux_lpc_dma_data *)dev->data)->channel_data[ch]))) 77 ((dma_handle_t *)(&(DEV_CHANNEL_DATA(dev, ch)->dma_handle))) 79 #define EMPTY_OTRIG -1 84 int ret = -EIO; in nxp_lpc_dma_callback() 85 struct channel_data *data = (struct channel_data *)param; in nxp_lpc_dma_callback() local 86 uint32_t channel = handle->channel; in nxp_lpc_dma_callback() [all …]
|
D | Kconfig.dw_axi_dmac | 4 # SPDX-License-Identifier: Apache-2.0 27 This flag can be enabled if hardware support Linked List multi-block transfer 39 set max number of source and destination data units supported 42 int "data bus width" 45 update this flag to change the axi master interface data width
|
/Zephyr-latest/doc/safety/images/ |
D | IEC-61508-basis.svg | 1 …width="802px" height="515px" viewBox="-0.5 -0.5 802 515" style="background-color: rgb(255, 255, 25…
|
/Zephyr-latest/dts/bindings/dma/ |
D | gd,gd32-dma-v1.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 channel: Select channel for data transmitting 12 - bit 6-7: Direction (see dma.h) 13 - 0x0: MEMORY to MEMORY 14 - 0x1: MEMORY to PERIPH 15 - 0x2: PERIPH to MEMORY 16 - 0x3: reserved for PERIPH to PERIPH 18 - bit 9: Peripheral address increase 19 - 0x0: no address increment between transfers 20 - 0x1: increment address between transfers [all …]
|
/Zephyr-latest/dts/bindings/flash_controller/ |
D | st,stm32-xspi-nor.yaml | 1 # Copyright (c) 2021 - 2024 STMicroelectronics 2 # SPDX-License-Identifier: Apache-2.0 9 mx25lm51245: xspi-nor-flash@70000000 { 10 compatible = "st,stm32-xspi-nor"; 12 data-mode = <XSPI_OCTO_MODE>; /* access on 8 data lines */ 13 data-rate = <XSPI_DTR_TRANSFER>; /* access in DTR */ 14 ospi-max-frequency = <DT_FREQ_M(50)>; 18 compatible: "st,stm32-xspi-nor" 21 - name: st,stm32-ospi-nor.yaml 22 property-blocklist: [all …]
|
/Zephyr-latest/soc/litex/litex_vexriscv/ |
D | soc.h | 2 * Copyright (c) 2018 - 2019 Antmicro <www.antmicro.com> 4 * SPDX-License-Identifier: Apache-2.0 21 #error CSR data width less than 8 in litex_read8() 33 #error Unsupported CSR data width in litex_read16() 47 #error Unsupported CSR data width in litex_read32() 67 #error Unsupported CSR data width in litex_read64() 76 #error CSR data width less than 8 in litex_write8() 88 #error Unsupported CSR data width in litex_write16() 102 #error Unsupported CSR data width in litex_write32() 123 #error Unsupported CSR data width in litex_write64()
|
/Zephyr-latest/doc/connectivity/bluetooth/api/audio/img/ |
D | cap_proc.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 3 …width="1092px" height="4638px" viewBox="-0.5 -0.5 1092 4638"><defs/><g><rect x="0" y="16" width="3…
|
/Zephyr-latest/doc/services/ipc/ipc_service/backends/ |
D | icbmsg_message.svg | 1 …="1.1" width="561px" height="182px" viewBox="-0.5 -0.5 561 182" content="<mxfile><diagram… 4 <rect x="0" y="1" width="80" height="40" fill="none" stroke="#000000" pointer-events="all"/> 5 <g transform="translate(-0.5 -0.5)"> 7 …ointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/featu… 8 …e="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height:… 9 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex… 10 …-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-ev… 16 …<text x="40" y="25" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="midd… 21 … <rect x="80" y="1" width="80" height="40" fill="none" stroke="#000000" pointer-events="all"/> 22 <g transform="translate(-0.5 -0.5)"> [all …]
|
D | icbmsg_memory.svg | 1 …="1.1" width="649px" height="263px" viewBox="-0.5 -0.5 649 263" content="<mxfile><diagram… 4 … <rect x="7" y="120" width="120" height="40" fill="none" stroke="#000000" pointer-events="all"/> 5 <g transform="translate(-0.5 -0.5)"> 7 …ointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/featu… 8 …="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height:… 9 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex… 10 …-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-ev… 16 …<text x="67" y="144" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="mid… 21 … <rect x="127" y="120" width="200" height="40" fill="none" stroke="#000000" pointer-events="all"/> 22 <g transform="translate(-0.5 -0.5)"> [all …]
|
/Zephyr-latest/drivers/video/ |
D | video_emul_imager.c | 4 * SPDX-License-Identifier: Apache-2.0 16 #include <zephyr/drivers/video-controls.h> 83 * to set the timing parameters and other mode-dependent configuration. 140 #define EMUL_IMAGER_VIDEO_FORMAT_CAP(width, height, format) \ argument 143 .width_min = (width), \ 144 .width_max = (width), \ 159 LOG_DBG("%s placeholder for I2C read from 0x%02x", dev->name, reg_addr); in emul_imager_read_reg() 184 LOG_DBG("%s placeholder for I2C write 0x%08x to 0x%02x", dev->name, value, reg_addr); in emul_imager_write_reg() 213 return -ENOTSUP; in emul_imager_set_ctrl() 219 struct emul_imager_data *data = dev->data; in emul_imager_get_ctrl() local [all …]
|
/Zephyr-latest/dts/bindings/spi/ |
D | litex,spi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: spi-controller.yaml 14 data-width: 17 Maximum data width of the SPI controller in bits. 20 max-cs:
|
/Zephyr-latest/samples/bluetooth/mtu_update/img/ |
D | mtu.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 3 …-color: rgb(255, 255, 255);" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="831px…
|
/Zephyr-latest/dts/bindings/video/ |
D | espressif,esp32-cam.yaml | 4 # SPDX-License-Identifier: Apache-2.0 9 compatible: "espressif,esp32-lcd-cam" 11 include: [base.yaml, pinctrl-device.yaml] 19 data-width: 21 description: Camera input data width. 8/16 bits 24 invert-byte-order: 28 invert-bit-order: 32 invert-pclk: 36 invert-de: 38 description: invert data enable signal [all …]
|