Home
last modified time | relevance | path

Searched refs:disk_version (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/include/zephyr/fs/
Dlittlefs.h26 #define FS_LITTLEFS_DISK_VERSION_MAJOR_GET(disk_version) FIELD_GET(GENMASK(31, 16), disk_version) argument
34 #define FS_LITTLEFS_DISK_VERSION_MINOR_GET(disk_version) FIELD_GET(GENMASK(15, 0), disk_version) argument
/Zephyr-latest/subsys/fs/
Dlittlefs_fs.c793 uint32_t disk_version = lcp->disk_version; in littlefs_init_cfg() local
795 if (disk_version == 0) { in littlefs_init_cfg()
796 disk_version = LFS_DISK_VERSION; in littlefs_init_cfg()
894 lcp->disk_version = disk_version; in littlefs_init_cfg()
896 (uint32_t)FS_LITTLEFS_DISK_VERSION_MAJOR_GET(disk_version), in littlefs_init_cfg()
897 (uint32_t)FS_LITTLEFS_DISK_VERSION_MINOR_GET(disk_version)); in littlefs_init_cfg()
1074 .disk_version = DT_INST_PROP_OR(inst, disk_version, LFS_DISK_VERSION),