Lines Matching refs:p_data
49 uint8_t* p_data; in avrc_vendor_msg() local
57 p_data = (uint8_t*)(p_cmd + 1) + p_cmd->offset; in avrc_vendor_msg()
58 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg()
59 *p_data++ = in avrc_vendor_msg()
61 *p_data++ = AVRC_OP_VENDOR; in avrc_vendor_msg()
62 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id); 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()
95 uint8_t* p_data; in AVRC_UnitCmd() local
98 p_data = (uint8_t*)(p_cmd + 1) + p_cmd->offset; in AVRC_UnitCmd()
99 *p_data++ = AVRC_CMD_STATUS; in AVRC_UnitCmd()
101 *p_data++ = (AVRC_SUB_UNIT << AVRC_SUBTYPE_SHIFT) | AVRC_SUBID_IGNORE; in AVRC_UnitCmd()
102 *p_data++ = AVRC_OP_UNIT_INFO; in AVRC_UnitCmd()
103 memset(p_data, AVRC_CMD_OPRND_PAD, AVRC_UNIT_OPRND_BYTES); in AVRC_UnitCmd()
105 p_data + AVRC_UNIT_OPRND_BYTES - (uint8_t*)(p_cmd + 1) - p_cmd->offset; in AVRC_UnitCmd()
138 uint8_t* p_data; in AVRC_SubCmd() local
141 p_data = (uint8_t*)(p_cmd + 1) + p_cmd->offset; in AVRC_SubCmd()
142 *p_data++ = AVRC_CMD_STATUS; in AVRC_SubCmd()
144 *p_data++ = (AVRC_SUB_UNIT << AVRC_SUBTYPE_SHIFT) | AVRC_SUBID_IGNORE; in AVRC_SubCmd()
145 *p_data++ = AVRC_OP_SUB_INFO; in AVRC_SubCmd()
146 *p_data++ = in AVRC_SubCmd()
148 memset(p_data, AVRC_CMD_OPRND_PAD, AVRC_SUB_OPRND_BYTES); in AVRC_SubCmd()
150 p_data + AVRC_SUB_OPRND_BYTES - (uint8_t*)(p_cmd + 1) - p_cmd->offset; in AVRC_SubCmd()