Home
last modified time | relevance | path

Searched refs:om (Results 1 – 16 of 16) sorted by relevance

/hal_espressif-latest/components/bt/porting/include/os/
Dos_mbuf.h169 #define OS_MBUF_USRHDR(om) \ argument
170 (void *)((uint8_t *)om + sizeof (struct os_mbuf) + \
178 #define OS_MBUF_USRHDR_LEN(om) \ argument
179 ((om)->om_pkthdr_len - sizeof (struct os_mbuf_pkthdr))
188 _os_mbuf_leadingspace(struct os_mbuf *om) in _os_mbuf_leadingspace() argument
194 if (OS_MBUF_IS_PKTHDR(om)) { in _os_mbuf_leadingspace()
195 startoff = om->om_pkthdr_len; in _os_mbuf_leadingspace()
198 leadingspace = (uint16_t) (OS_MBUF_DATA(om, uint8_t *) - in _os_mbuf_leadingspace()
199 ((uint8_t *) &om->om_databuf[0] + startoff)); in _os_mbuf_leadingspace()
223 _os_mbuf_trailingspace(struct os_mbuf *om) in _os_mbuf_trailingspace() argument
[all …]
/hal_espressif-latest/components/bt/porting/include/
Dble_hci_trans.h51 typedef int ble_hci_trans_rx_acl_fn(struct os_mbuf *om, void *arg);
59 int(*_ble_hci_trans_hs_acl_tx)(struct os_mbuf *om);
61 int(*_ble_hci_trans_ll_acl_tx)(struct os_mbuf *om);
89 extern int r_ble_hci_trans_ll_acl_tx(struct os_mbuf *om);
112 extern int r_ble_hci_trans_hs_acl_tx(struct os_mbuf *om);
220 int ble_hci_trans_ll_acl_tx(struct os_mbuf *om);
241 int ble_hci_trans_hs_acl_tx(struct os_mbuf *om);
262 int esp_ble_hci_trans_hs_acl_tx(struct os_mbuf *om);
Dmem_api.h64 struct os_mbuf *r_mem_split_frag(struct os_mbuf **om, uint16_t max_frag_sz,
68 void *r_mem_pullup_obj(struct os_mbuf **om, uint16_t len);
/hal_espressif-latest/components/bt/porting/transport/driver/common/
Dhci_driver_h4.c128 h4sm->om = h4sm->allocs->acl(); in hci_h4_sm_w4_header()
129 if (!h4sm->om) { in hci_h4_sm_w4_header()
133 os_mbuf_append(h4sm->om, h4sm->hdr, h4sm->len); in hci_h4_sm_w4_header()
171 h4sm->om = h4sm->allocs->iso(); in hci_h4_sm_w4_header()
172 if (!h4sm->om) { in hci_h4_sm_w4_header()
176 os_mbuf_append(h4sm->om, h4sm->hdr, h4sm->len); in hci_h4_sm_w4_header()
207 assert(h4sm->om); in hci_h4_sm_w4_payload()
209 mbuf_len = OS_MBUF_PKTLEN(h4sm->om); in hci_h4_sm_w4_payload()
210 rc = os_mbuf_append(h4sm->om, ib->buf, len); in hci_h4_sm_w4_payload()
215 len = OS_MBUF_PKTLEN(h4sm->om) - mbuf_len; in hci_h4_sm_w4_payload()
[all …]
Dhci_driver_util.c124 struct os_mbuf *om; in hci_driver_util_tx_list_dequeue() local
136 om = (struct os_mbuf *)tx_entry->data; in hci_driver_util_tx_list_dequeue()
138 os_mbuf_free_chain(om); in hci_driver_util_tx_list_dequeue()
140 om = os_mbuf_off(om, s_hci_driver_util_env.cur_tx_off, &out_off); in hci_driver_util_tx_list_dequeue()
141 tx_len = min(max_tx_len, om->om_len - out_off); in hci_driver_util_tx_list_dequeue()
142 *tx_data = (void *)&om->om_data[out_off]; in hci_driver_util_tx_list_dequeue()
/hal_espressif-latest/components/bt/porting/transport/driver/vhci/
Dhci_driver_standard.c27 struct os_mbuf *om; in hci_driver_vhci_controller_tx() local
30 om = (struct os_mbuf *)data; in hci_driver_vhci_controller_tx()
36 os_mbuf_copydata(om, 0, length, &buf[1]); in hci_driver_vhci_controller_tx()
37 os_mbuf_free_chain(om); in hci_driver_vhci_controller_tx()
58 struct os_mbuf *om; in hci_driver_vhci_host_tx() local
61 om = os_msys_get_pkthdr(length, ESP_HCI_INTERNAL_ACL_MBUF_LEADINGSPCAE); in hci_driver_vhci_host_tx()
62 assert(om); in hci_driver_vhci_host_tx()
63 assert(os_mbuf_append(om, &data[1], length - 1) == 0); in hci_driver_vhci_host_tx()
64 data = (uint8_t *)om; in hci_driver_vhci_host_tx()
Dhci_driver_tamplete.c25 struct os_mbuf *om; in hci_driver_vhci_controller_tx() local
67 struct os_mbuf *om; in hci_driver_vhci_host_tx() local
/hal_espressif-latest/components/bt/host/nimble/esp-hci/src/
Desp_nimble_hci.c104 int ble_hci_trans_hs_acl_tx(struct os_mbuf *om) in ble_hci_trans_hs_acl_tx() argument
109 if (OS_MBUF_PKTLEN(om) == 0) { in ble_hci_trans_hs_acl_tx()
110 os_mbuf_free_chain(om); in ble_hci_trans_hs_acl_tx()
120 os_mbuf_copydata(om, 0, OS_MBUF_PKTLEN(om), &data[1]); in ble_hci_trans_hs_acl_tx()
121 len += OS_MBUF_PKTLEN(om); in ble_hci_trans_hs_acl_tx()
129 os_mbuf_free_chain(om); in ble_hci_trans_hs_acl_tx()
134 int ble_hci_trans_ll_acl_tx(struct os_mbuf *om) in ble_hci_trans_ll_acl_tx() argument
138 rc = ble_transport_to_hs_acl((void *)om); in ble_hci_trans_ll_acl_tx()
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/nimble_host/
Desp_blufi.c128 if (SLIST_NEXT(ctxt->om, om_next) != NULL) { in write_value()
132 memcpy(fw_buf, &ctxt->om->om_data[0], ctxt->om->om_len); in write_value()
134 last = ctxt->om; in write_value()
135 uint32_t offset = ctxt->om->om_len; in write_value()
149 btc_blufi_recv_handler(&ctxt->om->om_data[0], ctxt->om->om_len); in write_value()
152 rc = ble_hs_mbuf_to_flat(ctxt->om, value->buf->om_data, in write_value()
187 rc = os_mbuf_append(ctxt->om, value->buf->om_data, value->buf->om_len); in read_value()
496 struct os_mbuf *om; in esp_blufi_send_notify() local
497 om = ble_hs_mbuf_from_flat(pkts->pkt, pkts->pkt_len); in esp_blufi_send_notify()
498 if (om == NULL) { in esp_blufi_send_notify()
[all …]
/hal_espressif-latest/components/bt/porting/transport/src/
Dhci_transport.c85 hci_transport_controller_acl_tx(struct os_mbuf *om, void *arg) in hci_transport_controller_acl_tx() argument
89 os_mbuf_free_chain(om); in hci_transport_controller_acl_tx()
93 len = OS_MBUF_PKTHDR(om)->omp_len; in hci_transport_controller_acl_tx()
94 return s_hci_transport_env.driver_ops->hci_driver_tx(HCI_DRIVER_TYPE_ACL, (uint8_t *)om, len, in hci_transport_controller_acl_tx()
/hal_espressif-latest/components/bt/porting/transport/include/
Desp_hci_internal.h29 typedef int esp_hci_internal_rx_acl_fn(struct os_mbuf *om, void *arg);
54 int r_ble_hci_trans_hs_acl_tx(struct os_mbuf *om);
/hal_espressif-latest/components/bt/host/bluedroid/hci/include/hci/
Dhci_hal.h91 int ble_hs_rx_data(struct os_mbuf *om, void *arg);
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c553 notif_len = OS_MBUF_PKTLEN(event->notify_rx.om); in disc_cb()
554 rc = os_mbuf_copydata(event->notify_rx.om, 0, notif_len, notif_data); in disc_cb()
1295 struct os_mbuf *om; in bt_mesh_gatts_notify() local
1298 om = ble_hs_mbuf_from_flat(data, len); in bt_mesh_gatts_notify()
1299 assert(om); in bt_mesh_gatts_notify()
1300 ble_gatts_notify_custom(conn_id, attr->handle, om); in bt_mesh_gatts_notify()
1557 struct os_mbuf *om; in bt_mesh_gattc_write_no_rsp() local
1560 om = ble_hs_mbuf_from_flat(data, len); in bt_mesh_gattc_write_no_rsp()
1561 if (om == NULL) { in bt_mesh_gattc_write_no_rsp()
1565 rc = ble_gattc_write_no_rsp(conn_id, bt_mesh_gattc_info[i].data_in_handle, om); in bt_mesh_gattc_write_no_rsp()
[all …]
/hal_espressif-latest/components/bt/porting/transport/include/common/
Dhci_driver_h4.h62 struct os_mbuf *om; member
/hal_espressif-latest/components/esp_wifi/include/esp_private/
Desp_wifi_he_private.h26 esp_err_t esp_wifi_set_htc_omc(const esp_wifi_htc_omc_t *om);
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dlighting_server.c2379 uint8_t om = 0U; in light_lc_om_set() local
2386 om = net_buf_simple_pull_u8(buf); in light_lc_om_set()
2387 if (om > BLE_MESH_STATE_ON) { in light_lc_om_set()
2388 BT_ERR("Invalid LC Occupancy Mode 0x%02x", om); in light_lc_om_set()
2395 .lc_om_set.mode = om, in light_lc_om_set()
2402 srv->lc->state.occupancy_mode = om; in light_lc_om_set()