Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 22 of 22) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/common/
Dieee802_11_common.c29 const struct element *elem; in get_ie() local
34 for_each_element_id(elem, eid, ies, len) in get_ie()
35 return &elem->id; in get_ie()
42 const struct element *elem; in ieee802_11_ie_count() local
48 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count()
58 const struct element *elem; in get_vendor_ie() local
60 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, len) { in get_vendor_ie()
61 if (elem->datalen >= 4 && in get_vendor_ie()
62 vendor_type == WPA_GET_BE32(elem->data)) in get_vendor_ie()
63 return &elem->id; in get_vendor_ie()
[all …]
Dbss.c487 const struct element *elem; in wpa_bss_get_vendor_ie() local
491 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, bss->ie_len) { in wpa_bss_get_vendor_ie()
492 if (elem->datalen >= 4 && in wpa_bss_get_vendor_ie()
493 vendor_type == WPA_GET_BE32(elem->data)) in wpa_bss_get_vendor_ie()
494 return &elem->id; in wpa_bss_get_vendor_ie()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Daccess.c29 struct bt_mesh_elem *elem, in bt_mesh_model_foreach() argument
42 struct bt_mesh_elem *elem = &dev_comp->elem[i]; in bt_mesh_model_foreach() local
44 for (j = 0; j < elem->model_count; j++) { in bt_mesh_model_foreach()
45 struct bt_mesh_model *model = &elem->models[j]; in bt_mesh_model_foreach()
47 func(model, elem, false, i == 0, user_data); in bt_mesh_model_foreach()
50 for (j = 0; j < elem->vnd_model_count; j++) { in bt_mesh_model_foreach()
51 struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_model_foreach()
53 func(model, elem, true, i == 0, user_data); in bt_mesh_model_foreach()
285 return &dev_comp->elem[mod->elem_idx]; in bt_mesh_model_elem()
290 struct bt_mesh_elem *elem = NULL; in bt_mesh_model_get() local
[all …]
Dtest.c34 struct bt_mesh_elem *elem = NULL; in bt_mesh_device_auto_enter_network() local
93 elem = &comp->elem[i]; in bt_mesh_device_auto_enter_network()
94 for (j = 0; j < elem->model_count; j++) { in bt_mesh_device_auto_enter_network()
95 model = &elem->models[j]; in bt_mesh_device_auto_enter_network()
113 for (j = 0; j < elem->vnd_model_count; j++) { in bt_mesh_device_auto_enter_network()
114 model = &elem->vnd_models[j]; in bt_mesh_device_auto_enter_network()
Dcfg_srv.c43 static int comp_add_elem(struct net_buf_simple *buf, struct bt_mesh_elem *elem, in comp_add_elem() argument
50 4 + (elem->model_count * 2U) + (elem->vnd_model_count * 4U)) { in comp_add_elem()
55 net_buf_simple_add_le16(buf, elem->loc); in comp_add_elem()
57 net_buf_simple_add_u8(buf, elem->model_count); in comp_add_elem()
58 net_buf_simple_add_u8(buf, elem->vnd_model_count); in comp_add_elem()
60 for (i = 0; i < elem->model_count; i++) { in comp_add_elem()
61 mod = &elem->models[i]; in comp_add_elem()
65 for (i = 0; i < elem->vnd_model_count; i++) { in comp_add_elem()
66 mod = &elem->vnd_models[i]; in comp_add_elem()
107 err = comp_add_elem(buf, &comp->elem[i], i == 0); in comp_get_page_0()
[all …]
Dlocal_operation.c23 struct bt_mesh_elem *elem = NULL; in find_model() local
30 elem = bt_mesh_elem_find(elem_addr); in find_model()
31 if (elem == NULL) { in find_model()
37 return bt_mesh_model_find(elem, mod_id); in find_model()
39 return bt_mesh_model_find_vnd(elem, cid, mod_id); in find_model()
Daccess.h25 void bt_mesh_elem_register(struct bt_mesh_elem *elem, uint8_t count);
37 struct bt_mesh_elem *elem,
Dprovisioner_main.c1168 static void _model_unbind(struct bt_mesh_model *mod, struct bt_mesh_elem *elem, in _model_unbind() argument
1414 struct bt_mesh_elem *elem = NULL; in bt_mesh_provisioner_bind_local_model_app_idx() local
1417 elem = bt_mesh_elem_find(elem_addr); in bt_mesh_provisioner_bind_local_model_app_idx()
1418 if (!elem) { in bt_mesh_provisioner_bind_local_model_app_idx()
1424 model = bt_mesh_model_find(elem, mod_id); in bt_mesh_provisioner_bind_local_model_app_idx()
1426 model = bt_mesh_model_find_vnd(elem, cid, mod_id); in bt_mesh_provisioner_bind_local_model_app_idx()
1464 struct bt_mesh_elem *elem = NULL; in bt_mesh_print_local_composition_data() local
1477 elem = &comp->elem[i]; in bt_mesh_print_local_composition_data()
1478 BT_INFO("* Element %d: 0x%04x *", i, elem->addr); in bt_mesh_print_local_composition_data()
1479 …FO("* Loc: 0x%04x NumS: 0x%02x NumV: 0x%02x *", elem->loc, elem->model_count, elem->vnd… in bt_mesh_print_local_composition_data()
[all …]
Dmain.c291 static void model_suspend(struct bt_mesh_model *mod, struct bt_mesh_elem *elem, in model_suspend() argument
330 static void model_resume(struct bt_mesh_model *mod, struct bt_mesh_elem *elem, in model_resume() argument
Dhealth_srv.c387 int bt_mesh_fault_update(struct bt_mesh_elem *elem) in bt_mesh_fault_update() argument
391 model = bt_mesh_model_find(elem, BLE_MESH_MODEL_ID_HEALTH_SRV); in bt_mesh_fault_update()
Dsettings.c1341 static void commit_model(struct bt_mesh_model *model, struct bt_mesh_elem *elem, in commit_model() argument
1935 struct bt_mesh_elem *elem, bool vnd, in store_pending_mod() argument
1995 struct bt_mesh_elem *elem, bool vnd, in clear_pending_mod() argument
/hal_espressif-latest/components/hal/esp32c2/
Drtc_cntl_hal.c21 void * rtc_cntl_hal_dma_link_init(void *elem, void *buff, int size, void *next) in rtc_cntl_hal_dma_link_init() argument
23 HAL_ASSERT(elem != NULL); in rtc_cntl_hal_dma_link_init()
27 lldesc_t *plink = (lldesc_t *)elem; in rtc_cntl_hal_dma_link_init()
/hal_espressif-latest/components/hal/esp32c3/
Drtc_cntl_hal.c30 void * rtc_cntl_hal_dma_link_init(void *elem, void *buff, int size, void *next) in rtc_cntl_hal_dma_link_init() argument
32 HAL_ASSERT(elem != NULL); in rtc_cntl_hal_dma_link_init()
36 lldesc_t *plink = (lldesc_t *)elem; in rtc_cntl_hal_dma_link_init()
/hal_espressif-latest/components/hal/esp32s3/
Drtc_cntl_hal.c23 void * rtc_cntl_hal_dma_link_init(void *elem, void *buff, int size, void *next) in rtc_cntl_hal_dma_link_init() argument
25 HAL_ASSERT(elem != NULL); in rtc_cntl_hal_dma_link_init()
29 lldesc_t *plink = (lldesc_t *)elem; in rtc_cntl_hal_dma_link_init()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_access.h470 struct bt_mesh_elem *elem; member
554 struct bt_mesh_model *bt_mesh_model_find(struct bt_mesh_elem *elem, uint16_t id);
565 struct bt_mesh_model *bt_mesh_model_find_vnd(struct bt_mesh_elem *elem,
586 struct bt_mesh_elem *elem; member
Dhealth_srv.h96 int bt_mesh_fault_update(struct bt_mesh_elem *elem);
/hal_espressif-latest/tools/esptool_py/esptool/
Dbin_image.py386 elem = self.segments[i - 1]
388 elem_pad_addr = elem.addr_align(next_elem.align)
396 elem_pad_addr != elem.addr + len(elem.data)
402 next_elem.addr - (elem.addr + len(elem.data)),
403 elem.name,
407 elem.pad_to_addr(elem_pad_addr)
410 elem.get_memory_type(self) == next_elem.get_memory_type(self),
411 elem.include_in_checksum == next_elem.include_in_checksum,
412 next_elem.addr == elem.addr + len(elem.data),
414 == elem.flags & self.ELF_FLAG_EXEC,
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/a2dp/
Da2d_api.c65 tSDP_PROTOCOL_ELEM elem; in a2d_sdp_cback() local
100 if (SDP_FindProtocolListElemInRec(p_rec, UUID_PROTOCOL_AVDTP, &elem)) { in a2d_sdp_cback()
101 a2d_svc.avdt_version = elem.params[0]; in a2d_sdp_cback()
/hal_espressif-latest/components/bt/host/bluedroid/stack/avdt/
Davdt_msg.c578 UINT8 elem = 0; in avdt_msg_prs_cfg() local
606 elem = *p++; in avdt_msg_prs_cfg()
609 if ((elem == 0) || (elem > AVDT_CAT_MAX_CUR)) { in avdt_msg_prs_cfg()
623 AVDT_TRACE_DEBUG("skipping unknown service category=%d len: %d\n", elem, elem_len); in avdt_msg_prs_cfg()
628 if ((elem_len > avdt_msg_ie_len_max[elem]) || in avdt_msg_prs_cfg()
629 (elem_len < avdt_msg_ie_len_min[elem])) { in avdt_msg_prs_cfg()
630 err = avdt_msg_ie_err[elem]; in avdt_msg_prs_cfg()
635 p_cfg->psc_mask |= (1 << elem); in avdt_msg_prs_cfg()
636 AVDT_TRACE_DEBUG("elem=%d elem_len: %d psc_mask=0x%x\n", elem, elem_len, p_cfg->psc_mask); in avdt_msg_prs_cfg()
639 switch (elem) { in avdt_msg_prs_cfg()
[all …]
/hal_espressif-latest/components/hal/include/hal/
Drtc_hal.h66 void * rtc_cntl_hal_dma_link_init(void *elem, void *buff, int size, void *next);
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/include/
Dbtc_ble_mesh_prov.h374 esp_ble_mesh_model_t *btc_ble_mesh_model_find_vnd(const esp_ble_mesh_elem_t *elem,
377 esp_ble_mesh_model_t *btc_ble_mesh_model_find(const esp_ble_mesh_elem_t *elem, uint16_t id);
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_prov.c1113 esp_ble_mesh_model_t *btc_ble_mesh_model_find_vnd(const esp_ble_mesh_elem_t *elem, in btc_ble_mesh_model_find_vnd() argument
1116 return (esp_ble_mesh_model_t *)bt_mesh_model_find_vnd((struct bt_mesh_elem *)elem, company, id); in btc_ble_mesh_model_find_vnd()
1119 esp_ble_mesh_model_t *btc_ble_mesh_model_find(const esp_ble_mesh_elem_t *elem, uint16_t id) in btc_ble_mesh_model_find() argument
1121 return (esp_ble_mesh_model_t *)bt_mesh_model_find((struct bt_mesh_elem *)elem, id); in btc_ble_mesh_model_find()
1779 esp_ble_mesh_elem_t *elem = &arg->mesh_init.comp->elements[i]; in btc_ble_mesh_prov_call_handler() local
1781 for (int j = 0; j < elem->sig_model_count; j++) { in btc_ble_mesh_prov_call_handler()
1782 esp_ble_mesh_model_t *sig_model = &elem->sig_models[j]; in btc_ble_mesh_prov_call_handler()
1791 for (int k = 0; k < elem->vnd_model_count; k++) { in btc_ble_mesh_prov_call_handler()
1792 esp_ble_mesh_model_t *vnd_model = &elem->vnd_models[k]; in btc_ble_mesh_prov_call_handler()