diff options
author | Ben Cheng <bccheng@google.com> | 2012-03-06 15:45:52 -0800 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2012-03-07 12:27:59 -0800 |
commit | 94a85f663694e1869acb1c2e8a3c374a6fa3ab86 (patch) | |
tree | 096ba2712dc3e41a18223abff203b6f08dd093c6 /libc/kernel/common/linux/tegrafb.h | |
parent | d027ffdd7a2b2239db929a53d3a3c82be42dd1a0 (diff) | |
download | android_bionic-94a85f663694e1869acb1c2e8a3c374a6fa3ab86.tar.gz android_bionic-94a85f663694e1869acb1c2e8a3c374a6fa3ab86.tar.bz2 android_bionic-94a85f663694e1869acb1c2e8a3c374a6fa3ab86.zip |
Update bionic kernel headers using update_all.py
Change-Id: I4da6b23cdbce89445f1ca5d2fadeb23345ce694c
Diffstat (limited to 'libc/kernel/common/linux/tegrafb.h')
-rw-r--r-- | libc/kernel/common/linux/tegrafb.h | 41 |
1 files changed, 27 insertions, 14 deletions
diff --git a/libc/kernel/common/linux/tegrafb.h b/libc/kernel/common/linux/tegrafb.h index ea63e0499..8bdf464e3 100644 --- a/libc/kernel/common/linux/tegrafb.h +++ b/libc/kernel/common/linux/tegrafb.h @@ -7,86 +7,99 @@ *** structures, and macros generated from the original header, and thus, *** contains no copyrightable information. *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** **************************************************************************** ****************************************************************************/ #ifndef _LINUX_TEGRAFB_H_ #define _LINUX_TEGRAFB_H_ - #include <linux/fb.h> #include <linux/types.h> +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #include <asm/ioctl.h> - #define TEGRA_FB_WIN_FMT_P1 0 #define TEGRA_FB_WIN_FMT_P2 1 #define TEGRA_FB_WIN_FMT_P4 2 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TEGRA_FB_WIN_FMT_P8 3 #define TEGRA_FB_WIN_FMT_B4G4R4A4 4 #define TEGRA_FB_WIN_FMT_B5G5R5A 5 #define TEGRA_FB_WIN_FMT_B5G6R5 6 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TEGRA_FB_WIN_FMT_AB5G5R5 7 #define TEGRA_FB_WIN_FMT_B8G8R8A8 12 #define TEGRA_FB_WIN_FMT_R8G8B8A8 13 #define TEGRA_FB_WIN_FMT_B6x2G6x2R6x2A8 14 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TEGRA_FB_WIN_FMT_R6x2G6x2B6x2A8 15 #define TEGRA_FB_WIN_FMT_YCbCr422 16 #define TEGRA_FB_WIN_FMT_YUV422 17 #define TEGRA_FB_WIN_FMT_YCbCr420P 18 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TEGRA_FB_WIN_FMT_YUV420P 19 #define TEGRA_FB_WIN_FMT_YCbCr422P 20 #define TEGRA_FB_WIN_FMT_YUV422P 21 #define TEGRA_FB_WIN_FMT_YCbCr422R 22 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TEGRA_FB_WIN_FMT_YUV422R 23 #define TEGRA_FB_WIN_FMT_YCbCr422RA 24 #define TEGRA_FB_WIN_FMT_YUV422RA 25 - #define TEGRA_FB_WIN_BLEND_NONE 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TEGRA_FB_WIN_BLEND_PREMULT 1 #define TEGRA_FB_WIN_BLEND_COVERAGE 2 - -#define TEGRA_FB_WIN_FLAG_INVERT_H (1<<0) -#define TEGRA_FB_WIN_FLAG_INVERT_V (1<<1) -#define TEGRA_FB_WIN_FLAG_TILED (1<<2) - +#define TEGRA_FB_WIN_FLAG_INVERT_H (1 << 0) +#define TEGRA_FB_WIN_FLAG_INVERT_V (1 << 1) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define TEGRA_FB_WIN_FLAG_TILED (1 << 2) struct tegra_fb_windowattr { __s32 index; __u32 buff_id; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u32 flags; __u32 blend; __u32 offset; __u32 offset_u; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u32 offset_v; __u32 stride; __u32 stride_uv; __u32 pixformat; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u32 x; __u32 y; __u32 w; __u32 h; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u32 out_x; __u32 out_y; __u32 out_w; __u32 out_h; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u32 z; __u32 pre_syncpt_id; __u32 pre_syncpt_val; }; - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TEGRA_FB_FLIP_N_WINDOWS 3 - struct tegra_fb_flip_args { struct tegra_fb_windowattr win[TEGRA_FB_FLIP_N_WINDOWS]; __u32 post_syncpt_id; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u32 post_syncpt_val; }; - struct tegra_fb_modedb { struct fb_var_screeninfo *modedb; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u32 modedb_len; }; - #define FBIO_TEGRA_SET_NVMAP_FD _IOW('F', 0x40, __u32) #define FBIO_TEGRA_FLIP _IOW('F', 0x41, struct tegra_fb_flip_args) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define FBIO_TEGRA_GET_MODEDB _IOWR('F', 0x42, struct tegra_fb_modedb) - #endif - |