Home
last modified time | relevance | path

Searched refs:MFLASH_SECTOR_SIZE (Results 1 – 25 of 37) sorted by relevance

12

/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/
Dmflash_file.c164 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 …]
Dmflash_common.h22 #define mflash_drv_is_sector_aligned(x) (((x) % (MFLASH_SECTOR_SIZE)) == 0)
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/frdmk66f/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (4096) macro
19 #define MFLASH_PAGE_SIZE (MFLASH_SECTOR_SIZE)
Dmflash_drv.c39 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/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (4096) macro
19 #define MFLASH_PAGE_SIZE (MFLASH_SECTOR_SIZE)
Dmflash_drv.c38 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/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (4096) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc54xxx/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (4096) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55s3x/
Dmflash_drv.h18 #ifndef MFLASH_SECTOR_SIZE
19 #define MFLASH_SECTOR_SIZE (512) macro
Dmflash_drv.c53 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/
Dmflash_drv.h18 #ifndef MFLASH_SECTOR_SIZE
19 #define MFLASH_SECTOR_SIZE (4096) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1160/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (0x1000) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1170/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (0x1000) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1170evkb/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (0x1000) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1021/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (0x1000) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1024/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (0x1000) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1042/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (0x1000) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1052/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (0x40000) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1062/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (0x1000) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt685/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (4096U) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55xxx/
Dmflash_drv.h18 #ifndef MFLASH_SECTOR_SIZE
19 #define MFLASH_SECTOR_SIZE (512) macro
Dmflash_drv.c53 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/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (4096U) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1064/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (0x1000) macro
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt595/
Dmflash_drv.h13 #ifndef MFLASH_SECTOR_SIZE
14 #define MFLASH_SECTOR_SIZE (4096U) macro

12