Lines Matching refs:lcid
37 void avdt_l2c_connect_ind_cback(const RawAddress& bd_addr, uint16_t lcid,
39 void avdt_l2c_connect_cfm_cback(uint16_t lcid, uint16_t result);
40 void avdt_l2c_config_cfm_cback(uint16_t lcid, uint16_t result,
42 void avdt_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg);
43 void avdt_l2c_disconnect_ind_cback(uint16_t lcid, bool ack_needed);
44 void avdt_l2c_congestion_ind_cback(uint16_t lcid, bool is_congested);
45 void avdt_l2c_data_ind_cback(uint16_t lcid, BT_HDR* p_buf);
46 static void avdt_on_l2cap_error(uint16_t lcid, uint16_t result);
80 avdtp_cb.ad.lcid_tbl[p_tbl->lcid] = avdt_ad_tc_tbl_to_idx(p_tbl); in avdt_sec_check_complete_term()
81 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid; in avdt_sec_check_complete_term()
113 avdt_l2c_disconnect(p_tbl->lcid); in avdt_sec_check_complete_orig()
127 void avdt_l2c_connect_ind_cback(const RawAddress& bd_addr, uint16_t lcid, in avdt_l2c_connect_ind_cback() argument
152 p_tbl->lcid = lcid; in avdt_l2c_connect_ind_cback()
200 L2CA_DisconnectReq(lcid); in avdt_l2c_connect_ind_cback()
206 avdtp_cb.ad.lcid_tbl[lcid] = avdt_ad_tc_tbl_to_idx(p_tbl); in avdt_l2c_connect_ind_cback()
207 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = lcid; in avdt_l2c_connect_ind_cback()
213 static void avdt_on_l2cap_error(uint16_t lcid, uint16_t result) { in avdt_on_l2cap_error() argument
214 avdt_l2c_disconnect(lcid); in avdt_on_l2cap_error()
227 void avdt_l2c_connect_cfm_cback(uint16_t lcid, uint16_t result) { in avdt_l2c_connect_cfm_cback() argument
231 AVDT_TRACE_DEBUG("avdt_l2c_connect_cfm_cback lcid: %d, result: %d", lcid, in avdt_l2c_connect_cfm_cback()
234 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_connect_cfm_cback()
250 p_tbl->lcid = lcid; in avdt_l2c_connect_cfm_cback()
288 void avdt_l2c_config_cfm_cback(uint16_t lcid, uint16_t initiator, in avdt_l2c_config_cfm_cback() argument
290 avdt_l2c_config_ind_cback(lcid, p_cfg); in avdt_l2c_config_cfm_cback()
294 AVDT_TRACE_DEBUG("%s: lcid: %d", __func__, lcid); in avdt_l2c_config_cfm_cback()
297 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_config_cfm_cback()
299 p_tbl->lcid = lcid; in avdt_l2c_config_cfm_cback()
318 void avdt_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { in avdt_l2c_config_ind_cback() argument
321 AVDT_TRACE_DEBUG("%s: lcid: %d", __func__, lcid); in avdt_l2c_config_ind_cback()
324 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_config_ind_cback()
333 lcid); in avdt_l2c_config_ind_cback()
347 void avdt_l2c_disconnect_ind_cback(uint16_t lcid, bool ack_needed) { in avdt_l2c_disconnect_ind_cback() argument
351 lcid, ack_needed); in avdt_l2c_disconnect_ind_cback()
353 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_disconnect_ind_cback()
359 void avdt_l2c_disconnect(uint16_t lcid) { in avdt_l2c_disconnect() argument
360 L2CA_DisconnectReq(lcid); in avdt_l2c_disconnect()
363 AVDT_TRACE_DEBUG("avdt_l2c_disconnect_cfm_cback lcid: %d", lcid); in avdt_l2c_disconnect()
365 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_disconnect()
381 void avdt_l2c_congestion_ind_cback(uint16_t lcid, bool is_congested) { in avdt_l2c_congestion_ind_cback() argument
385 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_congestion_ind_cback()
401 void avdt_l2c_data_ind_cback(uint16_t lcid, BT_HDR* p_buf) { in avdt_l2c_data_ind_cback() argument
405 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_data_ind_cback()