Lines Matching refs:lengthInBytes
71 uint32_t lengthInBytes,
238 status_t FLASH_Erase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_Erase() argument
244 returnCode = flash_check_range_to_get_index(config, start, lengthInBytes, &flashIndex); in FLASH_Erase()
253 return FTFx_CMD_Erase(&config->ftfxConfig[flashIndex], start, lengthInBytes, key); in FLASH_Erase()
266 uint32_t lengthInBytes = FSL_FEATURE_FLASH_PFLASH_BLOCK_SECTOR_SIZE; in FLASH_EraseSectorNonBlocking() local
269 returnCode = flash_check_range_to_get_index(config, start, lengthInBytes, &flashIndex); in FLASH_EraseSectorNonBlocking()
305 status_t FLASH_Program(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInBytes) in FLASH_Program() argument
311 returnCode = flash_check_range_to_get_index(config, start, lengthInBytes, &flashIndex); in FLASH_Program()
320 return FTFx_CMD_Program(&config->ftfxConfig[flashIndex], start, src, lengthInBytes); in FLASH_Program()
326 …s_t FLASH_ProgramOnce(flash_config_t *config, uint32_t index, uint8_t *src, uint32_t lengthInBytes) in FLASH_ProgramOnce() argument
328 return FTFx_CMD_ProgramOnce(&config->ftfxConfig[0], index, src, lengthInBytes); in FLASH_ProgramOnce()
339 … FLASH_ProgramSection(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInBytes) in FLASH_ProgramSection() argument
345 returnCode = flash_check_range_to_get_index(config, start, lengthInBytes, &flashIndex); in FLASH_ProgramSection()
354 return FTFx_CMD_ProgramSection(&config->ftfxConfig[flashIndex], start, src, lengthInBytes); in FLASH_ProgramSection()
363 …flash_config_t *config, uint32_t start, uint8_t *dst, uint32_t lengthInBytes, ftfx_read_resource_o… in FLASH_ReadResource() argument
365 return FTFx_CMD_ReadResource(&config->ftfxConfig[0], start, dst, lengthInBytes, option); in FLASH_ReadResource()
372 …atus_t FLASH_ReadOnce(flash_config_t *config, uint32_t index, uint8_t *dst, uint32_t lengthInBytes) in FLASH_ReadOnce() argument
374 return FTFx_CMD_ReadOnce(&config->ftfxConfig[0], index, dst, lengthInBytes); in FLASH_ReadOnce()
384 status_t FLASH_VerifyErase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, ftfx_mar… in FLASH_VerifyErase() argument
390 returnCode = flash_check_range_to_get_index(config, start, lengthInBytes, &flashIndex); in FLASH_VerifyErase()
399 return FTFx_CMD_VerifyErase(&config->ftfxConfig[flashIndex], start, lengthInBytes, margin); in FLASH_VerifyErase()
419 uint32_t lengthInBytes, in FLASH_VerifyProgram() argument
429 returnCode = flash_check_range_to_get_index(config, start, lengthInBytes, &flashIndex); in FLASH_VerifyProgram()
438 …return FTFx_CMD_VerifyProgram(&config->ftfxConfig[flashIndex], start, lengthInBytes, expectedData,… in FLASH_VerifyProgram()
579 uint32_t lengthInBytes, in FLASH_IsProtected() argument
591 returnCode = flash_check_range_to_get_index(config, start, lengthInBytes, &flashIndex); in FLASH_IsProtected()
625 endAddress = start + lengthInBytes; in FLASH_IsProtected()
779 uint32_t lengthInBytes, in FLASH_IsExecuteOnly() argument
791 returnCode = flash_check_range_to_get_index(config, start, lengthInBytes, &flashIndex); in FLASH_IsExecuteOnly()
803 uint32_t endAddress = start + lengthInBytes; in FLASH_IsExecuteOnly()
1399 uint32_t lengthInBytes, in flash_check_range_to_get_index() argument
1411 ((start + lengthInBytes) <= in flash_check_range_to_get_index()