Searched refs:INSIDE_FLS_SECTOR_SIZE (Results 1 – 5 of 5) sorted by relevance
870 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 …]
36 return tls_fls_erase(addr/INSIDE_FLS_SECTOR_SIZE); in littlefs_block_erase()
57 tls_fls_erase(offset / INSIDE_FLS_SECTOR_SIZE); in lfs_flash_block_erase()
40 #define INSIDE_FLS_SECTOR_SIZE 0x1000 macro
472 tls_fls_erase(TLS_FLASH_PARAM_RESTORE_ADDR / INSIDE_FLS_SECTOR_SIZE); in tls_param_init()