/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/esp/blufi/include/ |
D | blufi_int.h | 54 uint8_t type; member 63 uint8_t type; member 91 #define BLUFI_GET_TYPE(type) ((type) & BLUFI_TYPE_MASK) argument 92 #define BLUFI_GET_SUBTYPE(type) (((type) & BLUFI_SUBTYPE_MASK) >>BLUFI_SUBTYPE_SHIFT) argument 93 #define BLUFI_BUILD_TYPE(type, subtype) (((type) & BLUFI_TYPE_MASK) | ((subtype)<<BLUFI_SUBTYPE_SHI… argument 128 #define BLUFI_TYPE_IS_CTRL(type) (BLUFI_GET_TYPE((type)) == BLUFI_TYPE_CTRL) argument 129 #define BLUFI_TYPE_IS_DATA(type) (BLUFI_GET_TYPE((type)) == BLUFI_TYPE_DATA) argument 131 #define BLUFI_TYPE_IS_CTRL_ACK(type) (BLUFI_TYPE_IS_CTRL((type)) && BLUFI_GET_SUBTY… argument 132 #define BLUFI_TYPE_IS_CTRL_START_NEG(type) (BLUFI_TYPE_IS_CTRL((type)) && BLUFI_GET_SUBTY… argument 133 #define BLUFI_TYPE_IS_CTRL_STOP_NEG(type) (BLUFI_TYPE_IS_CTRL((type)) && BLUFI_GET_SUBTY… argument [all …]
|
/hal_espressif-2.7.6/components/riscv/ |
D | stdatomic.c | 40 #define ATOMIC_EXCHANGE(n, type) type __atomic_exchange_ ## n (type* mem, type val, int memorder) \ argument 43 type ret = *mem; \ 49 #define CMP_EXCHANGE(n, type) bool __atomic_compare_exchange_ ## n (type* mem, type* expect, type d… argument 63 #define FETCH_ADD(n, type) type __atomic_fetch_add_ ## n (type* ptr, type value, int memorder) \ argument 66 type ret = *ptr; \ 72 #define FETCH_SUB(n, type) type __atomic_fetch_sub_ ## n (type* ptr, type value, int memorder) \ argument 75 type ret = *ptr; \ 81 #define FETCH_AND(n, type) type __atomic_fetch_and_ ## n (type* ptr, type value, int memorder) \ argument 84 type ret = *ptr; \ 90 #define FETCH_OR(n, type) type __atomic_fetch_or_ ## n (type* ptr, type value, int memorder) \ argument [all …]
|
/hal_espressif-2.7.6/components/xtensa/ |
D | stdatomic.c | 40 #define ATOMIC_EXCHANGE(n, type) type __atomic_exchange_ ## n (type* mem, type val, int memorder) \ argument 43 type ret = *mem; \ 49 #define CMP_EXCHANGE(n, type) bool __atomic_compare_exchange_ ## n (type* mem, type* expect, type d… argument 63 #define FETCH_ADD(n, type) type __atomic_fetch_add_ ## n (type* ptr, type value, int memorder) \ argument 66 type ret = *ptr; \ 72 #define FETCH_SUB(n, type) type __atomic_fetch_sub_ ## n (type* ptr, type value, int memorder) \ argument 75 type ret = *ptr; \ 81 #define FETCH_AND(n, type) type __atomic_fetch_and_ ## n (type* ptr, type value, int memorder) \ argument 84 type ret = *ptr; \ 90 #define FETCH_OR(n, type) type __atomic_fetch_or_ ## n (type* ptr, type value, int memorder) \ argument [all …]
|
/hal_espressif-2.7.6/tools/kconfig/ |
D | expr.c | 20 e->type = E_SYMBOL; in expr_alloc_symbol() 25 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() argument 28 e->type = type; in expr_alloc_one() 33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument 36 e->type = type; in expr_alloc_two() 42 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() argument 45 e->type = type; in expr_alloc_comp() 74 switch (org->type) { in expr_copy() 97 printf("can't copy type %d\n", e->type); in expr_copy() 111 switch (e->type) { in expr_free() [all …]
|
D | menu.c | 87 switch (e->type) { in menu_check_dep() 112 void menu_set_type(int type) in menu_set_type() argument 116 if (sym->type == type) in menu_set_type() 118 if (sym->type == S_UNKNOWN) { in menu_set_type() 119 sym->type = type; in menu_set_type() 125 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type() 128 static struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct … in menu_add_prop() argument 130 struct property *prop = prop_alloc(type, current_entry->sym); in menu_add_prop() 146 if(type == P_PROMPT) { in menu_add_prop() 178 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument [all …]
|
/hal_espressif-2.7.6/components/esp-tls/ |
D | esp_tls_error_capture.c | 23 void esp_tls_internal_event_tracker_capture(esp_tls_error_handle_t h, uint32_t type, int code) in esp_tls_internal_event_tracker_capture() argument 28 if (type == ESP_TLS_ERR_TYPE_ESP) { in esp_tls_internal_event_tracker_capture() 30 } else if (type == ESP_TLS_ERR_TYPE_MBEDTLS || in esp_tls_internal_event_tracker_capture() 31 type == ESP_TLS_ERR_TYPE_WOLFSSL) { in esp_tls_internal_event_tracker_capture() 33 } else if (type == ESP_TLS_ERR_TYPE_MBEDTLS_CERT_FLAGS || in esp_tls_internal_event_tracker_capture() 34 type == ESP_TLS_ERR_TYPE_WOLFSSL_CERT_FLAGS) { in esp_tls_internal_event_tracker_capture() 36 } else if (type == ESP_TLS_ERR_TYPE_SYSTEM) { in esp_tls_internal_event_tracker_capture() 57 esp_err_t esp_tls_get_and_clear_error_type(esp_tls_error_handle_t h, esp_tls_error_type_t type, int… in esp_tls_get_and_clear_error_type() argument 59 if (h && type < ESP_TLS_ERR_TYPE_MAX && code) { in esp_tls_get_and_clear_error_type() 61 if (type == ESP_TLS_ERR_TYPE_ESP) { in esp_tls_get_and_clear_error_type() [all …]
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/utils/ |
D | list.h | 70 #define offsetof(type, member) ((long) &((type *) 0)->member) argument 73 #define dl_list_entry(item, type, member) \ argument 74 ((type *) ((char *) item - offsetof(type, member))) 76 #define dl_list_first(list, type, member) \ argument 78 dl_list_entry((list)->next, type, member)) 80 #define dl_list_last(list, type, member) \ argument 82 dl_list_entry((list)->prev, type, member)) 84 #define dl_list_for_each(item, list, type, member) \ argument 85 for (item = dl_list_entry((list)->next, type, member); \ 87 item = dl_list_entry(item->member.next, type, member)) [all …]
|
/hal_espressif-2.7.6/components/heap/ |
D | heap_task_info.c | 45 for (size_t type = 0; type < NUM_HEAP_TASK_CAPS; ++type) { in heap_caps_get_per_task_info() local 46 params->totals[i].size[type] = 0; in heap_caps_get_per_task_info() 47 params->totals[i].count[type] = 0; in heap_caps_get_per_task_info() 61 uint32_t type; in heap_caps_get_per_task_info() local 62 for (type = 0; type < NUM_HEAP_TASK_CAPS; ++type) { in heap_caps_get_per_task_info() 63 if ((caps & params->mask[type]) == params->caps[type]) { in heap_caps_get_per_task_info() 67 if (type == NUM_HEAP_TASK_CAPS) { in heap_caps_get_per_task_info() 90 params->totals[i].size[type] += bsize; in heap_caps_get_per_task_info() 91 params->totals[i].count[type] += 1; in heap_caps_get_per_task_info() 96 params->totals[count].size[type] = bsize; in heap_caps_get_per_task_info() [all …]
|
/hal_espressif-2.7.6/examples/system/console/components/cmd_nvs/ |
D | cmd_nvs.c | 25 nvs_type_t type; member 50 struct arg_str *type; member 57 struct arg_str *type; member 79 struct arg_str *type; member 84 static nvs_type_t str_to_type(const char *type) in str_to_type() argument 88 if (strcmp(type, p->str) == 0) { in str_to_type() 89 return p->type; in str_to_type() 96 static const char *type_to_str(nvs_type_t type) in type_to_str() argument 100 if (p->type == type) { in type_to_str() 170 nvs_type_t type = str_to_type(str_type); in set_value_in_nvs() local [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/hci/ |
D | hci_hal_h4.c | 37 #define PACKET_TYPE_TO_INBOUND_INDEX(type) ((type) - 2) argument 38 #define PACKET_TYPE_TO_INDEX(type) ((type) - 1) argument 137 static uint16_t transmit_data(serial_data_type_t type, in transmit_data() argument 145 if (type < DATA_TYPE_COMMAND || type > DATA_TYPE_SCO) { in transmit_data() 146 HCI_TRACE_ERROR("%s invalid data type: %d", __func__, type); in transmit_data() 153 *(data) = type; in transmit_data() 180 uint8_t type, num_handle; in hci_packet_complete() local 187 STREAM_TO_UINT8(type, stream); in hci_packet_complete() 188 if (type == DATA_TYPE_ACL/* || type == DATA_TYPE_SCO*/) { in hci_packet_complete() 244 uint8_t type, hdr_size; in hci_hal_h4_hdl_rx_packet() local [all …]
|
/hal_espressif-2.7.6/components/wifi_provisioning/python/ |
D | wifi_constants_pb2.py | 37 type=None), 41 type=None), 45 type=None), 49 type=None), 68 type=None), 72 type=None), 91 type=None), 95 type=None), 99 type=None), 103 type=None), [all …]
|
D | wifi_scan_pb2.py | 40 type=None), 44 type=None), 48 type=None), 52 type=None), 56 type=None), 60 type=None), 88 number=1, type=8, cpp_type=7, label=1, 95 number=2, type=8, cpp_type=7, label=1, 102 number=3, type=13, cpp_type=3, label=1, 109 number=4, type=13, cpp_type=3, label=1, [all …]
|
/hal_espressif-2.7.6/docs/en/api-guides/ |
D | event-handling.rst | 14 …nd event data structures had to be defined in :cpp:type:`system_event_id_t` enumeration and :cpp:t… 33 …(:cpp:type:`system_event_t`) which describes current event. This structure follows a *tagged union… 71 | WIFI_EVENT_STA_WPS_ER_FAILED | :cpp:type:`wifi_event_sta_wps_fail_reason_t` | 135 …type (enumerated value) and event data (union of structures for each event type). The following li… 137 * BLE GAP: :cpp:func:`esp_ble_gap_register_callback`, :cpp:type:`esp_gap_ble_cb_event_t`, :cpp:type… 138 * BT GAP: :cpp:func:`esp_bt_gap_register_callback`, :cpp:type:`esp_bt_gap_cb_event_t`, :cpp:type:`e… 139 …ATTC: :cpp:func:`esp_ble_gattc_register_callback`, :cpp:type:`esp_bt_gattc_cb_event_t`, :cpp:type:… 140 …ATTS: :cpp:func:`esp_ble_gatts_register_callback`, :cpp:type:`esp_bt_gatts_cb_event_t`, :cpp:type:… 141 * SPP: :cpp:func:`esp_spp_register_callback`, :cpp:type:`esp_spp_cb_event_t`, :cpp:type:`esp_spp_cb… 142 * Blufi: :cpp:func:`esp_blufi_register_callbacks`, :cpp:type:`esp_blufi_cb_event_t`, :cpp:type:`esp… [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/avdt/ |
D | avdt_ad.c | 50 UINT8 avdt_ad_type_to_tcid(UINT8 type, tAVDT_SCB *p_scb) in avdt_ad_type_to_tcid() argument 54 if (type == AVDT_CHAN_SIG) { in avdt_ad_type_to_tcid() 61 return ((scb_idx * (AVDT_CHAN_NUM_TYPES - 1)) + type); in avdt_ad_type_to_tcid() 77 UINT8 type; in avdt_ad_tcid_to_type() local 80 type = AVDT_CHAN_SIG; in avdt_ad_tcid_to_type() 87 type = ((tcid + AVDT_CHAN_NUM_TYPES - 2) % (AVDT_CHAN_NUM_TYPES - 1)) + 1; in avdt_ad_tcid_to_type() 89 AVDT_TRACE_DEBUG("tcid: %d, type: %d\n", tcid, type); in avdt_ad_tcid_to_type() 90 return type; in avdt_ad_tcid_to_type() 130 tAVDT_TC_TBL *avdt_ad_tc_tbl_by_st(UINT8 type, tAVDT_CCB *p_ccb, UINT8 state) in avdt_ad_tc_tbl_by_st() argument 149 if (type == AVDT_CHAN_SIG) { in avdt_ad_tc_tbl_by_st() [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/avct/include/ |
D | avct_defs.h | 51 #define AVCT_BLD_HDR(p, label, type, cr_ipid) \ argument 52 *(p)++ = ((label) << 4) | ((type) << 2) | (cr_ipid); 54 #define AVCT_PRS_HDR(p, label, type, cr_ipid) \ argument 56 type = (*(p) >> 2) & 3; \ 59 #define AVCT_PRS_PKT_TYPE(p, type) \ argument 60 type = (*(p) >> 2) & 3;
|
/hal_espressif-2.7.6/components/mdns/test_afl_fuzz_host/ |
D | mdns_di.h | 11 …it)(const char * name, const char * service, const char * proto, uint16_t type, uint32_t timeout, … 12 esp_err_t (*mdns_test_static_send_search_action)(mdns_action_type_t type, mdns_search_once_… 17 …nit(const char * name, const char * service, const char * proto, uint16_t type, uint32_t timeout, … 18 static esp_err_t _mdns_send_search_action(mdns_action_type_t type, mdns_search_once_t * search); 40 esp_err_t mdns_test_send_search_action(mdns_action_type_t type, mdns_search_once_t * search) in mdns_test_send_search_action() argument 42 return mdns_test_static_send_search_action(type, search); in mdns_test_send_search_action() 45 …nit(const char * name, const char * service, const char * proto, uint16_t type, uint32_t timeout, … in mdns_test_search_init() argument 47 return mdns_test_static_search_init(name, service, proto, type, timeout, max_results); in mdns_test_search_init()
|
/hal_espressif-2.7.6/components/protocomm/python/ |
D | constants_pb2.py | 37 type=None), 41 type=None), 45 type=None), 49 type=None), 53 type=None), 57 type=None), 61 type=None), 65 type=None),
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/ |
D | scan.c | 100 uint16_t type = 0U; in handle_adv_service_data() local 107 type = net_buf_simple_pull_le16(buf); in handle_adv_service_data() 108 if (type != uuid) { in handle_adv_service_data() 109 BT_DBG("Invalid Mesh Service Data UUID 0x%04x", type); in handle_adv_service_data() 113 switch (type) { in handle_adv_service_data() 211 uint8_t len, type; in bt_mesh_scan_cb() local 232 type = net_buf_simple_pull_u8(buf); in bt_mesh_scan_cb() 238 if ((type == BLE_MESH_DATA_MESH_PROV || type == BLE_MESH_DATA_MESH_MESSAGE || in bt_mesh_scan_cb() 239 type == BLE_MESH_DATA_MESH_BEACON) && (adv_type != BLE_MESH_ADV_NONCONN_IND)) { in bt_mesh_scan_cb() 240 BT_DBG("Ignore mesh packet (type 0x%02x) with adv_type 0x%02x", type, adv_type); in bt_mesh_scan_cb() [all …]
|
/hal_espressif-2.7.6/components/jsmn/src/ |
D | jsmn.c | 54 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, in jsmn_fill_token() argument 56 token->type = type; in jsmn_fill_token() 190 jsmntype_t type; in jsmn_parse() local 208 token->type = (c == '{' ? JSMN_OBJECT : JSMN_ARRAY); in jsmn_parse() 215 type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY); in jsmn_parse() 223 if (token->type != type) { in jsmn_parse() 239 if (token->type != type) { in jsmn_parse() 272 tokens[parser->toksuper].type != JSMN_ARRAY && in jsmn_parse() 273 tokens[parser->toksuper].type != JSMN_OBJECT) { in jsmn_parse() 278 if (tokens[i].type == JSMN_ARRAY || tokens[i].type == JSMN_OBJECT) { in jsmn_parse() [all …]
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/esp_supplicant/ |
D | esp_wifi_driver.h | 136 uint8_t *(*wpa3_build_sae_msg)(uint8_t *bssid, uint32_t type, size_t *len); 137 int (*wpa3_parse_sae_msg)(uint8_t *buf, size_t len, uint32_t type, uint16_t status); 138 …int (*wpa_sta_rx_mgmt)(u8 type, u8 *frame, size_t len, u8 *sender, u32 rssi, u8 channel, u64 curre… 162 #define IS_WPS_REGISTRAR(type) (((type)>WPS_TYPE_MAX)?(((type)<WPS_TYPE_MAX)?true:false):false) argument 163 #define IS_WPS_ENROLLEE(type) (((type)>WPS_TYPE_DISABLE)?(((type)<WPS_TYPE_MAX)?true:false):false) argument 207 int esp_wifi_set_appie_internal(uint8_t type, uint8_t *ie, uint16_t len, uint8_t flag); 208 int esp_wifi_unset_appie_internal(uint8_t type); 209 struct wifi_appie *esp_wifi_get_appie_internal(uint8_t type); 242 int esp_wifi_set_wps_type_internal(uint32_t type); 261 esp_err_t esp_wifi_register_mgmt_frame_internal(uint32_t type, uint32_t subtype); [all …]
|
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ |
D | transaction.h | 51 uint8_t type; member 62 esp_err_t transaction_init(transaction_t **trans, uint8_t type, uint32_t sub_type, EventBits_t wait… 65 transaction_t *transaction_get(uint8_t type, uint32_t sub_type, transaction_t *start); 73 #define TRANSACTION_INIT(trans, type, sub_type, wait_events, timeout, input, output) \ argument 74 ESP_ERROR_CHECK(transaction_init(trans, type, sub_type, wait_events, timeout, input, output)) 77 #define transaction_get_first(type, sub_type) transaction_get(type, sub_type, NULL) argument
|
D | transaction.c | 33 trans->type = 0; in transaction_reset() 65 …ansactions set events: %x, %x, %x, %x; ret: %x", (uint32_t) trans, trans->type, trans->sub_type, e… in transaction_set_events() 105 …sactions clear events: %x, %x, %x, %x; ret: %x", (uint32_t) trans, trans->type, trans->sub_type, e… in transaction_clear_events() 124 …ESP_LOGD(TAG, "transactions abort: %x, %x, %x, %x; ret: %x", (uint32_t) trans, trans->type, trans-… in transaction_abort() 132 esp_err_t transaction_init(transaction_t **trans, uint8_t type, uint32_t sub_type, EventBits_t wait… in transaction_init() argument 156 transactions[i].type = type; in transaction_init() 167 … ESP_LOGD(TAG, "transaction created: %x, %x, %x; ret: %x", type, sub_type, (uint32_t) *trans, ret); in transaction_init() 188 …(TAG, "transaction timeout: %x, %x, %x, %x, %x", (uint32_t) trans, trans->type, trans->sub_type, t… in transaction_run() 217 …ESP_LOGD(TAG, "transaction run: %x, %x, %x; ret: %x", (uint32_t) trans, trans->type, trans->sub_ty… in transaction_run() 228 transaction_t *transaction_get(uint8_t type, uint32_t sub_type, transaction_t *start) in transaction_get() argument [all …]
|
/hal_espressif-2.7.6/examples/protocols/https_server/wss_server/main/ |
D | keep_alive.c | 28 client_fd_action_type_t type; member 58 if (h->clients[i].type == CLIENT_ACTIVE) { in get_max_delay() 75 if (h->clients[i].type == CLIENT_ACTIVE && h->clients[i].fd == sockfd) { in update_client() 86 if (h->clients[i].type == CLIENT_ACTIVE && h->clients[i].fd == sockfd) { in remove_client() 87 h->clients[i].type = NO_CLIENT; in remove_client() 97 if (h->clients[i].type == NO_CLIENT) { in add_new_client() 98 h->clients[i].type = CLIENT_ACTIVE; in add_new_client() 115 switch (client_action.type) { in keep_alive_task() 141 if (keep_alive_storage->clients[i].type == CLIENT_ACTIVE) { in keep_alive_task() 187 client_fd_action_t stop = { .type = STOP_TASK }; in wss_keep_alive_stop() [all …]
|
/hal_espressif-2.7.6/components/esp_local_ctrl/python/ |
D | esp_local_ctrl_pb2.py | 39 type=None), 43 type=None), 47 type=None), 51 type=None), 55 type=None), 59 type=None), 111 number=1, type=14, cpp_type=8, label=1, 118 number=2, type=13, cpp_type=3, label=1, 149 number=1, type=14, cpp_type=8, label=1, 156 number=2, type=9, cpp_type=9, label=1, [all …]
|
/hal_espressif-2.7.6/components/mdns/ |
D | mdns.c | 41 …earch_find_from(mdns_search_once_t * search, mdns_name_t * name, uint16_t type, mdns_if_t tcpip_if… 180 action->type = ACTION_RX_HANDLE; in _mdns_send_rx_action() 350 static inline uint8_t _mdns_append_type(uint8_t * packet, uint16_t * index, uint8_t type, bool flus… in _mdns_append_type() argument 359 if (type == MDNS_ANSWER_PTR) { in _mdns_append_type() 362 } else if (type == MDNS_ANSWER_TXT) { in _mdns_append_type() 365 } else if (type == MDNS_ANSWER_SRV) { in _mdns_append_type() 368 } else if (type == MDNS_ANSWER_A) { in _mdns_append_type() 371 } else if (type == MDNS_ANSWER_AAAA) { in _mdns_append_type() 841 part_length += _mdns_append_u16(packet, index, q->type); in _mdns_append_question() 903 if (answer->type == MDNS_TYPE_PTR) { in _mdns_append_answer() [all …]
|