Home
last modified time | relevance | path

Searched refs:CONTAINER_OF (Results 1 – 25 of 28) sorted by relevance

12

/AliOS-Things-master/components/ble_host/bt_host/host/
A Dhfp_hf.c56 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in hf_slc_error()
104 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in brsf_handle()
141 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in cind_handle_values()
226 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in ag_indicator_handle_values()
350 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in ring_handle()
404 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in cmd_complete()
447 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in slc_completed()
476 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in cind_status_finish()
498 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in cind_finish()
520 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in brsf_finish()
[all …]
A Davdtp.c45 #define AVDTP_CHAN(_ch) CONTAINER_OF(_ch, struct bt_avdtp, br_chan.chan)
47 #define AVDTP_KWORK(_work) CONTAINER_OF(_work, struct bt_avdtp_req,\
A Dsdp.c30 #define SDP_CHAN(_ch) CONTAINER_OF(_ch, struct bt_sdp, chan.chan)
75 #define SDP_CLIENT_CHAN(_ch) CONTAINER_OF(_ch, struct bt_sdp_client, chan.chan)
156 struct bt_l2cap_br_chan *ch = CONTAINER_OF(chan, in bt_sdp_connected()
160 struct bt_sdp *sdp = CONTAINER_OF(ch, struct bt_sdp, chan); in bt_sdp_connected()
177 struct bt_l2cap_br_chan *ch = CONTAINER_OF(chan, in bt_sdp_disconnected()
181 struct bt_sdp *sdp = CONTAINER_OF(ch, struct bt_sdp, chan); in bt_sdp_disconnected()
1340 struct bt_l2cap_br_chan *ch = CONTAINER_OF(chan, in bt_sdp_recv()
1342 struct bt_sdp *sdp = CONTAINER_OF(ch, struct bt_sdp, chan); in bt_sdp_recv()
1466 CONTAINER_OF(__node, struct bt_sdp_discover_params, _node)
A Dsmp.c824 smp = CONTAINER_OF(chan, struct bt_smp, chan); in smp_check_complete()
842 smp = CONTAINER_OF(chan, struct bt_smp_br, chan); in smp_check_complete()
1045 CONTAINER_OF(chan, struct bt_l2cap_br_chan, chan)->tx.cid); in bt_smp_br_connected()
1063 CONTAINER_OF(chan, struct bt_l2cap_br_chan, chan)->tx.cid); in bt_smp_br_disconnected()
1703 return CONTAINER_OF(chan, struct bt_smp_br, chan); in smp_br_chan_get()
1865 struct bt_smp *smp = CONTAINER_OF(work, struct bt_smp, work); in smp_timeout()
2718 return CONTAINER_OF(chan, struct bt_smp, chan); in smp_chan_get()
4244 struct bt_smp *smp = CONTAINER_OF(chan, struct bt_smp, chan); in bt_smp_recv()
4344 struct bt_smp *smp = CONTAINER_OF(chan, struct bt_smp, chan); in bt_smp_connected()
4355 struct bt_smp *smp = CONTAINER_OF(chan, struct bt_smp, chan); in bt_smp_disconnected()
[all …]
A Dl2cap_br.c34 #define BR_CHAN(_ch) CONTAINER_OF(_ch, struct bt_l2cap_br_chan, chan)
35 #define BR_CHAN_RTX(_w) CONTAINER_OF(_w, struct bt_l2cap_br_chan, chan.rtx_work)
480 sig_ch = CONTAINER_OF(ch, struct bt_l2cap_br, chan); in bt_l2cap_br_connected()
1337 struct bt_l2cap_br *l2cap = CONTAINER_OF(chan, struct bt_l2cap_br, chan); in l2cap_br_recv()
A Drfcomm.c53 #define DLC_RTX(_w) CONTAINER_OF(_w, struct bt_rfcomm_dlc, rtx_work)
55 #define SESSION_RTX(_w) CONTAINER_OF(_w, struct bt_rfcomm_session, rtx_work)
62 #define RFCOMM_SESSION(_ch) CONTAINER_OF(_ch, \
A Dl2cap.c30 #define LE_CHAN_RTX(_w) CONTAINER_OF(_w, struct bt_l2cap_le_chan, chan.rtx_work)
31 #define CHAN_RX(_w) CONTAINER_OF(_w, struct bt_l2cap_le_chan, rx_work)
833 ch = CONTAINER_OF(work, struct bt_l2cap_le_chan, tx_work); in l2cap_chan_tx_process()
1860 struct bt_l2cap *l2cap = CONTAINER_OF(chan, struct bt_l2cap, chan); in l2cap_recv()
A Dconn.c345 struct bt_conn *conn = CONTAINER_OF(work, struct bt_conn, in tx_complete_work()
355 struct bt_conn *conn = CONTAINER_OF(work, struct bt_conn, update_work); in conn_update_timeout()
1664 tx = CONTAINER_OF(node, struct bt_conn_tx, node); in process_unack_tx()
A Datt.c35 #define ATT_CHAN(_ch) CONTAINER_OF(_ch, struct bt_att_chan, chan.chan)
36 #define ATT_REQ(_node) CONTAINER_OF(_node, struct bt_att_req, node)
2469 struct bt_att_chan *chan = CONTAINER_OF(work, struct bt_att_chan, in att_timeout()
A Dhci_core.c1455 tx = CONTAINER_OF(node, struct bt_conn_tx, node); in bt_hci_num_complete_packets()
1522 tx = CONTAINER_OF(node, struct bt_conn_tx, node); in hci_num_completed_packets()
5815 conn = CONTAINER_OF(event->fifo, struct bt_conn, tx_queue); in has_tx_sem()
5879 conn = CONTAINER_OF(ev->fifo, in process_events()
6042 conn = CONTAINER_OF(ev->fifo, in process_events()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/
A Ddwc_otg_pcd.h150 #ifndef CONTAINER_OF
151 #define CONTAINER_OF(ptr, type, member) \ macro
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Duuid.h78 #define BT_UUID_16(__u) CONTAINER_OF(__u, struct bt_uuid_16, uuid)
79 #define BT_UUID_32(__u) CONTAINER_OF(__u, struct bt_uuid_32, uuid)
80 #define BT_UUID_128(__u) CONTAINER_OF(__u, struct bt_uuid_128, uuid)
A Dl2cap.h159 #define BT_L2CAP_LE_CHAN(_ch) CONTAINER_OF(_ch, struct bt_l2cap_le_chan, chan)
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_transport.c79 p_msg_node = CONTAINER_OF(p_node, genie_transport_node_t, node); in genie_transport_find_by_tid()
305 p_msg_node = CONTAINER_OF(p_node, genie_transport_node_t, node); in transport_remove_by_tid()
492 p_msg_node = CONTAINER_OF(p_node, genie_transport_node_t, node); in retransmit_timer_cb()
569 p_msg_node = CONTAINER_OF(p_node, genie_transport_node_t, node); in genie_transport_ack()
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dplat_types.h308 #ifndef CONTAINER_OF
309 #define CONTAINER_OF(ptr, type, member) ({ \ macro
/AliOS-Things-master/components/ble_host/include/misc/
A Dslist.h107 ((__ln) ? CONTAINER_OF((__ln), __typeof__(*(__cn)), __n) : NULL)
A Ddlist.h119 (__dn ? CONTAINER_OF(__dn, __typeof__(*__cn), __n) : NULL)
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/vendor_model/
A Dvendor_model_cli.c185 p_msg_node = CONTAINER_OF(p_node, vnd_model_msg_n, node); in _vendor_model_retry_timer_cb()
A Dvendor_model_srv.c185 p_msg_node = CONTAINER_OF(p_node, vnd_model_msg_n, node); in _vendor_model_retry_timer_cb()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dfriend.c48 #define FRIEND_ADV(buf) CONTAINER_OF(BT_MESH_ADV(buf), struct friend_adv, adv)
682 struct bt_mesh_friend *frnd = CONTAINER_OF(work, struct bt_mesh_friend, clear.timer.work); in clear_timeout()
1009 struct bt_mesh_friend *frnd = CONTAINER_OF(work, struct bt_mesh_friend, timer.work); in friend_timeout()
A Dhealth_srv.c388 struct bt_mesh_health_srv *srv = CONTAINER_OF(work, in attention_off()
A Dproxy.c339 client = CONTAINER_OF(work, struct bt_mesh_proxy_client, send_beacons); in proxy_send_beacons()
892 struct bt_mesh_proxy_client *client = CONTAINER_OF(buf, struct bt_mesh_proxy_client, buf); in bt_mesh_proxy_addr_add()
A Dtransport.c312 struct seg_tx *tx = CONTAINER_OF(work, struct seg_tx, retransmit); in seg_retransmit()
1087 struct seg_rx *rx = CONTAINER_OF(work, struct seg_rx, ack); in seg_ack()
A Daccess.c202 struct bt_mesh_model_pub *pub = CONTAINER_OF(work, struct bt_mesh_model_pub, timer.work); in mod_publish()
/AliOS-Things-master/components/ble_host/bt_host/port/include/misc/
A Dutil.h67 #define CONTAINER_OF(ptr, type, field) \ macro

Completed in 77 milliseconds

12