Home
last modified time | relevance | path

Searched refs:nvs_fs (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-2.7.6/include/fs/
Dnvs.h47 struct nvs_fs { struct
80 int nvs_init(struct nvs_fs *fs, const char *dev_name);
90 int nvs_clear(struct nvs_fs *fs);
106 ssize_t nvs_write(struct nvs_fs *fs, uint16_t id, const void *data, size_t len);
118 int nvs_delete(struct nvs_fs *fs, uint16_t id);
135 ssize_t nvs_read(struct nvs_fs *fs, uint16_t id, void *data, size_t len);
153 ssize_t nvs_read_hist(struct nvs_fs *fs, uint16_t id, void *data, size_t len, uint16_t cnt);
166 ssize_t nvs_calc_free_space(struct nvs_fs *fs);
/Zephyr-Core-2.7.6/subsys/fs/nvs/
Dnvs.c21 static inline size_t nvs_al_size(struct nvs_fs *fs, size_t len) in nvs_al_size()
34 static int nvs_flash_al_wrt(struct nvs_fs *fs, uint32_t addr, const void *data, in nvs_flash_al_wrt()
77 static int nvs_flash_rd(struct nvs_fs *fs, uint32_t addr, void *data, in nvs_flash_rd()
93 static int nvs_flash_ate_wrt(struct nvs_fs *fs, const struct nvs_ate *entry) in nvs_flash_ate_wrt()
105 static int nvs_flash_data_wrt(struct nvs_fs *fs, const void *data, size_t len) in nvs_flash_data_wrt()
116 static int nvs_flash_ate_rd(struct nvs_fs *fs, uint32_t addr, in nvs_flash_ate_rd()
130 static int nvs_flash_block_cmp(struct nvs_fs *fs, uint32_t addr, const void *data, in nvs_flash_block_cmp()
162 static int nvs_flash_cmp_const(struct nvs_fs *fs, uint32_t addr, uint8_t value, in nvs_flash_cmp_const()
188 static int nvs_flash_block_move(struct nvs_fs *fs, uint32_t addr, size_t len) in nvs_flash_block_move()
216 static int nvs_flash_erase_sector(struct nvs_fs *fs, uint32_t addr) in nvs_flash_erase_sector()
[all …]
/Zephyr-Core-2.7.6/subsys/settings/include/settings/
Dsettings_nvs.h38 struct nvs_fs cf_nvs;
/Zephyr-Core-2.7.6/samples/subsys/nvs/src/
Dmain.c49 static struct nvs_fs fs;
/Zephyr-Core-2.7.6/tests/subsys/fs/nvs/src/
Dmain.c33 static struct nvs_fs fs;
267 struct nvs_fs *fs) in write_content()
283 static void check_content(uint16_t max_id, struct nvs_fs *fs) in check_content()
/Zephyr-Core-2.7.6/subsys/settings/src/
Dsettings_nvs.c20 struct nvs_fs *fs;
/Zephyr-Core-2.7.6/doc/reference/storage/nvs/
Dnvs.rst43 static struct nvs_fs fs = {
/Zephyr-Core-2.7.6/subsys/mgmt/hawkbit/
Dhawkbit.c67 static struct nvs_fs fs;