Lines Matching refs:dbi_config
189 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()
329 const struct mipi_dbi_config *dbi_config, in mipi_dbi_smartbond_write_display() argument
363 lcdc_smartbond_mipi_dbi_translation(dbi_config, &mipi_dbi_cfg, pixfmt); in mipi_dbi_smartbond_write_display()