Lines Matching refs:NVS_NAMECNT_ID
101 if (cf->cache[i].name_id <= NVS_NAMECNT_ID) { in settings_nvs_cache_match()
119 return NVS_NAMECNT_ID; in settings_nvs_cache_match()
132 uint16_t name_id = NVS_NAMECNT_ID; in settings_nvs_load()
145 if (name_id == NVS_NAMECNT_ID) { in settings_nvs_load()
169 nvs_write(&cf->cf_nvs, NVS_NAMECNT_ID, in settings_nvs_load()
187 nvs_write(&cf->cf_nvs, NVS_NAMECNT_ID, in settings_nvs_load()
235 if (name_id != NVS_NAMECNT_ID) { in settings_nvs_save()
256 if (name_id == NVS_NAMECNT_ID) { in settings_nvs_save()
286 if (name_id == NVS_NAMECNT_ID) { in settings_nvs_save()
302 rc = nvs_write(&cf->cf_nvs, NVS_NAMECNT_ID, in settings_nvs_save()
316 if (write_name_id == NVS_NAMECNT_ID + NVS_NAME_ID_OFFSET) { in settings_nvs_save()
323 rc = nvs_write(&cf->cf_nvs, NVS_NAMECNT_ID, &cf->last_name_id, in settings_nvs_save()
373 rc = nvs_read(&cf->cf_nvs, NVS_NAMECNT_ID, &last_name_id, in settings_nvs_backend_init()
376 cf->last_name_id = NVS_NAMECNT_ID; in settings_nvs_backend_init()