Lines Matching refs:p_msg
43 static tAVRC_STS avrc_pars_vendor_rsp(tAVRC_MSG_VENDOR *p_msg, tAVRC_RESPONSE *p_result)
46 UINT8 *p = p_msg->p_vendor_data;
61 AVRC_TRACE_DEBUG("avrc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len);
62 if (p_msg->hdr.ctype == AVRC_RSP_REJ)
88 && (AVRC_RSP_CHANGED==p_msg->hdr.ctype || AVRC_RSP_INTERIM==p_msg->hdr.ctype
89 || AVRC_RSP_REJ==p_msg->hdr.ctype || AVRC_RSP_NOT_IMPL==p_msg->hdr.ctype))
91 p_result->reg_notif.status=p_msg->hdr.ctype;
117 tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_len)
124 if (p_msg && p_result)
126 switch (p_msg->hdr.opcode)
129 status = avrc_pars_vendor_rsp(&p_msg->vendor, p_result);
133 status = avrc_pars_pass_thru(&p_msg->pass, &id);
141 AVRC_TRACE_ERROR("AVRC_ParsResponse() unknown opcode:0x%x", p_msg->hdr.opcode);
144 p_result->rsp.opcode = p_msg->hdr.opcode;