Lines Matching refs:p_scb
67 uint8_t avdt_ad_type_to_tcid(uint8_t type, AvdtpScb* p_scb) { in avdt_ad_type_to_tcid() argument
74 uint8_t scb_idx = (avdt_scb_to_hdl(p_scb) - 1) % AVDT_NUM_LINKS; in avdt_ad_type_to_tcid()
216 AvdtpScb* p_scb) { in avdt_ad_tc_tbl_by_type() argument
223 tcid = avdt_ad_type_to_tcid(type, p_scb); in avdt_ad_tc_tbl_by_type()
300 AvdtpScb* p_scb; in avdt_ad_tc_close_ind() local
319 p_scb = avdtp_cb.ad.LookupAvdtpScb(*p_tbl); in avdt_ad_tc_close_ind()
320 if (p_scb == nullptr) { in avdt_ad_tc_close_ind()
329 avdt_scb_event(p_scb, AVDT_SCB_TC_CLOSE_EVT, &avdt_scb_evt); in avdt_ad_tc_close_ind()
346 AvdtpScb* p_scb; in avdt_ad_tc_open_ind() local
376 p_scb = avdtp_cb.ad.LookupAvdtpScb(*p_tbl); in avdt_ad_tc_open_ind()
377 if (p_scb == nullptr) { in avdt_ad_tc_open_ind()
388 avdt_scb_event(p_scb, AVDT_SCB_TC_OPEN_EVT, &avdt_scb_evt); in avdt_ad_tc_open_ind()
407 AvdtpScb* p_scb; in avdt_ad_tc_cong_ind() local
419 p_scb = avdtp_cb.ad.LookupAvdtpScb(*p_tbl); in avdt_ad_tc_cong_ind()
420 if (p_scb == nullptr) { in avdt_ad_tc_cong_ind()
427 avdt_scb_event(p_scb, AVDT_SCB_TC_CONG_EVT, &avdt_scb_evt); in avdt_ad_tc_cong_ind()
444 AvdtpScb* p_scb; in avdt_ad_tc_data_ind() local
456 p_scb = avdtp_cb.ad.LookupAvdtpScb(*p_tbl); in avdt_ad_tc_data_ind()
457 if (p_scb == nullptr) { in avdt_ad_tc_data_ind()
464 avdt_scb_event(p_scb, AVDT_SCB_TC_DATA_EVT, (tAVDT_SCB_EVT*)&p_buf); in avdt_ad_tc_data_ind()
483 uint8_t avdt_ad_write_req(uint8_t type, AvdtpCcb* p_ccb, AvdtpScb* p_scb, in avdt_ad_write_req() argument
488 tcid = avdt_ad_type_to_tcid(type, p_scb); in avdt_ad_write_req()
510 void avdt_ad_open_req(uint8_t type, AvdtpCcb* p_ccb, AvdtpScb* p_scb, in avdt_ad_open_req() argument
521 p_tbl->tcid = avdt_ad_type_to_tcid(type, p_scb); in avdt_ad_open_req()
534 avdt_scb_to_hdl(p_scb); in avdt_ad_open_req()
537 avdt_scb_to_hdl(p_scb)); in avdt_ad_open_req()
579 void avdt_ad_close_req(uint8_t type, AvdtpCcb* p_ccb, AvdtpScb* p_scb) { in avdt_ad_close_req() argument
583 p_tbl = avdt_ad_tc_tbl_by_type(type, p_ccb, p_scb); in avdt_ad_close_req()
596 tcid = avdt_ad_type_to_tcid(type, p_scb); in avdt_ad_close_req()