Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 66) sorted by relevance

123

/hal_espressif-3.7.0/components/log/include/
Desp_log.h61 void esp_log_level_set(const char* tag, esp_log_level_t level);
71 esp_log_level_t esp_log_level_get(const char* tag);
136 void esp_log_write(esp_log_level_t level, const char* tag, const char* format, ...) __attribute__ (…
145 void esp_log_writev(esp_log_level_t level, const char* tag, const char* format, va_list args);
170 #define ESP_LOG_BUFFER_HEX_LEVEL( tag, buffer, buff_len, level ) \ argument
173 esp_log_buffer_hex_internal( tag, buffer, buff_len, level ); \
186 #define ESP_LOG_BUFFER_CHAR_LEVEL( tag, buffer, buff_len, level ) \ argument
189 esp_log_buffer_char_internal( tag, buffer, buff_len, level ); \
209 #define ESP_LOG_BUFFER_HEXDUMP( tag, buffer, buff_len, level ) \ argument
212 esp_log_buffer_hexdump_internal( tag, buffer, buff_len, level); \
[all …]
Desp_log_internal.h11 void esp_log_buffer_hex_internal(const char *tag, const void *buffer, uint16_t buff_len, esp_log_le…
12 void esp_log_buffer_char_internal(const char *tag, const void *buffer, uint16_t buff_len, esp_log_l…
13 void esp_log_buffer_hexdump_internal( const char *tag, const void *buffer, uint16_t buff_len, esp_l…
/hal_espressif-3.7.0/components/esp_hw_support/port/include/
Desp_hw_log.h20 #define ESP_HW_LOGE(tag, fmt, ...) ESP_EARLY_LOGE(tag, fmt, ##__VA_ARGS__) argument
21 #define ESP_HW_LOGW(tag, fmt, ...) ESP_EARLY_LOGW(tag, fmt, ##__VA_ARGS__) argument
22 #define ESP_HW_LOGI(tag, fmt, ...) ESP_EARLY_LOGI(tag, fmt, ##__VA_ARGS__) argument
23 #define ESP_HW_LOGD(tag, fmt, ...) ESP_EARLY_LOGD(tag, fmt, ##__VA_ARGS__) argument
24 #define ESP_HW_LOGV(tag, fmt, ...) ESP_EARLY_LOGV(tag, fmt, ##__VA_ARGS__) argument
28 #define ESP_HW_LOGE(tag, fmt, ...) esp_rom_printf("%s(err): " fmt, tag, ##__VA_ARGS__) argument
29 #define ESP_HW_LOGW(tag, fmt, ...) esp_rom_printf("%s(warn): " fmt, tag, ##__VA_ARGS__) argument
30 #define ESP_HW_LOGI(tag, fmt, ...) esp_rom_printf("%s(info): " fmt, tag, ##__VA_ARGS__) argument
31 #define ESP_HW_LOGD(tag, fmt, ...) esp_rom_printf("%s(dbg): " fmt, tag, ##__VA_ARGS__) argument
32 #define ESP_HW_LOGV(tag, fmt, ...) esp_rom_printf("%s: " fmt, tag, ##__VA_ARGS__) argument
/hal_espressif-3.7.0/zephyr/port/include/boot/
Desp_log.h16 #define ESP_LOGE(tag, fmt, ...) MCUBOOT_LOG_ERR("[%s] " fmt, tag, ##__VA_ARGS__) argument
17 #define ESP_LOGW(tag, fmt, ...) MCUBOOT_LOG_WRN("[%s] " fmt, tag, ##__VA_ARGS__) argument
18 #define ESP_LOGI(tag, fmt, ...) MCUBOOT_LOG_INF("[%s] " fmt, tag, ##__VA_ARGS__) argument
19 #define ESP_LOGD(tag, fmt, ...) MCUBOOT_LOG_DBG("[%s] " fmt, tag, ##__VA_ARGS__) argument
20 #define ESP_LOGV(tag, fmt, ...) MCUBOOT_LOG_DBG("[%s] " fmt, tag, ##__VA_ARGS__) argument
22 #define ESP_EARLY_LOGE(tag, fmt, ...) MCUBOOT_LOG_ERR("[%s] " fmt, tag, ##__VA_ARGS__) argument
23 #define ESP_EARLY_LOGW(tag, fmt, ...) MCUBOOT_LOG_WRN("[%s] " fmt, tag, ##__VA_ARGS__) argument
24 #define ESP_EARLY_LOGI(tag, fmt, ...) MCUBOOT_LOG_INF("[%s] " fmt, tag, ##__VA_ARGS__) argument
25 #define ESP_EARLY_LOGD(tag, fmt, ...) MCUBOOT_LOG_DBG("[%s] " fmt, tag, ##__VA_ARGS__) argument
26 #define ESP_EARLY_LOGV(tag, fmt, ...) MCUBOOT_LOG_DBG("[%s] " fmt, tag, ##__VA_ARGS__) argument
Dsoc_log.h12 #define SOC_LOGE(tag, fmt, ...) MCUBOOT_LOG_ERR("[%s] " fmt, tag, ##__VA_ARGS__) argument
13 #define SOC_LOGW(tag, fmt, ...) MCUBOOT_LOG_WRN("[%s] " fmt, tag, ##__VA_ARGS__) argument
14 #define SOC_LOGI(tag, fmt, ...) MCUBOOT_LOG_INF("[%s] " fmt, tag, ##__VA_ARGS__) argument
15 #define SOC_LOGD(tag, fmt, ...) MCUBOOT_LOG_DBG("[%s] " fmt, tag, ##__VA_ARGS__) argument
/hal_espressif-3.7.0/components/log/
Dlog.c54 const char *tag; member
62 char tag[0]; // beginning of a zero-terminated string member
77 static inline bool get_cached_log_level(const char *tag, esp_log_level_t *level);
78 static inline bool get_uncached_log_level(const char *tag, esp_log_level_t *level);
79 static inline void add_to_cache(const char *tag, esp_log_level_t level);
94 void esp_log_level_set(const char *tag, esp_log_level_t level) in esp_log_level_set() argument
99 if (strcmp(tag, "*") == 0) { in esp_log_level_set()
109 if (strcmp(it->tag, tag) == 0) { in esp_log_level_set()
119 size_t tag_len = strlen(tag) + 1; in esp_log_level_set()
120 size_t entry_size = offsetof(uncached_tag_entry_t, tag) + tag_len; in esp_log_level_set()
[all …]
Dlog_buffers.c25 void esp_log_buffer_hex_internal(const char *tag, const void *buffer, uint16_t buff_len, in esp_log_buffer_hex_internal() argument
53 ESP_LOG_LEVEL(log_level, tag, "%s", hex_buffer); in esp_log_buffer_hex_internal()
59 void esp_log_buffer_char_internal(const char *tag, const void *buffer, uint16_t buff_len, in esp_log_buffer_char_internal() argument
87 ESP_LOG_LEVEL(log_level, tag, "%s", char_buffer); in esp_log_buffer_char_internal()
93 void esp_log_buffer_hexdump_internal(const char *tag, const void *buffer, uint16_t buff_len, esp_lo… in esp_log_buffer_hexdump_internal() argument
143 ESP_LOG_LEVEL(log_level, tag, "%s", hd_buffer); in esp_log_buffer_hexdump_internal()
/hal_espressif-3.7.0/components/spi_flash/sim/stubs/log/include/
Desp_log.h47 void esp_log_write(esp_log_level_t level, const char* tag, const char* format, ...) __attribute__ (…
51 …GE( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_ERROR) { esp_log_write(ESP_LOG_ERROR, t… argument
53 …GW( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_WARN) { esp_log_write(ESP_LOG_WARN, t… argument
55 …GI( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO) { esp_log_write(ESP_LOG_INFO, t… argument
57 …GD( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_DEBUG) { esp_log_write(ESP_LOG_DEBUG, t… argument
59 …GV( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_VERBOSE) { esp_log_write(ESP_LOG_VERBOSE, t… argument
/hal_espressif-3.7.0/components/efuse/esp32s2/
Desp_efuse_rtc_table.c39 const int tag; // should be the same as the index in adc_efuse_raw_map member
131 int esp_efuse_rtc_table_get_raw_efuse_value(int tag) in esp_efuse_rtc_table_get_raw_efuse_value() argument
133 assert(tag > 0); in esp_efuse_rtc_table_get_raw_efuse_value()
134 if (tag == 0) { in esp_efuse_rtc_table_get_raw_efuse_value()
138 …esp_efuse_read_block(adc_efuse_raw_map[tag].block, &val, adc_efuse_raw_map[tag].begin_bit, adc_efu… in esp_efuse_rtc_table_get_raw_efuse_value()
139 int result = signed_bit_to_int(val, adc_efuse_raw_map[tag].length); in esp_efuse_rtc_table_get_raw_efuse_value()
140 …ag %d @blk%d bit%d len%d: %d", tag, adc_efuse_raw_map[tag].block, adc_efuse_raw_map[tag].begin_bit… in esp_efuse_rtc_table_get_raw_efuse_value()
145 int esp_efuse_rtc_table_get_parsed_efuse_value(int tag, bool skip_efuse_reading) in esp_efuse_rtc_table_get_parsed_efuse_value() argument
147 assert(tag >= 0); in esp_efuse_rtc_table_get_parsed_efuse_value()
148 if (tag == 0) { in esp_efuse_rtc_table_get_parsed_efuse_value()
[all …]
/hal_espressif-3.7.0/components/wpa_supplicant/src/tls/
Dasn1.h52 unsigned int tag, length; member
79 void asn1_put_hdr(struct wpabuf *buf, u8 class, int constructed, u8 tag,
86 struct wpabuf * asn1_encaps(struct wpabuf *buf, u8 class, u8 tag);
91 hdr->tag == ASN1_TAG_OID; in asn1_is_oid()
97 hdr->tag == ASN1_TAG_BOOLEAN; in asn1_is_boolean()
103 hdr->tag == ASN1_TAG_INTEGER; in asn1_is_integer()
109 hdr->tag == ASN1_TAG_ENUMERATED; in asn1_is_enumerated()
115 hdr->tag == ASN1_TAG_SEQUENCE; in asn1_is_sequence()
121 hdr->tag == ASN1_TAG_SET; in asn1_is_set()
127 hdr->tag == ASN1_TAG_OCTETSTRING; in asn1_is_octetstring()
[all …]
Dasn1.c130 if (hdr->tag == ASN1_TAG_BOOLEAN && !asn1_valid_der_boolean(hdr)) in asn1_valid_der()
132 if (hdr->tag == ASN1_TAG_NULL && hdr->length != 0) in asn1_valid_der()
137 (hdr->tag == ASN1_TAG_BOOLEAN || in asn1_valid_der()
138 hdr->tag == ASN1_TAG_INTEGER || in asn1_valid_der()
139 hdr->tag == ASN1_TAG_NULL || in asn1_valid_der()
140 hdr->tag == ASN1_TAG_OID || in asn1_valid_der()
141 hdr->tag == ANS1_TAG_RELATIVE_OID || in asn1_valid_der()
142 hdr->tag == ASN1_TAG_REAL || in asn1_valid_der()
143 hdr->tag == ASN1_TAG_ENUMERATED || in asn1_valid_der()
144 hdr->tag == ASN1_TAG_BITSTRING || in asn1_valid_der()
[all …]
/hal_espressif-3.7.0/components/hal/platform_port/include/hal/
Dlog.h43 #define HAL_LOGE(tag, fmt, ...) esp_rom_printf("%s(err): " fmt, tag, ##__VA_ARGS__) argument
45 #define HAL_LOGE(tag, fmt, ...) argument
49 #define HAL_LOGW(tag, fmt, ...) esp_rom_printf("%s(warn): " fmt, tag, ##__VA_ARGS__) argument
51 #define HAL_LOGW(tag, fmt, ...) argument
55 #define HAL_LOGI(tag, fmt, ...) esp_rom_printf("%s(info): " fmt, tag, ##__VA_ARGS__) argument
57 #define HAL_LOGI(tag, fmt, ...) argument
61 #define HAL_LOGD(tag, fmt, ...) esp_rom_printf("%s(dbg): " fmt, tag, ##__VA_ARGS__) argument
63 #define HAL_LOGD(tag, fmt, ...) argument
67 #define HAL_LOGV(tag, fmt, ...) esp_rom_printf("%s: " fmt, tag, ##__VA_ARGS__) argument
69 #define HAL_LOGV(tag, fmt, ...) argument
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_trace.h64 #define BLE_MESH_PRINT_E(tag, format, ...) {esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, form… argument
65 #define BLE_MESH_PRINT_W(tag, format, ...) {esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, form… argument
66 #define BLE_MESH_PRINT_I(tag, format, ...) {esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, form… argument
67 #define BLE_MESH_PRINT_D(tag, format, ...) {esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, form… argument
68 #define BLE_MESH_PRINT_V(tag, format, ...) {esp_log_write(ESP_LOG_VERBOSE, tag, LOG_FORMAT(V, form… argument
/hal_espressif-3.7.0/components/esp_adc/deprecated/esp32s2/
Desp_adc_cal_legacy.c53 int tag; in prepare_calib_data_for() local
60 tag = esp_efuse_rtc_table_get_tag(version_num, adc_num, atten, RTCCALIB_V1_PARAM_VLOW); in prepare_calib_data_for()
61 …ta_storage->efuse_data.ver1.adc_calib_low = esp_efuse_rtc_table_get_parsed_efuse_value(tag, false); in prepare_calib_data_for()
62 tag = esp_efuse_rtc_table_get_tag(version_num, adc_num, atten, RTCCALIB_V1_PARAM_VHIGH); in prepare_calib_data_for()
63 …a_storage->efuse_data.ver1.adc_calib_high = esp_efuse_rtc_table_get_parsed_efuse_value(tag, false); in prepare_calib_data_for()
66 tag = esp_efuse_rtc_table_get_tag(version_num, adc_num, atten, RTCCALIB_V2_PARAM_VHIGH); in prepare_calib_data_for()
67 …a_storage->efuse_data.ver2.adc_calib_high = esp_efuse_rtc_table_get_parsed_efuse_value(tag, false); in prepare_calib_data_for()
88 tag = esp_efuse_rtc_table_get_tag(version_num, adc_num, atten, RTCCALIB_V1_PARAM_VLOW); in prepare_calib_data_for()
89 …ta_storage->efuse_data.ver1.adc_calib_high = esp_efuse_rtc_table_get_parsed_efuse_value(tag, true); in prepare_calib_data_for()
90 tag = esp_efuse_rtc_table_get_tag(version_num, adc_num, atten, RTCCALIB_V1_PARAM_VHIGH); in prepare_calib_data_for()
[all …]
/hal_espressif-3.7.0/zephyr/esp32s2/src/esp_adc_cal/
Desp_adc_cal.c51 int tag; in prepare_calib_data_for() local
58 tag = esp_efuse_rtc_table_get_tag(version_num, adc_num, atten, RTCCALIB_V1_PARAM_VLOW); in prepare_calib_data_for()
59 …ta_storage->efuse_data.ver1.adc_calib_low = esp_efuse_rtc_table_get_parsed_efuse_value(tag, false); in prepare_calib_data_for()
60 tag = esp_efuse_rtc_table_get_tag(version_num, adc_num, atten, RTCCALIB_V1_PARAM_VHIGH); in prepare_calib_data_for()
61 …a_storage->efuse_data.ver1.adc_calib_high = esp_efuse_rtc_table_get_parsed_efuse_value(tag, false); in prepare_calib_data_for()
64 tag = esp_efuse_rtc_table_get_tag(version_num, adc_num, atten, RTCCALIB_V2_PARAM_VHIGH); in prepare_calib_data_for()
65 …a_storage->efuse_data.ver2.adc_calib_high = esp_efuse_rtc_table_get_parsed_efuse_value(tag, false); in prepare_calib_data_for()
86 tag = esp_efuse_rtc_table_get_tag(version_num, adc_num, atten, RTCCALIB_V1_PARAM_VLOW); in prepare_calib_data_for()
87 …ta_storage->efuse_data.ver1.adc_calib_high = esp_efuse_rtc_table_get_parsed_efuse_value(tag, true); in prepare_calib_data_for()
88 tag = esp_efuse_rtc_table_get_tag(version_num, adc_num, atten, RTCCALIB_V1_PARAM_VHIGH); in prepare_calib_data_for()
[all …]
/hal_espressif-3.7.0/components/bt/common/include/
Dbt_common.h102 #define BT_PRINT_E(tag, format, ...) {esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), … argument
103 #define BT_PRINT_W(tag, format, ...) {esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, format), … argument
104 #define BT_PRINT_I(tag, format, ...) {esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), … argument
105 #define BT_PRINT_D(tag, format, ...) {esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), … argument
106 #define BT_PRINT_V(tag, format, ...) {esp_log_write(ESP_LOG_VERBOSE, tag, LOG_FORMAT(V, format), … argument
/hal_espressif-3.7.0/components/esp_adc/esp32s2/
Dadc_cali_line_fitting.c162 int tag; in prepare_calib_data_for() local
169 tag = esp_efuse_rtc_table_get_tag(version_num, unit_id, atten, RTCCALIB_V1_PARAM_VLOW); in prepare_calib_data_for()
170 …ta_storage->efuse_data.ver1.adc_calib_low = esp_efuse_rtc_table_get_parsed_efuse_value(tag, false); in prepare_calib_data_for()
171 tag = esp_efuse_rtc_table_get_tag(version_num, unit_id, atten, RTCCALIB_V1_PARAM_VHIGH); in prepare_calib_data_for()
172 …a_storage->efuse_data.ver1.adc_calib_high = esp_efuse_rtc_table_get_parsed_efuse_value(tag, false); in prepare_calib_data_for()
175 tag = esp_efuse_rtc_table_get_tag(version_num, unit_id, atten, RTCCALIB_V2_PARAM_VHIGH); in prepare_calib_data_for()
176 …a_storage->efuse_data.ver2.adc_calib_high = esp_efuse_rtc_table_get_parsed_efuse_value(tag, false); in prepare_calib_data_for()
197 tag = esp_efuse_rtc_table_get_tag(version_num, unit_id, atten, RTCCALIB_V1_PARAM_VLOW); in prepare_calib_data_for()
198 …ta_storage->efuse_data.ver1.adc_calib_high = esp_efuse_rtc_table_get_parsed_efuse_value(tag, true); in prepare_calib_data_for()
199 tag = esp_efuse_rtc_table_get_tag(version_num, unit_id, atten, RTCCALIB_V1_PARAM_VHIGH); in prepare_calib_data_for()
[all …]
/hal_espressif-3.7.0/components/bt/porting/ext/tinycrypt/src/
Dhmac.c125 int tc_hmac_final(uint8_t *tag, unsigned int taglen, TCHmacState_t ctx) in tc_hmac_final() argument
129 if (tag == (uint8_t *) 0 || in tc_hmac_final()
135 (void) tc_sha256_final(tag, &ctx->hash_state); in tc_hmac_final()
141 (void)tc_sha256_update(&ctx->hash_state, tag, TC_SHA256_DIGEST_SIZE); in tc_hmac_final()
142 (void)tc_sha256_final(tag, &ctx->hash_state); in tc_hmac_final()
Dccm_mode.c155 uint8_t tag[Nb * Nk]; in tc_ccm_generation_encryption() local
169 (void) tc_aes_encrypt(tag, b, c->sched); in tc_ccm_generation_encryption()
171 ccm_cbc_mac(tag, associated_data, alen, 1, c->sched); in tc_ccm_generation_encryption()
174 ccm_cbc_mac(tag, payload, plen, 0, c->sched); in tc_ccm_generation_encryption()
192 *out++ = tag[i] ^ b[i]; in tc_ccm_generation_encryption()
216 uint8_t tag[Nb * Nk]; in tc_ccm_decryption_verification() local
236 tag[i] = *(payload + plen - c->mlen + i) ^ b[i]; in tc_ccm_decryption_verification()
259 if (_compare(b, tag, c->mlen) == 0) { in tc_ccm_decryption_verification()
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Dhmac.c124 int tc_hmac_final(uint8_t *tag, unsigned int taglen, TCHmacState_t ctx) in tc_hmac_final() argument
128 if (tag == (uint8_t *) 0 || in tc_hmac_final()
134 (void) tc_sha256_final(tag, &ctx->hash_state); in tc_hmac_final()
140 (void)tc_sha256_update(&ctx->hash_state, tag, TC_SHA256_DIGEST_SIZE); in tc_hmac_final()
141 (void)tc_sha256_final(tag, &ctx->hash_state); in tc_hmac_final()
Dccm_mode.c155 uint8_t tag[Nb * Nk]; in tc_ccm_generation_encryption() local
169 (void) tc_aes_encrypt(tag, b, c->sched); in tc_ccm_generation_encryption()
171 ccm_cbc_mac(tag, associated_data, alen, 1, c->sched); in tc_ccm_generation_encryption()
174 ccm_cbc_mac(tag, payload, plen, 0, c->sched); in tc_ccm_generation_encryption()
192 *out++ = tag[i] ^ b[i]; in tc_ccm_generation_encryption()
216 uint8_t tag[Nb * Nk]; in tc_ccm_decryption_verification() local
236 tag[i] = *(payload + plen - c->mlen + i) ^ b[i]; in tc_ccm_decryption_verification()
259 if (_compare(b, tag, c->mlen) == 0) { in tc_ccm_decryption_verification()
/hal_espressif-3.7.0/components/wpa_supplicant/src/crypto/
Daes_wrap.h43 u8 *data, size_t data_len, u8 *tag);
47 u8 *data, size_t data_len, const u8 *tag);
56 u8 *crypt, u8 *tag);
60 const u8 *aad, size_t aad_len, const u8 *tag,
64 const u8 *aad, size_t aad_len, u8 *tag);
Daes-gcm.c256 const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) in aes_gcm_ae() argument
275 aes_gctr(aes, J0, S, sizeof(S), tag); in aes_gcm_ae()
290 const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) in aes_gcm_ad() argument
313 if (os_memcmp_const(tag, T, 16) != 0) { in aes_gcm_ad()
323 const u8 *aad, size_t aad_len, u8 *tag) in aes_gmac() argument
326 tag); in aes_gmac()
/hal_espressif-3.7.0/components/mbedtls/port/include/aes/
Desp_aes_gcm.h209 unsigned char *tag, size_t tag_len );
252 unsigned char *tag );
284 const unsigned char *tag,
/hal_espressif-3.7.0/components/efuse/esp32s2/include/
Desp_efuse_rtc_table.h90 int esp_efuse_rtc_table_get_raw_efuse_value(int tag);
101 int esp_efuse_rtc_table_get_parsed_efuse_value(int tag, bool skip_efuse_reading);

123