Home
last modified time | relevance | path

Searched refs:flashDesc (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flash/
Dfsl_ftfx_flash.c183 config->ftfxConfig[flashIndex].flashDesc.type = (uint8_t)kFTFx_MemTypePflash; in FLASH_Init()
185 config->ftfxConfig[flashIndex].flashDesc.index = flashIndex; in FLASH_Init()
192 if (0U != (config->ftfxConfig[flashIndex].flashDesc.feature.hasXaccControl)) in FLASH_Init()
199 if (0U != (config->ftfxConfig[flashIndex].flashDesc.feature.hasProtControl)) in FLASH_Init()
544 … returnCode = FLASH_Erase(config, address + (ftfxConfig->flashDesc.totalSize >> 1u), in FLASH_Swap()
600 if (0U != (ftfxConfig->flashDesc.feature.hasProtControl)) in FLASH_IsProtected()
630 while (regionCounter <= ftfxConfig->flashDesc.protectRegionMem.count) in FLASH_IsProtected()
632 flashRegionAddress[regionCounter] = ftfxConfig->flashDesc.protectRegionMem.base + in FLASH_IsProtected()
633 … ftfxConfig->flashDesc.protectRegionMem.size * regionCounter; in FLASH_IsProtected()
656 while (regionCounter < ftfxConfig->flashDesc.protectRegionMem.count) in FLASH_IsProtected()
[all …]
Dfsl_ftfx_flexnvm.c47 config->ftfxConfig.flashDesc.type = (uint8_t)kFTFx_MemTypeFlexnvm; in FLEXNVM_Init()
48 config->ftfxConfig.flashDesc.index = 0U; in FLEXNVM_Init()
58 config->ftfxConfig.flashDesc.blockBase = FSL_FEATURE_FLASH_FLEX_NVM_START_ADDRESS; in FLEXNVM_Init()
60 config->ftfxConfig.flashDesc.aliasBlockBase = FSL_FEATURE_FLASH_FLEX_NVM_ALIAS_START_ADDRESS; in FLEXNVM_Init()
62 config->ftfxConfig.flashDesc.sectorSize = FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_SECTOR_SIZE; in FLEXNVM_Init()
63 config->ftfxConfig.flashDesc.blockCount = FSL_FEATURE_FLASH_FLEX_NVM_BLOCK_COUNT; in FLEXNVM_Init()
333 …if ((config->ftfxConfig.flashDesc.totalSize == 0U) || (config->ftfxConfig.flashDesc.totalSize == 0… in FLEXNVM_DflashSetProtection()
361 …if ((config->ftfxConfig.flashDesc.totalSize == 0U) || (config->ftfxConfig.flashDesc.totalSize == 0… in FLEXNVM_DflashGetProtection()
436 *value = config->ftfxConfig.flashDesc.sectorSize; in FLEXNVM_GetProperty()
440 *value = config->ftfxConfig.flashDesc.totalSize; in FLEXNVM_GetProperty()
[all …]
Dfsl_ftfx_controller.c259 config->flashDesc.totalSize = kDflashDensities[dataIFRReadOut.FlexNVMPartitionCode]; in FTFx_API_UpdateFlexnvmPartitionStatus()
291 sectorSize = config->flashDesc.sectorSize; in FTFx_CMD_Erase()
338 uint32_t lengthInBytes = config->flashDesc.sectorSize; in FTFx_CMD_EraseSectorNonBlocking()
610 sectorSize = config->flashDesc.sectorSize; in FTFx_CMD_ProgramSection()
738 config->flashDesc.totalSize = 0xFFFFFFFFU; in FTFx_CMD_ProgramPartition()
889 blockSize = config->flashDesc.totalSize / config->flashDesc.blockCount; in FTFx_CMD_VerifyErase()
1158 if ((address >= (config->flashDesc.totalSize / 2u)) || in FTFx_CMD_SwapControl()
1220 config->ifrDesc.resRange.pflashSwapIfrStart = config->flashDesc.totalSize / 4; in ftfx_init_ifr()
1345 if ((startAddress >= config->flashDesc.blockBase) && in ftfx_check_mem_range()
1346 … ((startAddress + lengthInBytes) <= (config->flashDesc.blockBase + config->flashDesc.totalSize))) in ftfx_check_mem_range()
[all …]
Dfsl_ftfx_controller.h324 ftfx_mem_desc_t flashDesc; member