Lines Matching refs:p_ccb
71 AvdtpCcb* p_ccb = NULL; in avdt_sec_check_complete_term() local
74 p_ccb = avdt_ccb_by_bd(*bd_addr); in avdt_sec_check_complete_term()
76 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_ACP); 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()
101 AvdtpCcb* p_ccb = NULL; in avdt_sec_check_complete_orig() local
105 if (bd_addr) p_ccb = avdt_ccb_by_bd(*bd_addr); in avdt_sec_check_complete_orig()
106 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_INT); in avdt_sec_check_complete_orig()
129 AvdtpCcb* p_ccb; in avdt_l2c_connect_ind_cback() local
134 p_ccb = avdt_ccb_by_bd(bd_addr); in avdt_l2c_connect_ind_cback()
135 if (p_ccb == NULL) { in avdt_l2c_connect_ind_cback()
139 p_ccb = avdt_ccb_alloc_by_channel_index(bd_addr, channel_index); in avdt_l2c_connect_ind_cback()
141 if (p_ccb == nullptr) { in avdt_l2c_connect_ind_cback()
142 p_ccb = avdt_ccb_alloc(bd_addr); in avdt_l2c_connect_ind_cback()
144 if (p_ccb == NULL) { in avdt_l2c_connect_ind_cback()
149 p_tbl = avdt_ad_tc_tbl_alloc(p_ccb); in avdt_l2c_connect_ind_cback()
164 avdt_sec_check_complete_term(&p_ccb->peer_addr, BT_TRANSPORT_BR_EDR, in avdt_l2c_connect_ind_cback()
170 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_CONN); in avdt_l2c_connect_ind_cback()
178 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_MEDIA, p_ccb, AVDT_AD_ST_ACP); in avdt_l2c_connect_ind_cback()
186 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_REPORT, p_ccb, AVDT_AD_ST_ACP); 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()
229 AvdtpCcb* p_ccb; in avdt_l2c_connect_cfm_cback() local
244 p_ccb = avdt_ccb_by_idx(p_tbl->ccb_idx); in avdt_l2c_connect_cfm_cback()
245 if (p_ccb == NULL) { in avdt_l2c_connect_cfm_cback()
254 (const RawAddress*)&p_ccb->peer_addr)) { in avdt_l2c_connect_cfm_cback()
257 p_ccb->peer_addr, in avdt_l2c_connect_cfm_cback()
264 avdt_sec_check_complete_orig(&p_ccb->peer_addr, BT_TRANSPORT_BR_EDR, in avdt_l2c_connect_cfm_cback()