/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/frdmk66f/ |
D | mflash_drv.c | 33 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 36 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 39 result = FLASH_Erase(&s_flashDriver, sector_addr, MFLASH_SECTOR_SIZE, kFLASH_ApiEraseKey); in mflash_drv_sector_erase() 40 DCACHE_InvalidateByRange(sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase() 46 static int32_t mflash_drv_sector_program(uint32_t sector_addr, uint32_t *sector_data, uint32_t sect… in mflash_drv_sector_program() argument 49 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_program() 52 …result = FLASH_Program(&s_flashDriver, (uint32_t)sector_addr, (uint8_t *)sector_data, sector_data_… in mflash_drv_sector_program() 53 DCACHE_InvalidateByRange(sector_addr, sector_data_length); in mflash_drv_sector_program()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/frdmk64f/ |
D | mflash_drv.c | 32 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 35 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 38 result = FLASH_Erase(&s_flashDriver, sector_addr, MFLASH_SECTOR_SIZE, kFLASH_ApiEraseKey); in mflash_drv_sector_erase() 43 static int32_t mflash_drv_sector_program(uint32_t sector_addr, uint32_t *sector_data, uint32_t sect… in mflash_drv_sector_program() argument 46 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_program() 49 …result = FLASH_Program(&s_flashDriver, (uint32_t)sector_addr, (uint8_t *)sector_data, sector_data_… in mflash_drv_sector_program()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55s3x_flexspi/ |
D | mflash_drv.c | 40 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 42 assert(sector_addr >= FLASH_BASE_ADDR); in mflash_drv_sector_erase() 43 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 46 …return FLEXSPI_NorFlash_Erase(0, (flexspi_nor_config_t *)&flashConfig, (sector_addr - FLASH_BASE_A… in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc54s018m/ |
D | mflash_drv.c | 128 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 140 SPIFI_SetCommandAddress(MFLASH_SPIFI, sector_addr); in mflash_drv_sector_erase_internal() 160 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 162 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc54xxx/ |
D | mflash_drv.c | 128 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 140 SPIFI_SetCommandAddress(MFLASH_SPIFI, sector_addr); in mflash_drv_sector_erase_internal() 160 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 162 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1170evkb/ |
D | mflash_drv.c | 354 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 361 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 366 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 383 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 385 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 388 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1160/ |
D | mflash_drv.c | 369 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 376 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 381 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 398 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 400 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 403 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt685/ |
D | mflash_drv.c | 394 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 401 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 406 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 423 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 425 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 428 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1021/ |
D | mflash_drv.c | 366 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 373 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 378 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 395 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 397 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 400 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1024/ |
D | mflash_drv.c | 366 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 373 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 378 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 395 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 397 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 400 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1170/ |
D | mflash_drv.c | 369 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 376 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 381 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 398 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 400 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 403 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt595/ |
D | mflash_drv.c | 380 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 387 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 389 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 406 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 408 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 411 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt685audevk/ |
D | mflash_drv.c | 387 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 394 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 396 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 413 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 415 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 418 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1042/ |
D | mflash_drv.c | 366 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 373 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 378 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 395 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 397 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 400 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1062/ |
D | mflash_drv.c | 366 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 373 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 378 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 395 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 397 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 400 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1064/ |
D | mflash_drv.c | 366 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 373 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 378 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 395 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 397 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 400 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55s3x/ |
D | mflash_drv.c | 48 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 50 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 53 return FLASH_Erase(&g_flash_instance, sector_addr, MFLASH_SECTOR_SIZE, kFLASH_ApiEraseKey); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55xxx/ |
D | mflash_drv.c | 48 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 50 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 53 return FLASH_Erase(&g_flash_instance, sector_addr, MFLASH_SECTOR_SIZE, kFLASH_ApiEraseKey); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1052/ |
D | mflash_drv.c | 327 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 334 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 339 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 356 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 358 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 361 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/ |
D | mflash_common.h | 37 int32_t mflash_drv_sector_erase(uint32_t sector_addr);
|