1 /* $Id$
2 *
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
6 *
7 * SGI/Newport video card ioctl definitions
8 */
9 #ifndef _ASM_NG1_H
10 #define _ASM_NG1_H
11
12 typedef struct {
13 int flags;
14 __u16 w, h;
15 __u16 fields_sec;
16 } ng1_vof_info_t;
17
18 struct ng1_info {
19 struct gfx_info gfx_info;
20 __u8 boardrev;
21 __u8 rex3rev;
22 __u8 vc2rev;
23 __u8 monitortype;
24 __u8 videoinstalled;
25 __u8 mcrev;
26 __u8 bitplanes;
27 __u8 xmap9rev;
28 __u8 cmaprev;
29 ng1_vof_info_t ng1_vof_info;
30 __u8 bt445rev;
31 __u8 paneltype;
32 };
33
34 #define GFX_NAME_NEWPORT "NG1"
35
36 /* ioctls */
37 #define NG1_SET_CURSOR_HOTSPOT 21001
38 struct ng1_set_cursor_hotspot {
39 unsigned short xhot;
40 unsigned short yhot;
41 };
42
43 #define NG1_SETDISPLAYMODE 21006
44 struct ng1_setdisplaymode_args {
45 int wid;
46 unsigned int mode;
47 };
48
49 #define NG1_SETGAMMARAMP0 21007
50 struct ng1_setgammaramp_args {
51 unsigned char red [256];
52 unsigned char green [256];
53 unsigned char blue [256];
54 };
55
56 #endif /* _ASM_NG1_H */
57
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.