Lines Matching full:p_ccb
142 AvdtpTransportChannel* avdt_ad_tc_tbl_by_st(uint8_t type, AvdtpCcb* p_ccb,
148 if (p_ccb == NULL) {
157 ccb_idx = avdt_ccb_to_idx(p_ccb);
217 AvdtpTransportChannel* avdt_ad_tc_tbl_by_type(uint8_t type, AvdtpCcb* p_ccb,
222 uint8_t ccb_idx = avdt_ccb_to_idx(p_ccb);
248 AvdtpTransportChannel* avdt_ad_tc_tbl_alloc(AvdtpCcb* p_ccb) {
265 p_tbl->ccb_idx = avdt_ccb_to_idx(p_ccb);
302 AvdtpCcb* p_ccb;
316 p_ccb = avdt_ccb_by_idx(p_tbl->ccb_idx);
317 avdt_ccb_event(p_ccb, AVDT_CCB_LL_CLOSE_EVT, NULL);
348 AvdtpCcb* p_ccb;
365 p_ccb = avdt_ccb_by_idx(p_tbl->ccb_idx);
374 avdt_ccb_event(p_ccb, AVDT_CCB_LL_OPEN_EVT, &avdt_ccb_evt);
409 AvdtpCcb* p_ccb;
414 p_ccb = avdt_ccb_by_idx(p_tbl->ccb_idx);
417 avdt_ccb_event(p_ccb, AVDT_CCB_LL_CONG_EVT, &avdt_ccb_evt);
446 AvdtpCcb* p_ccb;
454 p_ccb = avdt_ccb_by_idx(p_tbl->ccb_idx);
455 avdt_msg_ind(p_ccb, p_buf);
486 uint8_t avdt_ad_write_req(uint8_t type, AvdtpCcb* p_ccb, AvdtpScb* p_scb,
493 return L2CA_DataWrite(avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid,
513 void avdt_ad_open_req(uint8_t type, AvdtpCcb* p_ccb, AvdtpScb* p_scb,
518 p_tbl = avdt_ad_tc_tbl_alloc(p_ccb);
538 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].scb_hdl =
541 avdt_ccb_to_idx(p_ccb), p_tbl->tcid,
554 lcid = L2CA_ConnectReq(AVDT_PSM, p_ccb->peer_addr);
563 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = lcid;
565 avdt_ccb_to_idx(p_ccb), p_tbl->tcid, lcid);
585 void avdt_ad_close_req(uint8_t type, AvdtpCcb* p_ccb, AvdtpScb* p_scb) {
589 p_tbl = avdt_ad_tc_tbl_by_type(type, p_ccb, p_scb);
605 L2CA_DisconnectReq(avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid);