Home
last modified time | relevance | path

Searched refs:p_curr_scb (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_sco.c188 if (bta_ag_cb.sco.p_curr_scb != NULL && bta_ag_cb.sco.p_curr_scb->in_use) in bta_ag_sco_conn_cback()
190 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_conn_cback()
231 bta_ag_cb.sco.p_curr_scb = NULL; in bta_ag_sco_conn_cback()
252 …8x sco.state: %d", (unsigned int)sco_idx, (unsigned int)bta_ag_cb.sco.p_curr_scb, (unsigned int)b… in bta_ag_sco_disc_cback()
260 if (bta_ag_cb.sco.p_curr_scb != NULL && bta_ag_cb.sco.p_curr_scb->in_use) in bta_ag_sco_disc_cback()
263 if (bta_ag_cb.sco.p_curr_scb->sco_idx != sco_idx) in bta_ag_sco_disc_cback()
265 if (bta_ag_cb.sco.p_curr_scb->sco_idx != 0xFFFF) in bta_ag_sco_disc_cback()
268 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_disc_cback()
282 if(bta_ag_cb.sco.p_curr_scb->inuse_codec == BTA_AG_CODEC_MSBC) in bta_ag_sco_disc_cback()
289 if (bta_ag_sco_is_opening (bta_ag_cb.sco.p_curr_scb)) in bta_ag_sco_disc_cback()
[all …]
Dbta_ag_main.c594 BOOLEAN bta_ag_other_scb_open(tBTA_AG_SCB *p_curr_scb) in bta_ag_other_scb_open() argument
599 if (p_scb->in_use && p_scb != p_curr_scb && p_scb->state == BTA_AG_OPEN_ST) { in bta_ag_other_scb_open()
618 BOOLEAN bta_ag_scb_open(tBTA_AG_SCB *p_curr_scb) in bta_ag_scb_open() argument
620 if (p_curr_scb && p_curr_scb->in_use && p_curr_scb->state == BTA_AG_OPEN_ST) { in bta_ag_scb_open()
636 tBTA_AG_SCB *bta_ag_get_other_idle_scb (tBTA_AG_SCB *p_curr_scb) in bta_ag_get_other_idle_scb() argument
642 if (p_scb->in_use && (p_scb != p_curr_scb) && (p_scb->state == BTA_AG_INIT_ST)) { in bta_ag_get_other_idle_scb()
Dbta_ag_cmd.c1176 … if ((bta_ag_cb.sco.state == BTA_AG_SCO_CODEC_ST) && (bta_ag_cb.sco.p_curr_scb == p_scb)) { in bta_ag_at_hfp_cback()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_ag/include/
Dbta_ag_int.h337 tBTA_AG_SCB *p_curr_scb; /* SCB associated with SCO connection */ member
387 extern BOOLEAN bta_ag_other_scb_open(tBTA_AG_SCB *p_curr_scb);
388 extern BOOLEAN bta_ag_scb_open(tBTA_AG_SCB *p_curr_scb);
389 extern tBTA_AG_SCB *bta_ag_get_other_idle_scb (tBTA_AG_SCB *p_curr_scb);