Lines Matching refs:sco
791 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()
1254 (ag->sco_chan.sco != NULL)) { in bt_hfp_ag_bcc_handler()
2142 if (ag->sco_chan.sco == NULL) { in bt_hfp_ag_remote_ringing()