Home
last modified time | relevance | path

Searched refs:dbi_config (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.7.0/drivers/mipi_dbi/
Dmipi_dbi_spi.c49 const struct mipi_dbi_config *dbi_config, in mipi_dbi_spi_write_helper() argument
67 if (dbi_config->mode == MIPI_DBI_MODE_SPI_3WIRE && in mipi_dbi_spi_write_helper()
72 if ((dbi_config->config.operation & SPI_WORD_SIZE_MASK) in mipi_dbi_spi_write_helper()
82 ret = spi_write(config->spi_dev, &dbi_config->config, in mipi_dbi_spi_write_helper()
91 ret = spi_write(config->spi_dev, &dbi_config->config, in mipi_dbi_spi_write_helper()
97 } else if (dbi_config->mode == MIPI_DBI_MODE_SPI_4WIRE) { in mipi_dbi_spi_write_helper()
108 ret = spi_write(config->spi_dev, &dbi_config->config, in mipi_dbi_spi_write_helper()
121 ret = spi_write(config->spi_dev, &dbi_config->config, in mipi_dbi_spi_write_helper()
137 const struct mipi_dbi_config *dbi_config, in mipi_dbi_spi_command_write() argument
141 return mipi_dbi_spi_write_helper(dev, dbi_config, true, cmd, in mipi_dbi_spi_command_write()
[all …]
Dmipi_dbi_smartbond.c189 static void lcdc_smartbond_mipi_dbi_translation(const struct mipi_dbi_config *dbi_config, in lcdc_smartbond_mipi_dbi_translation() argument
193 mipi_dbi_cfg->cpha = dbi_config->config.operation & SPI_MODE_CPHA; in lcdc_smartbond_mipi_dbi_translation()
194 mipi_dbi_cfg->cpol = dbi_config->config.operation & SPI_MODE_CPOL; in lcdc_smartbond_mipi_dbi_translation()
195 mipi_dbi_cfg->cs_active_high = dbi_config->config.operation & SPI_CS_ACTIVE_HIGH; in lcdc_smartbond_mipi_dbi_translation()
196 mipi_dbi_cfg->line_mode = lcdc_smartbond_line_mode_translation(dbi_config->mode); in lcdc_smartbond_mipi_dbi_translation()
202 const struct mipi_dbi_config *dbi_config, in mipi_dbi_smartbond_command_read() argument
219 lcdc_smartbond_mipi_dbi_translation(dbi_config, &mipi_dbi_cfg, PIXEL_FORMAT_RGB_565); in mipi_dbi_smartbond_command_read()
263 ret = spi_read(spi_dev, &dbi_config->config, &buf_set); in mipi_dbi_smartbond_command_read()
290 const struct mipi_dbi_config *dbi_config, in mipi_dbi_smartbond_command_write() argument
306 lcdc_smartbond_mipi_dbi_translation(dbi_config, &mipi_dbi_cfg, PIXEL_FORMAT_RGB_565); in mipi_dbi_smartbond_command_write()
[all …]
Dmipi_dbi_nxp_flexio_lcdif.c158 const struct mipi_dbi_config *dbi_config) in mipi_dbi_flexio_lcdif_configure() argument
165 uint32_t mipi_mode = dbi_config->mode; in mipi_dbi_flexio_lcdif_configure()
174 if (dbi_config == lcdif_data->active_cfg) { in mipi_dbi_flexio_lcdif_configure()
208 flexioMcuLcdConfig.baudRate_Bps = dbi_config->config.frequency * in mipi_dbi_flexio_lcdif_configure()
224 lcdif_data->active_cfg = dbi_config; in mipi_dbi_flexio_lcdif_configure()
230 const struct mipi_dbi_config *dbi_config, in mipi_dbi_flexio_ldcif_write_display() argument
245 ret = mipi_dbi_flexio_lcdif_configure(dev, dbi_config); in mipi_dbi_flexio_ldcif_write_display()
306 const struct mipi_dbi_config *dbi_config, in mipi_dbi_flexio_lcdif_command_write() argument
314 ARG_UNUSED(dbi_config); in mipi_dbi_flexio_lcdif_command_write()
316 ret = mipi_dbi_flexio_lcdif_configure(dev, dbi_config); in mipi_dbi_flexio_lcdif_command_write()
Dmipi_dbi_nxp_lcdic.c227 const struct mipi_dbi_config *dbi_config) in mipi_dbi_lcdic_configure() argument
231 const struct spi_config *spi_cfg = &dbi_config->config; in mipi_dbi_lcdic_configure()
236 if (dbi_config == data->active_cfg) { in mipi_dbi_lcdic_configure()
271 if (dbi_config->mode == MIPI_DBI_MODE_SPI_4WIRE) { in mipi_dbi_lcdic_configure()
299 data->active_cfg = dbi_config; in mipi_dbi_lcdic_configure()
377 const struct mipi_dbi_config *dbi_config, in mipi_dbi_lcdic_write_display() argument
393 ret = mipi_dbi_lcdic_configure(dev, dbi_config); in mipi_dbi_lcdic_write_display()
465 const struct mipi_dbi_config *dbi_config, in mipi_dbi_lcdic_write_cmd() argument
481 ret = mipi_dbi_lcdic_configure(dev, dbi_config); in mipi_dbi_lcdic_write_cmd()
/Zephyr-Core-3.7.0/drivers/display/
Ddisplay_st7796s.c30 const struct mipi_dbi_config dbi_config; member
57 return mipi_dbi_command_write(config->mipi_dbi, &config->dbi_config, in st7796s_send_cmd()
120 if (config->dbi_config.mode == MIPI_DBI_MODE_8080_BUS_8_BIT) { in st7796s_get_pixelfmt()
162 &config->dbi_config, ST7796S_CMD_RAMWR, in st7796s_write()
171 &config->dbi_config, buf, in st7796s_write()
354 .dbi_config = { \
Ddisplay_st7735r.c34 const struct mipi_dbi_config dbi_config; member
76 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in st7735r_transmit_hold()
87 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in st7735r_transmit()
230 &config->dbi_config, in st7735r_write()
243 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in st7735r_write()
495 .dbi_config = MIPI_DBI_CONFIG_DT_INST(inst, \
Ddisplay_ili9xxx.h71 struct mipi_dbi_config dbi_config; member
Duc81xx.c80 const struct mipi_dbi_config dbi_config; member
117 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in uc81xx_write_cmd()
119 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in uc81xx_write_cmd()
134 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in uc81xx_write_cmd_pattern()
152 &config->dbi_config, in uc81xx_write_cmd_pattern()
163 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in uc81xx_write_cmd_pattern()
776 .dbi_config = { \
Ddisplay_st7789v.c28 const struct mipi_dbi_config dbi_config; member
75 mipi_dbi_command_write(config->mipi_dbi, &config->dbi_config, cmd, in st7789v_transmit()
179 mipi_dbi_write_display(config->mipi_dbi, &config->dbi_config, in st7789v_write()
371 .dbi_config = MIPI_DBI_CONFIG_DT_INST(inst, \
Ddisplay_ili9xxx.c72 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in ili9xxx_transmit()
174 &config->dbi_config, in ili9xxx_write()
248 &config->dbi_config, in ili9xxx_read()
522 .dbi_config = { \
Ddisplay_gc9x01x.c34 struct mipi_dbi_config dbi_config; member
225 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in gc9x01x_transmit()
552 &config->dbi_config, in gc9x01x_write()
624 .dbi_config = { \
Dssd16xx.c95 const struct mipi_dbi_config dbi_config; member
133 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in ssd16xx_write_cmd()
135 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in ssd16xx_write_cmd()
157 return mipi_dbi_command_read(config->mipi_dev, &config->dbi_config, in ssd16xx_read_cmd()
918 (config->dbi_config.config.operation & SPI_HALF_DUPLEX) != 0; in ssd16xx_init()
1055 .dbi_config = { \