Home
last modified time | relevance | path

Searched refs:bta_ag_scb_to_idx (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_rfc.c253 UINT16 i = bta_ag_scb_to_idx(p_scb) - 1; in bta_ag_setup_port()
286 bta_ag_mgmt_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]); in bta_ag_start_servers()
361 bta_ag_mgmt_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]) == PORT_SUCCESS) { in bta_ag_rfc_do_open()
393 p_buf->hdr.layer_specific = bta_ag_scb_to_idx(p_scb); in bta_ag_rfc_do_close()
Dbta_ag_main.c400 p_buf->layer_specific = bta_ag_scb_to_idx((tBTA_AG_SCB *) p_tle->param); in bta_ag_timer_cback()
435 APPL_TRACE_DEBUG("bta_ag_scb_alloc %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_scb_alloc()
462 APPL_TRACE_DEBUG("bta_ag_scb_dealloc %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_scb_dealloc()
497 UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb) in bta_ag_scb_to_idx() function
732 APPL_TRACE_DEBUG ("bta_ag_resume_open, Handle(%d)", bta_ag_scb_to_idx(p_scb)); in bta_ag_resume_open()
890 bta_ag_scb_to_idx(p_scb), in bta_ag_sm_execute()
896 bta_ag_scb_to_idx(p_scb), p_scb->state, event); in bta_ag_sm_execute()
Dbta_ag_sco.c190 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_conn_cback()
268 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_disc_cback()
476 sco.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_cback_sco()
621 … bta_ag_sco_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_SETUP, esco_codec); in bta_ag_create_sco()
633 bta_ag_sco_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_SETUP); in bta_ag_create_sco()
1518 … bta_ag_sco_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_ON, p_scb->inuse_codec); in bta_ag_sco_conn_open()
1520 bta_ag_sco_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_ON); in bta_ag_sco_conn_open()
1523 …bta_ag_sco_co_open(bta_ag_scb_to_idx(p_scb), p_scb->air_mode, p_scb->out_pkt_len, BTA_AG_CI_SCO_DA… in bta_ag_sco_conn_open()
1556 UINT16 handle = bta_ag_scb_to_idx(p_scb); in bta_ag_sco_conn_close()
1687 …bta_ag_sco_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_SETUP, BTA_AG_CODEC_CVSD… in bta_ag_sco_conn_rsp()
[all …]
Dbta_ag_act.c95 open.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_cback_open()
132 reg.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_register()
394 close.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_rfc_close()
718 evt.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_svc_conn_open()
767 APPL_TRACE_DEBUG("bta_ag_rcvd_slc_ready: handle = %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_rcvd_slc_ready()
Dbta_ag_cmd.c797 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_hsp_cback()
834 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_hfp_cback()
1211 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_err_cback()
1275 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) { in bta_ag_hsp_result()
1392 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) { in bta_ag_hfp_result()
1409 …if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb) && !(p_scb->features & BTA_AG_FEAT_NOS… in bta_ag_hfp_result()
1417 …if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb) && !(p_scb->features & BTA_AG_FEAT_NOS… in bta_ag_hfp_result()
1426 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) { in bta_ag_hfp_result()
1439 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) { in bta_ag_hfp_result()
Dbta_ag_sdp.c417 bta_ag_sdp_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]); in bta_ag_do_disc()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_ag/include/
Dbta_ag_int.h366 extern UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb);