/hal_espressif-3.6.0/components/newlib/platform_include/ |
D | endian.h | 56 #define bswap16(x) __bswap16(x) argument 57 #define bswap32(x) __bswap32(x) argument 58 #define bswap64(x) __bswap64(x) argument 65 #define htobe16(x) bswap16((x)) argument 66 #define htobe32(x) bswap32((x)) argument 67 #define htobe64(x) bswap64((x)) argument 68 #define htole16(x) ((uint16_t)(x)) argument 69 #define htole32(x) ((uint32_t)(x)) argument 70 #define htole64(x) ((uint64_t)(x)) argument 72 #define be16toh(x) bswap16((x)) argument [all …]
|
/hal_espressif-3.6.0/components/wpa_supplicant/port/include/ |
D | endian.h | 78 #define bswap16(x) __bswap16(x) argument 79 #define bswap32(x) __bswap32(x) argument 80 #define bswap64(x) __bswap64(x) argument 87 #define htobe16(x) bswap16((x)) argument 88 #define htobe32(x) bswap32((x)) argument 89 #define htobe64(x) bswap64((x)) argument 90 #define htole16(x) ((uint16_t)(x)) argument 91 #define htole32(x) ((uint32_t)(x)) argument 92 #define htole64(x) ((uint64_t)(x)) argument 94 #define be16toh(x) bswap16((x)) argument [all …]
|
D | byteswap.h | 13 # define __bswap_16(x) \ argument 29 # define __bswap_32(x) \ argument 47 # define __bswap_constant_64(x) \ argument 57 # define __bswap_64(x) \ argument
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/include/stack/ |
D | hcidefs.h | 500 #define HCI_LE_STATES_NON_CONN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_NON_CONN_ADV_OFF] & HC… argument 505 #define HCI_LE_STATES_SCAN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATESSCAN_ADV_OFF] & HCI_SUPP_LE… argument 510 #define HCI_LE_STATES_CONN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_CONN_ADV_OFF] & HCI_SUPP_L… argument 515 #define HCI_LE_STATES_HI_DUTY_DIR_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_HI_DUTY_DIR_ADV_OFF… argument 520 #define HCI_LE_STATES_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_PASS_SCAN_OFF] & HCI_SUPP… argument 525 #define HCI_LE_STATES_ACTIVE_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_ACTIVE_SCAN_OFF] & HCI_… argument 530 #define HCI_LE_STATES_INIT_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_INIT_OFF] & HCI_SUPP_LE_STATES… argument 535 #define HCI_LE_STATES_SLAVE_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_SLAVE_OFF] & HCI_SUPP_LE_STAT… argument 540 #define HCI_LE_STATES_NON_CONN_ADV_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_NON_CONN_ADV… argument 545 #define HCI_LE_STATES_SCAN_ADV_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_SCAN_ADV_PASS_SC… argument [all …]
|
D | avrc_defs.h | 406 #define AVRC_PF_SELECT_SUPPORTED(x) ((x)[AVRC_PF_SELECT_OFF] & AVRC_PF_SELECT_MASK) argument 411 #define AVRC_PF_UP_SUPPORTED(x) ((x)[AVRC_PF_UP_OFF] & AVRC_PF_UP_MASK) argument 416 #define AVRC_PF_DOWN_SUPPORTED(x) ((x)[AVRC_PF_DOWN_OFF] & AVRC_PF_DOWN_MASK) argument 421 #define AVRC_PF_LEFT_SUPPORTED(x) ((x)[AVRC_PF_LEFT_OFF] & AVRC_PF_LEFT_MASK) argument 426 #define AVRC_PF_RIGHT_SUPPORTED(x) ((x)[AVRC_PF_RIGHT_OFF] & AVRC_PF_RIGHT_MASK) argument 431 #define AVRC_PF_RIGHTUP_SUPPORTED(x) ((x)[AVRC_PF_RIGHTUP_OFF] & AVRC_PF_RIGHTUP_MASK) argument 436 #define AVRC_PF_RIGHTDOWN_SUPPORTED(x) ((x)[AVRC_PF_RIGHTDOWN_OFF] & AVRC_PF_RIGHTDOWN_MASK) argument 441 #define AVRC_PF_LEFTUP_SUPPORTED(x) ((x)[AVRC_PF_LEFTUP_OFF] & AVRC_PF_LEFTUP_MASK) argument 446 #define AVRC_PF_LEFTDOWN_SUPPORTED(x) ((x)[AVRC_PF_LEFTDOWN_OFF] & AVRC_PF_LEFTDOWN_MASK) argument 451 #define AVRC_PF_ROOT_MENU_SUPPORTED(x) ((x)[AVRC_PF_ROOT_MENU_OFF] & AVRC_PF_ROOT_MENU_MASK) argument [all …]
|
/hal_espressif-3.6.0/components/xtensa/include/xtensa/ |
D | coreasm.h | 1026 #define _GBL(x) .global x argument 1027 #define _TYP(x) .type x,@function argument 1028 #define _ALN(x) .align x argument 1029 #define _SIZ(x) .size x, . - x argument 1030 #define _MKEND(x) .purgem endfunc ; .macro endfunc ; _SIZ(x) ; .purgem endfunc ; .macro endfunc ; … argument 1031 #define _SYMT(x) _GBL(x); _MKEND(x); _TYP(x); _ALN(4); x: argument 1032 #define _SYM2(x) _GBL(x); _TYP(x); x: argument 1033 #define _SYM(x) _GBL(x); _MKEND(x); _ALN(4); x: argument 1049 # define DECLFUNC(x) _SYMT(x ## _nw) argument
|
D | hal.h | 1136 #define XTHAL_ENCODE_MEMORY_TYPE(x) \ argument 1179 #define XTHAL_MPU_ENTRY_GET_VSTARTADDR(x) ((x).as & 0xffffffe0) argument 1181 #define XTHAL_MPU_ENTRY_SET_VSTARTADDR(x, vaddr) (x).as = \ argument 1184 #define XTHAL_MPU_ENTRY_GET_VALID(x) (((x).as & 0x1)) argument 1186 #define XTHAL_MPU_ENTRY_SET_VALID(x, valid) (x).as = \ argument 1188 #define XTHAL_MPU_ENTRY_GET_ACCESS(x) ((((x).at) >> 8) & 0xf) argument 1190 #define XTHAL_MPU_ENTRY_SET_ACCESS(x, accessRights) ((x).at = \ argument 1193 #define XTHAL_MPU_ENTRY_GET_MEMORY_TYPE(x) ((((x).at) >> 12) & 0x1ff) argument 1195 #define XTHAL_MPU_ENTRY_SET_MEMORY_TYPE(x, memtype) ((x).at = \ argument 1390 #define _XTHAL_MEM_ANY_SHAREABLE(x) (((x) & XTHAL_MEM_SYSTEM_SHAREABLE) ? 1 : 0) argument [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/smp/ |
D | aes.c | 80 #define f1(x) (x) argument 81 #define f2(x) ((x << 1) ^ (((x >> 7) & 1) * WPOLY)) argument 82 #define f4(x) ((x << 2) ^ (((x >> 6) & 1) * WPOLY) ^ (((x >> 6) & 2) * WPOLY)) argument 83 #define f8(x) ((x << 3) ^ (((x >> 5) & 1) * WPOLY) ^ (((x >> 5) & 2) * WPOLY) \ argument 85 #define d2(x) (((x) >> 1) ^ ((x) & 1 ? DPOLY : 0)) argument 87 #define f3(x) (f2(x) ^ x) argument 88 #define f9(x) (f8(x) ^ x) argument 89 #define fb(x) (f8(x) ^ f2(x) ^ x) argument 90 #define fd(x) (f8(x) ^ f4(x) ^ x) argument 91 #define fe(x) (f8(x) ^ f4(x) ^ f2(x)) argument [all …]
|
/hal_espressif-3.6.0/components/openssl/library/ |
D | ssl_x509.c | 16 int __X509_show_info(X509 *x) in __X509_show_info() 27 X509 *x; in __X509_new() local 67 void X509_free(X509 *x) in X509_free() 88 X509 *x; in d2i_X509() local 153 int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x) in SSL_CTX_add_client_CA() 171 int SSL_add_client_CA(SSL *ssl, X509 *x) in SSL_add_client_CA() 189 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x) in SSL_CTX_use_certificate() 208 int SSL_use_certificate(SSL *ssl, X509 *x) in SSL_use_certificate() 223 long SSL_CTX_add_extra_chain_cert(SSL_CTX *ctx, X509 *x) in SSL_CTX_add_extra_chain_cert() 245 X509 *x; in SSL_CTX_use_certificate_ASN1() local [all …]
|
/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/ |
D | sha512-internal.c | 92 #define Ch(x,y,z) (z ^ (x & (y ^ z))) argument 93 #define Maj(x,y,z) (((x | y) & z) | (x & y)) argument 94 #define S(x, n) ROR64c(x, n) argument 95 #define R(x, n) (((x) & CONST64(0xFFFFFFFFFFFFFFFF)) >> ((u64) n)) argument 96 #define Sigma0(x) (S(x, 28) ^ S(x, 34) ^ S(x, 39)) argument 97 #define Sigma1(x) (S(x, 14) ^ S(x, 18) ^ S(x, 41)) argument 98 #define Gamma0(x) (S(x, 1) ^ S(x, 8) ^ R(x, 7)) argument 99 #define Gamma1(x) (S(x, 19) ^ S(x, 61) ^ R(x, 6)) argument 101 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) argument 104 #define ROR64c(x, y) \ argument
|
D | sha256-internal.c | 68 #define RORc(x, y) \ argument 71 #define Ch(x,y,z) (z ^ (x & (y ^ z))) argument 72 #define Maj(x,y,z) (((x | y) & z) | (x & y)) argument 73 #define S(x, n) RORc((x), (n)) argument 74 #define R(x, n) (((x)&0xFFFFFFFFUL)>>(n)) argument 75 #define Sigma0(x) (S(x, 2) ^ S(x, 13) ^ S(x, 22)) argument 76 #define Sigma1(x) (S(x, 6) ^ S(x, 11) ^ S(x, 25)) argument 77 #define Gamma0(x) (S(x, 7) ^ S(x, 18) ^ R(x, 3)) argument 78 #define Gamma1(x) (S(x, 17) ^ S(x, 19) ^ R(x, 10)) argument 80 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) argument
|
D | md5-internal.c | 194 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument 195 #define F2(x, y, z) F1(z, x, y) argument 196 #define F3(x, y, z) (x ^ y ^ z) argument 197 #define F4(x, y, z) (y ^ (x | ~z)) argument 200 #define MD5STEP(f, w, x, y, z, data, s) \ argument
|
/hal_espressif-3.6.0/components/lwip/port/esp32/include/arch/ |
D | sys_arch.h | 67 #define sys_mutex_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE ) argument 68 #define sys_mutex_set_invalid( x ) ( ( *x ) = NULL ) argument 71 #define sys_mbox_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE ) argument 90 #define sys_mbox_set_invalid( x ) *x = NULL argument 92 #define sys_sem_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE ) argument 93 #define sys_sem_set_invalid( x ) ( ( *x ) = NULL ) argument
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/include/ |
D | mesh_util.h | 29 #define POINTER_TO_UINT(x) ((uint32_t) (x)) argument 32 #define UINT_TO_POINTER(x) ((void *) (x)) argument 35 #define POINTER_TO_INT(x) ((int32_t) (x)) argument 38 #define INT_TO_POINTER(x) ((void *) (x)) argument 78 #define ROUND_UP(x, align) \ argument 84 #define ROUND_DOWN(x, align) ((unsigned long)(x) & ~((unsigned long)align - 1)) argument 89 #define WB_UP(x) ROUND_UP(x, sizeof(void *)) argument 93 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *)) argument
|
/hal_espressif-3.6.0/components/mbedtls/port/sha/parallel_engine/ |
D | esp_sha512.c | 41 #define UL64(x) x##ui64 argument 43 #define UL64(x) x##ULL argument 273 #define SHR(x,n) (x >> n) in mbedtls_sha512_software_process() argument 274 #define ROTR(x,n) (SHR(x,n) | (x << (64 - n))) in mbedtls_sha512_software_process() argument 276 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in mbedtls_sha512_software_process() argument 277 #define S1(x) (ROTR(x,19) ^ ROTR(x,61) ^ SHR(x, 6)) in mbedtls_sha512_software_process() argument 279 #define S2(x) (ROTR(x,28) ^ ROTR(x,34) ^ ROTR(x,39)) in mbedtls_sha512_software_process() argument 280 #define S3(x) (ROTR(x,14) ^ ROTR(x,18) ^ ROTR(x,41)) in mbedtls_sha512_software_process() argument 282 #define F0(x,y,z) ((x & y) | (z & (x | y))) in mbedtls_sha512_software_process() argument 283 #define F1(x,y,z) (z ^ (x & (y ^ z))) in mbedtls_sha512_software_process() argument [all …]
|
D | esp_sha256.c | 181 #define SHR(x,n) ((x & 0xFFFFFFFF) >> n) argument 182 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) argument 184 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) argument 185 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) argument 187 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) argument 188 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25)) argument 190 #define F0(x,y,z) ((x & y) | (z & (x | y))) argument 191 #define F1(x,y,z) (z ^ (x & (y ^ z))) argument 199 #define P(a,b,c,d,e,f,g,h,x,K) \ argument
|
/hal_espressif-3.6.0/components/esp_common/include/ |
D | esp_err.h | 108 #define ESP_ERROR_CHECK(x) do { \ argument 113 #define ESP_ERROR_CHECK(x) do { \ argument 120 #define ESP_ERROR_CHECK(x) do { \ argument 135 #define ESP_ERROR_CHECK_WITHOUT_ABORT(x) ({ \ argument 140 #define ESP_ERROR_CHECK_WITHOUT_ABORT(x) ({ \ argument
|
D | esp_compiler.h | 28 #define likely(x) __builtin_expect(!!(x), 1) argument 31 #define unlikely(x) __builtin_expect(!!(x), 0) argument 35 #define likely(x) (x) argument 38 #define unlikely(x) (x) argument
|
/hal_espressif-3.6.0/examples/peripherals/lcd/tjpgd/main/ |
D | pretty_effect.c | 20 static inline uint16_t get_bgnd_pixel(int x, int y) in get_bgnd_pixel() 44 for (int x=0; x<320; x++) xofs[x]=sin(frame*0.15+x*0.06)*4; in pretty_effect_calc_lines() local 46 for (int x=0; x<320; x++) xcomp[x]=sin(frame*0.11+x*0.12)*4; in pretty_effect_calc_lines() local 51 for (int x=0; x<320; x++) { in pretty_effect_calc_lines() local
|
/hal_espressif-3.6.0/examples/peripherals/spi_master/lcd/main/ |
D | pretty_effect.c | 20 static inline uint16_t get_bgnd_pixel(int x, int y) in get_bgnd_pixel() 43 for (int x=0; x<320; x++) xofs[x]=sin(frame*0.15+x*0.06)*4; in pretty_effect_calc_lines() local 45 for (int x=0; x<320; x++) xcomp[x]=sin(frame*0.11+x*0.12)*4; in pretty_effect_calc_lines() local 50 for (int x=0; x<320; x++) { in pretty_effect_calc_lines() local
|
/hal_espressif-3.6.0/components/nghttp/private_include/ |
D | config.h | 31 #define htons(x) NGHTTP_PLATFORM_HTONS(x) argument 32 #define ntohs(x) NGHTTP_PLATFORM_HTONS(x) argument 33 #define htonl(x) NGHTTP_PLATFORM_HTONL(x) argument 34 #define ntohl(x) NGHTTP_PLATFORM_HTONL(x) argument
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/external/sbc/decoder/include/ |
D | oi_codec_sbc_private.h | 46 #define ERROR(x) do { printf x; printf("\n"); } while (0) argument 48 #define ERROR(x) argument 52 #define TRACE(x) do { printf x; printf("\n"); } while (0) argument 54 #define TRACE(x) argument 106 #define VALID_INT16(x) (((x) >= OI_INT16_MIN) && ((x) <= OI_INT16_MAX)) argument 107 #define VALID_INT32(x) (((x) >= OI_INT32_MIN) && ((x) <= OI_INT32_MAX)) argument
|
/hal_espressif-3.6.0/components/esp_rom/linux/ |
D | esp_rom_md5.c | 150 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument 151 #define F2(x, y, z) F1(z, x, y) argument 152 #define F3(x, y, z) (x ^ y ^ z) argument 153 #define F4(x, y, z) (y ^ (x | ~z)) argument 156 #define MD5STEP(f, w, x, y, z, data, s) \ argument
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/external/sbc/decoder/srce/ |
D | synthesis-dct8.c | 52 #define SCALE(x, y) (((x) + (1 <<((y)-1))) >> (y)) argument 86 #define FIX(x,bits) (((int)floor(0.5f+((x)*((float)(1<<bits)))))/((float)(1<<bits))) in float_dct2_8() argument 87 #define FLOAT_BUTTERFLY(x,y) x += y; y = x - (y*2); OI_ASSERT(VALID_INT32(x)); OI_ASSERT(VALID_INT3… in float_dct2_8() argument 89 #define FLOAT_SCALE(x, y) (((x) / (double)(1 << (y)))) in float_dct2_8() argument 213 #define BUTTERFLY(x,y) x += y; y = x - (y<<1); in dct2_8() argument 214 #define FIX_MULT_DCT(K, x) (MUL_32S_32S_HI(K,x)<<2) in dct2_8() argument
|
/hal_espressif-3.6.0/components/app_trace/sys_view/Config/ |
D | Global.h | 87 #define U64_C(x) x##UI64 argument 89 #define U64_C(x) x##ULL argument 97 #define U64_C(x) x##ULL argument
|