Home
last modified time | relevance | path

Searched refs:INSIDE_FLS_SECTOR_SIZE (Results 1 – 5 of 5) sorted by relevance

/device/soc/winnermicro/wm800/board/platform/drivers/internalflash/
Dwm_internal_fls.c870 cache = tls_mem_alloc(INSIDE_FLS_SECTOR_SIZE); in tls_fls_write()
878 secpos = offaddr / INSIDE_FLS_SECTOR_SIZE; // Section addr in tls_fls_write()
879 secoff = (offaddr % INSIDE_FLS_SECTOR_SIZE); // Offset in section in tls_fls_write()
880 secremain = INSIDE_FLS_SECTOR_SIZE - secoff; // ����ʣ��ռ��С in tls_fls_write()
885 flashRead(secpos * INSIDE_FLS_SECTOR_SIZE, cache, INSIDE_FLS_SECTOR_SIZE); in tls_fls_write()
887 eraseSector(secpos * INSIDE_FLS_SECTOR_SIZE); in tls_fls_write()
891 for (i = 0; i < (INSIDE_FLS_SECTOR_SIZE / INSIDE_FLS_PAGE_SIZE); i++) { in tls_fls_write()
892 programPage(secpos * INSIDE_FLS_SECTOR_SIZE + i * INSIDE_FLS_PAGE_SIZE, \ in tls_fls_write()
902 if (len > (INSIDE_FLS_SECTOR_SIZE)) { in tls_fls_write()
903 secremain = INSIDE_FLS_SECTOR_SIZE; // ��һ����������д���� in tls_fls_write()
[all …]
/device/soc/winnermicro/wm800/board/src/components/fs/
Dwm_littlefs.c36 return tls_fls_erase(addr/INSIDE_FLS_SECTOR_SIZE); in littlefs_block_erase()
Dwm_fs_init.c57 tls_fls_erase(offset / INSIDE_FLS_SECTOR_SIZE); in lfs_flash_block_erase()
/device/soc/winnermicro/wm800/board/include/driver/
Dwm_internal_flash.h40 #define INSIDE_FLS_SECTOR_SIZE 0x1000 macro
/device/soc/winnermicro/wm800/board/platform/common/params/
Dwm_param.c472 tls_fls_erase(TLS_FLASH_PARAM_RESTORE_ADDR / INSIDE_FLS_SECTOR_SIZE); in tls_param_init()