Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 468) sorted by relevance

12345678910>>...19

/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/include/
Dblufi_int.h57 uint8_t type; member
66 uint8_t type; member
94 #define BLUFI_GET_TYPE(type) ((type) & BLUFI_TYPE_MASK) argument
95 #define BLUFI_GET_SUBTYPE(type) (((type) & BLUFI_SUBTYPE_MASK) >>BLUFI_SUBTYPE_SHIFT) argument
96 #define BLUFI_BUILD_TYPE(type, subtype) (((type) & BLUFI_TYPE_MASK) | ((subtype)<<BLUFI_SUBTYPE_SHI… argument
134 #define BLUFI_TYPE_IS_CTRL(type) (BLUFI_GET_TYPE((type)) == BLUFI_TYPE_CTRL) argument
135 #define BLUFI_TYPE_IS_DATA(type) (BLUFI_GET_TYPE((type)) == BLUFI_TYPE_DATA) argument
137 #define BLUFI_TYPE_IS_CTRL_ACK(type) (BLUFI_TYPE_IS_CTRL((type)) && BLUFI_GET_SUBTY… argument
138 #define BLUFI_TYPE_IS_CTRL_START_NEG(type) (BLUFI_TYPE_IS_CTRL((type)) && BLUFI_GET_SUBTY… argument
139 #define BLUFI_TYPE_IS_CTRL_STOP_NEG(type) (BLUFI_TYPE_IS_CTRL((type)) && BLUFI_GET_SUBTY… argument
[all …]
/hal_espressif-latest/components/newlib/
Dstdatomic.c99 #define ATOMIC_LOAD(n, type) type __atomic_load_ ## n (const volatile void* mem, int memorder) \ argument
102 type ret = *(const volatile type*)mem; \
107 #define ATOMIC_STORE(n, type) void __atomic_store_ ## n (volatile void * mem, type val, int memorde… argument
110 *(volatile type *)mem = val; \
114 #define ATOMIC_EXCHANGE(n, type) type __atomic_exchange_ ## n (volatile void* mem, type val, int me… argument
117 type ret = *(volatile type*)mem; \
118 *(volatile type*)mem = val; \
123 #define CMP_EXCHANGE(n, type) bool __atomic_compare_exchange_ ## n (volatile void* mem, void* expec… argument
127 if (*(volatile type*)mem == *(type*)expect) { \
129 *(volatile type*)mem = desired; \
[all …]
/hal_espressif-latest/components/hal/
Dcache_hal.c79 void cache_hal_disable(cache_type_t type) in cache_hal_disable() argument
84 if (type == CACHE_TYPE_DATA) { in cache_hal_disable()
86 } else if (type == CACHE_TYPE_INSTRUCTION) { in cache_hal_disable()
99 void cache_hal_enable(cache_type_t type) in cache_hal_enable() argument
104 if (type == CACHE_TYPE_DATA) { in cache_hal_enable()
106 } else if (type == CACHE_TYPE_INSTRUCTION) { in cache_hal_enable()
119 void cache_hal_suspend(cache_type_t type) in cache_hal_suspend() argument
124 if (type == CACHE_TYPE_DATA) { in cache_hal_suspend()
126 } else if (type == CACHE_TYPE_INSTRUCTION) { in cache_hal_suspend()
139 void cache_hal_resume(cache_type_t type) in cache_hal_resume() argument
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Dlist.h70 #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 …]
Djson.c202 token->type); in json_check_tree_state()
245 curr_token->parent->type == JSON_ARRAY && in json_parse()
260 token->type = *pos == '[' ? JSON_ARRAY : JSON_OBJECT; in json_parse()
280 curr_token->type != JSON_ARRAY) || in json_parse()
282 curr_token->type != JSON_OBJECT)) { in json_parse()
307 token->type = JSON_STRING; in json_parse()
311 curr_token->parent->type == JSON_ARRAY && in json_parse()
316 curr_token->type = JSON_STRING; in json_parse()
321 curr_token->type = JSON_VALUE; in json_parse()
327 curr_token->type = JSON_STRING; in json_parse()
[all …]
/hal_espressif-latest/components/heap/
Dheap_task_info.c37 for (size_t type = 0; type < NUM_HEAP_TASK_CAPS; ++type) { in heap_caps_get_per_task_info() local
38 params->totals[i].size[type] = 0; in heap_caps_get_per_task_info()
39 params->totals[i].count[type] = 0; in heap_caps_get_per_task_info()
53 uint32_t type; in heap_caps_get_per_task_info() local
54 for (type = 0; type < NUM_HEAP_TASK_CAPS; ++type) { in heap_caps_get_per_task_info()
55 if ((caps & params->mask[type]) == params->caps[type]) { in heap_caps_get_per_task_info()
59 if (type == NUM_HEAP_TASK_CAPS) { in heap_caps_get_per_task_info()
82 params->totals[i].size[type] += bsize; in heap_caps_get_per_task_info()
83 params->totals[i].count[type] += 1; in heap_caps_get_per_task_info()
88 params->totals[count].size[type] = bsize; in heap_caps_get_per_task_info()
[all …]
Dheap_caps_init.c72 if (b->start == (intptr_t)(a->start + a->size) && b->type == a->type ) { in heap_caps_init()
73 a->type = -1; in heap_caps_init()
93 const soc_memory_type_desc_t *type = &soc_memory_types[region->type]; in heap_caps_init() local
95 if (region->type == -1) { in heap_caps_init()
101 memcpy(heap->caps, type->caps, sizeof(heap->caps)); in heap_caps_init()
105 if (type->startup_stack) { in heap_caps_init()
114 region->start, region->size, region->size / 1024, type->name); in heap_caps_init()
161 const uint32_t *caps = soc_memory_types[region->type].caps; in heap_caps_add_region()
/hal_espressif-latest/components/hal/include/hal/
Dcache_hal.h32 void cache_hal_disable(cache_type_t type);
41 void cache_hal_enable(cache_type_t type);
52 void cache_hal_suspend(cache_type_t type);
61 void cache_hal_resume(cache_type_t type);
70 bool cache_hal_is_cache_enabled(cache_type_t type);
102 void cache_hal_freeze(cache_type_t type);
111 void cache_hal_unfreeze(cache_type_t type);
121 uint32_t cache_hal_get_cache_line_size(cache_type_t type);
/hal_espressif-latest/components/esp_hw_support/
Dmac_addr.c35 esp_mac_type_t type: 4; member
65 static esp_err_t generate_mac(uint8_t *mac, uint8_t *base_mac_addr, esp_mac_type_t type);
72 static int get_idx(esp_mac_type_t type) in get_idx() argument
75 if (s_mac_table[idx].type == type) { in get_idx()
79 ESP_LOGE(TAG, "%d mac type is incorrect (not found)", type); in get_idx()
89 esp_mac_type_t type = s_mac_table[idx].type; in get_mac_addr_from_mac_table() local
90 if (ESP_MAC_BASE <= type && type <= ESP_MAC_EFUSE_EXT) { in get_mac_addr_from_mac_table()
92 if (type == ESP_MAC_EFUSE_FACTORY in get_mac_addr_from_mac_table()
94 || type == ESP_MAC_BASE in get_mac_addr_from_mac_table()
98 } else if (type == ESP_MAC_EFUSE_CUSTOM in get_mac_addr_from_mac_table()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/avct/include/
Davct_defs.h51 #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-latest/components/bt/host/bluedroid/stack/avdt/
Davdt_ad.c50 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-latest/components/bt/host/bluedroid/hci/
Dhci_hal_h4.c41 #define PACKET_TYPE_TO_INBOUND_INDEX(type) ((type) - 2) argument
42 #define PACKET_TYPE_TO_INDEX(type) ((type) - 1) argument
190 static uint16_t transmit_data(serial_data_type_t type, in transmit_data() argument
198 if (type < DATA_TYPE_COMMAND || type > DATA_TYPE_SCO) { in transmit_data()
199 HCI_TRACE_ERROR("%s invalid data type: %d", __func__, type); in transmit_data()
206 *(data) = type; in transmit_data()
262 uint8_t type; in hci_packet_complete() local
267 STREAM_TO_UINT8(type, stream); in hci_packet_complete()
268 if (type == DATA_TYPE_ACL/* || type == DATA_TYPE_SCO*/) { in hci_packet_complete()
419 uint8_t type, hdr_size; in hci_hal_h4_hdl_rx_packet() local
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dscan.c100 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()
236 if ((type == BLE_MESH_DATA_MESH_PROV || type == BLE_MESH_DATA_MESH_MESSAGE || in bt_mesh_scan_cb()
237 type == BLE_MESH_DATA_MESH_BEACON) && (adv_type != BLE_MESH_ADV_NONCONN_IND)) { in bt_mesh_scan_cb()
238 BT_DBG("Ignore mesh packet (type 0x%02x) with adv_type 0x%02x", type, adv_type); in bt_mesh_scan_cb()
[all …]
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_wifi_driver.h138 uint8_t *(*wpa3_build_sae_msg)(uint8_t *bssid, uint32_t type, size_t *len);
139 int (*wpa3_parse_sae_msg)(uint8_t *buf, size_t len, uint32_t type, uint16_t status);
140 …int (*wpa3_hostap_handle_auth)(uint8_t *buf, size_t len, uint32_t type, uint16_t status, uint8_t *…
141 …int (*wpa_sta_rx_mgmt)(u8 type, u8 *frame, size_t len, u8 *sender, int8_t rssi, u8 channel, u64 cu…
169 #define IS_WPS_REGISTRAR(type) (((type)>WPS_TYPE_MAX)?(((type)<WPS_TYPE_MAX)?true:false):false) argument
170 #define IS_WPS_ENROLLEE(type) (((type)>WPS_TYPE_DISABLE)?(((type)<WPS_TYPE_MAX)?true:false):false) argument
228 int esp_wifi_set_appie_internal(uint8_t type, uint8_t *ie, uint16_t len, uint8_t flag);
229 int esp_wifi_unset_appie_internal(uint8_t type);
230 struct wifi_appie *esp_wifi_get_appie_internal(uint8_t type);
262 int esp_wifi_set_wps_type_internal(uint32_t type);
[all …]
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dmmu_ll.h94 …check_valid_ext_vaddr_region(uint32_t mmu_id, uint32_t vaddr_start, uint32_t len, mmu_vaddr_t type) in mmu_ll_check_valid_ext_vaddr_region() argument
100 if (type & MMU_VADDR_DATA) { in mmu_ll_check_valid_ext_vaddr_region()
104 if (type & MMU_VADDR_INSTRUCTION) { in mmu_ll_check_valid_ext_vaddr_region()
328 …inline uint32_t mmu_ll_entry_id_to_vaddr_base(uint32_t mmu_id, uint32_t entry_id, mmu_vaddr_t type) in mmu_ll_entry_id_to_vaddr_base() argument
331 (void)type; in mmu_ll_entry_id_to_vaddr_base()
335 if (type != MMU_VADDR_INSTRUCTION) { in mmu_ll_entry_id_to_vaddr_base()
341 if (type != MMU_VADDR_INSTRUCTION) { in mmu_ll_entry_id_to_vaddr_base()
347 if (type != MMU_VADDR_DATA) { in mmu_ll_entry_id_to_vaddr_base()
353 if (type != MMU_VADDR_DATA) { in mmu_ll_entry_id_to_vaddr_base()
359 if (type != MMU_VADDR_DATA) { in mmu_ll_entry_id_to_vaddr_base()
[all …]
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Decdsa_ll.h77 static inline void ecdsa_ll_enable_intr(ecdsa_ll_intr_type_t type) in ecdsa_ll_enable_intr() argument
79 switch (type) { in ecdsa_ll_enable_intr()
97 static inline void ecdsa_ll_disable_intr(ecdsa_ll_intr_type_t type) in ecdsa_ll_disable_intr() argument
99 switch (type) { in ecdsa_ll_disable_intr()
117 static inline void ecdsa_ll_clear_intr(ecdsa_ll_intr_type_t type) in ecdsa_ll_clear_intr() argument
119 switch (type) { in ecdsa_ll_clear_intr()
230 static inline void ecdsa_ll_sha_set_type(ecdsa_ll_sha_type_t type) in ecdsa_ll_sha_set_type() argument
232 switch (type) { in ecdsa_ll_sha_set_type()
/hal_espressif-latest/components/esp_wifi/src/
Dsmartconfig_ack.c43 smartconfig_type_t type; /*!< Smartconfig type(ESPTouch or AirKiss) */ member
79 int ack_len = (ack->type == SC_TYPE_ESPTOUCH) ? SC_ACK_TOUCH_LEN : SC_ACK_AIRKISS_LEN; in sc_ack_send_task()
85 if (ack->type == SC_TYPE_ESPTOUCH) { in sc_ack_send_task()
87 } else if (ack->type == SC_TYPE_ESPTOUCH_V2) { in sc_ack_send_task()
112 if (ack->type == SC_TYPE_ESPTOUCH) { in sc_ack_send_task()
133 if (ack->type == SC_TYPE_AIRKISS) { in sc_ack_send_task()
146 if (ack->type == SC_TYPE_AIRKISS) { in sc_ack_send_task()
209 esp_err_t sc_send_ack_start(smartconfig_type_t type, uint8_t token, uint8_t *cellphone_ip) in sc_send_ack_start() argument
223 ack->type = type; in sc_send_ack_start()
/hal_espressif-latest/components/bt/host/bluedroid/stack/sdp/
Dsdp_utils.c233 switch (p_attr->type) { in sdpu_build_attrib_entry()
240 UINT8_TO_BE_STREAM (p_out, (p_attr->type << 3) | SIZE_IN_NEXT_LONG); in sdpu_build_attrib_entry()
248 UINT8_TO_BE_STREAM (p_out, (p_attr->type << 3) | SIZE_IN_NEXT_WORD); in sdpu_build_attrib_entry()
254 UINT8_TO_BE_STREAM (p_out, (p_attr->type << 3) | SIZE_IN_NEXT_BYTE); in sdpu_build_attrib_entry()
268 UINT8_TO_BE_STREAM (p_out, (p_attr->type << 3) | SIZE_ONE_BYTE); in sdpu_build_attrib_entry()
271 UINT8_TO_BE_STREAM (p_out, (p_attr->type << 3) | SIZE_TWO_BYTES); in sdpu_build_attrib_entry()
274 UINT8_TO_BE_STREAM (p_out, (p_attr->type << 3) | SIZE_FOUR_BYTES); in sdpu_build_attrib_entry()
277 UINT8_TO_BE_STREAM (p_out, (p_attr->type << 3) | SIZE_EIGHT_BYTES); in sdpu_build_attrib_entry()
280 UINT8_TO_BE_STREAM (p_out, (p_attr->type << 3) | SIZE_SIXTEEN_BYTES); in sdpu_build_attrib_entry()
283 UINT8_TO_BE_STREAM (p_out, (p_attr->type << 3) | SIZE_IN_NEXT_BYTE); in sdpu_build_attrib_entry()
[all …]
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dargument_parser.py41 type=int,
47 type=str, default='make')
62 type=lambda c: c.upper(),
68 type=argparse.FileType('rb'))
98 type=int,
/hal_espressif-latest/components/hal/esp32/include/hal/
Dmmu_ll.h96 …check_valid_ext_vaddr_region(uint32_t mmu_id, uint32_t vaddr_start, uint32_t len, mmu_vaddr_t type) in mmu_ll_check_valid_ext_vaddr_region() argument
102 if (type & MMU_VADDR_DATA) { in mmu_ll_check_valid_ext_vaddr_region()
107 if (type & MMU_VADDR_INSTRUCTION) { in mmu_ll_check_valid_ext_vaddr_region()
404 …inline uint32_t mmu_ll_entry_id_to_vaddr_base(uint32_t mmu_id, uint32_t entry_id, mmu_vaddr_t type) in mmu_ll_entry_id_to_vaddr_base() argument
407 (void)type; in mmu_ll_entry_id_to_vaddr_base()
413 if (type != MMU_VADDR_DATA) { in mmu_ll_entry_id_to_vaddr_base()
421 if (type != MMU_VADDR_INSTRUCTION) { in mmu_ll_entry_id_to_vaddr_base()
429 if (type != MMU_VADDR_INSTRUCTION) { in mmu_ll_entry_id_to_vaddr_base()
437 if (type != MMU_VADDR_INSTRUCTION) { in mmu_ll_entry_id_to_vaddr_base()
445 if (type != MMU_VADDR_DATA) { in mmu_ll_entry_id_to_vaddr_base()
/hal_espressif-latest/components/newlib/port/riscv/
Dport_stdatomic.S19 .type __atomic_load_2, @function
31 .type __atomic_store_2, @function
49 .type __atomic_exchange_2, @function
70 .type __atomic_compare_exchange_2, @function
99 .type __atomic_fetch_or_2, @function
112 .type __atomic_or_fetch_2, @function
125 .type __atomic_fetch_xor_2, @function
138 .type __atomic_xor_fetch_2, @function
151 .type __atomic_fetch_and_2, @function
167 .type __atomic_and_fetch_2, @function
[all …]
/hal_espressif-latest/components/esp_hw_support/port/esp32s3/
Dmspi_timing_tuning_configs.h177 #define __GET_TUNING_CONFIG(type, core_clock, module_clock, mode) \ argument
178 …(mspi_timing_config_t) { .tuning_config_table = MSPI_TIMING_##type##_CONFIG_TABLE_CORE_CLK_##core_…
179 ….available_config_num = MSPI_TIMING_##type##_CONFIG_NUM_CORE_CLK_##core_clock##M_MODULE_CLK_##modu…
180 ….default_config_id = MSPI_TIMING_##type##_DEFAULT_CONFIG_ID_CORE_CLK_##core_clock##M_MODULE_CLK_##…
182 #define _GET_TUNING_CONFIG(type, core_clock, module_clock, mode) __GET_TUNING_CONFIG(type, core_clo… argument
/hal_espressif-latest/zephyr/port/coex/
Dcoex_stubs.c288 void coex_schm_status_bit_clear(uint32_t type, uint32_t status) in coex_schm_status_bit_clear() argument
290 (void)type; in coex_schm_status_bit_clear()
300 void coex_schm_status_bit_set(uint32_t type, uint32_t status) in coex_schm_status_bit_set() argument
302 (void)type; in coex_schm_status_bit_set()
399 int coex_schm_register_callback(coex_schm_callback_type_t type, void *callback) in coex_schm_register_callback() argument
401 (void)type; in coex_schm_register_callback()
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dieee802_1x.c37 u8 type, const u8 *data, size_t datalen) in ieee802_1x_send() argument
53 xhdr->type = type; in ieee802_1x_send()
69 u8 type, *data; in handle_eap_response() local
82 sm->eap_type_supp = type = data[0]; in handle_eap_response()
180 hdr->version, hdr->type, datalen); in ieee802_1x_receive()
202 hdr->type == IEEE802_1X_TYPE_EAPOL_KEY && in ieee802_1x_receive()
203 (key->type == EAPOL_KEY_TYPE_WPA || in ieee802_1x_receive()
204 key->type == EAPOL_KEY_TYPE_RSN)) { in ieee802_1x_receive()
246 switch (hdr->type) { in ieee802_1x_receive()
294 static void ieee802_1x_eapol_send(void *ctx, void *sta_ctx, u8 type, in ieee802_1x_eapol_send() argument
[all …]
/hal_espressif-latest/tools/esptool_py/esptool/
D__init__.py114 type=strip_chip_name,
130 type=arg_auto_int,
138 type=str,
193 type=int,
221 parser_dump_mem.add_argument("address", help="Base address", type=arg_auto_int)
223 "size", help="Size of region to dump", type=arg_auto_int
230 parser_read_mem.add_argument("address", help="Address to read", type=arg_auto_int)
235 parser_write_mem.add_argument("address", help="Address to write", type=arg_auto_int)
236 parser_write_mem.add_argument("value", help="Value", type=arg_auto_int)
240 type=arg_auto_int,
[all …]

12345678910>>...19