Home
last modified time | relevance | path

Searched defs:err (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/hal_espressif-3.5.0/examples/protocols/esp_http_client/main/
Desp_http_client_example.c101 esp_err_t err = esp_tls_get_and_clear_last_error(evt->data, &mbedtls_err, NULL); in _http_event_handler() local
137 esp_err_t err = esp_http_client_perform(client); in http_rest_with_url() local
225 esp_err_t err = esp_http_client_perform(client); in http_rest_with_hostname_path() local
317 esp_err_t err = esp_http_client_perform(client); in http_auth_basic() local
336 esp_err_t err = esp_http_client_perform(client); in http_auth_basic_redirect() local
357 esp_err_t err = esp_http_client_perform(client); in http_auth_digest() local
378 esp_err_t err = esp_http_client_perform(client); in https_with_url() local
400 esp_err_t err = esp_http_client_perform(client); in https_with_hostname_path() local
419 esp_err_t err = esp_http_client_perform(client); in http_relative_redirect() local
438 esp_err_t err = esp_http_client_perform(client); in http_absolute_redirect() local
[all …]
/hal_espressif-3.5.0/components/spi_flash/
Desp_flash_api.c128 esp_err_t err = chip->os_func->start(chip->os_func_data); in spiflash_start_default() local
139 static esp_err_t IRAM_ATTR spiflash_end_default(esp_flash_t *chip, esp_err_t err) in spiflash_end_default()
165 static IRAM_ATTR esp_err_t flash_end_flush_cache(esp_flash_t* chip, esp_err_t err, bool bus_acquire… in flash_end_flush_cache()
202 esp_err_t err = ESP_OK; in esp_flash_init() local
273 esp_err_t err = ESP_OK; in esp_flash_init_main() local
345 esp_err_t err = rom_spiflash_api_funcs->start(chip); in read_id_core() local
386 esp_err_t err = rom_spiflash_api_funcs->chip_check(&chip); in esp_flash_read_id() local
397 esp_err_t err = rom_spiflash_api_funcs->start(chip); in read_unique_id() local
409 esp_err_t err = rom_spiflash_api_funcs->chip_check(&chip); in esp_flash_read_unique_chip_id() local
432 esp_err_t err; in detect_spi_flash_chip() local
[all …]
Dspi_flash_chip_mxic_opi.c60 esp_err_t err = ESP_OK; in spi_flash_chip_mxic_opi_set_write_protect() local
137 esp_err_t err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_mxic_opi_read_reg() local
149 esp_err_t err = ESP_OK; in spi_flash_chip_mxic_opi_get_write_protect() local
163 esp_err_t err; in spi_flash_chip_mxic_opi_erase_chip() local
194 esp_err_t err = chip->chip_drv->set_chip_write_protect(chip, false); in spi_flash_chip_mxic_opi_erase_sector() local
223 esp_err_t err = chip->chip_drv->set_chip_write_protect(chip, false); in spi_flash_chip_mxic_opi_erase_block() local
252 esp_err_t err; in spi_flash_chip_mxic_opi_page_program() local
279 esp_err_t err = ESP_OK; in spi_flash_chip_mxic_opi_write() local
318 esp_err_t err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_mxic_opi_get_io_mode() local
/hal_espressif-3.5.0/components/esp-tls/
Desp_tls_wolfssl.c134 int err = wolfSSL_get_error( (WOLFSSL *)tls->priv_ssl, ret); in esp_create_wolfssl_handle() local
185 int err = wolfSSL_get_error( (WOLFSSL *)tls->priv_ssl, ret); in set_client_config() local
193 int err = wolfSSL_get_error( (WOLFSSL *)tls->priv_ssl, ret); in set_client_config() local
241 int err = wolfSSL_get_error( (WOLFSSL *)tls->priv_ssl, ret); in set_client_config() local
247 int err = wolfSSL_get_error( (WOLFSSL *)tls->priv_ssl, ret); in set_client_config() local
260 int err = wolfSSL_get_error( (WOLFSSL *)tls->priv_ssl, ret); in set_client_config() local
277 int err = wolfSSL_get_error( (WOLFSSL *)tls->priv_ssl, ret); in set_client_config() local
292 int err = wolfSSL_get_error( (WOLFSSL *)tls->priv_ssl, ret); in set_client_config() local
321 int err = wolfSSL_get_error( (WOLFSSL *)tls->priv_ssl, ret); in set_server_config() local
335 int err = wolfSSL_get_error( (WOLFSSL *)tls->priv_ssl, ret); in set_server_config() local
[all …]
/hal_espressif-3.5.0/components/sdmmc/
Dsdmmc_common.c24 esp_err_t err; in sdmmc_init_ocr() local
68 esp_err_t err; in sdmmc_init_cid() local
103 esp_err_t err; in sdmmc_init_rca() local
114 esp_err_t err; in sdmmc_init_mmc_decode_cid() local
129 esp_err_t err = sdmmc_send_cmd_send_csd(card, &card->csd); in sdmmc_init_csd() local
147 esp_err_t err = sdmmc_send_cmd_select_card(card, card->rca); in sdmmc_init_select_card() local
157 esp_err_t err = ESP_ERR_NOT_SUPPORTED; in sdmmc_init_card_hs_mode() local
187 esp_err_t err = (*card->host.set_bus_width)(card->host.slot, bus_width); in sdmmc_init_host_bus_width() local
223 esp_err_t err = (*card->host.set_card_clk)(card->host.slot, selected_freq); in sdmmc_init_host_frequency() local
235 esp_err_t err = (*card->host.set_bus_ddr_mode)(card->host.slot, true); in sdmmc_init_host_frequency() local
Dsdmmc_sd.c28 esp_err_t err = sdmmc_send_cmd_send_if_cond(card, host_ocr); in sdmmc_init_sd_if_cond() local
51 esp_err_t err = sdmmc_send_cmd_set_blocklen(card, &card->csd); in sdmmc_init_sd_blocklen() local
62 esp_err_t err; in sdmmc_init_sd_scr() local
91 esp_err_t err = sdmmc_send_cmd_set_bus_width(card, width); in sdmmc_init_sd_bus_width() local
106 esp_err_t err = sdmmc_send_cmd_send_status(card, &status); in sdmmc_init_sd_wait_data_ready() local
150 esp_err_t err = sdmmc_send_cmd(card, &cmd); in sdmmc_send_cmd_switch_func() local
189 esp_err_t err = sdmmc_send_cmd_switch_func(card, 0, SD_ACCESS_MODE, 0, response); in sdmmc_enable_hs_mode() local
221 esp_err_t err = sdmmc_enable_hs_mode(card); in sdmmc_enable_hs_mode_and_check() local
269 esp_err_t err = sdmmc_send_cmd_send_scr(card, &scr_tmp); in sdmmc_check_scr() local
288 esp_err_t err = sdmmc_send_cmd_crc_on_off(card, true); in sdmmc_init_spi_crc() local
Dsdmmc_cmd.c23 esp_err_t err = (*card->host.do_transaction)(slot, cmd); in sdmmc_send_cmd() local
46 esp_err_t err = sdmmc_send_cmd(card, &app_cmd); in sdmmc_send_app_cmd() local
65 esp_err_t err = sdmmc_send_cmd(card, &cmd); in sdmmc_send_cmd_go_idle_state() local
94 esp_err_t err = sdmmc_send_cmd(card, &cmd); in sdmmc_send_cmd_send_if_cond() local
108 esp_err_t err; in sdmmc_send_cmd_send_op_cond() local
170 esp_err_t err = sdmmc_send_cmd(card, &cmd); in sdmmc_send_cmd_read_ocr() local
186 esp_err_t err = sdmmc_send_cmd(card, &cmd); in sdmmc_send_cmd_all_send_cid() local
207 esp_err_t err = sdmmc_send_cmd(card, &cmd); in sdmmc_send_cmd_send_cid() local
232 esp_err_t err = sdmmc_send_cmd(card, &cmd); in sdmmc_send_cmd_set_relative_addr() local
265 esp_err_t err = sdmmc_send_cmd(card, &cmd); in sdmmc_send_cmd_send_csd() local
[all …]
Dsdmmc_mmc.c27 esp_err_t err = ESP_OK; in sdmmc_init_mmc_read_ext_csd() local
101 esp_err_t err; in sdmmc_init_mmc_bus_width() local
143 esp_err_t err; in sdmmc_mmc_enable_hs_mode() local
224 esp_err_t err = sdmmc_send_cmd(card, &cmd); in sdmmc_mmc_switch() local
236 esp_err_t err; in sdmmc_init_mmc_check_csd() local
/hal_espressif-3.5.0/components/bootloader_support/src/
Dsecure_boot.c26 static void update_efuses(bool need_fix, esp_err_t err) in update_efuses()
46 esp_err_t err = ESP_OK; in secure_boot_v1_check() local
65 esp_err_t err = ESP_OK; in secure_boot_v2_check() local
89 esp_err_t err = ESP_OK; in secure_boot_v2_check() local
152 esp_err_t err = esp_secure_boot_get_signature_blocks_for_running_app(false, &digests); in rsa_check_signature_on_update_check() local
173 esp_err_t err = secure_boot_v1_check(&need_fix); in esp_secure_boot_init_checks() local
175 esp_err_t err = secure_boot_v2_check(&need_fix); in esp_secure_boot_init_checks() local
/hal_espressif-3.5.0/components/efuse/src/
Desp_efuse_api.c44 esp_err_t err = ESP_OK; in esp_efuse_read_field_blob() local
68 esp_err_t err = esp_efuse_read_field_blob(field, &value, 1); in esp_efuse_read_field_bit() local
76 esp_err_t err = ESP_OK; in esp_efuse_read_field_cnt() local
101 esp_err_t err = ESP_OK; in esp_efuse_write_field_blob() local
128 esp_err_t err = ESP_OK; in esp_efuse_write_field_cnt() local
161 esp_err_t err; in esp_efuse_write_field_bit() local
196 esp_err_t err = esp_efuse_read_block(blk, &ret_val, num_reg * 32, 32); in esp_efuse_read_reg() local
209 esp_err_t err = esp_efuse_utility_write_reg(blk, num_reg, val); in esp_efuse_write_reg() local
226 esp_err_t err = ESP_OK; in esp_efuse_read_block() local
246 esp_err_t err = ESP_OK; in esp_efuse_write_block() local
[all …]
/hal_espressif-3.5.0/components/bootloader_support/src/esp32h2/
Dflash_encrypt.c94 esp_err_t err = esp_efuse_write_keys(purposes, keys, BLOCKS_NEEDED); in check_and_generate_encryption_keys() local
147 esp_err_t err = esp_efuse_batch_write_commit(); in initialise_flash_encryption() local
158 esp_err_t err; in encrypt_flash_contents() local
221 esp_err_t err; in encrypt_bootloader() local
252 esp_err_t err; in encrypt_and_load_partition_table() local
261 esp_err_t err = esp_flash_encrypt_region(ESP_PARTITION_TABLE_OFFSET, in encrypt_and_load_partition_table() local
280 esp_err_t err; in encrypt_partition() local
313 esp_err_t err; in esp_flash_encrypt_region() local
/hal_espressif-3.5.0/components/fatfs/vfs/
Dvfs_fat_sdmmc.c37 #define CHECK_EXECUTE_RESULT(err, str) do { \ argument
53 esp_err_t err = ESP_OK; in mount_prepare_mem() local
94 esp_err_t err; in mount_to_vfs_fat() local
146 esp_err_t err; in partition_card() local
200 esp_err_t err; in esp_vfs_fat_sdmmc_mount() local
267 esp_err_t err = sdspi_host_init_device((const sdspi_device_config_t*)slot_config, out_slot); in init_sdspi_host() local
284 esp_err_t err; in esp_vfs_fat_sdspi_mount() local
381 esp_err_t err = esp_vfs_fat_unregister_path(base_path); in unmount_card_core() local
388 esp_err_t err = unmount_card_core(s_base_path, card); in esp_vfs_fat_sdmmc_unmount() local
395 esp_err_t err = unmount_card_core(base_path, card); in esp_vfs_fat_sdcard_unmount() local
/hal_espressif-3.5.0/components/bootloader_support/src/flash_encryption/
Dflash_encrypt.c131 esp_err_t err = esp_efuse_write_keys(purposes, keys, BLOCKS_NEEDED); in check_and_generate_encryption_keys() local
159 esp_err_t err = check_and_generate_encryption_keys(); in initialise_flash_encryption() local
183 esp_err_t err; in encrypt_flash_contents() local
243 esp_err_t err; in encrypt_bootloader() local
284 esp_err_t err; in encrypt_and_load_partition_table() local
293 esp_err_t err = esp_flash_encrypt_region(ESP_PARTITION_TABLE_OFFSET, in encrypt_and_load_partition_table() local
312 esp_err_t err; in encrypt_partition() local
346 esp_err_t err; in esp_flash_encrypt_region() local
/hal_espressif-3.5.0/components/nvs_flash/src/
Dnvs_pagemanager.cpp33 auto err = mPages[i].load(partition, baseSector + i); in load() local
102 auto err = newPage->erase(); in load() local
109 auto err = activatePage(); in load() local
167 esp_err_t err = activatePage(); in requestNewPage() local
210 auto err = p->erase(); in activatePage() local
227 esp_err_t err = ESP_OK; in fillStats() local
Dnvs_storage.cpp91 auto err = mPageManager.load(mPartition, baseSector, sectorCount); in init() local
152 auto err = it->findItem(nsIndex, datatype, key, itemIndex, item, chunkIdx, chunkStart); in findItem() local
167 esp_err_t err = ESP_OK; in writeMultiPageBlob() local
273 esp_err_t err; in writeItem() local
414 auto err = writeItem(Page::NS_INDEX, ItemType::U8, nsName, &ns, sizeof(ns)); in createOrOpenNamespace() local
443 auto err = findItem(nsIndex, ItemType::BLOB_IDX, key, findPage, item); in readMultiPageBlob() local
485 auto err = findItem(nsIndex, ItemType::BLOB_IDX, key, findPage, item); in cmpMultiPageBlob() local
530 auto err = readMultiPageBlob(nsIndex, key, data, dataSize); in readItem() local
536 auto err = findItem(nsIndex, datatype, key, findPage, item); in readItem() local
552 …auto err = findItem(nsIndex, ItemType::BLOB_IDX, key, findPage, item, Page::CHUNK_ANY, chunkStart); in eraseMultiPageBlob() local
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/common_components/example_nvs/
Dble_mesh_example_nvs.c21 esp_err_t err = ESP_OK; in ble_mesh_nvs_open() local
40 esp_err_t err = ESP_OK; in ble_mesh_nvs_store() local
66 esp_err_t err = ESP_OK; in ble_mesh_nvs_get_length() local
91 esp_err_t err = ESP_OK; in ble_mesh_nvs_restore() local
123 esp_err_t err = ESP_OK; in ble_mesh_nvs_erase() local
/hal_espressif-3.5.0/tools/test_apps/system/memprot/main/esp32c3/
Dtest_memprot_main.c118 esp_err_t err = esp_mprot_get_violate_addr(mem_type, &addr, NULL); in test_mprot_dump_status_register() local
158 esp_err_t err = esp_mprot_get_active_intr(&memp_intr); in test_mprot_check_test_result() local
176 esp_err_t err = esp_mprot_monitor_clear_intr(MEMPROT_TYPE_IRAM0_SRAM, NULL); in test_mprot_clear_all_interrupts() local
209 esp_err_t err = esp_mprot_get_pms_area(area, &flags); in test_mprot_get_permissions() local
228 esp_err_t err; in test_mprot_set_permissions() local
314 esp_err_t err = esp_mprot_set_monitor_en(mem_type, false); in test_mprot_read() local
384 esp_err_t err = esp_mprot_set_monitor_en(mem_type, false); in test_mprot_write() local
472 esp_err_t err = esp_mprot_set_monitor_en(mem_type, false); in test_mprot_exec() local
572 esp_err_t err = esp_mprot_set_prot(&memp_cfg); in app_main() local
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_core/storage/
Dsettings_nvs.c79 int err = 0; in bt_mesh_settings_init_foreach() local
161 int err = 0; in bt_mesh_settings_direct_open() local
219 int err = 0; in settings_save() local
255 int err = 0; in bt_mesh_save_settings() local
298 int err = 0; in settings_load() local
324 int err = 0; in bt_mesh_load_settings() local
350 int err = 0; in settings_get_length() local
378 int err = 0; in settings_get_item() local
467 int err = 0; in settings_add_item() local
501 int err = 0; in bt_mesh_add_settings_item() local
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/fast_prov_server/main/
Dmain.c203 esp_err_t err; in provisioner_prov_complete() local
290 esp_err_t err; in example_recv_unprov_adv_pkt() local
324 esp_err_t err; in example_ble_mesh_provisioning_cb() local
426 esp_err_t err; in example_ble_mesh_custom_model_cb() local
526 esp_err_t err; in example_ble_mesh_config_client_cb() local
643 esp_err_t err; in example_ble_mesh_config_server_cb() local
692 esp_err_t err; in ble_mesh_init() local
735 esp_err_t err; in app_main() local
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_server/main/
Dmain.c243 esp_err_t err; in example_ble_mesh_send_sensor_descriptor_status() local
308 esp_err_t err; in example_ble_mesh_send_sensor_cadence_status() local
322 esp_err_t err; in example_ble_mesh_send_sensor_settings_status() local
342 esp_err_t err; in example_ble_mesh_send_sensor_setting_status() local
401 esp_err_t err; in example_ble_mesh_send_sensor_status() local
483 esp_err_t err; in example_ble_mesh_send_sensor_column_status() local
507 esp_err_t err; in example_ble_mesh_send_sensor_series_status() local
589 esp_err_t err; in ble_mesh_init() local
616 esp_err_t err; in app_main() local
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_core/
Dsettings.c200 int err = 0; in role_set() local
228 int err = 0; in net_set() local
257 int err = 0; in iv_set() local
287 int err = 0; in seq_set() local
354 int err = 0; in rpl_set() local
430 int err = 0; in net_key_set() local
490 int err = 0; in app_key_set() local
555 int err = 0; in hb_pub_set() local
601 int err = 0; in cfg_set() local
635 int err = 0; in model_set_bind() local
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/
Dmain.c215 esp_err_t err; in provisioner_prov_complete() local
302 esp_err_t err; in example_recv_unprov_adv_pkt() local
336 esp_err_t err; in example_ble_mesh_provisioning_cb() local
438 esp_err_t err; in example_ble_mesh_custom_model_cb() local
538 esp_err_t err; in example_ble_mesh_config_client_cb() local
655 esp_err_t err; in example_ble_mesh_config_server_cb() local
704 esp_err_t err; in ble_mesh_init() local
776 esp_err_t err; in app_main() local
/hal_espressif-3.5.0/examples/protocols/pppos_client/components/modem/src/
Desp_modem_dce_service.c36 esp_err_t err = ESP_FAIL; in esp_modem_dce_handle_response_default() local
51 esp_err_t err = ESP_FAIL; in esp_modem_dce_handle_csq() local
73 esp_err_t err = ESP_FAIL; in esp_modem_dce_handle_cbc() local
91 esp_err_t err = ESP_FAIL; in esp_modem_dce_handle_exit_data_mode() local
104 esp_err_t err = ESP_FAIL; in esp_modem_dce_handle_atd_ppp() local
119 esp_err_t err = ESP_FAIL; in esp_modem_dce_handle_cgmm() local
141 esp_err_t err = ESP_FAIL; in esp_modem_dce_handle_cgsn() local
163 esp_err_t err = ESP_FAIL; in esp_modem_dce_handle_cimi() local
185 esp_err_t err = ESP_FAIL; in esp_modem_dce_handle_cops() local
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_5_gap.c250 tHCI_STATUS err = HCI_SUCCESS; in BTM_BleSetPreferDefaultPhy() local
296 tHCI_STATUS err = HCI_SUCCESS; in BTM_BleSetExtendedAdvRandaddr() local
346 tHCI_STATUS err = HCI_SUCCESS; in BTM_BleSetExtendedAdvParams() local
420 tHCI_STATUS err = HCI_SUCCESS; in BTM_BleConfigExtendedAdvDataRaw() local
471 tHCI_STATUS err = HCI_SUCCESS; in BTM_BleStartExtAdv() local
599 tHCI_STATUS err = HCI_SUCCESS; in BTM_BleExtAdvSetRemove() local
631 tHCI_STATUS err = HCI_SUCCESS; in BTM_BleExtAdvSetClear() local
657 tHCI_STATUS err = HCI_SUCCESS; in BTM_BlePeriodicAdvSetParams() local
695 tHCI_STATUS err = HCI_SUCCESS; in BTM_BlePeriodicAdvCfgDataRaw() local
739 tHCI_STATUS err = HCI_SUCCESS; in BTM_BlePeriodicAdvEnable() local
[all …]
/hal_espressif-3.5.0/examples/storage/nvs_rw_blob/main/
Dnvs_blob_example_main.c37 esp_err_t err; in save_restart_counter() local
74 esp_err_t err; in save_run_time() local
120 esp_err_t err; in print_what_saved() local
161 esp_err_t err = nvs_flash_init(); in app_main() local

12345678910>>...16