Home
last modified time | relevance | path

Searched refs:avdt_cb (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avdt/
Davdt_ad.c107 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; in avdt_ad_init()
108 memset(&avdt_cb.ad, 0, sizeof(tAVDT_AD)); in avdt_ad_init()
133 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; in avdt_ad_tc_tbl_by_st()
190 idx = avdt_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID]; in avdt_ad_tc_tbl_by_lcid()
193 return &avdt_cb.ad.tc_tbl[idx]; in avdt_ad_tc_tbl_by_lcid()
215 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; in avdt_ad_tc_tbl_by_type()
246 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; in avdt_ad_tc_tbl_alloc()
280 AVDT_TRACE_DEBUG("avdt_ad_tc_tbl_to_idx: %d\n", (p_tbl - avdt_cb.ad.tc_tbl)); in avdt_ad_tc_tbl_to_idx()
282 return (UINT8) (p_tbl - avdt_cb.ad.tc_tbl); in avdt_ad_tc_tbl_to_idx()
325 p_scb = avdt_scb_by_hdl(avdt_cb.ad.rt_tbl[p_tbl->ccb_idx][p_tbl->tcid].scb_hdl); in avdt_ad_tc_close_ind()
[all …]
Davdt_ccb.c285 memset(&avdt_cb.ccb[0], 0, sizeof(tAVDT_CCB) * AVDT_NUM_LINKS); in avdt_ccb_init()
286 avdt_cb.p_ccb_act = (tAVDT_CCB_ACTION *) avdt_ccb_action; in avdt_ccb_init()
320 (*avdt_cb.p_ccb_act[action])(p_ccb, p_data); in avdt_ccb_event()
340 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; in avdt_ccb_by_bd()
372 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; in avdt_ccb_alloc()
429 return (UINT8) (p_ccb - avdt_cb.ccb); in avdt_ccb_to_idx()
448 p_ccb = &avdt_cb.ccb[idx]; in avdt_ccb_by_idx()
Davdt_api.c41 tAVDT_CB avdt_cb; variable
139 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG)); in AVDT_Register()
140 avdt_cb.p_conn_cback = p_cback; in AVDT_Register()
176 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in AVDT_SINK_Activate()
205 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in AVDT_SINK_Deactivate()
1038 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetL2CapChannel()
1063 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1065 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1258 avdt_cb.trace_level = new_level; in AVDT_SetTraceLevel()
1261 return (avdt_cb.trace_level); in AVDT_SetTraceLevel()
Davdt_l2c.c101 avdt_cb.ad.lcid_tbl[p_tbl->lcid - L2CAP_BASE_APPL_CID] = avdt_ad_tc_tbl_to_idx(p_tbl); in avdt_sec_check_complete_term()
102 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid; in avdt_sec_check_complete_term()
191 p_tbl->my_mtu = avdt_cb.rcb.ctrl_mtu; in avdt_l2c_connect_ind_cback()
242 avdt_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID] = avdt_ad_tc_tbl_to_idx(p_tbl); in avdt_l2c_connect_ind_cback()
243 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = lcid; in avdt_l2c_connect_ind_cback()
Davdt_ccb_act.c128 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_chk_close()
140 btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_IDLE, avdt_cb.rcb.idle_tout); in avdt_ccb_chk_close()
160 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_hdl_discover_cmd()
646 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_clear_cmds()
791 btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_RET, avdt_cb.rcb.ret_tout); in avdt_ccb_ret_cmd()
1038 p_cback = avdt_cb.p_conn_cback; in avdt_ccb_ll_closed()
1073 p_ccb->p_conn_cback = avdt_cb.p_conn_cback; in avdt_ccb_ll_opened()
Davdt_scb.c551 (*avdt_cb.p_scb_act[action])(p_scb, p_data); in avdt_scb_event()
571 memset(&avdt_cb.scb[0], 0, sizeof(tAVDT_SCB) * AVDT_NUM_SEPS); in avdt_scb_init()
572 avdt_cb.p_scb_act = (tAVDT_SCB_ACTION *) avdt_scb_action; in avdt_scb_init()
588 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_scb_alloc()
669 return (UINT8) (p_scb - avdt_cb.scb + 1); in avdt_scb_to_hdl()
689 p_scb = &avdt_cb.scb[hdl - 1]; in avdt_scb_by_hdl()
Davdt_msg.c1234 (sig == AVDT_SIG_SECURITY) || (avdt_cb.rcb.ret_tout == 0)) { in avdt_msg_send()
1235 … btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_RSP, avdt_cb.rcb.sig_tout); in avdt_msg_send()
1237 … btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_RET, avdt_cb.rcb.ret_tout); in avdt_msg_send()
Davdt_scb_act.c1864 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in avdt_scb_clr_pkt()
1933 …L2CA_FlushChannel(avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_scb->p_ccb)][avdt_ad_type_to_tcid(AVDT_CHAN_… in avdt_scb_chk_snd_pkt()
2035 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_scb->p_ccb)][tcid].lcid; in avdt_scb_queue_frags()
/hal_espressif-3.6.0/components/bt/host/bluedroid/common/include/common/
Dbt_trace.h297 #define AVDT_TRACE_ERROR(fmt, args...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_ERROR && BT_…
298 #define AVDT_TRACE_WARNING(fmt, args...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_WARNING && B…
299 #define AVDT_TRACE_API(fmt, args...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_API && BT_LO…
300 #define AVDT_TRACE_EVENT(fmt, args...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_EVENT && BT_…
301 #define AVDT_TRACE_DEBUG(fmt, args...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_DEBUG && BT_…
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avdt/include/
Davdt_int.h730 extern tAVDT_CB avdt_cb;
733 #define avdt_cb (*avdt_cb_ptr)