1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
17 ****************************************************************************
18 ****************************************************************************/
21 struct s3c_fb_user_window
{
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
26 struct s3c_fb_user_plane_alpha
{
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 struct s3c_fb_user_chroma
{
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
41 struct s3c_fb_user_ion_client
{
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
46 enum s3c_fb_pixel_format
{
47 S3C_FB_PIXEL_FORMAT_RGBA_8888
= 0,
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 S3C_FB_PIXEL_FORMAT_RGBX_8888
= 1,
50 S3C_FB_PIXEL_FORMAT_RGBA_5551
= 2,
51 S3C_FB_PIXEL_FORMAT_RGB_565
= 3,
52 S3C_FB_PIXEL_FORMAT_BGRA_8888
= 4,
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 S3C_FB_PIXEL_FORMAT_MAX
= 5,
56 enum s3c_fb_blending
{
57 S3C_FB_BLENDING_NONE
= 0,
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 S3C_FB_BLENDING_PREMULT
= 1,
60 S3C_FB_BLENDING_COVERAGE
= 2,
61 S3C_FB_BLENDING_MAX
= 3,
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 struct s3c_fb_win_config
{
66 S3C_FB_WIN_STATE_DISABLED
= 0,
67 S3C_FB_WIN_STATE_COLOR
,
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 S3C_FB_WIN_STATE_BUFFER
,
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 enum s3c_fb_pixel_format format
;
80 enum s3c_fb_blending blending
;
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
91 #define S3C_FB_MAX_WIN (5)
92 struct s3c_fb_win_config_data
{
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
95 struct s3c_fb_win_config config
[S3C_FB_MAX_WIN
];
97 #define S3CFB_WIN_POSITION _IOW('F', 203, struct s3c_fb_user_window)
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 #define S3CFB_WIN_SET_PLANE_ALPHA _IOW('F', 204, struct s3c_fb_user_plane_alpha)
100 #define S3CFB_WIN_SET_CHROMA _IOW('F', 205, struct s3c_fb_user_chroma)
101 #define S3CFB_SET_VSYNC_INT _IOW('F', 206, __u32)
102 #define S3CFB_GET_ION_USER_HANDLE _IOWR('F', 208, struct s3c_fb_user_ion_client)
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 #define S3CFB_WIN_CONFIG _IOW('F', 209, struct s3c_fb_win_config_data)