/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/ |
D | mflash_file.c | 164 phys_addr = mflash_drv_log2phys((uint8_t *)fs + sector_offset, MFLASH_SECTOR_SIZE); in mflash_fs_sector_erase() 253 if (fs->header.page_size != MFLASH_PAGE_SIZE || fs->header.sector_size != MFLASH_SECTOR_SIZE) in mflash_fs_check() 361 uint32_t file_sectors = (dt->max_size + MFLASH_SECTOR_SIZE - 1) / MFLASH_SECTOR_SIZE; in mflash_format_internal() 367 dir_sectors = (dir_size + MFLASH_SECTOR_SIZE - 1) / MFLASH_SECTOR_SIZE; in mflash_format_internal() 371 if ((0 != fs_size_limit) && (fs_size_limit < total_sectors * MFLASH_SECTOR_SIZE)) in mflash_format_internal() 379 status = mflash_fs_sector_erase(fs, i * MFLASH_SECTOR_SIZE); in mflash_format_internal() 389 file_offset = total_sectors * MFLASH_SECTOR_SIZE; in mflash_format_internal() 404 uint32_t file_sectors = (dt->max_size + MFLASH_SECTOR_SIZE - 1) / MFLASH_SECTOR_SIZE; in mflash_format_internal() 407 dr->alloc_size = file_sectors * MFLASH_SECTOR_SIZE; in mflash_format_internal() 433 fsh->sector_size = MFLASH_SECTOR_SIZE; in mflash_format_internal() [all …]
|
D | mflash_common.h | 22 #define mflash_drv_is_sector_aligned(x) (((x) % (MFLASH_SECTOR_SIZE)) == 0)
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/frdmk66f/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (4096) macro 19 #define MFLASH_PAGE_SIZE (MFLASH_SECTOR_SIZE)
|
D | mflash_drv.c | 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()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/frdmk64f/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (4096) macro 19 #define MFLASH_PAGE_SIZE (MFLASH_SECTOR_SIZE)
|
D | mflash_drv.c | 38 result = FLASH_Erase(&s_flashDriver, sector_addr, MFLASH_SECTOR_SIZE, kFLASH_ApiEraseKey); in mflash_drv_sector_erase()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc54s018m/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (4096) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc54xxx/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (4096) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55s3x/ |
D | mflash_drv.h | 18 #ifndef MFLASH_SECTOR_SIZE 19 #define MFLASH_SECTOR_SIZE (512) macro
|
D | mflash_drv.c | 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/lpc55s3x_flexspi/ |
D | mflash_drv.h | 18 #ifndef MFLASH_SECTOR_SIZE 19 #define MFLASH_SECTOR_SIZE (4096) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1160/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (0x1000) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1170/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (0x1000) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1170evkb/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (0x1000) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1021/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (0x1000) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1024/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (0x1000) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1042/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (0x1000) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1052/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (0x40000) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1062/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (0x1000) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt685/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (4096U) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55xxx/ |
D | mflash_drv.h | 18 #ifndef MFLASH_SECTOR_SIZE 19 #define MFLASH_SECTOR_SIZE (512) macro
|
D | mflash_drv.c | 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/mimxrt685audevk/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (4096U) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1064/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (0x1000) macro
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt595/ |
D | mflash_drv.h | 13 #ifndef MFLASH_SECTOR_SIZE 14 #define MFLASH_SECTOR_SIZE (4096U) macro
|