• Home
  • Raw
  • Download

Lines Matching refs:msg

164     p_data->msg.discover_rsp.p_sep_info = sep_info;  in avdt_ccb_hdl_discover_cmd()
165 p_data->msg.discover_rsp.num_seps = 0; in avdt_ccb_hdl_discover_cmd()
173 sep_info[p_data->msg.discover_rsp.num_seps].in_use = p_scb->in_use; in avdt_ccb_hdl_discover_cmd()
174 sep_info[p_data->msg.discover_rsp.num_seps].seid = i + 1; in avdt_ccb_hdl_discover_cmd()
175 sep_info[p_data->msg.discover_rsp.num_seps].media_type = p_scb->cs.media_type; in avdt_ccb_hdl_discover_cmd()
176 sep_info[p_data->msg.discover_rsp.num_seps].tsep = p_scb->cs.tsep; in avdt_ccb_hdl_discover_cmd()
178 p_data->msg.discover_rsp.num_seps++; in avdt_ccb_hdl_discover_cmd()
205 (tAVDT_CTRL *)(&p_data->msg.discover_rsp)); in avdt_ccb_hdl_discover_rsp()
226 p_scb = avdt_scb_by_hdl(p_data->msg.single.seid); in avdt_ccb_hdl_getcap_cmd()
228 p_data->msg.svccap.p_cfg = &p_scb->cs.cfg; in avdt_ccb_hdl_getcap_cmd()
252 (tAVDT_CTRL *)(&p_data->msg.svccap)); in avdt_ccb_hdl_getcap_rsp()
273 UINT8 seid = avdt_scb_verify(p_ccb, AVDT_VERIFY_START, p_data->msg.multi.seid_list, in avdt_ccb_hdl_start_cmd()
274 p_data->msg.multi.num_seps, &err_code); in avdt_ccb_hdl_start_cmd()
281 p_data->msg.hdr.err_code = err_code; in avdt_ccb_hdl_start_cmd()
282 p_data->msg.hdr.err_param = seid; in avdt_ccb_hdl_start_cmd()
283 avdt_msg_send_rej(p_ccb, AVDT_SIG_START, &p_data->msg); in avdt_ccb_hdl_start_cmd()
308 event = (p_data->msg.hdr.err_code == 0) ? in avdt_ccb_hdl_start_rsp()
319 avdt_scb_event(p_scb, event, (tAVDT_SCB_EVT *) &p_data->msg); in avdt_ccb_hdl_start_rsp()
344 if ((seid = avdt_scb_verify(p_ccb, AVDT_VERIFY_SUSPEND, p_data->msg.multi.seid_list, in avdt_ccb_hdl_suspend_cmd()
345 p_data->msg.multi.num_seps, &err_code)) == 0 && in avdt_ccb_hdl_suspend_cmd()
354 p_data->msg.hdr.err_code = err_code; in avdt_ccb_hdl_suspend_cmd()
355 p_data->msg.hdr.err_param = seid; in avdt_ccb_hdl_suspend_cmd()
356 avdt_msg_send_rej(p_ccb, AVDT_SIG_SUSPEND, &p_data->msg); in avdt_ccb_hdl_suspend_cmd()
382 event = (p_data->msg.hdr.err_code == 0) ? in avdt_ccb_hdl_suspend_rsp()
393 avdt_scb_event(p_scb, event, (tAVDT_SCB_EVT *) &p_data->msg); in avdt_ccb_hdl_suspend_rsp()
440 avdt_msg_send_rsp(p_ccb, AVDT_SIG_DISCOVER, &p_data->msg); in avdt_ccb_snd_discover_rsp()
468 if (p_data->msg.hdr.sig_id == AVDT_SIG_GET_ALLCAP) in avdt_ccb_snd_getcap_cmd()
490 if (p_data->msg.hdr.sig_id == AVDT_SIG_GET_ALLCAP) in avdt_ccb_snd_getcap_rsp()
494 avdt_msg_send_rsp(p_ccb, sig_id, &p_data->msg); in avdt_ccb_snd_getcap_rsp()
518 memcpy(seid_list, p_data->msg.multi.seid_list, p_data->msg.multi.num_seps); in avdt_ccb_snd_start_cmd()
521 …if ((avdt_msg.hdr.err_param = avdt_scb_verify(p_ccb, AVDT_VERIFY_OPEN, p_data->msg.multi.seid_list, in avdt_ccb_snd_start_cmd()
522 p_data->msg.multi.num_seps, &avdt_msg.hdr.err_code)) == 0) in avdt_ccb_snd_start_cmd()
525 avdt_scb_peer_seid_list(&p_data->msg.multi); in avdt_ccb_snd_start_cmd()
528 avdt_msg_send_cmd(p_ccb, seid_list, AVDT_SIG_START, &p_data->msg); in avdt_ccb_snd_start_cmd()
533 for (i = 0; i < p_data->msg.multi.num_seps; i++) in avdt_ccb_snd_start_cmd()
562 avdt_msg_send_rsp(p_ccb, AVDT_SIG_START, &p_data->msg); in avdt_ccb_snd_start_rsp()
565 for (i = 0; i < p_data->msg.multi.num_seps; i++) in avdt_ccb_snd_start_rsp()
567 if ((p_scb = avdt_scb_by_hdl(p_data->msg.multi.seid_list[i])) != NULL) in avdt_ccb_snd_start_rsp()
596 memcpy(seid_list, p_data->msg.multi.seid_list, p_data->msg.multi.num_seps); in avdt_ccb_snd_suspend_cmd()
599 …if ((avdt_msg.hdr.err_param = avdt_scb_verify(p_ccb, AVDT_VERIFY_STREAMING, p_data->msg.multi.seid… in avdt_ccb_snd_suspend_cmd()
600 p_data->msg.multi.num_seps, &avdt_msg.hdr.err_code)) == 0) in avdt_ccb_snd_suspend_cmd()
603 avdt_scb_peer_seid_list(&p_data->msg.multi); in avdt_ccb_snd_suspend_cmd()
606 avdt_msg_send_cmd(p_ccb, seid_list, AVDT_SIG_SUSPEND, &p_data->msg); in avdt_ccb_snd_suspend_cmd()
611 for (i = 0; i < p_data->msg.multi.num_seps; i++) in avdt_ccb_snd_suspend_cmd()
640 avdt_msg_send_rsp(p_ccb, AVDT_SIG_SUSPEND, &p_data->msg); in avdt_ccb_snd_suspend_rsp()
643 for (i = 0; i < p_data->msg.multi.num_seps; i++) in avdt_ccb_snd_suspend_rsp()
645 if ((p_scb = avdt_scb_by_hdl(p_data->msg.multi.seid_list[i])) != NULL) in avdt_ccb_snd_suspend_rsp()
714 tAVDT_MSG msg; in avdt_ccb_cmd_fail() local
721 msg.hdr.err_code = p_data->err_code; in avdt_ccb_cmd_fail()
722 msg.hdr.err_param = 0; in avdt_ccb_cmd_fail()
723 msg.hdr.ccb_idx = avdt_ccb_to_idx(p_ccb); in avdt_ccb_cmd_fail()
730 avdt_ccb_event(p_ccb, (UINT8) (evt & ~AVDT_CCB_MKR), (tAVDT_CCB_EVT *) &msg); in avdt_ccb_cmd_fail()
738 avdt_scb_event(p_scb, evt, (tAVDT_SCB_EVT *) &msg); in avdt_ccb_cmd_fail()
1113 avdt_ctrl.hdr.err_param = p_data->msg.hdr.err_param; in avdt_ccb_ll_opened()