Lines Matching refs:lengthInBytes
80 status_t FLEXNVM_DflashErase(flexnvm_config_t *config, uint32_t start, uint32_t lengthInBytes, uint… in FLEXNVM_DflashErase() argument
89 return FTFx_CMD_Erase(&config->ftfxConfig, start, lengthInBytes, key); in FLEXNVM_DflashErase()
113 …EXNVM_DflashProgram(flexnvm_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInBytes) in FLEXNVM_DflashProgram() argument
122 return FTFx_CMD_Program(&config->ftfxConfig, start, src, lengthInBytes); in FLEXNVM_DflashProgram()
129 …flashProgramSection(flexnvm_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInBytes) in FLEXNVM_DflashProgramSection() argument
139 return FTFx_CMD_ProgramSection(&config->ftfxConfig, start, src, lengthInBytes); in FLEXNVM_DflashProgramSection()
160 …flexnvm_config_t *config, uint32_t start, uint8_t *dst, uint32_t lengthInBytes, ftfx_read_resource… in FLEXNVM_ReadResource() argument
162 return FTFx_CMD_ReadResource(&config->ftfxConfig, start, dst, lengthInBytes, option); in FLEXNVM_ReadResource()
171 uint32_t lengthInBytes, in FLEXNVM_DflashVerifyErase() argument
181 return FTFx_CMD_VerifyErase(&config->ftfxConfig, start, lengthInBytes, margin); in FLEXNVM_DflashVerifyErase()
197 uint32_t lengthInBytes, in FLEXNVM_DflashVerifyProgram() argument
210 …return FTFx_CMD_VerifyProgram(&config->ftfxConfig, start, lengthInBytes, expectedData, margin, fai… in FLEXNVM_DflashVerifyProgram()
243 …FLEXNVM_EepromWrite(flexnvm_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInBytes) in FLEXNVM_EepromWrite() argument
255 …((start + lengthInBytes) > (config->ftfxConfig.flexramBlockBase + config->ftfxConfig.eepromTotalSi… in FLEXNVM_EepromWrite()
275 while (lengthInBytes > 0U) in FLEXNVM_EepromWrite()
277 if ((0U == (start & 0x3U)) && (0U == ((uint32_t)src & 0x3U)) && (lengthInBytes >= 4U)) in FLEXNVM_EepromWrite()
282 lengthInBytes -= 4U; in FLEXNVM_EepromWrite()
284 else if ((0U == (start & 0x1U)) && (0U == ((uint32_t)src & 0x1U)) && (lengthInBytes >= 2U)) in FLEXNVM_EepromWrite()
289 lengthInBytes -= 2U; in FLEXNVM_EepromWrite()
296 lengthInBytes -= 1U; in FLEXNVM_EepromWrite()