Go to the documentation of this file.
4 #include <linux/compiler.h>
5 #include <linux/types.h>
11 #define FBTYPE_NOTYPE -1
12 #define FBTYPE_SUN1BW 0
13 #define FBTYPE_SUN1COLOR 1
14 #define FBTYPE_SUN2BW 2
15 #define FBTYPE_SUN2COLOR 3
16 #define FBTYPE_SUN2GP 4
17 #define FBTYPE_SUN5COLOR 5
18 #define FBTYPE_SUN3COLOR 6
19 #define FBTYPE_MEMCOLOR 7
20 #define FBTYPE_SUN4COLOR 8
22 #define FBTYPE_NOTSUN1 9
23 #define FBTYPE_NOTSUN2 10
24 #define FBTYPE_NOTSUN3 11
26 #define FBTYPE_SUNFAST_COLOR 12
27 #define FBTYPE_SUNROP_COLOR 13
28 #define FBTYPE_SUNFB_VIDEO 14
29 #define FBTYPE_SUNGIFB 15
30 #define FBTYPE_SUNGPLAS 16
31 #define FBTYPE_SUNGP3 17
32 #define FBTYPE_SUNGT 18
33 #define FBTYPE_SUNLEO 19
34 #define FBTYPE_MDICOLOR 20
35 #define FBTYPE_TCXCOLOR 21
37 #define FBTYPE_LASTPLUSONE 21
40 #define FBTYPE_CREATOR 22
41 #define FBTYPE_PCI_IGA1682 23
42 #define FBTYPE_P9100COLOR 24
44 #define FBTYPE_PCI_GENERIC 1000
45 #define FBTYPE_PCI_MACH64 1001
57 #define FBIOGTYPE _IOR('F', 0, struct fbtype)
68 #define FBIOPUTCMAP_SPARC _IOW('F', 3, struct fbcmap)
69 #define FBIOGETCMAP_SPARC _IOW('F', 4, struct fbcmap)
71 #define FBIOPUTCMAP _IOW('F', 3, struct fbcmap)
72 #define FBIOGETCMAP _IOW('F', 4, struct fbcmap)
76 #define FB_ATTR_NDEVSPECIFIC 8
78 #define FB_ATTR_NEMUTYPES 4
93 #define FBIOSATTR _IOW('F', 5, struct fbgattr)
94 #define FBIOGATTR _IOR('F', 6, struct fbgattr)
96 #define FBIOSVIDEO _IOW('F', 7, int)
97 #define FBIOGVIDEO _IOR('F', 8, int)
111 #define FBIOSCURSOR _IOW('F', 24, struct fbcursor)
112 #define FBIOGCURSOR _IOWR('F', 25, struct fbcursor)
115 #define FBIOSCURPOS _IOW('F', 26, struct fbcurpos)
116 #define FBIOGCURPOS _IOW('F', 27, struct fbcurpos)
119 #define FBIOGCURMAX _IOR('F', 28, struct fbcurpos)
123 #define FB_WID_SHARED_8 0
124 #define FB_WID_SHARED_24 1
125 #define FB_WID_DBL_8 2
126 #define FB_WID_DBL_24 3
143 #define FBIO_WID_ALLOC _IOWR('F', 30, struct fb_wid_alloc)
144 #define FBIO_WID_FREE _IOW('F', 31, struct fb_wid_alloc)
145 #define FBIO_WID_PUT _IOW('F', 32, struct fb_wid_list)
146 #define FBIO_WID_GET _IOWR('F', 33, struct fb_wid_list)
149 #define FFB_IOCTL ('F'<<8)
150 #define FFB_SYS_INFO (FFB_IOCTL|80)
151 #define FFB_CLUTREAD (FFB_IOCTL|81)
152 #define FFB_CLUTPOST (FFB_IOCTL|82)
153 #define FFB_SETDIAGMODE (FFB_IOCTL|83)
154 #define FFB_GETMONITORID (FFB_IOCTL|84)
155 #define FFB_GETVIDEOMODE (FFB_IOCTL|85)
156 #define FFB_SETVIDEOMODE (FFB_IOCTL|86)
157 #define FFB_SETSERVER (FFB_IOCTL|87)
158 #define FFB_SETOVCTL (FFB_IOCTL|88)
159 #define FFB_GETOVCTL (FFB_IOCTL|89)
160 #define FFB_GETSAXNUM (FFB_IOCTL|90)
161 #define FFB_FBDEBUG (FFB_IOCTL|91)
164 #define MDI_IOCTL ('M'<<8)
165 #define MDI_RESET (MDI_IOCTL|1)
166 #define MDI_GET_CFGINFO (MDI_IOCTL|2)
167 #define MDI_SET_PIXELMODE (MDI_IOCTL|3)
168 # define MDI_32_PIX 32
169 # define MDI_16_PIX 16
185 #define MDI_CLEAR_XLUT (MDI_IOCTL|9)
195 #define FB_CLUT_WAIT 0x00000001
215 #define LEO_CLUTALLOC _IOWR('L', 53, struct fb_clut_alloc)
216 #define LEO_CLUTFREE _IOW('L', 54, struct fb_clut_alloc)
217 #define LEO_CLUTREAD _IOW('L', 55, struct fb_clut)
218 #define LEO_CLUTPOST _IOW('L', 56, struct fb_clut)
219 #define LEO_SETGAMMA _IOW('L', 68, int)
220 #define LEO_GETGAMMA _IOR('L', 69, int)
224 #define CG6_FBC 0x70000000
225 #define CG6_TEC 0x70001000
226 #define CG6_BTREGS 0x70002000
227 #define CG6_FHC 0x70004000
228 #define CG6_THC 0x70005000
229 #define CG6_ROM 0x70006000
230 #define CG6_RAM 0x70016000
231 #define CG6_DHC 0x80000000
233 #define CG3_MMAP_OFFSET 0x4000000
236 #define TCX_RAM8BIT 0x00000000
237 #define TCX_RAM24BIT 0x01000000
238 #define TCX_UNK3 0x10000000
239 #define TCX_UNK4 0x20000000
240 #define TCX_CONTROLPLANE 0x28000000
241 #define TCX_UNK6 0x30000000
242 #define TCX_UNK7 0x38000000
243 #define TCX_TEC 0x70000000
244 #define TCX_BTREGS 0x70002000
245 #define TCX_THC 0x70004000
246 #define TCX_DHC 0x70008000
247 #define TCX_ALT 0x7000a000
248 #define TCX_SYNC 0x7000e000
249 #define TCX_UNK2 0x70010000
255 #define CG14_CURSORREGS 0x1000
256 #define CG14_DACREGS 0x2000
257 #define CG14_XLUT 0x3000
258 #define CG14_CLUT1 0x4000
259 #define CG14_CLUT2 0x5000
260 #define CG14_CLUT3 0x6000
261 #define CG14_AUTO 0xf000
267 #define MDI_DIRECT_MAP 0x10000000
268 #define MDI_CTLREG_MAP 0x20000000
269 #define MDI_CURSOR_MAP 0x30000000
270 #define MDI_SHDW_VRT_MAP 0x40000000
274 #define MDI_CHUNKY_XBGR_MAP 0x50000000
275 #define MDI_CHUNKY_BGR_MAP 0x60000000
278 #define MDI_PLANAR_X16_MAP 0x70000000
279 #define MDI_PLANAR_C16_MAP 0x80000000
283 #define MDI_PLANAR_X32_MAP 0x90000000
284 #define MDI_PLANAR_B32_MAP 0xa0000000
285 #define MDI_PLANAR_G32_MAP 0xb0000000
286 #define MDI_PLANAR_R32_MAP 0xc0000000
289 #define LEO_SS0_MAP 0x00000000
290 #define LEO_LC_SS0_USR_MAP 0x00800000
291 #define LEO_LD_SS0_MAP 0x00801000
292 #define LEO_LX_CURSOR_MAP 0x00802000
293 #define LEO_SS1_MAP 0x00803000
294 #define LEO_LC_SS1_USR_MAP 0x01003000
295 #define LEO_LD_SS1_MAP 0x01004000
296 #define LEO_UNK_MAP 0x01005000
297 #define LEO_LX_KRN_MAP 0x01006000
298 #define LEO_LC_SS0_KRN_MAP 0x01007000
299 #define LEO_LC_SS1_KRN_MAP 0x01008000
300 #define LEO_LD_GBL_MAP 0x01009000
301 #define LEO_UNK2_MAP 0x0100a000
312 #define FBIOPUTCMAP32 _IOW('F', 3, struct fbcmap32)
313 #define FBIOGETCMAP32 _IOW('F', 4, struct fbcmap32)
326 #define FBIOSCURSOR32 _IOW('F', 24, struct fbcursor32)
327 #define FBIOGCURSOR32 _IOW('F', 25, struct fbcursor32)