Home
last modified time | relevance | path

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

/system/bt/bta/ag/
Dbta_ag_sco.c706 tBTA_AG_SCO_CB *p_sco = &bta_ag_cb.sco; in bta_ag_sco_event() local
714 UINT8 in_state = p_sco->state; in bta_ag_sco_event()
718 p_sco->state, bta_ag_sco_state_str(p_sco->state), in bta_ag_sco_event()
722 p_scb->sco_idx, p_sco->state, event); in bta_ag_sco_event()
733 if (p_sco->state == BTA_AG_SCO_OPEN_ST) in bta_ag_sco_event()
734 BTM_WriteScoData(p_sco->p_curr_scb->sco_idx, p_buf); in bta_ag_sco_event()
746 switch (p_sco->state) in bta_ag_sco_event()
754 p_sco->state = BTA_AG_SCO_LISTEN_ST; in bta_ag_sco_event()
777 p_sco->state = BTA_AG_SCO_CODEC_ST; in bta_ag_sco_event()
782 p_sco->state = BTA_AG_SCO_OPENING_ST; in bta_ag_sco_event()
[all …]
/system/bt/stack/btm/
Dbtm_sco.c150 tSCO_CONN *p_sco = NULL;
155 p_sco = &btm_cb.sco_cb.sco_db[sco_inx];
158 if (hci_status != HCI_SUCCESS || p_sco == NULL)
160 if (p_sco)
162 p_sco->state = (p_sco->state == SCO_ST_W4_CONN_RSP) ? SCO_ST_LISTENING
183 p_sco->state = SCO_ST_CONNECTING;
184 p_setup = &p_sco->esco.setup;
207 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO)
516 tSCO_CONN *p_sco;
525 p_sco = &btm_cb.sco_cb.sco_db[sco_inx];
[all …]