1e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/****************************************************************************
2e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ****************************************************************************
3e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***
4e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***   This header was automatically generated from a Linux kernel header
5e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***   of the same name, to make information necessary for userspace to
6e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***   call into the kernel available to libc.  It contains only constants,
7e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***   structures, and macros generated from the original header, and thus,
8e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***   contains no copyrightable information.
9e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***
10e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***   To edit the content of this header, modify the corresponding
11e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***   source file (e.g. under external/kernel-headers/original/) then
12e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***   run bionic/libc/kernel/tools/update_all.py
13e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***
14e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***   Any manual change here will be lost the next time this script will
15e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***   be run. You've been warned!
16e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ***
17e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ****************************************************************************
18e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling ****************************************************************************/
19e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#ifndef __LINUX_OMAPFB_H__
20e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define __LINUX_OMAPFB_H__
21e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#include <linux/fb.h>
22e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#include <linux/ioctl.h>
23e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#include <linux/types.h>
25e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAP_IOW(num, dtype) _IOW('O', num, dtype)
26e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAP_IOR(num, dtype) _IOR('O', num, dtype)
27e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype)
28e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAP_IO(num) _IO('O', num)
30e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_MIRROR OMAP_IOW(31, int)
31e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_SYNC_GFX OMAP_IO(37)
32e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_VSYNC OMAP_IO(38)
33e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_SET_UPDATE_MODE OMAP_IOW(40, int)
35e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_GET_CAPS OMAP_IOR(42, struct omapfb_caps)
36e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_GET_UPDATE_MODE OMAP_IOW(43, int)
37e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_LCD_TEST OMAP_IOW(45, int)
38e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CTRL_TEST OMAP_IOW(46, int)
40e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_UPDATE_WINDOW_OLD OMAP_IOW(47, struct omapfb_update_window_old)
41e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_SET_COLOR_KEY OMAP_IOW(50, struct omapfb_color_key)
42e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_GET_COLOR_KEY OMAP_IOW(51, struct omapfb_color_key)
43e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_SETUP_PLANE OMAP_IOW(52, struct omapfb_plane_info)
45e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_QUERY_PLANE OMAP_IOW(53, struct omapfb_plane_info)
46e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_UPDATE_WINDOW OMAP_IOW(54, struct omapfb_update_window)
47e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_SETUP_MEM OMAP_IOW(55, struct omapfb_mem_info)
48e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_QUERY_MEM OMAP_IOW(56, struct omapfb_mem_info)
50e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_WAITFORVSYNC OMAP_IO(57)
51e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_MEMORY_READ OMAP_IOR(58, struct omapfb_memory_read)
52e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_GET_OVERLAY_COLORMODE OMAP_IOR(59, struct omapfb_ovl_colormode)
53e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_WAITFORGO OMAP_IO(60)
55e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_GET_VRAM_INFO OMAP_IOR(61, struct omapfb_vram_info)
56e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_SET_TEARSYNC OMAP_IOW(62, struct omapfb_tearsync_info)
57e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_GET_DISPLAY_INFO OMAP_IOR(63, struct omapfb_display_info)
58e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_ENABLEVSYNC OMAP_IOW(64, int)
60e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_GENERIC_MASK 0x00000fff
61e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_LCDC_MASK 0x00fff000
62e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_PANEL_MASK 0xff000000
63e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_MANUAL_UPDATE 0x00001000
65e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_TEARSYNC 0x00002000
66e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_PLANE_RELOCATE_MEM 0x00004000
67e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_PLANE_SCALE 0x00008000
68e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_WINDOW_PIXEL_DOUBLE 0x00010000
70e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_WINDOW_SCALE 0x00020000
71e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_WINDOW_OVERLAY 0x00040000
72e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_WINDOW_ROTATE 0x00080000
73e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_CAPS_SET_BACKLIGHT 0x01000000
75e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_FORMAT_MASK 0x00ff
76e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_FORMAT_FLAG_DOUBLE 0x0100
77e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_FORMAT_FLAG_TEARSYNC 0x0200
78e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_FORMAT_FLAG_FORCE_VSYNC 0x0400
80e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_FORMAT_FLAG_ENABLE_OVERLAY 0x0800
81e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_FORMAT_FLAG_DISABLE_OVERLAY 0x1000
82e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_MEMTYPE_SDRAM 0
83e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_MEMTYPE_SRAM 1
85e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_MEMTYPE_MAX 1
86e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_MEM_IDX_ENABLED 0x80
87e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#define OMAPFB_MEM_IDX_MASK 0x7f
88e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingenum omapfb_color_format {
90e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_RGB565 = 0,
91e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_YUV422,
92e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_YUV420,
93e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_CLUT_8BPP,
95e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_CLUT_4BPP,
96e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_CLUT_2BPP,
97e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_CLUT_1BPP,
98e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_RGB444,
100e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_YUY422,
101e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_ARGB16,
102e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_RGB24U,
103e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_RGB24P,
105e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_ARGB32,
106e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_RGBA32,
107e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_RGBX32,
108e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
110e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_update_window {
111e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 x, y;
112e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 width, height;
113e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 format;
115e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 out_x, out_y;
116e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 out_width, out_height;
117e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 reserved[8];
118e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
120e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_update_window_old {
121e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 x, y;
122e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 width, height;
123e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 format;
125e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
126e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingenum omapfb_plane {
127e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_PLANE_GFX = 0,
128e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_PLANE_VID1,
130e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_PLANE_VID2,
131e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
132e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingenum omapfb_channel_out {
133e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_CHANNEL_OUT_LCD = 0,
135e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_CHANNEL_OUT_DIGIT,
136e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
137e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_plane_info {
138e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 pos_x;
140e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 pos_y;
141e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 enabled;
142e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 channel_out;
143e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 mirror;
145e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 mem_idx;
146e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 out_width;
147e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 out_height;
148e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 reserved2[12];
150e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
151e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_mem_info {
152e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 size;
153e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 type;
155e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 reserved[3];
156e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
157e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_caps {
158e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 ctrl;
160e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 plane_color;
161e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 wnd_color;
162e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
163e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingenum omapfb_color_key_type {
165e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_KEY_DISABLED = 0,
166e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_KEY_GFX_DST,
167e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_COLOR_KEY_VID_SRC,
168e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
170e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_color_key {
171e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 channel_out;
172e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 background;
173e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 trans_key;
175e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 key_type;
176e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
177e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingenum omapfb_update_mode {
178e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_UPDATE_DISABLED = 0,
180e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_AUTO_UPDATE,
181e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling OMAPFB_MANUAL_UPDATE
182e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
183e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_memory_read {
185e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u16 x;
186e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u16 y;
187e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u16 w;
188e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u16 h;
190e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling size_t buffer_size;
191e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling void __user *buffer;
192e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
193e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_ovl_colormode {
195e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 overlay_idx;
196e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 mode_idx;
197e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 bits_per_pixel;
198e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 nonstd;
200e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling struct fb_bitfield red;
201e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling struct fb_bitfield green;
202e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling struct fb_bitfield blue;
203e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling struct fb_bitfield transp;
205e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
206e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_vram_info {
207e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 total;
208e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 free;
210e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 largest_free_block;
211e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 reserved[5];
212e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
213e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_tearsync_info {
215e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 enabled;
216e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u8 reserved1[3];
217e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u16 line;
218e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u16 reserved2;
220e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
221e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gillingstruct omapfb_display_info {
222e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u16 xres;
223e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u16 yres;
225e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 width;
226e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 height;
227e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling __u32 reserved[5];
228e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling};
230e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling#endif
231e8fd0707cd9f4daa92bb8d93d05f816809b7f94eErik Gilling
232