Home
last modified time | relevance | path

Searched refs:sco (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.7.0/subsys/bluetooth/host/classic/
Dsco.c34 #define SCO_CHAN(_sco) ((_sco)->sco.chan);
78 void bt_sco_connected(struct bt_conn *sco) in bt_sco_connected() argument
82 if (sco == NULL || sco->type != BT_CONN_TYPE_SCO) { in bt_sco_connected()
83 LOG_ERR("Invalid parameters: sco %p sco->type %u", sco, sco ? sco->type : 0); in bt_sco_connected()
87 LOG_DBG("%p", sco); in bt_sco_connected()
89 chan = SCO_CHAN(sco); in bt_sco_connected()
103 void bt_sco_disconnected(struct bt_conn *sco) in bt_sco_disconnected() argument
107 if (sco == NULL || sco->type != BT_CONN_TYPE_SCO) { in bt_sco_disconnected()
108 LOG_ERR("Invalid parameters: sco %p sco->type %u", sco, sco ? sco->type : 0); in bt_sco_disconnected()
111 LOG_DBG("%p", sco); in bt_sco_disconnected()
[all …]
Dsco_internal.h51 struct bt_conn *sco; member
132 void bt_sco_connected(struct bt_conn *sco);
140 void bt_sco_disconnected(struct bt_conn *sco);
DCMakeLists.txt17 sco.c
Dhfp_ag.c791 struct bt_conn *sco; in hfp_ag_close_sco() local
796 sco = ag->sco_chan.sco; in hfp_ag_close_sco()
797 ag->sco_chan.sco = NULL; in hfp_ag_close_sco()
799 if (sco != NULL) { in hfp_ag_close_sco()
800 LOG_DBG("Disconnect sco %p", sco); in hfp_ag_close_sco()
801 bt_conn_disconnect(sco, BT_HCI_ERR_LOCALHOST_TERM_CONN); in hfp_ag_close_sco()
1017 bt_ag->sco_connected(ag, chan->sco); in hfp_ag_sco_connected()
1049 if (ag->sco_chan.sco == NULL) { in bt_hfp_ag_create_sco()
1059 sco_conn = ag->sco_chan.sco; in bt_hfp_ag_create_sco()
1075 create_sco = (ag->sco_chan.sco == NULL) ? true : false; in hfp_ag_open_sco()
[all …]
Dhfp_hf.c766 bt_hf->sco_connected(chan->sco->sco.acl, chan->sco); in hfp_hf_sco_connected()
773 bt_hf->sco_disconnected(chan->sco, reason); in hfp_hf_sco_disconnected()
/Zephyr-Core-3.7.0/subsys/bluetooth/host/
Dconn.c1966 struct bt_conn *sco = bt_conn_ref(&sco_conns[i]); in conn_lookup_sco() local
1968 if (sco == NULL) { in conn_lookup_sco()
1972 if (sco->sco.acl == conn) { in conn_lookup_sco()
1973 return sco; in conn_lookup_sco()
1976 bt_conn_unref(sco); in conn_lookup_sco()
2024 struct bt_conn *sco; in deferred_work() local
2030 sco = conn_lookup_sco(conn); in deferred_work()
2031 while (sco != NULL) { in deferred_work()
2032 struct bt_sco_chan *chan = sco->sco.chan; in deferred_work()
2039 bt_sco_cleanup_acl(sco); in deferred_work()
[all …]
Dconn_internal.h256 struct bt_conn_sco sco; member
/Zephyr-Core-3.7.0/drivers/bluetooth/hci/
Duserchan.c130 const struct bt_hci_sco_hdr *sco = (const struct bt_hci_sco_hdr *)hdr; in hci_packet_complete() local
133 payload_len = sco->len; in hci_packet_complete()