1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22#ifndef __ASM_PARISC_GRFIOCTL_H
23#define __ASM_PARISC_GRFIOCTL_H
24
25
26
27#define GRFGATOR 8
28#define S9000_ID_S300 9
29#define GRFBOBCAT 9
30#define GRFCATSEYE 9
31#define S9000_ID_98720 10
32#define GRFRBOX 10
33#define S9000_ID_98550 11
34#define GRFFIREEYE 11
35#define S9000_ID_A1096A 12
36#define GRFHYPERION 12
37#define S9000_ID_FRI 13
38#define S9000_ID_98730 14
39#define GRFDAVINCI 14
40#define S9000_ID_98705 0x26C08070
41#define S9000_ID_98736 0x26D148AB
42#define S9000_ID_A1659A 0x26D1482A
43#define S9000_ID_ELK S9000_ID_A1659A
44#define S9000_ID_A1439A 0x26D148EE
45#define S9000_ID_A1924A 0x26D1488C
46#define S9000_ID_ELM S9000_ID_A1924A
47#define S9000_ID_98765 0x27480DEF
48#define S9000_ID_ELK_768 0x27482101
49#define S9000_ID_STINGER 0x27A4A402
50#define S9000_ID_TIMBER 0x27F12392
51#define S9000_ID_TOMCAT 0x27FCCB6D
52#define S9000_ID_ARTIST 0x2B4DED6D
53#define S9000_ID_HCRX 0x2BCB015A
54#define CRX24_OVERLAY_PLANES 0x920825AA
55
56#define CRT_ID_ELK_1024 S9000_ID_ELK_768
57#define CRT_ID_ELK_1280 S9000_ID_A1659A
58#define CRT_ID_ELK_1024DB 0x27849CA5
59#define CRT_ID_ELK_GS S9000_ID_A1924A
60#define CRT_ID_CRX24 S9000_ID_A1439A
61#define CRT_ID_VISUALIZE_EG 0x2D08C0A7
62#define CRT_ID_THUNDER 0x2F23E5FC
63#define CRT_ID_THUNDER2 0x2F8D570E
64#define CRT_ID_HCRX S9000_ID_HCRX
65#define CRT_ID_CRX48Z S9000_ID_STINGER
66#define CRT_ID_DUAL_CRX S9000_ID_TOMCAT
67#define CRT_ID_PVRX S9000_ID_98705
68#define CRT_ID_TIMBER S9000_ID_TIMBER
69#define CRT_ID_TVRX S9000_ID_98765
70#define CRT_ID_ARTIST S9000_ID_ARTIST
71#define CRT_ID_SUMMIT 0x2FC1066B
72#define CRT_ID_LEGO 0x35ACDA30
73#define CRT_ID_PINNACLE 0x35ACDA16
74
75
76
77#define gaddr_t unsigned long
78
79struct grf_fbinfo {
80 unsigned int id;
81 unsigned int mapsize;
82 unsigned int dwidth, dlength;
83 unsigned int width, length;
84 unsigned int xlen;
85 unsigned int bpp, bppu;
86 unsigned int npl, nplbytes;
87 char name[32];
88 unsigned int attr;
89 gaddr_t fbbase, regbase;
90 gaddr_t regions[6];
91};
92
93#define GCID _IOR('G', 0, int)
94#define GCON _IO('G', 1)
95#define GCOFF _IO('G', 2)
96#define GCAON _IO('G', 3)
97#define GCAOFF _IO('G', 4)
98#define GCMAP _IOWR('G', 5, int)
99#define GCUNMAP _IOWR('G', 6, int)
100#define GCMAP_HPUX _IO('G', 5)
101#define GCUNMAP_HPUX _IO('G', 6)
102#define GCLOCK _IO('G', 7)
103#define GCUNLOCK _IO('G', 8)
104#define GCLOCK_MINIMUM _IO('G', 9)
105#define GCUNLOCK_MINIMUM _IO('G', 10)
106#define GCSTATIC_CMAP _IO('G', 11)
107#define GCVARIABLE_CMAP _IO('G', 12)
108#define GCTERM _IOWR('G',20,int)
109#define GCDESCRIBE _IOR('G', 21, struct grf_fbinfo)
110#define GCFASTLOCK _IO('G', 26)
111
112#endif
113
114