Searched refs:tmp_config (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_spi.c | 338 struct spi_config tmp_config; in mipi_dbi_spi_read_helper_3wire() local 357 memcpy(&tmp_config, &dbi_config->config, sizeof(tmp_config)); in mipi_dbi_spi_read_helper_3wire() 358 tmp_config.operation &= ~SPI_WORD_SIZE_MASK; in mipi_dbi_spi_read_helper_3wire() 359 tmp_config.operation |= SPI_WORD_SET(9); in mipi_dbi_spi_read_helper_3wire() 367 ret = spi_write(config->spi_dev, &tmp_config, &buf_set); in mipi_dbi_spi_read_helper_3wire() 379 spi_release(config->spi_dev, &tmp_config); /* Really necessary here? */ in mipi_dbi_spi_read_helper_3wire() 390 struct spi_config tmp_config; in mipi_dbi_spi_read_helper_4wire() local 406 memcpy(&tmp_config, &dbi_config->config, sizeof(tmp_config)); in mipi_dbi_spi_read_helper_4wire() 407 tmp_config.operation |= SPI_HOLD_ON_CS; in mipi_dbi_spi_read_helper_4wire() 416 ret = spi_write(config->spi_dev, &tmp_config, &buf_set); in mipi_dbi_spi_read_helper_4wire() [all …]
|
/Zephyr-latest/drivers/memc/ |
D | memc_mcux_flexspi.c | 148 flexspi_device_config_t tmp_config; in memc_flexspi_set_device_config() local 184 memcpy(&tmp_config, device_config, sizeof(tmp_config)); in memc_flexspi_set_device_config() 196 tmp_config.ARDSeqIndex += data->port_luts[port].lut_offset / MEMC_FLEXSPI_CMD_PER_SEQ; in memc_flexspi_set_device_config() 197 tmp_config.AWRSeqIndex += data->port_luts[port].lut_offset / MEMC_FLEXSPI_CMD_PER_SEQ; in memc_flexspi_set_device_config() 202 FLEXSPI_SetFlashConfig(data->base, &tmp_config, port); in memc_flexspi_set_device_config()
|