sync with tizen_2.2
[sdk/emulator/qemu.git] / tizen / src / hw / maru_brightness.h
1 /*
2  * Maru brightness device for VGA
3  *
4  * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact:
7  * Jinhyung Jo <jinhyung.jo@samsung.com>
8  * GiWoong Kim <giwoong.kim@samsung.com>
9  * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
10  * Hyunjun Son
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25  * MA  02110-1301, USA.
26  *
27  * Contributors:
28  * - S-Core Co., Ltd
29  *
30  */
31
32 #ifndef MARU_BRIGHTNESS_H_
33 #define MARU_BRIGHTNESS_H_
34
35 #include "qemu-common.h"
36
37 #define BRIGHTNESS_MIN          (0)
38 #define BRIGHTNESS_MAX          (100)
39
40 extern uint32_t brightness_level;
41 extern uint32_t brightness_off;
42 extern uint8_t brightness_tbl[];
43
44 DeviceState *pci_maru_brightness_init(PCIBus *bus);
45
46 #endif /* MARU_BRIGHTNESS_H_ */