Lines Matching refs:flexspi_config
275 flexspi_config_t flexspi_config; in memc_flexspi_init() local
296 FLEXSPI_GetDefaultConfig(&flexspi_config); in memc_flexspi_init()
298 flexspi_config.ahbConfig.enableAHBBufferable = data->ahb_bufferable; in memc_flexspi_init()
299 flexspi_config.ahbConfig.enableAHBCachable = data->ahb_cacheable; in memc_flexspi_init()
300 flexspi_config.ahbConfig.enableAHBPrefetch = data->ahb_prefetch; in memc_flexspi_init()
301 flexspi_config.ahbConfig.enableReadAddressOpt = data->ahb_read_addr_opt; in memc_flexspi_init()
304 flexspi_config.enableCombination = data->combination_mode; in memc_flexspi_init()
309 flexspi_config.enableSckBDiffOpt = data->sck_differential_clock; in memc_flexspi_init()
311 flexspi_config.rxSampleClock = data->rx_sample_clock; in memc_flexspi_init()
314 flexspi_config.rxSampleClockPortB = data->rx_sample_clock_b; in memc_flexspi_init()
317 if (flexspi_config.rxSampleClock != flexspi_config.rxSampleClockPortB) { in memc_flexspi_init()
318 flexspi_config.rxSampleClockDiff = true; in memc_flexspi_init()
328 flexspi_config.ahbConfig.buffer[i].enablePrefetch = data->buf_cfg[i].prefetch; in memc_flexspi_init()
330 flexspi_config.ahbConfig.buffer[i].priority = data->buf_cfg[i].priority; in memc_flexspi_init()
332 flexspi_config.ahbConfig.buffer[i].masterIndex = data->buf_cfg[i].master_id; in memc_flexspi_init()
334 flexspi_config.ahbConfig.buffer[i].bufferSize = data->buf_cfg[i].buf_size; in memc_flexspi_init()
344 FLEXSPI_Init(data->base, &flexspi_config); in memc_flexspi_init()