1 /**************************************************************************** 2 **************************************************************************** 3 *** 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. 9 *** 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 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef __LINUX_MATROXFB_H__ 20 #define __LINUX_MATROXFB_H__ 21 #include <asm/ioctl.h> 22 #include <linux/types.h> 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #include <linux/videodev2.h> 25 #include <linux/fb.h> 26 struct matroxioc_output_mode { 27 __u32 output; 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define MATROXFB_OUTPUT_PRIMARY 0x0000 30 #define MATROXFB_OUTPUT_SECONDARY 0x0001 31 #define MATROXFB_OUTPUT_DFP 0x0002 32 __u32 mode; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define MATROXFB_OUTPUT_MODE_PAL 0x0001 35 #define MATROXFB_OUTPUT_MODE_NTSC 0x0002 36 #define MATROXFB_OUTPUT_MODE_MONITOR 0x0080 37 }; 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define MATROXFB_SET_OUTPUT_MODE _IOW('n', 0xFA, size_t) 40 #define MATROXFB_GET_OUTPUT_MODE _IOWR('n', 0xFA, size_t) 41 #define MATROXFB_OUTPUT_CONN_PRIMARY (1 << MATROXFB_OUTPUT_PRIMARY) 42 #define MATROXFB_OUTPUT_CONN_SECONDARY (1 << MATROXFB_OUTPUT_SECONDARY) 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define MATROXFB_OUTPUT_CONN_DFP (1 << MATROXFB_OUTPUT_DFP) 45 #define MATROXFB_SET_OUTPUT_CONNECTION _IOW('n', 0xF8, size_t) 46 #define MATROXFB_GET_OUTPUT_CONNECTION _IOR('n', 0xF8, size_t) 47 #define MATROXFB_GET_AVAILABLE_OUTPUTS _IOR('n', 0xF9, size_t) 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 #define MATROXFB_GET_ALL_OUTPUTS _IOR('n', 0xFB, size_t) 50 enum matroxfb_ctrl_id { 51 MATROXFB_CID_TESTOUT = V4L2_CID_PRIVATE_BASE, 52 MATROXFB_CID_DEFLICKER, 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 MATROXFB_CID_LAST 55 }; 56 #endif 57