diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/linux/matroxfb.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/linux/matroxfb.h')
-rw-r--r-- | include/linux/matroxfb.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/include/linux/matroxfb.h b/include/linux/matroxfb.h new file mode 100644 index 000000000000..ae5b09493062 --- /dev/null +++ b/include/linux/matroxfb.h | |||
@@ -0,0 +1,43 @@ | |||
1 | #ifndef __LINUX_MATROXFB_H__ | ||
2 | #define __LINUX_MATROXFB_H__ | ||
3 | |||
4 | #include <asm/ioctl.h> | ||
5 | #include <asm/types.h> | ||
6 | #include <linux/videodev2.h> | ||
7 | |||
8 | struct matroxioc_output_mode { | ||
9 | __u32 output; /* which output */ | ||
10 | #define MATROXFB_OUTPUT_PRIMARY 0x0000 | ||
11 | #define MATROXFB_OUTPUT_SECONDARY 0x0001 | ||
12 | #define MATROXFB_OUTPUT_DFP 0x0002 | ||
13 | __u32 mode; /* which mode */ | ||
14 | #define MATROXFB_OUTPUT_MODE_PAL 0x0001 | ||
15 | #define MATROXFB_OUTPUT_MODE_NTSC 0x0002 | ||
16 | #define MATROXFB_OUTPUT_MODE_MONITOR 0x0080 | ||
17 | }; | ||
18 | #define MATROXFB_SET_OUTPUT_MODE _IOW('n',0xFA,size_t) | ||
19 | #define MATROXFB_GET_OUTPUT_MODE _IOWR('n',0xFA,size_t) | ||
20 | |||
21 | /* bitfield */ | ||
22 | #define MATROXFB_OUTPUT_CONN_PRIMARY (1 << MATROXFB_OUTPUT_PRIMARY) | ||
23 | #define MATROXFB_OUTPUT_CONN_SECONDARY (1 << MATROXFB_OUTPUT_SECONDARY) | ||
24 | #define MATROXFB_OUTPUT_CONN_DFP (1 << MATROXFB_OUTPUT_DFP) | ||
25 | /* connect these outputs to this framebuffer */ | ||
26 | #define MATROXFB_SET_OUTPUT_CONNECTION _IOW('n',0xF8,size_t) | ||
27 | /* which outputs are connected to this framebuffer */ | ||
28 | #define MATROXFB_GET_OUTPUT_CONNECTION _IOR('n',0xF8,size_t) | ||
29 | /* which outputs are available for this framebuffer */ | ||
30 | #define MATROXFB_GET_AVAILABLE_OUTPUTS _IOR('n',0xF9,size_t) | ||
31 | /* which outputs exist on this framebuffer */ | ||
32 | #define MATROXFB_GET_ALL_OUTPUTS _IOR('n',0xFB,size_t) | ||
33 | |||
34 | enum matroxfb_ctrl_id { | ||
35 | MATROXFB_CID_TESTOUT = V4L2_CID_PRIVATE_BASE, | ||
36 | MATROXFB_CID_DEFLICKER, | ||
37 | MATROXFB_CID_LAST | ||
38 | }; | ||
39 | |||
40 | #define FBIO_WAITFORVSYNC _IOW('F', 0x20, u_int32_t) | ||
41 | |||
42 | #endif | ||
43 | |||