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