Lines Matching refs:sco_conn
2293 void bt_sco_cleanup(struct bt_conn *sco_conn) in bt_sco_cleanup() argument
2295 bt_sco_cleanup_acl(sco_conn); in bt_sco_cleanup()
2296 bt_conn_unref(sco_conn); in bt_sco_cleanup()
2411 struct bt_conn *sco_conn = sco_conn_new(); in bt_conn_add_sco() local
2413 if (!sco_conn) { in bt_conn_add_sco()
2417 sco_conn->sco.acl = bt_conn_lookup_addr_br(peer); in bt_conn_add_sco()
2418 if (!sco_conn->sco.acl) { in bt_conn_add_sco()
2419 bt_conn_unref(sco_conn); in bt_conn_add_sco()
2423 sco_conn->type = BT_CONN_TYPE_SCO; in bt_conn_add_sco()
2427 sco_conn->sco.pkt_type = (bt_dev.br.esco_pkt_type & in bt_conn_add_sco()
2430 sco_conn->sco.pkt_type = (bt_dev.br.esco_pkt_type & in bt_conn_add_sco()
2434 sco_conn->sco.pkt_type = (bt_dev.br.esco_pkt_type & in bt_conn_add_sco()
2438 return sco_conn; in bt_conn_add_sco()