Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_spi.c67 const struct mipi_dbi_config *dbi_config, in mipi_dbi_spi_write_helper_3wire() argument
85 if ((dbi_config->config.operation & SPI_WORD_SIZE_MASK) in mipi_dbi_spi_write_helper_3wire()
95 ret = spi_write(config->spi_dev, &dbi_config->config, &buf_set); in mipi_dbi_spi_write_helper_3wire()
103 ret = spi_write(config->spi_dev, &dbi_config->config, &buf_set); in mipi_dbi_spi_write_helper_3wire()
116 const struct mipi_dbi_config *dbi_config, in mipi_dbi_spi_write_helper_4wire_8bit() argument
140 ret = spi_write(config->spi_dev, &dbi_config->config, &buf_set); in mipi_dbi_spi_write_helper_4wire_8bit()
152 ret = spi_write(config->spi_dev, &dbi_config->config, &buf_set); in mipi_dbi_spi_write_helper_4wire_8bit()
167 const struct mipi_dbi_config *dbi_config, in mipi_dbi_spi_write_helper_4wire_16bit() argument
193 ret = spi_write(config->spi_dev, &dbi_config->config, in mipi_dbi_spi_write_helper_4wire_16bit()
208 ret = spi_write(config->spi_dev, &dbi_config->config, in mipi_dbi_spi_write_helper_4wire_16bit()
[all …]
Dmipi_dbi_stm32_fmc.c32 const struct mipi_dbi_config *dbi_config; member
36 const struct mipi_dbi_config *dbi_config) in mipi_dbi_stm32_fmc_check_config() argument
42 if (data->dbi_config == dbi_config) { in mipi_dbi_stm32_fmc_check_config()
46 if (dbi_config->mode != MIPI_DBI_MODE_8080_BUS_16_BIT) { in mipi_dbi_stm32_fmc_check_config()
63 if (hclk_freq / fmc_write_cycles > dbi_config->config.frequency) { in mipi_dbi_stm32_fmc_check_config()
68 data->dbi_config = dbi_config; in mipi_dbi_stm32_fmc_check_config()
73 const struct mipi_dbi_config *dbi_config, uint8_t cmd, in mipi_dbi_stm32_fmc_command_write() argument
80 ret = mipi_dbi_stm32_fmc_check_config(dev, dbi_config); in mipi_dbi_stm32_fmc_command_write()
101 const struct mipi_dbi_config *dbi_config, in mipi_dbi_stm32_fmc_write_display() argument
110 ret = mipi_dbi_stm32_fmc_check_config(dev, dbi_config); in mipi_dbi_stm32_fmc_write_display()
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_bitbang.c86 const struct mipi_dbi_config *dbi_config, bool cmd_present, in mipi_dbi_bitbang_write_helper() argument
99 switch (dbi_config->mode) { in mipi_dbi_bitbang_write_helper()
149 LOG_ERR("MIPI DBI mode %u is not supported.", dbi_config->mode); in mipi_dbi_bitbang_write_helper()
158 const struct mipi_dbi_config *dbi_config, uint8_t cmd, in mipi_dbi_bitbang_command_write() argument
161 return mipi_dbi_bitbang_write_helper(dev, dbi_config, true, cmd, data_buf, len); in mipi_dbi_bitbang_command_write()
165 const struct mipi_dbi_config *dbi_config, in mipi_dbi_bitbang_write_display() argument
172 return mipi_dbi_bitbang_write_helper(dev, dbi_config, false, 0x0, framebuf, desc->buf_size); in mipi_dbi_bitbang_write_display()
Dmipi_dbi_nxp_lcdic.c237 const struct mipi_dbi_config *dbi_config) in mipi_dbi_lcdic_configure() argument
241 const struct spi_config *spi_cfg = &dbi_config->config; in mipi_dbi_lcdic_configure()
246 if (dbi_config == data->active_cfg) { in mipi_dbi_lcdic_configure()
274 if (dbi_config->mode == MIPI_DBI_MODE_8080_BUS_8_BIT) { in mipi_dbi_lcdic_configure()
277 } else if (dbi_config->mode == MIPI_DBI_MODE_SPI_4WIRE) { in mipi_dbi_lcdic_configure()
281 } else if (dbi_config->mode == MIPI_DBI_MODE_SPI_3WIRE) { in mipi_dbi_lcdic_configure()
327 data->active_cfg = dbi_config; in mipi_dbi_lcdic_configure()
407 const struct mipi_dbi_config *dbi_config, in mipi_dbi_lcdic_write_display() argument
424 ret = mipi_dbi_lcdic_configure(dev, dbi_config); in mipi_dbi_lcdic_write_display()
517 const struct mipi_dbi_config *dbi_config, in mipi_dbi_lcdic_write_cmd() argument
[all …]
/Zephyr-latest/drivers/display/
Dssd1327.c29 const struct mipi_dbi_config dbi_config; member
54 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, cmd, NULL, 0); in ssd1327_write_bus_cmd()
59 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in ssd1327_write_bus_cmd()
65 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in ssd1327_write_bus_cmd()
220 err = mipi_dbi_write_display(config->mipi_dev, &config->dbi_config, buf, &mipi_desc, in ssd1327_write()
225 return mipi_dbi_release(config->mipi_dev, &config->dbi_config); in ssd1327_write()
333 .dbi_config = { .mode = MIPI_DBI_MODE_SPI_4WIRE, \
Ddisplay_st7796s.c30 const struct mipi_dbi_config dbi_config; member
59 return mipi_dbi_command_write(config->mipi_dbi, &config->dbi_config, in st7796s_send_cmd()
122 if (config->dbi_config.mode == MIPI_DBI_MODE_8080_BUS_8_BIT) { in st7796s_get_pixelfmt()
172 &config->dbi_config, ST7796S_CMD_RAMWR, in st7796s_write()
181 &config->dbi_config, buf, in st7796s_write()
376 .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
Dssd1322.c48 struct mipi_dbi_config dbi_config; member
71 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, cmd, buf, len); in ssd1322_write_command()
149 ret = mipi_dbi_write_display(config->mipi_dev, &config->dbi_config, in ssd1322_write_pixels()
382 .dbi_config = {.mode = MIPI_DBI_MODE_SPI_4WIRE, \
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()
181 mipi_dbi_write_display(config->mipi_dbi, &config->dbi_config, in st7789v_write()
378 .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()
175 &config->dbi_config, in ili9xxx_write()
249 &config->dbi_config, in ili9xxx_read()
523 .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()
553 &config->dbi_config, in gc9x01x_write()
625 .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 = { \