Lines Matching refs:lengthInBytes
271 uint32_t lengthInBytes,
278 uint32_t lengthInBytes,
605 status_t FLASH_Erase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_Erase() argument
620 …returnCode = flash_check_range(config, start, lengthInBytes, flashOperationInfo.sectorCmdAddressAl… in FLASH_Erase()
636 endAddress = start + lengthInBytes - 1U; in FLASH_Erase()
716 status_t FLASH_EraseEEprom(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t… in FLASH_EraseEEprom() argument
730 returnCode = EEPROM_check_range(config, start, lengthInBytes, config->EEpromSectorSize); in FLASH_EraseEEprom()
745 endAddress = start + lengthInBytes - 1UL; in FLASH_EraseEEprom()
859 …atus_t FLASH_Program(flash_config_t *config, uint32_t start, uint32_t *src, uint32_t lengthInBytes) in FLASH_Program() argument
876 …returnCode = flash_check_range(config, start, lengthInBytes, flashOperationInfo.blockWriteUnitSize… in FLASH_Program()
884 while (lengthInBytes > 0UL) in FLASH_Program()
938 lengthInBytes -= flashOperationInfo.blockWriteUnitSize; in FLASH_Program()
973 …_t FLASH_ProgramOnce(flash_config_t *config, uint32_t index, uint32_t *src, uint32_t lengthInBytes) in FLASH_ProgramOnce() argument
1014 …s_t FLASH_EepromWrite(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInBytes) in FLASH_EepromWrite() argument
1026 ((start + lengthInBytes) > (config->EEpromBlockBase + config->EEpromTotalSize))) in FLASH_EepromWrite()
1035 while (lengthInBytes > 0UL) in FLASH_EepromWrite()
1040 if (lengthInBytes >= 4UL) in FLASH_EepromWrite()
1070 lengthInBytes -= 4UL; in FLASH_EepromWrite()
1073 else if (lengthInBytes > 0UL) in FLASH_EepromWrite()
1080 for (i = 0UL; i < lengthInBytes; i++) in FLASH_EepromWrite()
1086 lengthInBytes = 0UL; in FLASH_EepromWrite()
1121 …tus_t FLASH_ReadOnce(flash_config_t *config, uint32_t index, uint32_t *dst, uint32_t lengthInBytes) in FLASH_ReadOnce() argument
1404 status_t FLASH_VerifyErase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, flash_ma… in FLASH_VerifyErase() argument
1418 …returnCode = flash_check_range(config, start, lengthInBytes, flashOperationInfo.sectionCmdAddressA… in FLASH_VerifyErase()
1438 remainingBytes = lengthInBytes; in FLASH_VerifyErase()
1520 uint32_t lengthInBytes, in FLASH_IsProtected() argument
1527 if ((protection_state == NULL) || (lengthInBytes == 0UL)) in FLASH_IsProtected()
1533 …returnCode = flash_check_range(config, start, lengthInBytes, FSL_FEATURE_FLASH_PFLASH_BLOCK_WRITE_… in FLASH_IsProtected()
1547 endAddress = start + lengthInBytes; in FLASH_IsProtected()
2309 uint32_t lengthInBytes, in flash_check_range() argument
2319 …if ((0UL != (startAddress & (alignmentBaseline - 1UL))) || (0UL != (lengthInBytes & (alignmentBase… in flash_check_range()
2326 ((startAddress + lengthInBytes) <= (config->PFlashBlockBase + config->PFlashTotalSize))) in flash_check_range()
2338 uint32_t lengthInBytes, in EEPROM_check_range() argument
2348 …if ((0UL != (startAddress & (alignmentBaseline - 1UL))) || (0UL != (lengthInBytes & (alignmentBase… in EEPROM_check_range()
2355 ((startAddress + lengthInBytes) <= (config->EEpromBlockBase + config->EEpromTotalSize))) in EEPROM_check_range()