Lines Matching refs:opcode
814 UINT8 opcode = avrc_opcode_from_pdu(p_rsp->pdu); in avrc_bld_init_rsp_buffer() local
816 AVRC_TRACE_API("%s: pdu=%x, opcode=%x/%x", __func__, p_rsp->pdu, opcode, p_rsp->rsp.opcode); in avrc_bld_init_rsp_buffer()
817 if (opcode != p_rsp->rsp.opcode && p_rsp->rsp.status != AVRC_STS_NO_ERROR && in avrc_bld_init_rsp_buffer()
818 avrc_is_valid_opcode(p_rsp->rsp.opcode)) in avrc_bld_init_rsp_buffer()
820 opcode = p_rsp->rsp.opcode; in avrc_bld_init_rsp_buffer()
821 AVRC_TRACE_API("%s opcode=%x", __func__, opcode); in avrc_bld_init_rsp_buffer()
824 switch (opcode) in avrc_bld_init_rsp_buffer()
840 p_pkt->event = opcode; in avrc_bld_init_rsp_buffer()
846 if (opcode != AVRC_OP_PASS_THRU) in avrc_bld_init_rsp_buffer()
849 switch (opcode) { in avrc_bld_init_rsp_buffer()
860 p_rsp->rsp.opcode = opcode; in avrc_bld_init_rsp_buffer()