• Home
  • Raw
  • Download

Lines Matching refs:p_scb

112   AvdtpScb* p_scb = &(p_ccb->scb[0]);  in avdt_ccb_chk_close()  local
115 for (i = 0; i < AVDT_NUM_SEPS; i++, p_scb++) { in avdt_ccb_chk_close()
116 if ((p_scb->allocated) && (p_scb->p_ccb == p_ccb)) { in avdt_ccb_chk_close()
146 AvdtpScb* p_scb = &(p_ccb->scb[0]); in avdt_ccb_hdl_discover_cmd() local
154 for (int i = 0; i < AVDT_NUM_SEPS; i++, p_scb++) { in avdt_ccb_hdl_discover_cmd()
155 if (p_scb->allocated) { in avdt_ccb_hdl_discover_cmd()
157 sep_info[p_data->msg.discover_rsp.num_seps].in_use = p_scb->in_use; in avdt_ccb_hdl_discover_cmd()
158 sep_info[p_data->msg.discover_rsp.num_seps].seid = p_scb->ScbHandle(); in avdt_ccb_hdl_discover_cmd()
160 p_scb->stream_config.media_type; in avdt_ccb_hdl_discover_cmd()
162 p_scb->stream_config.tsep; in avdt_ccb_hdl_discover_cmd()
209 AvdtpScb* p_scb = avdt_scb_by_hdl(p_data->msg.single.seid); in avdt_ccb_hdl_getcap_cmd() local
211 if (p_scb == nullptr) { in avdt_ccb_hdl_getcap_cmd()
219 p_data->msg.svccap.p_cfg = &p_scb->stream_config.cfg; in avdt_ccb_hdl_getcap_cmd()
294 AvdtpScb* p_scb; in avdt_ccb_hdl_start_rsp() local
305 p_scb = avdt_scb_by_hdl(p[i]); in avdt_ccb_hdl_start_rsp()
306 if (p_scb != NULL) { in avdt_ccb_hdl_start_rsp()
307 avdt_scb_event(p_scb, event, (tAVDT_SCB_EVT*)&p_data->msg); in avdt_ccb_hdl_start_rsp()
364 AvdtpScb* p_scb; in avdt_ccb_hdl_suspend_rsp() local
375 p_scb = avdt_scb_by_hdl(p[i]); in avdt_ccb_hdl_suspend_rsp()
376 if (p_scb != NULL) { in avdt_ccb_hdl_suspend_rsp()
377 avdt_scb_event(p_scb, event, (tAVDT_SCB_EVT*)&p_data->msg); in avdt_ccb_hdl_suspend_rsp()
492 AvdtpScb* p_scb; in avdt_ccb_snd_start_cmd() local
516 p_scb = avdt_scb_by_hdl(seid_list[i]); in avdt_ccb_snd_start_cmd()
517 if (p_scb != NULL) { in avdt_ccb_snd_start_cmd()
521 avdt_scb_event(p_scb, AVDT_SCB_MSG_START_REJ_EVT, &avdt_scb_evt); in avdt_ccb_snd_start_cmd()
541 AvdtpScb* p_scb; in avdt_ccb_snd_start_rsp() local
549 p_scb = avdt_scb_by_hdl(p_data->msg.multi.seid_list[i]); in avdt_ccb_snd_start_rsp()
550 if (p_scb != NULL) { in avdt_ccb_snd_start_rsp()
551 avdt_scb_event(p_scb, AVDT_SCB_MSG_START_CMD_EVT, NULL); in avdt_ccb_snd_start_rsp()
572 AvdtpScb* p_scb; in avdt_ccb_snd_suspend_cmd() local
592 p_scb = avdt_scb_by_hdl(seid_list[i]); in avdt_ccb_snd_suspend_cmd()
593 if (p_scb != NULL) { in avdt_ccb_snd_suspend_cmd()
596 avdt_scb_event(p_scb, AVDT_SCB_MSG_SUSPEND_REJ_EVT, &avdt_scb_evt); in avdt_ccb_snd_suspend_cmd()
616 AvdtpScb* p_scb; in avdt_ccb_snd_suspend_rsp() local
624 p_scb = avdt_scb_by_hdl(p_data->msg.multi.seid_list[i]); in avdt_ccb_snd_suspend_rsp()
625 if (p_scb != NULL) { in avdt_ccb_snd_suspend_rsp()
626 avdt_scb_event(p_scb, AVDT_SCB_MSG_SUSPEND_CMD_EVT, NULL); in avdt_ccb_snd_suspend_rsp()
647 AvdtpScb* p_scb = &(p_ccb->scb[0]); in avdt_ccb_clear_cmds() local
669 for (i = 0; i < AVDT_NUM_SEPS; i++, p_scb++) { in avdt_ccb_clear_cmds()
670 if ((p_scb->allocated) && (p_scb->p_ccb == p_ccb)) { in avdt_ccb_clear_cmds()
671 avdt_scb_event(p_scb, AVDT_SCB_CC_CLOSE_EVT, NULL); in avdt_ccb_clear_cmds()
691 AvdtpScb* p_scb; in avdt_ccb_cmd_fail() local
708 p_scb = avdt_scb_by_hdl(*((uint8_t*)(p_ccb->p_curr_cmd + 1))); in avdt_ccb_cmd_fail()
709 if (p_scb != NULL) { in avdt_ccb_cmd_fail()
712 avdt_scb_event(p_scb, evt, &avdt_scb_evt); in avdt_ccb_cmd_fail()