netfilter: Fix wrong backporting
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / drivers / autotst / dispc.h
1 /*
2  * Copyright (C) 2012 Spreadtrum Communications Inc.
3  *
4  * This software is licensed under the terms of the GNU General Public
5  * License version 2, as published by the Free Software Foundation, and
6  * may be copied, distributed, and modified under those terms.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
13
14 #ifndef _DISPC_H_
15 #define _DISPC_H_
16
17 typedef enum{
18         DISPLAY_TYPE_MCU = 0,
19         DISPLAY_TYPE_RGB,
20         DISPLAY_TYPE_MIPI,
21 }E_DISPLAY_TYPE;
22
23 enum DISPC_PIN_FUNC {
24         DISPC_PIN_FUNC0 = 0,
25         DISPC_PIN_FUNC1,
26         DISPC_PIN_FUNC2,
27         DISPC_PIN_FUNC3,
28 };
29
30 int32_t autotst_dispc_mcu_send_cmd(uint32_t cmd);
31 int32_t autotst_dispc_mcu_send_cmd_data(uint32_t cmd, uint32_t data);
32 int32_t autotst_dispc_mcu_send_data(uint32_t data);
33 uint32_t autotst_dispc_mcu_read_data(void);
34
35 int32_t autotst_dispc_init(int display_type);
36 int32_t autotst_dispc_uninit(int display_type);
37 int32_t autotst_dispc_refresh (void);
38
39 //int autotst_dispc_pin_ctrl(int type);
40
41 #endif