Home
last modified time | relevance | path

Searched refs:nvs (Results 1 – 25 of 34) sorted by relevance

12

/device/soc/esp/esp32/components/esp_lwip/port/netif/
Ddhcp_state.c33 nvs_handle_t nvs; in dhcp_ip_addr_restore() local
41 if (nvs_open(DHCP_NAMESPACE, NVS_READONLY, &nvs) == ESP_OK) { in dhcp_ip_addr_restore()
42 if (nvs_get_u32(nvs, esp_netif_get_ifkey(esp_netif), ip_addr) == ESP_OK) { in dhcp_ip_addr_restore()
45 nvs_close(nvs); in dhcp_ip_addr_restore()
53 nvs_handle_t nvs; in dhcp_ip_addr_store() local
60 if (nvs_open(DHCP_NAMESPACE, NVS_READWRITE, &nvs) == ESP_OK) { in dhcp_ip_addr_store()
61 nvs_set_u32(nvs,esp_netif_get_ifkey(esp_netif), ip_addr); in dhcp_ip_addr_store()
62 nvs_commit(nvs); in dhcp_ip_addr_store()
63 nvs_close(nvs); in dhcp_ip_addr_store()
70 nvs_handle_t nvs; in dhcp_ip_addr_erase() local
[all …]
/device/soc/esp/esp32/components/nvs_flash/src/
Dnvs_handle_simple.cpp18 namespace nvs { namespace
44 return mStoragePtr->writeItem(mNsIndex, nvs::ItemType::SZ, key, str, strlen(str) + 1); in set_string()
52 return mStoragePtr->writeItem(mNsIndex, nvs::ItemType::BLOB, key, blob, len); in set_blob()
59 return mStoragePtr->readItem(mNsIndex, nvs::ItemType::SZ, key, out_str, len); in get_string()
66 return mStoragePtr->readItem(mNsIndex, nvs::ItemType::BLOB, key, out_blob, len); in get_blob()
Dnvs_partition_manager.hpp22 namespace nvs { namespace
55 intrusive_list<nvs::Storage> nvs_storage_list;
57 intrusive_list<nvs::NVSPartition> nvs_partition_list;
Dnvs_api.cpp40 NVSHandleEntry(nvs::NVSHandleSimple *handle, const char* part_name) in NVSHandleEntry()
49 nvs::NVSHandleSimple *nvs_handle;
61 SemaphoreHandle_t nvs::Lock::mSemaphore = nullptr;
65 using namespace nvs;
69 static nvs::Storage* lookup_storage_from_name(const char *name) in lookup_storage_from_name()
77 nvs::Storage* pStorage; in nvs_dump()
477 static esp_err_t nvs_get_str_or_blob(nvs_handle_t c_handle, nvs::ItemType type, const char* key, vo… in nvs_get_str_or_blob()
509 return nvs_get_str_or_blob(c_handle, nvs::ItemType::SZ, key, out_value, length); in nvs_get_str()
514 return nvs_get_str_or_blob(c_handle, nvs::ItemType::BLOB, key, out_value, length); in nvs_get_blob()
520 nvs::Storage* pStorage; in nvs_get_stats()
[all …]
Dnvs_platform.hpp17 namespace nvs namespace
34 namespace nvs namespace
Dnvs_cxx_api.cpp20 namespace nvs { namespace
37 esp_err_t result = nvs::NVSPartitionManager::get_instance()-> in open_nvs_handle_from_partition()
Dnvs_storage.hpp27 namespace nvs namespace
171 nvs::Storage *storage;
172 intrusive_list<nvs::Page>::iterator page;
Dnvs_partition_lookup.hpp8 namespace nvs { namespace
Dnvs_encrypted_partition.hpp22 namespace nvs { namespace
Dpartition.hpp20 namespace nvs { namespace
Dnvs_pagemanager.hpp24 namespace nvs namespace
Dnvs_partition.hpp26 namespace nvs { namespace
Dnvs_item_hash_list.hpp22 namespace nvs namespace
Dnvs_partition_lookup.cpp8 namespace nvs { namespace
Dnvs_handle_locked.hpp19 namespace nvs { namespace
Dnvs_partition.cpp18 namespace nvs { namespace
Dnvs_types.cpp22 namespace nvs namespace
Dnvs_handle_simple.hpp23 namespace nvs { namespace
Dnvs_types.hpp28 namespace nvs namespace
/device/soc/esp/esp32/components/partition_table/
Dpartitions_singleapp_coredump.csv3 nvs, data, nvs, , 0x6000
Dpartitions_singleapp_encr_nvs.csv3 nvs, data, nvs, , 0x6000,
Dpartitions_two_ota_coredump.csv3 nvs, data, nvs, , 0x4000
Dpartitions_singleapp.csv3 nvs, data, nvs, , 0x6000,
Dpartitions_two_ota.csv3 nvs, data, nvs, , 0x4000,
Dpartitions_two_ota_encr_nvs.csv3 nvs, data, nvs, , 0x4000,

12