• Home
  • Raw
  • Download

Lines Matching refs:p_ccb

41   AvdtpCcb* p_ccb = (AvdtpCcb*)data;  in avdt_ccb_idle_ccb_timer_timeout()  local
47 avdt_ccb_event(p_ccb, avdt_event, &avdt_ccb_evt); in avdt_ccb_idle_ccb_timer_timeout()
51 AvdtpCcb* p_ccb = (AvdtpCcb*)data; in avdt_ccb_ret_ccb_timer_timeout() local
57 avdt_ccb_event(p_ccb, avdt_event, &avdt_ccb_evt); in avdt_ccb_ret_ccb_timer_timeout()
61 AvdtpCcb* p_ccb = (AvdtpCcb*)data; in avdt_ccb_rsp_ccb_timer_timeout() local
67 avdt_ccb_event(p_ccb, avdt_event, &avdt_ccb_evt); in avdt_ccb_rsp_ccb_timer_timeout()
259 AvdtpCcb* p_ccb; in AVDT_DiscoverReq() local
266 p_ccb = avdt_ccb_by_bd(bd_addr); in AVDT_DiscoverReq()
267 if (p_ccb == NULL) { in AVDT_DiscoverReq()
268 p_ccb = avdt_ccb_alloc_by_channel_index(bd_addr, channel_index); in AVDT_DiscoverReq()
269 if (p_ccb == NULL) { in AVDT_DiscoverReq()
277 if (p_ccb->proc_busy) { in AVDT_DiscoverReq()
285 avdt_ccb_event(p_ccb, AVDT_CCB_API_DISCOVER_REQ_EVT, &evt); in AVDT_DiscoverReq()
306 AvdtpCcb* p_ccb = NULL; in avdt_get_cap_req() local
319 p_ccb = avdt_ccb_by_bd(bd_addr); in avdt_get_cap_req()
320 if (p_ccb == NULL) { in avdt_get_cap_req()
321 p_ccb = avdt_ccb_alloc_by_channel_index(bd_addr, channel_index); in avdt_get_cap_req()
322 if (p_ccb == NULL) { in avdt_get_cap_req()
331 if (p_ccb->proc_busy) { in avdt_get_cap_req()
336 avdt_ccb_event(p_ccb, AVDT_CCB_API_GETCAP_REQ_EVT, (tAVDT_CCB_EVT*)p_evt); in avdt_get_cap_req()
445 AvdtpCcb* p_ccb = NULL; in AVDT_OpenReq() local
464 p_ccb = avdt_ccb_by_bd(bd_addr); in AVDT_OpenReq()
465 if (p_ccb == NULL) { in AVDT_OpenReq()
466 p_ccb = avdt_ccb_alloc_by_channel_index(bd_addr, channel_index); in AVDT_OpenReq()
467 if (p_ccb == NULL) { in AVDT_OpenReq()
481 evt.msg.config_cmd.hdr.ccb_idx = avdt_ccb_to_idx(p_ccb); in AVDT_OpenReq()
580 if (p_scb->p_ccb == NULL) { in AVDT_StartReq()
586 avdt_ccb_event(p_scb->p_ccb, AVDT_CCB_API_START_REQ_EVT, &evt); in AVDT_StartReq()
632 if (p_scb->p_ccb == NULL) { in AVDT_SuspendReq()
638 avdt_ccb_event(p_scb->p_ccb, AVDT_CCB_API_SUSPEND_REQ_EVT, &evt); in AVDT_SuspendReq()
962 AvdtpCcb* p_ccb = NULL; in AVDT_ConnectReq() local
970 p_ccb = avdt_ccb_by_bd(bd_addr); in AVDT_ConnectReq()
971 if (p_ccb == NULL) { in AVDT_ConnectReq()
972 p_ccb = avdt_ccb_alloc_by_channel_index(bd_addr, channel_index); in AVDT_ConnectReq()
973 if (p_ccb == NULL) { in AVDT_ConnectReq()
977 } else if (!p_ccb->ll_opened) { in AVDT_ConnectReq()
988 avdt_ccb_event(p_ccb, AVDT_CCB_API_CONNECT_REQ_EVT, &evt); in AVDT_ConnectReq()
1011 AvdtpCcb* p_ccb = NULL; in AVDT_DisconnectReq() local
1018 p_ccb = avdt_ccb_by_bd(bd_addr); in AVDT_DisconnectReq()
1019 if (p_ccb == NULL) { in AVDT_DisconnectReq()
1026 avdt_ccb_event(p_ccb, AVDT_CCB_API_DISCONNECT_REQ_EVT, &evt); in AVDT_DisconnectReq()
1046 AvdtpCcb* p_ccb; in AVDT_GetL2CapChannel() local
1052 ((p_ccb = p_scb->p_ccb) != NULL)) { in AVDT_GetL2CapChannel()
1056 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetL2CapChannel()
1074 AvdtpCcb* p_ccb; in AVDT_GetSignalChannel() local
1080 ((p_ccb = p_scb->p_ccb) != NULL)) { in AVDT_GetSignalChannel()
1081 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1083 p_ccb = avdt_ccb_by_bd(bd_addr); in AVDT_GetSignalChannel()
1084 if (p_ccb != NULL) { in AVDT_GetSignalChannel()
1085 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1115 if (((p_scb = avdt_scb_by_hdl(handle)) != NULL) && (p_scb->p_ccb != NULL) && in AVDT_SendReport()
1124 p_tbl = avdt_ad_tc_tbl_by_type(AVDT_CHAN_REPORT, p_scb->p_ccb, p_scb); in AVDT_SendReport()
1178 avdt_ad_write_req(AVDT_CHAN_REPORT, p_scb->p_ccb, p_scb, p_pkt)) in AVDT_SendReport()
1266 (scb.p_ccb != nullptr) ? scb.p_ccb->peer_addr.ToString().c_str() in stack_debug_avdtp_api_dump()