Lines Matching refs:lengthInBytes

102                                      uint32_t lengthInBytes,
118 uint32_t lengthInBytes,
268 status_t FTFx_CMD_Erase(ftfx_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FTFx_CMD_Erase() argument
277 …returnCode = ftfx_check_mem_range(config, start, lengthInBytes, config->opsConfig.addrAligment.sec… in FTFx_CMD_Erase()
294 endAddress = eraseStart + lengthInBytes - 1U; in FTFx_CMD_Erase()
338 uint32_t lengthInBytes = config->flashDesc.sectorSize; in FTFx_CMD_EraseSectorNonBlocking() local
340 returnCode = ftfx_check_mem_range(config, start, lengthInBytes, aligmentInBytes); in FTFx_CMD_EraseSectorNonBlocking()
476 …FTFx_CMD_Program(ftfx_config_t *config, uint32_t start, const uint8_t *src, uint32_t lengthInBytes) in FTFx_CMD_Program() argument
488 returnCode = ftfx_check_mem_range(config, start, lengthInBytes, blockWriteUnitSize); in FTFx_CMD_Program()
495 remainingLength = lengthInBytes; in FTFx_CMD_Program()
542 …_CMD_ProgramOnce(ftfx_config_t *config, uint32_t index, const uint8_t *src, uint32_t lengthInBytes) in FTFx_CMD_ProgramOnce() argument
565 (lengthInBytes == 8U)) in FTFx_CMD_ProgramOnce()
586 …D_ProgramSection(ftfx_config_t *config, uint32_t start, const uint8_t *src, uint32_t lengthInBytes) in FTFx_CMD_ProgramSection() argument
603 returnCode = ftfx_check_mem_range(config, start, lengthInBytes, aligmentInBytes); in FTFx_CMD_ProgramSection()
626 while (lengthInBytes > 0U) in FTFx_CMD_ProgramSection()
638 if ((lengthInBytes + programaddress) > endAddressOfCurrentSector) in FTFx_CMD_ProgramSection()
644 lengthTobeProgrammedOfCurrentSector = lengthInBytes; in FTFx_CMD_ProgramSection()
686 lengthInBytes -= currentOffset; in FTFx_CMD_ProgramSection()
748 …us_t FTFx_CMD_ReadOnce(ftfx_config_t *config, uint32_t index, uint8_t *dst, uint32_t lengthInBytes) in FTFx_CMD_ReadOnce() argument
775 (lengthInBytes == 8U)) in FTFx_CMD_ReadOnce()
798 …ftfx_config_t *config, uint32_t start, uint8_t *dst, uint32_t lengthInBytes, ftfx_read_resource_op… in FTFx_CMD_ReadResource() argument
806 readlengthBytes = lengthInBytes; in FTFx_CMD_ReadResource()
871 status_t FTFx_CMD_VerifyErase(ftfx_config_t *config, uint32_t start, uint32_t lengthInBytes, ftfx_m… in FTFx_CMD_VerifyErase() argument
882 returnCode = ftfx_check_mem_range(config, start, lengthInBytes, aligmentInBytes); in FTFx_CMD_VerifyErase()
899 remainingBytes = lengthInBytes; in FTFx_CMD_VerifyErase()
978 uint32_t lengthInBytes, in FTFx_CMD_VerifyProgram() argument
988 programlength = lengthInBytes; in FTFx_CMD_VerifyProgram()
995 returnCode = ftfx_check_mem_range(config, start, lengthInBytes, aligmentInBytes); in FTFx_CMD_VerifyProgram()
1332 uint32_t lengthInBytes, in ftfx_check_mem_range() argument
1339 (0U != (lengthInBytes & (uint8_t)(alignmentBaseline - 1U)))) in ftfx_check_mem_range()
1346 … ((startAddress + lengthInBytes) <= (config->flashDesc.blockBase + config->flashDesc.totalSize))) in ftfx_check_mem_range()
1352 …((startAddress + lengthInBytes) <= (config->flashDesc.aliasBlockBase + config->flashDesc.totalSize… in ftfx_check_mem_range()
1424 uint32_t lengthInBytes, in ftfx_check_resource_range() argument
1431 …if ((0U != (start & (alignmentBaseline - 1u))) || (0U != (lengthInBytes & (alignmentBaseline - 1u)… in ftfx_check_resource_range()
1438 maxReadbleAddress = start + lengthInBytes - 1u; in ftfx_check_resource_range()
1443 (lengthInBytes != config->ifrDesc.resRange.versionIdSize)) in ftfx_check_resource_range()