1 #ifndef _LINUX_GLAMOFB_H
2 #define _LINUX_GLAMOFB_H
11 struct glamo_fb_platform_data
{
15 struct fb_videomode
*modes
;
17 struct glamo_core
*core
;
20 int glamofb_cmd_mode(struct glamofb_handle
*gfb
, int on
);
21 int glamofb_cmd_write(struct glamofb_handle
*gfb
, u_int16_t val
);
23 #ifdef CONFIG_MFD_GLAMO
24 void glamo_lcm_reset(struct platform_device
*pdev
, int level
);
26 #define glamo_lcm_reset(...) do {} while (0)
31 #define GLAMOFB_ENGINE_ENABLE _IOW('F', 0x1, __u32)
32 #define GLAMOFB_ENGINE_DISABLE _IOW('F', 0x2, __u32)
33 #define GLAMOFB_ENGINE_RESET _IOW('F', 0x3, __u32)