Home | History | Annotate | Download | only in avrc

Lines Matching defs:opcode

58 #define AVRC_OP_DROP        0xFE    /* use this unused opcode to indication no need to call the callback function */
59 #define AVRC_OP_DROP_N_FREE 0xFD /* use this unused opcode to indication no need to call the callback function & free buffer */
279 p_msg->hdr.opcode = AVRC_OP_DROP; /* used the p_pkt to send response */
286 p_msg->hdr.opcode = AVRC_OP_DROP_N_FREE;
360 /* Skip over vendor header (ctype, subunit*, opcode, CO_ID) */
448 /* 6 = ctype, subunit*, opcode & CO_ID */
477 else if (p_msg->hdr.opcode == AVRC_OP_DROP)
481 else if (p_msg->hdr.opcode == AVRC_OP_DROP_N_FREE)
529 UINT8 opcode;
572 opcode = p_data[2];
579 switch(opcode)
590 /* 3 bytes: ctype, subunit*, opcode */
605 p_data += 4; /* 3 bytes: ctype, subunit*, opcode + octet 3 (is 7)*/
636 p_data += AVRC_AVC_HDR_SIZE; /* 3 bytes: ctype, subunit*, opcode */
652 if (p_pkt->len < AVRC_VENDOR_HDR_SIZE) /* 6 = ctype, subunit*, opcode & CO_ID */
660 p_data += AVRC_AVC_HDR_SIZE; /* skip the first 3 bytes: ctype, subunit*, opcode */
712 if (p_pkt->len < 5) /* 3 bytes: ctype, subunit*, opcode & op_id & len */
720 p_data += AVRC_AVC_HDR_SIZE; /* skip the first 3 bytes: ctype, subunit*, opcode */
740 /* reject unsupported opcode */
754 /* reject unsupported opcode */
774 msg.hdr.opcode = opcode;
775 (*avrc_cb.ccb[handle].p_msg_cback)(handle, label, opcode, &msg);
780 AVRC_TRACE_WARNING("avrc_msg_cback %s msg handle:%d, control:%d, cr:%d, opcode:x%x",
782 handle, avrc_cb.ccb[handle].control, cr, opcode);
995 *p_data++ = AVRC_OP_PASS_THRU;/* opcode */