Home
last modified time | relevance | path

Searched refs:tcid (Results 1 – 8 of 8) sorted by relevance

/system/bt/stack/avdt/
Davdt_ad.c76 static UINT8 avdt_ad_tcid_to_type(UINT8 tcid) in avdt_ad_tcid_to_type() argument
80 if (tcid == 0) in avdt_ad_tcid_to_type()
91 type = ((tcid + AVDT_CHAN_NUM_TYPES - 2) % (AVDT_CHAN_NUM_TYPES - 1)) + 1; in avdt_ad_tcid_to_type()
93 AVDT_TRACE_DEBUG("tcid: %d, type: %d", tcid, type); in avdt_ad_tcid_to_type()
147 if ((p_tbl->tcid == 0) && in avdt_ad_tc_tbl_by_st()
163 if ((p_tbl->tcid == 0) && in avdt_ad_tc_tbl_by_st()
173 if ((p_tbl->tcid > 0) && in avdt_ad_tc_tbl_by_st()
233 UINT8 tcid; in avdt_ad_tc_tbl_by_type() local
239 tcid = avdt_ad_type_to_tcid(type, p_scb); in avdt_ad_tc_tbl_by_type()
243 if ((p_tbl->tcid == tcid) && (p_tbl->ccb_idx == ccb_idx)) in avdt_ad_tc_tbl_by_type()
[all …]
Davdt_l2c.c101 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid; in avdt_sec_check_complete_term()
199 p_tbl->tcid = AVDT_CHAN_SIG; in avdt_l2c_connect_ind_cback()
264 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = lcid; in avdt_l2c_connect_ind_cback()
306 if(p_tbl->tcid != AVDT_CHAN_SIG) in avdt_l2c_connect_cfm_cback()
Davdt_api.c1084 UINT8 tcid; in AVDT_GetL2CapChannel() local
1092 tcid = avdt_ad_type_to_tcid(AVDT_CHAN_MEDIA, p_scb); in AVDT_GetL2CapChannel()
1094 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetL2CapChannel()
1113 UINT8 tcid = 0; /* tcid is always 0 for signal channel */ in AVDT_GetSignalChannel() local
1120 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1124 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
Davdt_scb_act.c1897 UINT8 tcid; in avdt_scb_clr_pkt() local
1908 tcid = avdt_ad_type_to_tcid(AVDT_CHAN_MEDIA, p_scb); in avdt_scb_clr_pkt()
1910 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in avdt_scb_clr_pkt()
2081 UINT8 tcid; in avdt_scb_queue_frags() local
2087 tcid = avdt_ad_type_to_tcid(AVDT_CHAN_MEDIA, p_scb); in avdt_scb_queue_frags()
2088 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_scb->p_ccb)][tcid].lcid; in avdt_scb_queue_frags()
Davdt_int.h471 UINT8 tcid; /* TCID */ member
523 UINT8 tcid; /* transport channel id */ member
/system/bt/stack/mcap/
Dmca_main.c143 p_tbl->tcid = MCA_CTRL_TCID; in mca_tc_tbl_calloc()
184 p_tbl->tcid = p_dcb->p_cs->type + 1; in mca_tc_tbl_dalloc()
190 MCA_TRACE_DEBUG("%s() - tcid: %d, cb_idx: %d", __func__, p_tbl->tcid, p_tbl->cb_idx); in mca_tc_tbl_dalloc()
261 if (p_tbl->tcid == MCA_CTRL_TCID) in mca_set_cfg_by_tbl()
310 p_tbl->tcid, p_tbl->cb_idx, p_tbl->state); in mca_tc_close_ind()
323 if (p_tbl->tcid == MCA_CTRL_TCID) in mca_tc_close_ind()
358 MCA_TRACE_DEBUG("mca_tc_open_ind tcid: %d, cb_idx: %d", p_tbl->tcid, p_tbl->cb_idx); in mca_tc_open_ind()
372 if (p_tbl->tcid == MCA_CTRL_TCID) in mca_tc_open_ind()
412 MCA_TRACE_DEBUG("%s() - tcid: %d, cb_idx: %d", __func__, p_tbl->tcid, p_tbl->cb_idx); in mca_tc_cong_ind()
415 if (p_tbl->tcid == MCA_CTRL_TCID) in mca_tc_cong_ind()
[all …]
Dmca_l2c.c307 MCA_TRACE_DEBUG("p_tbl state: %d, tcid: %d", p_tbl->state, p_tbl->tcid); in mca_l2c_connect_cfm_cback()
314 if (p_tbl->tcid != 0) in mca_l2c_connect_cfm_cback()
340 p_tbl->tcid, in mca_l2c_connect_cfm_cback()
Dmca_int.h171 …UINT8 tcid; /* transport channel id (0, for control channel. (MDEP ID + 1) for data ch… member