comparison TVout/matroxset/matroxfb.h @ 1:3b5f5d1c5041

Initial revision
author arpi_esp
date Sat, 24 Feb 2001 20:28:24 +0000
parents
children
comparison
equal deleted inserted replaced
0:c1bb2c071d63 1:3b5f5d1c5041
1 #ifndef __LINUX_MATROXFB_H__
2 #define __LINUX_MATROXFB_H__
3
4 #include <asm/ioctl.h>
5 #include <asm/types.h>
6
7 struct matroxioc_output_mode {
8 __u32 output; /* which output */
9 #define MATROXFB_OUTPUT_PRIMARY 0x0000
10 #define MATROXFB_OUTPUT_SECONDARY 0x0001
11 __u32 mode; /* which mode */
12 #define MATROXFB_OUTPUT_MODE_PAL 0x0001
13 #define MATROXFB_OUTPUT_MODE_NTSC 0x0002
14 #define MATROXFB_OUTPUT_MODE_MONITOR 0x0080
15 };
16 #define MATROXFB_SET_OUTPUT_MODE _IOW('n',0xFA,sizeof(struct matroxioc_output_mode))
17 #define MATROXFB_GET_OUTPUT_MODE _IOWR('n',0xFA,sizeof(struct matroxioc_output_mode))
18
19 /* bitfield */
20 #define MATROXFB_OUTPUT_CONN_PRIMARY (1 << MATROXFB_OUTPUT_PRIMARY)
21 #define MATROXFB_OUTPUT_CONN_SECONDARY (1 << MATROXFB_OUTPUT_SECONDARY)
22 /* connect these outputs to this framebuffer */
23 #define MATROXFB_SET_OUTPUT_CONNECTION _IOW('n',0xF8,sizeof(__u32))
24 /* which outputs are connected to this framebuffer */
25 #define MATROXFB_GET_OUTPUT_CONNECTION _IOR('n',0xF8,sizeof(__u32))
26 /* which outputs are available for this framebuffer */
27 #define MATROXFB_GET_AVAILABLE_OUTPUTS _IOR('n',0xF9,sizeof(__u32))
28 /* which outputs exist on this framebuffer */
29 #define MATROXFB_GET_ALL_OUTPUTS _IOR('n',0xFB,sizeof(__u32))
30
31 #endif
32