Lines Matching refs:opcode
54 #define AVRC_OP_DROP 0xFE /* use this unused opcode to indication no need to call the callback function */
55 #define AVRC_OP_DROP_N_FREE 0xFD /* use this unused opcode to indication no need to call the callback function & free buffer */
282 p_msg->hdr.opcode = AVRC_OP_DROP; /* used the p_pkt to send response */
289 p_msg->hdr.opcode = AVRC_OP_DROP_N_FREE;
365 /* Skip over vendor header (ctype, subunit*, opcode, CO_ID) */
460 /* 6 = ctype, subunit*, opcode & CO_ID */
489 else if (p_msg->hdr.opcode == AVRC_OP_DROP)
493 else if (p_msg->hdr.opcode == AVRC_OP_DROP_N_FREE)
527 UINT8 opcode;
570 opcode = p_data[2];
577 switch(opcode)
586 /* 3 bytes: ctype, subunit*, opcode */
601 p_data += 4; /* 3 bytes: ctype, subunit*, opcode + octet 3 (is 7)*/
630 p_data += AVRC_AVC_HDR_SIZE; /* 3 bytes: ctype, subunit*, opcode */
646 if (p_pkt->len < AVRC_VENDOR_HDR_SIZE) /* 6 = ctype, subunit*, opcode & CO_ID */
654 p_data += AVRC_AVC_HDR_SIZE; /* skip the first 3 bytes: ctype, subunit*, opcode */
704 if (p_pkt->len < 5) /* 3 bytes: ctype, subunit*, opcode & op_id & len */
712 p_data += AVRC_AVC_HDR_SIZE; /* skip the first 3 bytes: ctype, subunit*, opcode */
732 /* reject unsupported opcode */
746 /* reject unsupported opcode */
767 msg.hdr.opcode = opcode;
768 (*avrc_cb.ccb[handle].p_msg_cback)(handle, label, opcode, &msg);
773 AVRC_TRACE_WARNING5("avrc_msg_cback %s msg handle:%d, control:%d, cr:%d, opcode:x%x",
775 handle, avrc_cb.ccb[handle].control, cr, opcode);
993 *p_data++ = AVRC_OP_PASS_THRU;/* opcode */