Home
last modified time | relevance | path

Searched refs:p_sco (Results 1 – 2 of 2) sorted by relevance

/external/bluetooth/bluedroid/bta/ag/
Dbta_ag_sco.c662 tBTA_AG_SCO_CB *p_sco = &bta_ag_cb.sco; in bta_ag_sco_event() local
670 UINT8 in_state = p_sco->state; in bta_ag_sco_event()
674 p_sco->state, bta_ag_sco_state_str(p_sco->state), in bta_ag_sco_event()
678 p_scb->sco_idx, p_sco->state, event); in bta_ag_sco_event()
689 if (p_sco->state == BTA_AG_SCO_OPEN_ST) in bta_ag_sco_event()
690 BTM_WriteScoData(p_sco->p_curr_scb->sco_idx, p_buf); in bta_ag_sco_event()
702 switch (p_sco->state) in bta_ag_sco_event()
710 p_sco->state = BTA_AG_SCO_LISTEN_ST; in bta_ag_sco_event()
733 p_sco->state = BTA_AG_SCO_CODEC_ST; in bta_ag_sco_event()
738 p_sco->state = BTA_AG_SCO_OPENING_ST; in bta_ag_sco_event()
[all …]
/external/bluetooth/bluedroid/stack/btm/
Dbtm_sco.c140 tSCO_CONN *p_sco = NULL; in btm_esco_conn_rsp() local
145 p_sco = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_esco_conn_rsp()
148 if (hci_status != HCI_SUCCESS || p_sco == NULL) in btm_esco_conn_rsp()
150 if (p_sco) in btm_esco_conn_rsp()
152 p_sco->state = (p_sco->state == SCO_ST_W4_CONN_RSP) ? SCO_ST_LISTENING in btm_esco_conn_rsp()
173 p_sco->state = SCO_ST_CONNECTING; in btm_esco_conn_rsp()
176 p_setup = &p_sco->esco.setup; in btm_esco_conn_rsp()
199 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO) in btm_esco_conn_rsp()
497 tSCO_CONN *p_sco; in btm_accept_sco_link() local
506 p_sco = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_accept_sco_link()
[all …]