Lines Matching refs:sco
2143 struct bt_conn *sco = bt_conn_ref(&sco_conns[i]); in conn_lookup_sco() local
2145 if (sco == NULL) { in conn_lookup_sco()
2149 if (sco->sco.acl == conn) { in conn_lookup_sco()
2150 return sco; in conn_lookup_sco()
2153 bt_conn_unref(sco); in conn_lookup_sco()
2201 struct bt_conn *sco; in deferred_work() local
2207 sco = conn_lookup_sco(conn); in deferred_work()
2208 while (sco != NULL) { in deferred_work()
2209 struct bt_sco_chan *chan = sco->sco.chan; in deferred_work()
2216 bt_sco_cleanup_acl(sco); in deferred_work()
2218 bt_conn_unref(sco); in deferred_work()
2219 sco = conn_lookup_sco(conn); in deferred_work()
2371 if (!bt_addr_eq(peer, &conn->sco.acl->br.dst)) { in bt_conn_lookup_addr_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()
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()