2 * Maru brightness device for VGA
4 * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
7 * Jinhyung Jo <jinhyung.jo@samsung.com>
8 * GiWoong Kim <giwoong.kim@samsung.com>
9 * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
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.
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.
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,
32 #ifndef MARU_BRIGHTNESS_H_
33 #define MARU_BRIGHTNESS_H_
35 #include "qemu-common.h"
37 #define BRIGHTNESS_MIN (0)
38 #define BRIGHTNESS_MAX (100)
40 extern uint32_t brightness_level;
41 extern uint32_t brightness_off;
42 extern uint8_t brightness_tbl[];
44 DeviceState *pci_maru_brightness_init(PCIBus *bus);
46 #endif /* MARU_BRIGHTNESS_H_ */