Lines Matching refs:p_msg
41 static tAVRC_STS avrc_pars_vendor_cmd(tAVRC_MSG_VENDOR *p_msg, tAVRC_COMMAND *p_result, in avrc_pars_vendor_cmd() argument
55 if (p_msg->vendor_len == 0) in avrc_pars_vendor_cmd()
57 if (p_msg->p_vendor_data == NULL) in avrc_pars_vendor_cmd()
60 p = p_msg->p_vendor_data; in avrc_pars_vendor_cmd()
63 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype)) in avrc_pars_vendor_cmd()
71 if ((len+4) != (p_msg->vendor_len)) in avrc_pars_vendor_cmd()
289 tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len) in AVRC_ParsCommand() argument
294 if (p_msg && p_result) in AVRC_ParsCommand()
296 switch (p_msg->hdr.opcode) in AVRC_ParsCommand()
299 status = avrc_pars_vendor_cmd(&p_msg->vendor, p_result, p_buf, buf_len); in AVRC_ParsCommand()
303 status = avrc_pars_pass_thru(&p_msg->pass, &id); in AVRC_ParsCommand()
311 AVRC_TRACE_ERROR("AVRC_ParsCommand() unknown opcode:0x%x", p_msg->hdr.opcode); in AVRC_ParsCommand()
314 p_result->cmd.opcode = p_msg->hdr.opcode; in AVRC_ParsCommand()