/hal_espressif-3.7.0/components/soc/esp32c2/include/soc/ |
D | boot_mode.h | 13 #define IS_1XXX(v) (((v)&0x08)==0x08) argument 16 #define IS_01XX(v) (((v)&0x0c)==0x04) argument 19 #define IS_0100(v) (((v)&0x0f)==0x04) argument 22 #define IS_0101(v) (((v)&0x0f)==0x05) argument 25 #define IS_0110(v) (((v)&0x0f)==0x06) argument 28 #define IS_0111(v) (((v)&0x0f)==0x07) argument 31 #define IS_0000(v) (((v)&0x0f)==0x00) argument 34 #define IS_0001(v) (((v)&0x0f)==0x01) argument 37 #define IS_0010(v) (((v)&0x0f)==0x02) argument 40 #define IS_0011(v) (((v)&0x0f)==0x03) argument [all …]
|
/hal_espressif-3.7.0/components/soc/esp32/include/soc/ |
D | boot_mode.h | 21 #define IS_1XXXX(v) (((v)&0x10)==0x10) argument 24 #define IS_010XX(v) (((v)&0x1c)==0x08) argument 27 #define IS_00XXX(v) (((v)&0x18)==0x00) argument 30 #define IS_00X00(v) (((v)&0x1b)==0x00) argument 33 #define IS_00X01(v) (((v)&0x1b)==0x01) argument 36 #define IS_00X10(v) (((v)&0x1b)==0x02) argument 39 #define IS_00X11(v) (((v)&0x1b)==0x03) argument 42 #define IS_01110(v) (((v)&0x1f)==0x0e) argument 45 #define IS_01111(v) (((v)&0x1f)==0x0f) argument 48 #define IS_01100(v) (((v)&0x1f)==0x0c) argument [all …]
|
/hal_espressif-3.7.0/components/soc/esp32c3/include/soc/ |
D | boot_mode.h | 21 #define IS_1XXX(v) (((v)&0x08)==0x08) argument 24 #define IS_00XX(v) (((v)&0x0c)==0x00) argument 27 #define IS_0000(v) (((v)&0x0f)==0x00) argument 30 #define IS_0001(v) (((v)&0x0f)==0x01) argument 33 #define IS_0010(v) (((v)&0x0f)==0x02) argument 36 #define IS_0011(v) (((v)&0x0f)==0x03) argument 39 #define IS_0100(v) (((v)&0x0f)==0x04) argument 42 #define IS_0101(v) (((v)&0x0f)==0x05) argument 45 #define IS_0110(v) (((v)&0x0f)==0x06) argument 48 #define IS_0111(v) (((v)&0x0f)==0x07) argument
|
/hal_espressif-3.7.0/components/soc/esp32c6/include/soc/ |
D | boot_mode.h | 13 #define IS_1XXX(v) (((v)&0x08)==0x08) argument 16 #define IS_00XX(v) (((v)&0x0c)==0x00) argument 19 #define IS_0000(v) (((v)&0x0f)==0x00) argument 22 #define IS_0001(v) (((v)&0x0f)==0x01) argument 25 #define IS_0010(v) (((v)&0x0f)==0x02) argument 28 #define IS_0011(v) (((v)&0x0f)==0x03) argument 31 #define IS_0100(v) (((v)&0x0f)==0x04) argument 34 #define IS_0101(v) (((v)&0x0f)==0x05) argument 37 #define IS_0110(v) (((v)&0x0f)==0x06) argument 40 #define IS_0111(v) (((v)&0x0f)==0x07) argument
|
/hal_espressif-3.7.0/components/soc/esp32h2/include/soc/ |
D | boot_mode.h | 13 #define IS_1XXX(v) (((v)&0x08)==0x08) argument 16 #define IS_00XX(v) (((v)&0x0c)==0x00) argument 19 #define IS_0000(v) (((v)&0x0f)==0x00) argument 22 #define IS_0001(v) (((v)&0x0f)==0x01) argument 25 #define IS_0010(v) (((v)&0x0f)==0x02) argument 28 #define IS_0011(v) (((v)&0x0f)==0x03) argument 31 #define IS_0100(v) (((v)&0x0f)==0x04) argument 34 #define IS_0101(v) (((v)&0x0f)==0x05) argument 37 #define IS_0110(v) (((v)&0x0f)==0x06) argument 40 #define IS_0111(v) (((v)&0x0f)==0x07) argument
|
/hal_espressif-3.7.0/components/soc/esp32s3/include/soc/ |
D | boot_mode.h | 20 #define IS_1XXX(v) (((v)&0x08)==0x08) argument 23 #define IS_00XX(v) (((v)&0x0c)==0x00) argument 26 #define IS_0000(v) (((v)&0x0f)==0x00) argument 29 #define IS_0001(v) (((v)&0x0f)==0x01) argument 32 #define IS_0010(v) (((v)&0x0f)==0x02) argument 35 #define IS_0011(v) (((v)&0x0f)==0x03) argument 38 #define IS_0100(v) (((v)&0x0f)==0x04) argument 41 #define IS_0101(v) (((v)&0x0f)==0x05) argument 44 #define IS_0110(v) (((v)&0x0f)==0x06) argument 47 #define IS_0111(v) (((v)&0x0f)==0x07) argument
|
/hal_espressif-3.7.0/components/soc/esp32s2/include/soc/ |
D | boot_mode.h | 21 #define IS_1XXX(v) (((v)&0x08)==0x08) argument 24 #define IS_00XX(v) (((v)&0x0c)==0x00) argument 27 #define IS_0000(v) (((v)&0x0f)==0x00) argument 30 #define IS_0001(v) (((v)&0x0f)==0x01) argument 33 #define IS_0010(v) (((v)&0x0f)==0x02) argument 36 #define IS_0011(v) (((v)&0x0f)==0x03) argument 39 #define IS_0100(v) (((v)&0x0f)==0x04) argument 42 #define IS_0101(v) (((v)&0x0f)==0x05) argument 45 #define IS_0110(v) (((v)&0x0f)==0x06) argument 48 #define IS_0111(v) (((v)&0x0f)==0x07) argument
|
/hal_espressif-3.7.0/components/bt/porting/ext/tinycrypt/src/ |
D | hmac_prng.c | 85 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 94 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 95 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update() 99 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 108 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 109 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update() 126 _set(prng->v, 0x01, sizeof(prng->v)); in tc_hmac_prng_init() 196 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in tc_hmac_prng_generate() 197 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in tc_hmac_prng_generate() 201 (void)_copy(out, bufferlen, prng->v, bufferlen); in tc_hmac_prng_generate() [all …]
|
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/ |
D | hmac_prng.c | 88 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 105 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 106 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update() 117 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 130 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 131 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update() 148 _set(prng->v, 0x01, sizeof(prng->v)); in tc_hmac_prng_init() 218 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in tc_hmac_prng_generate() 219 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in tc_hmac_prng_generate() 223 (void)_copy(out, bufferlen, prng->v, bufferlen); in tc_hmac_prng_generate()
|
/hal_espressif-3.7.0/components/heap/test_apps/heap_tests/main/ |
D | test_diram.c | 51 uint32_t v = i + 0xAAAA; variable 52 dram[i] = v; 54 TEST_ASSERT_EQUAL(v, dram[i]); 55 TEST_ASSERT_EQUAL(v, *iram); 69 uint32_t v = i + 0xEEE; variable 70 iram[i] = v; 72 TEST_ASSERT_EQUAL_HEX32(v, iram[i]); 73 TEST_ASSERT_EQUAL_HEX32(v, *dram);
|
/hal_espressif-3.7.0/components/xtensa/include/xtensa/ |
D | core-macros.h | 334 # define XTHAL_SET_INTENABLE(v) do { int __intenable = (int)(v); \ argument 342 # define XTHAL_SET_INTSET(v) do { int __interrupt = (int)(v); \ argument 346 # define XTHAL_SET_INTSET(v) do { int __interrupt = (int)(v); \ argument 350 # define XTHAL_SET_INTCLEAR(v) do { int __interrupt = (int)(v); \ argument 356 # define XTHAL_SET_CCOUNT(v) do { int __ccount = (int)(v); \ argument 363 # define _XTHAL_SET_CCOMPARE(n,v) do { int __ccompare = (int)(v); \ argument 366 # define XTHAL_SET_CCOMPARE(n,v) _XTHAL_SET_CCOMPARE(n,v) argument 369 # define XTHAL_SET_INTENABLE(v) do {/*nothing*/} while(0) argument 371 # define XTHAL_SET_INTSET(v) do {/*nothing*/} while(0) argument 372 # define XTHAL_SET_INTCLEAR(v) do {/*nothing*/} while(0) argument [all …]
|
/hal_espressif-3.7.0/components/wpa_supplicant/src/crypto/ |
D | aes-gcm.c | 36 static void shift_right_block(u8 *v) in shift_right_block() argument 40 val = WPA_GET_BE32(v + 12); in shift_right_block() 42 if (v[11] & 0x01) in shift_right_block() 44 WPA_PUT_BE32(v + 12, val); in shift_right_block() 46 val = WPA_GET_BE32(v + 8); in shift_right_block() 48 if (v[7] & 0x01) in shift_right_block() 50 WPA_PUT_BE32(v + 8, val); in shift_right_block() 52 val = WPA_GET_BE32(v + 4); in shift_right_block() 54 if (v[3] & 0x01) in shift_right_block() 56 WPA_PUT_BE32(v + 4, val); in shift_right_block() [all …]
|
D | aes-siv.c | 127 u8 v[AES_BLOCK_SIZE]; in aes_siv_encrypt() local 146 if (aes_s2v(k1, key_len, num_elem + 1, _addr, _len, v)) in aes_siv_encrypt() 152 os_memcpy(iv, v, AES_BLOCK_SIZE); in aes_siv_encrypt() 156 v[8] &= 0x7f; in aes_siv_encrypt() 157 v[12] &= 0x7f; in aes_siv_encrypt() 158 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt()
|
D | sha1-internal.c | 144 #define R0(v,w,x,y,z,i) \ argument 145 z += ((w & (x ^ y)) ^ y) + blk0(i) + 0x5A827999 + rol(v, 5); \ 147 #define R1(v,w,x,y,z,i) \ argument 148 z += ((w & (x ^ y)) ^ y) + blk(i) + 0x5A827999 + rol(v, 5); \ 150 #define R2(v,w,x,y,z,i) \ argument 151 z += (w ^ x ^ y) + blk(i) + 0x6ED9EBA1 + rol(v, 5); w = rol(w, 30); 152 #define R3(v,w,x,y,z,i) \ argument 153 z += (((w | x) & y) | (w & x)) + blk(i) + 0x8F1BBCDC + rol(v, 5); \ 155 #define R4(v,w,x,y,z,i) \ argument 156 z += (w ^ x ^ y) + blk(i) + 0xCA62C1D6 + rol(v, 5); \
|
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/sdp/ |
D | sdp_api.c | 349 … for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceUUIDInRec() 353 p_uuid->uu.uuid16 = p_sattr->attr_value.v.u16; in SDP_FindServiceUUIDInRec() 357 … p_uuid->uu.uuid128[i] = p_sattr->attr_value.v.array[LEN_UUID_128 - i - 1]; in SDP_FindServiceUUIDInRec() 361 p_uuid->uu.uuid32 = p_sattr->attr_value.v.u32; in SDP_FindServiceUUIDInRec() 374 …for (p_extra_sattr = p_sattr->attr_value.v.p_sub_attr; p_extra_sattr; p_extra_sattr = p_extra_satt… in SDP_FindServiceUUIDInRec() 380 p_uuid->uu.uuid16 = p_extra_sattr->attr_value.v.u16; in SDP_FindServiceUUIDInRec() 393 p_uuid->uu.uuid16 = p_attr->attr_value.v.u16; in SDP_FindServiceUUIDInRec() 428 … for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceUUIDInRec_128bit() 434 … p_uuid->uu.uuid128[i] = p_sattr->attr_value.v.array[LEN_UUID_128 - i - 1]; in SDP_FindServiceUUIDInRec_128bit() 447 p_uuid->uu.uuid128[i] = p_attr->attr_value.v.array[LEN_UUID_128 - i - 1]; in SDP_FindServiceUUIDInRec_128bit() [all …]
|
D | sdp_discovery.c | 882 p_attr->attr_value.v.u8 = *p++; in add_attr() 885 BE_STREAM_TO_UINT16 (p_attr->attr_value.v.u16, p); in add_attr() 888 BE_STREAM_TO_UINT32 (p_attr->attr_value.v.u32, p); in add_attr() 891 BE_STREAM_TO_ARRAY (p, p_attr->attr_value.v.array, (INT32)attr_len); in add_attr() 899 BE_STREAM_TO_UINT16 (p_attr->attr_value.v.u16, p); in add_attr() 902 BE_STREAM_TO_UINT32 (p_attr->attr_value.v.u32, p); in add_attr() 903 if (p_attr->attr_value.v.u32 < 0x10000) { in add_attr() 906 p_attr->attr_value.v.u16 = (UINT16) p_attr->attr_value.v.u32; in add_attr() 916 BE_STREAM_TO_UINT16 (p_attr->attr_value.v.u16, p); in add_attr() 920 BE_STREAM_TO_UINT32 (p_attr->attr_value.v.u32, p); in add_attr() [all …]
|
/hal_espressif-3.7.0/components/xtensa/ |
D | xt_trax.c | 30 uint32_t v; in _xt_trax_start_trace() local 32 v=TRAXCTRL_TREN | TRAXCTRL_TMEN | TRAXCTRL_PTOWS | (1<<TRAXCTRL_SMPER_SHIFT); in _xt_trax_start_trace() 34 v|=TRAXCTRL_CNTU; in _xt_trax_start_trace() 37 eri_write(ERI_TRAX_TRAXCTRL, v); in _xt_trax_start_trace()
|
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/hid/ |
D | hidh_api.c | 89 memcpy( str, (char *) p_attr->attr_value.v.array, name_len ); in hidh_get_str_attr() 92 memcpy( str, (char *) p_attr->attr_value.v.array, max_len - 1 ); in hidh_get_str_attr() 130 || ((p_subattr1 = p_attr->attr_value.v.p_sub_attr) == NULL) in hidh_search_callback() 132 || ((p_subattr2 = p_subattr1->attr_value.v.p_sub_attr) == NULL) in hidh_search_callback() 144 (p_attr->attr_value.v.u8) ) { in hidh_search_callback() 149 (p_attr->attr_value.v.u8) ) { in hidh_search_callback() 154 (p_attr->attr_value.v.u8) ) { in hidh_search_callback() 159 (p_attr->attr_value.v.u8) ) { in hidh_search_callback() 164 (p_attr->attr_value.v.u8) ) { in hidh_search_callback() 169 (p_attr->attr_value.v.u8) ) { in hidh_search_callback() [all …]
|
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/sdp/ |
D | bta_sdp_act.c | 122 record->mns.supported_features = p_attr->attr_value.v.u32; in bta_create_mns_sdp_record() 127 record->mns.hdr.service_name = (char *)p_attr->attr_value.v.array; in bta_create_mns_sdp_record() 139 record->mns.hdr.l2cap_psm = p_attr->attr_value.v.u16; in bta_create_mns_sdp_record() 160 record->mas.mas_instance_id = p_attr->attr_value.v.u8; in bta_create_mas_sdp_record() 164 record->mas.supported_message_types = p_attr->attr_value.v.u8; in bta_create_mas_sdp_record() 168 record->mas.supported_features = p_attr->attr_value.v.u32; in bta_create_mas_sdp_record() 173 record->mas.hdr.service_name = (char *)p_attr->attr_value.v.array; in bta_create_mas_sdp_record() 185 record->mas.hdr.l2cap_psm = p_attr->attr_value.v.u16; in bta_create_mas_sdp_record() 205 record->pse.supported_repositories = p_attr->attr_value.v.u8; in bta_create_pse_sdp_record() 208 record->pse.supported_features = p_attr->attr_value.v.u32; in bta_create_pse_sdp_record() [all …]
|
/hal_espressif-3.7.0/components/wpa_supplicant/src/tls/ |
D | pkcs5.c | 404 unsigned int u, v, S_len, P_len, i; in pkcs12_key_gen() local 410 v = 64; in pkcs12_key_gen() 413 D = os_malloc(v); in pkcs12_key_gen() 416 os_memset(D, id, v); in pkcs12_key_gen() 419 S_len = v * ((salt_len + v - 1) / v); in pkcs12_key_gen() 420 P_len = v * ((pw_len + v - 1) / v); in pkcs12_key_gen() 434 B = os_malloc(v); in pkcs12_key_gen() 444 len[0] = v; in pkcs12_key_gen() 469 for (i = 0; i < v; i++) in pkcs12_key_gen() 471 inc_byte_array(B, v); in pkcs12_key_gen() [all …]
|
/hal_espressif-3.7.0/tools/esptool_py/esptool/targets/ |
D | esp32h2.py | 65 if any([v for v in spi_connection if v in [26, 27]]):
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32s2/rom/ |
D | ets_sys.h | 181 #define ETS_ASSERT(v) do { \ argument 182 if (!(v)) { \ 474 #define _ETSTR(v) # v argument
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32s3/rom/ |
D | ets_sys.h | 179 #define ETS_ASSERT(v) do { \ argument 180 if (!(v)) { \ 461 #define _ETSTR(v) # v argument
|
/hal_espressif-3.7.0/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_dpp.c | 146 … (const u8 *)&rx_param->action_frm->u.public_action.v, dpp_data, len); in esp_dpp_rx_auth_req() 235 if (dpp_auth_conf_rx(auth, (const u8 *)&public_action->v, in esp_dpp_rx_auth_conf() 256 tmp = rx_param->action_frm->u.public_action.v.pa_vendor_spec.vendor_data; in esp_dpp_rx_auth() 279 uint8_t *pos = rx_param->action_frm->u.public_action.v.pa_gas_resp.data; in gas_query_resp_rx() 313 WPA_GET_BE24(public_action->v.pa_vendor_spec.oui) == OUI_WFA && in esp_dpp_rx_action() 314 public_action->v.pa_vendor_spec.wfa_stype == DPP_OUI_TYPE) { in esp_dpp_rx_action() 317 (size_t)(public_action->v.pa_vendor_spec.vendor_data - in esp_dpp_rx_action() 326 public_action->v.pa_gas_resp.type == WLAN_EID_ADV_PROTO && in esp_dpp_rx_action() 327 public_action->v.pa_gas_resp.length == 8 && in esp_dpp_rx_action() 328 public_action->v.pa_gas_resp.status_code == 0) { in esp_dpp_rx_action() [all …]
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32/rom/ |
D | ets_sys.h | 264 #define ETS_ASSERT(v) do { \ argument 265 if (!(v)) { \ 539 #define _ETSTR(v) # v argument
|