1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-13 00:56:15 +02:00
openwrt-xburst/target/linux/generic-2.6/files-2.6.31/include/linux/glamofb.h
mirko b05391b8aa also take over the files for 2.6.31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-23 12:00:58 +00:00

36 lines
720 B
C

#ifndef _LINUX_GLAMOFB_H
#define _LINUX_GLAMOFB_H
#include <linux/fb.h>
#ifdef __KERNEL__
struct glamo_core;
struct glamofb_handle;
struct glamo_fb_platform_data {
int width, height;
int num_modes;
struct fb_videomode *modes;
struct glamo_core *core;
};
int glamofb_cmd_mode(struct glamofb_handle *gfb, int on);
int glamofb_cmd_write(struct glamofb_handle *gfb, u_int16_t val);
#ifdef CONFIG_MFD_GLAMO
void glamo_lcm_reset(struct platform_device *pdev, int level);
#else
#define glamo_lcm_reset(...) do {} while (0)
#endif
#endif
#define GLAMOFB_ENGINE_ENABLE _IOW('F', 0x1, __u32)
#define GLAMOFB_ENGINE_DISABLE _IOW('F', 0x2, __u32)
#define GLAMOFB_ENGINE_RESET _IOW('F', 0x3, __u32)
#endif