Go to the documentation of this file. 1 #ifndef _UAPI__LINUX_FBIO_H
2 #define _UAPI__LINUX_FBIO_H
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 _IOW('F', 3, struct fbcmap)
69 #define FBIOGETCMAP _IOW('F', 4, struct fbcmap)
73 #define FB_ATTR_NDEVSPECIFIC 8
75 #define FB_ATTR_NEMUTYPES 4
90 #define FBIOSATTR _IOW('F', 5, struct fbgattr)
91 #define FBIOGATTR _IOR('F', 6, struct fbgattr)
93 #define FBIOSVIDEO _IOW('F', 7, int)
94 #define FBIOGVIDEO _IOR('F', 8, int)
108 #define FBIOSCURSOR _IOW('F', 24, struct fbcursor)
109 #define FBIOGCURSOR _IOWR('F', 25, struct fbcursor)
112 #define FBIOSCURPOS _IOW('F', 26, struct fbcurpos)
113 #define FBIOGCURPOS _IOW('F', 27, struct fbcurpos)
116 #define FBIOGCURMAX _IOR('F', 28, struct fbcurpos)
120 #define FB_WID_SHARED_8 0
121 #define FB_WID_SHARED_24 1
122 #define FB_WID_DBL_8 2
123 #define FB_WID_DBL_24 3
140 #define FBIO_WID_ALLOC _IOWR('F', 30, struct fb_wid_alloc)
141 #define FBIO_WID_FREE _IOW('F', 31, struct fb_wid_alloc)
142 #define FBIO_WID_PUT _IOW('F', 32, struct fb_wid_list)
143 #define FBIO_WID_GET _IOWR('F', 33, struct fb_wid_list)
146 #define FFB_IOCTL ('F'<<8)
147 #define FFB_SYS_INFO (FFB_IOCTL|80)
148 #define FFB_CLUTREAD (FFB_IOCTL|81)
149 #define FFB_CLUTPOST (FFB_IOCTL|82)
150 #define FFB_SETDIAGMODE (FFB_IOCTL|83)
151 #define FFB_GETMONITORID (FFB_IOCTL|84)
152 #define FFB_GETVIDEOMODE (FFB_IOCTL|85)
153 #define FFB_SETVIDEOMODE (FFB_IOCTL|86)
154 #define FFB_SETSERVER (FFB_IOCTL|87)
155 #define FFB_SETOVCTL (FFB_IOCTL|88)
156 #define FFB_GETOVCTL (FFB_IOCTL|89)
157 #define FFB_GETSAXNUM (FFB_IOCTL|90)
158 #define FFB_FBDEBUG (FFB_IOCTL|91)
161 #define MDI_IOCTL ('M'<<8)
162 #define MDI_RESET (MDI_IOCTL|1)
163 #define MDI_GET_CFGINFO (MDI_IOCTL|2)
164 #define MDI_SET_PIXELMODE (MDI_IOCTL|3)
165 # define MDI_32_PIX 32
166 # define MDI_16_PIX 16
182 #define MDI_CLEAR_XLUT (MDI_IOCTL|9)
192 #define FB_CLUT_WAIT 0x00000001
212 #define LEO_CLUTALLOC _IOWR('L', 53, struct fb_clut_alloc)
213 #define LEO_CLUTFREE _IOW('L', 54, struct fb_clut_alloc)
214 #define LEO_CLUTREAD _IOW('L', 55, struct fb_clut)
215 #define LEO_CLUTPOST _IOW('L', 56, struct fb_clut)
216 #define LEO_SETGAMMA _IOW('L', 68, int)
217 #define LEO_GETGAMMA _IOR('L', 69, int)
222 #define MDI_DIRECT_MAP 0x10000000
223 #define MDI_CTLREG_MAP 0x20000000
224 #define MDI_CURSOR_MAP 0x30000000
225 #define MDI_SHDW_VRT_MAP 0x40000000
229 #define MDI_CHUNKY_XBGR_MAP 0x50000000
230 #define MDI_CHUNKY_BGR_MAP 0x60000000
233 #define MDI_PLANAR_X16_MAP 0x70000000
234 #define MDI_PLANAR_C16_MAP 0x80000000
238 #define MDI_PLANAR_X32_MAP 0x90000000
239 #define MDI_PLANAR_B32_MAP 0xa0000000
240 #define MDI_PLANAR_G32_MAP 0xb0000000
241 #define MDI_PLANAR_R32_MAP 0xc0000000
244 #define LEO_SS0_MAP 0x00000000
245 #define LEO_LC_SS0_USR_MAP 0x00800000
246 #define LEO_LD_SS0_MAP 0x00801000
247 #define LEO_LX_CURSOR_MAP 0x00802000
248 #define LEO_SS1_MAP 0x00803000
249 #define LEO_LC_SS1_USR_MAP 0x01003000
250 #define LEO_LD_SS1_MAP 0x01004000
251 #define LEO_UNK_MAP 0x01005000
252 #define LEO_LX_KRN_MAP 0x01006000
253 #define LEO_LC_SS0_KRN_MAP 0x01007000
254 #define LEO_LC_SS1_KRN_MAP 0x01008000
255 #define LEO_LD_GBL_MAP 0x01009000
256 #define LEO_UNK2_MAP 0x0100a000