Lines Matching refs:configValue
254 uint32_t configValue = 0; in FLEXSPI_Init() local
272 …configValue = FLEXSPI_MCR0_RXCLKSRC(config->rxSampleClock) | FLEXSPI_MCR0_DOZEEN(config->enableDoz… in FLEXSPI_Init()
287 base->MCR0 = configValue; in FLEXSPI_Init()
290 configValue = in FLEXSPI_Init()
292 base->MCR1 = configValue; in FLEXSPI_Init()
295 configValue = base->MCR2; in FLEXSPI_Init()
296 …configValue &= ~(FLEXSPI_MCR2_RESUMEWAIT_MASK | FLEXSPI_MCR2_SCKBDIFFOPT_MASK | FLEXSPI_MCR2_SAMED… in FLEXSPI_Init()
298 configValue |= FLEXSPI_MCR2_RESUMEWAIT(config->ahbConfig.resumeWaitCycle) | in FLEXSPI_Init()
303 base->MCR2 = configValue; in FLEXSPI_Init()
306 configValue = base->AHBCR; in FLEXSPI_Init()
307 …configValue &= ~(FLEXSPI_AHBCR_READADDROPT_MASK | FLEXSPI_AHBCR_PREFETCHEN_MASK | FLEXSPI_AHBCR_BU… in FLEXSPI_Init()
309 configValue |= FLEXSPI_AHBCR_READADDROPT(config->ahbConfig.enableReadAddressOpt) | in FLEXSPI_Init()
313 base->AHBCR = configValue; in FLEXSPI_Init()
318 configValue = base->AHBRXBUFCR0[i]; in FLEXSPI_Init()
320 configValue &= ~(FLEXSPI_AHBRXBUFCR0_PREFETCHEN_MASK | FLEXSPI_AHBRXBUFCR0_PRIORITY_MASK | in FLEXSPI_Init()
322 configValue |= FLEXSPI_AHBRXBUFCR0_PREFETCHEN(config->ahbConfig.buffer[i].enablePrefetch) | in FLEXSPI_Init()
326 base->AHBRXBUFCR0[i] = configValue; in FLEXSPI_Init()
418 uint32_t configValue = 0; in FLEXSPI_UpdateDllValue() local
428 configValue = FLEXSPI_CalculateDll(base, config); in FLEXSPI_UpdateDllValue()
429 base->DLLCR[index] = configValue; in FLEXSPI_UpdateDllValue()
441 if (0U != (configValue & FLEXSPI_DLLCR_DLLEN_MASK)) in FLEXSPI_UpdateDllValue()
469 uint32_t configValue = 0; in FLEXSPI_SetFlashConfig() local
487 configValue = base->FLSHCR2[port]; in FLEXSPI_SetFlashConfig()
489 …configValue &= ~(FLEXSPI_FLSHCR2_AWRWAITUNIT_MASK | FLEXSPI_FLSHCR2_AWRWAIT_MASK | FLEXSPI_FLSHCR2… in FLEXSPI_SetFlashConfig()
492 configValue |= in FLEXSPI_SetFlashConfig()
497 configValue |= FLEXSPI_FLSHCR2_AWRSEQID((uint32_t)config->AWRSeqIndex) | in FLEXSPI_SetFlashConfig()
503 configValue |= FLEXSPI_FLSHCR2_ARDSEQID((uint32_t)config->ARDSeqIndex) | in FLEXSPI_SetFlashConfig()
507 base->FLSHCR2[port] = configValue; in FLEXSPI_SetFlashConfig()
763 uint32_t configValue = 0; in FLEXSPI_TransferBlocking() local
783 configValue = FLEXSPI_IPCR1_IDATSZ(xfer->dataSize); in FLEXSPI_TransferBlocking()
787 configValue |= in FLEXSPI_TransferBlocking()
789 base->IPCR1 = configValue; in FLEXSPI_TransferBlocking()
871 uint32_t configValue = 0; in FLEXSPI_TransferNonBlocking() local
906 configValue = FLEXSPI_IPCR1_IDATSZ(xfer->dataSize); in FLEXSPI_TransferNonBlocking()
910 configValue |= in FLEXSPI_TransferNonBlocking()
912 base->IPCR1 = configValue; in FLEXSPI_TransferNonBlocking()