tizen 2.4 release
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / drivers / input / touchscreen / ist30xxb / ist30xxb_sec.h
1 /*\r
2  *  Copyright (C) 2010, Imagis Technology Co. Ltd. All Rights Reserved.\r
3  *\r
4  *  This program is free software; you can redistribute it and/or modify\r
5  *  it under the terms of the GNU General Public License as published by\r
6  *  the Free Software Foundation; either version 2 of the License, or\r
7  *  (at your option) any later version.\r
8  *\r
9  *  This program is distributed in the hope that it will be useful,\r
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
12  *  GNU General Public License for more details.\r
13  *\r
14  */\r
15 \r
16 #ifndef __IST30XX_SEC_H__\r
17 #define __IST30XX_SEC_H__\r
18 \r
19 \r
20 #define SEC_CMD_STR_LEN                 32\r
21 #define SEC_CMD_RESULT_STR_LEN          512\r
22 #define SEC_CMD_PARAM_NUM               8\r
23 \r
24 #include "ist30xxb_tsp.h"\r
25 \r
26 struct sec_factory {\r
27     struct list_head    cmd_list_head;\r
28         unsigned char       cmd_state;\r
29         char                cmd[SEC_CMD_STR_LEN];\r
30         int                 cmd_param[SEC_CMD_PARAM_NUM];\r
31         char                cmd_result[SEC_CMD_RESULT_STR_LEN];\r
32         struct              mutex cmd_lock;\r
33         bool                cmd_is_running;\r
34 };\r
35 \r
36 #endif  // __IST30XX_SEC_H__\r