unplugged-system/device/mediatek/common/kernel-headers/linux/mtkfb_vsync.h

29 lines
1.2 KiB
C

/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call into the kernel available to libc. It contains only constants,
*** 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 __MTKFB_VSYNC_H__
#define __MTKFB_VSYNC_H__
#define MTKFB_VSYNC_DEVNAME "mtkfb_vsync"
#define MTKFB_VSYNC_IOCTL_MAGIC 'V'
typedef enum {
MTKFB_VSYNC_SOURCE_LCM = 0,
MTKFB_VSYNC_SOURCE_HDMI = 1,
} vsync_src;
#define MTKFB_VSYNC_IOCTL _IOW(MTKFB_VSYNC_IOCTL_MAGIC, 1, vsync_src)
#endif