Lines Matching refs:sco
1682 struct hci_conn *sco; in hci_connect_sco() local
1690 sco = hci_conn_hash_lookup_ba(hdev, type, dst); in hci_connect_sco()
1691 if (!sco) { in hci_connect_sco()
1692 sco = hci_conn_add_unset(hdev, type, dst, HCI_ROLE_MASTER); in hci_connect_sco()
1693 if (IS_ERR(sco)) { in hci_connect_sco()
1695 return sco; in hci_connect_sco()
1699 link = hci_conn_link(acl, sco); in hci_connect_sco()
1702 hci_conn_drop(sco); in hci_connect_sco()
1706 sco->setting = setting; in hci_connect_sco()
1707 sco->codec = *codec; in hci_connect_sco()
1710 (sco->state == BT_OPEN || sco->state == BT_CLOSED)) { in hci_connect_sco()
1717 return sco; in hci_connect_sco()
1723 return sco; in hci_connect_sco()