/hal_nxp-3.7.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.7.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.7.0/mcux/mcux-sdk/components/flash/mflash/mcxnx4x_fmu/ |
D | mflash_drv.c | 104 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 109 if ((sector_addr % MFLASH_SECTOR_SIZE) != 0) in mflash_drv_sector_erase() 129 *(uint32_t *)(sector_addr) = 0UL; in mflash_drv_sector_erase() 130 *(uint32_t *)(sector_addr + 0x04) = 0UL; in mflash_drv_sector_erase() 131 *(uint32_t *)(sector_addr + 0x08) = 0UL; in mflash_drv_sector_erase() 132 *(uint32_t *)(sector_addr + 0x0C) = 0UL; in mflash_drv_sector_erase()
|
/hal_nxp-3.7.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.7.0/mcux/mcux-sdk/components/flash/mflash/mcxnx4x_flexspi/ |
D | mflash_drv.c | 78 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 83 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 88 status = FLEXSPI_NorFlash_Erase(0, (flexspi_nor_config_t *)&flashConfig, sector_addr, in mflash_drv_sector_erase() 91 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase()
|
/hal_nxp-3.7.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.7.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1170evkb/ |
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.7.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.7.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.7.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.7.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1021/ |
D | mflash_drv.c | 378 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 385 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 390 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 407 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 409 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 412 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.7.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.7.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.7.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.7.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1160/ |
D | mflash_drv.c | 381 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 388 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 393 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 410 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 412 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 415 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1170/ |
D | mflash_drv.c | 381 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 388 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 393 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 410 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 412 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 415 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/flash/mflash/evkcmimxrt1060/ |
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.7.0/mcux/mcux-sdk/components/flash/mflash/rdrw612bga/ |
D | mflash_drv.c | 398 static int32_t mflash_drv_sector_erase_internal(uint32_t sector_addr) in mflash_drv_sector_erase_internal() argument 405 status = flexspi_nor_flash_sector_erase(MFLASH_FLEXSPI, sector_addr); in mflash_drv_sector_erase_internal() 407 DCACHE_InvalidateByRange(MFLASH_BASE_ADDRESS + sector_addr, MFLASH_SECTOR_SIZE); in mflash_drv_sector_erase_internal() 424 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 426 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 429 return mflash_drv_sector_erase_internal(sector_addr); in mflash_drv_sector_erase()
|
/hal_nxp-3.7.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.7.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.7.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.7.0/mcux/mcux-sdk/components/flash/mflash/mcxnx4x/ |
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.7.0/mcux/mcux-sdk/components/flash/mflash/lpc55s3x/ |
D | mflash_drv.c | 53 int32_t mflash_drv_sector_erase(uint32_t sector_addr) in mflash_drv_sector_erase() argument 55 if (0 == mflash_drv_is_sector_aligned(sector_addr)) in mflash_drv_sector_erase() 58 return FLASH_Erase(&g_flash_instance, sector_addr, MFLASH_SECTOR_SIZE, kFLASH_ApiEraseKey); in mflash_drv_sector_erase()
|
/hal_nxp-3.7.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.7.0/mcux/mcux-sdk/components/flash/mflash/ |
D | mflash_common.h | 37 int32_t mflash_drv_sector_erase(uint32_t sector_addr);
|