Lines Matching refs:p_data
50 UINT8 *p_data; in avrc_vendor_msg() local
63 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; in avrc_vendor_msg()
64 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg()
65 *p_data++ = (p_msg->hdr.subunit_type << AVRC_SUBTYPE_SHIFT) | p_msg->hdr.subunit_id; in avrc_vendor_msg()
66 *p_data++ = AVRC_OP_VENDOR; in avrc_vendor_msg()
67 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id); in avrc_vendor_msg()
69 memcpy(p_data, p_msg->p_vendor_data, p_msg->vendor_len); in avrc_vendor_msg()
70 p_cmd->len = (UINT16)(p_data + p_msg->vendor_len - (UINT8 *)(p_cmd + 1) - p_cmd->offset); in avrc_vendor_msg()
100 UINT8 *p_data; in AVRC_UnitCmd() local
103 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; in AVRC_UnitCmd()
104 *p_data++ = AVRC_CMD_STATUS; in AVRC_UnitCmd()
106 *p_data++ = (AVRC_SUB_UNIT << AVRC_SUBTYPE_SHIFT) | AVRC_SUBID_IGNORE; in AVRC_UnitCmd()
107 *p_data++ = AVRC_OP_UNIT_INFO; in AVRC_UnitCmd()
108 memset(p_data, AVRC_CMD_OPRND_PAD, AVRC_UNIT_OPRND_BYTES); in AVRC_UnitCmd()
109 p_cmd->len = p_data + AVRC_UNIT_OPRND_BYTES - (UINT8 *)(p_cmd + 1) - p_cmd->offset; in AVRC_UnitCmd()
143 UINT8 *p_data; in AVRC_SubCmd() local
146 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; in AVRC_SubCmd()
147 *p_data++ = AVRC_CMD_STATUS; in AVRC_SubCmd()
149 *p_data++ = (AVRC_SUB_UNIT << AVRC_SUBTYPE_SHIFT) | AVRC_SUBID_IGNORE; in AVRC_SubCmd()
150 *p_data++ = AVRC_OP_SUB_INFO; in AVRC_SubCmd()
151 *p_data++ = ((page&AVRC_SUB_PAGE_MASK) << AVRC_SUB_PAGE_SHIFT) | AVRC_SUB_EXT_CODE; in AVRC_SubCmd()
152 memset(p_data, AVRC_CMD_OPRND_PAD, AVRC_SUB_OPRND_BYTES); in AVRC_SubCmd()
153 p_cmd->len = p_data + AVRC_SUB_OPRND_BYTES - (UINT8 *)(p_cmd + 1) - p_cmd->offset; in AVRC_SubCmd()