Lines Matching refs:p_msg
47 static BT_HDR* avrc_vendor_msg(tAVRC_MSG_VENDOR* p_msg) { in avrc_vendor_msg() argument
51 CHECK(p_msg != NULL); in avrc_vendor_msg()
53 CHECK(AVRC_META_CMD_BUF_SIZE > (AVRC_MIN_CMD_LEN + p_msg->vendor_len)); in avrc_vendor_msg()
58 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg()
60 (p_msg->hdr.subunit_type << AVRC_SUBTYPE_SHIFT) | p_msg->hdr.subunit_id; in avrc_vendor_msg()
62 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id); in avrc_vendor_msg()
63 if (p_msg->vendor_len && p_msg->p_vendor_data) in avrc_vendor_msg()
64 memcpy(p_data, p_msg->p_vendor_data, p_msg->vendor_len); in avrc_vendor_msg()
65 p_cmd->len = (uint16_t)(p_data + p_msg->vendor_len - (uint8_t*)(p_cmd + 1) - in avrc_vendor_msg()
180 tAVRC_MSG_VENDOR* p_msg) { in AVRC_VendorCmd() argument
181 BT_HDR* p_buf = avrc_vendor_msg(p_msg); in AVRC_VendorCmd()
215 tAVRC_MSG_VENDOR* p_msg) { in AVRC_VendorRsp() argument
216 BT_HDR* p_buf = avrc_vendor_msg(p_msg); in AVRC_VendorRsp()