PageRenderTime 27ms CodeModel.GetById 22ms app.highlight 4ms RepoModel.GetById 0ms app.codeStats 0ms

/arch/arm/mach-msm/include/mach/qdsp5/qdsp5rmtmsg.h

https://bitbucket.org/sammyz/iscream_thunderc-2.6.35-rebase
C++ Header | 70 lines | 17 code | 9 blank | 44 comment | 0 complexity | 69979f78ba83cc851934b83a5530a06d MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1/* Copyright (c) 2010, Code Aurora Forum. All rights reserved.
 2 *
 3 * Redistribution and use in source and binary forms, with or without
 4 * modification, are permitted provided that the following conditions are met:
 5 *     * Redistributions of source code must retain the above copyright
 6 *       notice, this list of conditions and the following disclaimer.
 7 *     * Redistributions in binary form must reproduce the above copyright
 8 *       notice, this list of conditions and the following disclaimer in the
 9 *       documentation and/or other materials provided with the distribution.
10 *     * Neither the name of Code Aurora Forum, Inc. nor
11 *       the names of its contributors may be used to endorse or promote
12 *       products derived from this software without specific prior written
13 *       permission.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 * NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
19 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28#ifndef QDSP5RMTMSG_H
29#define QDSP5RMTMSG_H
30
31/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
32
33       R M T A S K   M S G
34
35GENERAL DESCRIPTION
36  Messages sent by RMTASK to APPS PROCESSOR
37
38REFERENCES
39  None
40
41EXTERNALIZED FUNCTIONS
42  None
43*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/
44
45/*
46 * RMTASK uses RmtApuRlist to send messages to the APPS PROCESSOR
47 * Location : MEMA
48 * Buffer Size : 3
49 */
50
51#define RMT_CODEC_CONFIG_ACK	0x1
52
53struct aud_codec_config_ack {
54	unsigned char			task_id;
55	unsigned char			client_id;
56	unsigned char			reason;
57	unsigned char			enable;
58	unsigned short			dec_type;
59} __attribute__((packed));
60
61#define RMT_DSP_OUT_OF_MIPS	0x2
62
63struct rmt_dsp_out_of_mips {
64	unsigned short			dec_info;
65	unsigned short			rvd_0;
66	unsigned short			rvd_1;
67} __attribute__((packed));
68
69#endif /* QDSP5RMTMSG_H */
70