Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1 | #ifndef QDSP5LPMMSGI_H |
| 2 | #define QDSP5LPMMSGI_H |
| 3 | |
| 4 | /*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* |
| 5 | |
| 6 | L P M I N T E R N A L M E S S A G E S |
| 7 | |
| 8 | GENERAL DESCRIPTION |
| 9 | This file contains defintions of format blocks of commands |
| 10 | that are accepted by LPM Task |
| 11 | |
| 12 | REFERENCES |
| 13 | None |
| 14 | |
| 15 | EXTERNALIZED FUNCTIONS |
| 16 | None |
| 17 | |
Duy Truong | 790f06d | 2013-02-13 16:38:12 -0800 | [diff] [blame] | 18 | Copyright (c) 1992-2009, The Linux Foundation. All rights reserved. |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 19 | |
| 20 | This software is licensed under the terms of the GNU General Public |
| 21 | License version 2, as published by the Free Software Foundation, and |
| 22 | may be copied, distributed, and modified under those terms. |
| 23 | |
| 24 | This program is distributed in the hope that it will be useful, |
| 25 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 26 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 27 | GNU General Public License for more details. |
| 28 | |
| 29 | *====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/ |
| 30 | /*=========================================================================== |
| 31 | |
| 32 | EDIT HISTORY FOR FILE |
| 33 | |
| 34 | This section contains comments describing changes made to this file. |
| 35 | Notice that changes are listed in reverse chronological order. |
| 36 | |
| 37 | $Header: //source/qcom/qct/multimedia2/AdspSvc/7XXX/qdsp5cmd/video/qdsp5lpmmsg.h#2 $ $DateTime: 2008/07/30 10:50:23 $ $Author: pavanr $ |
| 38 | Revision History: |
| 39 | |
| 40 | when who what, where, why |
| 41 | -------- --- ---------------------------------------------------------- |
| 42 | 06/12/08 sv initial version |
| 43 | ===========================================================================*/ |
| 44 | |
| 45 | /* |
| 46 | * Message to acknowledge CMD_LPM_IDLE command |
| 47 | */ |
| 48 | |
| 49 | #define LPM_MSG_IDLE_ACK 0x0000 |
| 50 | #define LPM_MSG_IDLE_ACK_LEN sizeof(lpm_msg_idle_ack) |
| 51 | |
| 52 | typedef struct { |
| 53 | } __attribute__((packed)) lpm_msg_idle_ack; |
| 54 | |
| 55 | |
| 56 | /* |
| 57 | * Message to acknowledge CMD_LPM_START command |
| 58 | */ |
| 59 | |
| 60 | |
| 61 | #define LPM_MSG_START_ACK 0x0001 |
| 62 | #define LPM_MSG_START_ACK_LEN sizeof(lpm_msg_start_ack) |
| 63 | |
| 64 | |
| 65 | typedef struct { |
| 66 | } __attribute__((packed)) lpm_msg_start_ack; |
| 67 | |
| 68 | |
| 69 | /* |
| 70 | * Message to notify the ARM that LPM processing is complete |
| 71 | */ |
| 72 | |
| 73 | #define LPM_MSG_DONE 0x0002 |
| 74 | #define LPM_MSG_DONE_LEN sizeof(lpm_msg_done) |
| 75 | |
| 76 | typedef struct { |
| 77 | } __attribute__((packed)) lpm_msg_done; |
| 78 | |
| 79 | |
| 80 | #endif |