Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
fbio.h File Reference
#include <linux/compiler.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  fbtype
 
struct  fbcmap
 
struct  fbsattr
 
struct  fbgattr
 
struct  fbcursor
 
struct  fb_wid_alloc
 
struct  fb_wid_item
 
struct  fb_wid_list
 
struct  mdi_cfginfo
 
struct  fb_clut_alloc
 
struct  fb_clut
 
struct  fb_clut32
 

Macros

#define FBTYPE_NOTYPE   -1
 
#define FBTYPE_SUN1BW   0 /* mono */
 
#define FBTYPE_SUN1COLOR   1
 
#define FBTYPE_SUN2BW   2
 
#define FBTYPE_SUN2COLOR   3
 
#define FBTYPE_SUN2GP   4
 
#define FBTYPE_SUN5COLOR   5
 
#define FBTYPE_SUN3COLOR   6
 
#define FBTYPE_MEMCOLOR   7
 
#define FBTYPE_SUN4COLOR   8
 
#define FBTYPE_NOTSUN1   9
 
#define FBTYPE_NOTSUN2   10
 
#define FBTYPE_NOTSUN3   11
 
#define FBTYPE_SUNFAST_COLOR   12 /* cg6 */
 
#define FBTYPE_SUNROP_COLOR   13
 
#define FBTYPE_SUNFB_VIDEO   14
 
#define FBTYPE_SUNGIFB   15
 
#define FBTYPE_SUNGPLAS   16
 
#define FBTYPE_SUNGP3   17
 
#define FBTYPE_SUNGT   18
 
#define FBTYPE_SUNLEO   19 /* zx Leo card */
 
#define FBTYPE_MDICOLOR   20 /* cg14 */
 
#define FBTYPE_TCXCOLOR   21 /* SUNW,tcx card */
 
#define FBTYPE_LASTPLUSONE   21 /* This is not last + 1 in fact... */
 
#define FBTYPE_CREATOR   22
 
#define FBTYPE_PCI_IGA1682   23
 
#define FBTYPE_P9100COLOR   24
 
#define FBTYPE_PCI_GENERIC   1000
 
#define FBTYPE_PCI_MACH64   1001
 
#define FBIOGTYPE   _IOR('F', 0, struct fbtype)
 
#define FBIOPUTCMAP   _IOW('F', 3, struct fbcmap)
 
#define FBIOGETCMAP   _IOW('F', 4, struct fbcmap)
 
#define FB_ATTR_NDEVSPECIFIC   8
 
#define FB_ATTR_NEMUTYPES   4
 
#define FBIOSATTR   _IOW('F', 5, struct fbgattr) /* Unsupported: */
 
#define FBIOGATTR   _IOR('F', 6, struct fbgattr) /* supported */
 
#define FBIOSVIDEO   _IOW('F', 7, int)
 
#define FBIOGVIDEO   _IOR('F', 8, int)
 
#define FBIOSCURSOR   _IOW('F', 24, struct fbcursor)
 
#define FBIOGCURSOR   _IOWR('F', 25, struct fbcursor)
 
#define FBIOSCURPOS   _IOW('F', 26, struct fbcurpos)
 
#define FBIOGCURPOS   _IOW('F', 27, struct fbcurpos)
 
#define FBIOGCURMAX   _IOR('F', 28, struct fbcurpos)
 
#define FB_WID_SHARED_8   0
 
#define FB_WID_SHARED_24   1
 
#define FB_WID_DBL_8   2
 
#define FB_WID_DBL_24   3
 
#define FBIO_WID_ALLOC   _IOWR('F', 30, struct fb_wid_alloc)
 
#define FBIO_WID_FREE   _IOW('F', 31, struct fb_wid_alloc)
 
#define FBIO_WID_PUT   _IOW('F', 32, struct fb_wid_list)
 
#define FBIO_WID_GET   _IOWR('F', 33, struct fb_wid_list)
 
#define FFB_IOCTL   ('F'<<8)
 
#define FFB_SYS_INFO   (FFB_IOCTL|80)
 
#define FFB_CLUTREAD   (FFB_IOCTL|81)
 
#define FFB_CLUTPOST   (FFB_IOCTL|82)
 
#define FFB_SETDIAGMODE   (FFB_IOCTL|83)
 
#define FFB_GETMONITORID   (FFB_IOCTL|84)
 
#define FFB_GETVIDEOMODE   (FFB_IOCTL|85)
 
#define FFB_SETVIDEOMODE   (FFB_IOCTL|86)
 
#define FFB_SETSERVER   (FFB_IOCTL|87)
 
#define FFB_SETOVCTL   (FFB_IOCTL|88)
 
#define FFB_GETOVCTL   (FFB_IOCTL|89)
 
#define FFB_GETSAXNUM   (FFB_IOCTL|90)
 
#define FFB_FBDEBUG   (FFB_IOCTL|91)
 
#define MDI_IOCTL   ('M'<<8)
 
#define MDI_RESET   (MDI_IOCTL|1)
 
#define MDI_GET_CFGINFO   (MDI_IOCTL|2)
 
#define MDI_SET_PIXELMODE   (MDI_IOCTL|3)
 
#define MDI_32_PIX   32
 
#define MDI_16_PIX   16
 
#define MDI_8_PIX   8
 
#define MDI_CLEAR_XLUT   (MDI_IOCTL|9)
 
#define FB_CLUT_WAIT   0x00000001 /* Not yet implemented */
 
#define LEO_CLUTALLOC   _IOWR('L', 53, struct fb_clut_alloc)
 
#define LEO_CLUTFREE   _IOW('L', 54, struct fb_clut_alloc)
 
#define LEO_CLUTREAD   _IOW('L', 55, struct fb_clut)
 
#define LEO_CLUTPOST   _IOW('L', 56, struct fb_clut)
 
#define LEO_SETGAMMA   _IOW('L', 68, int) /* Not yet implemented */
 
#define LEO_GETGAMMA   _IOR('L', 69, int) /* Not yet implemented */
 
#define MDI_DIRECT_MAP   0x10000000
 
#define MDI_CTLREG_MAP   0x20000000
 
#define MDI_CURSOR_MAP   0x30000000
 
#define MDI_SHDW_VRT_MAP   0x40000000
 
#define MDI_CHUNKY_XBGR_MAP   0x50000000
 
#define MDI_CHUNKY_BGR_MAP   0x60000000
 
#define MDI_PLANAR_X16_MAP   0x70000000
 
#define MDI_PLANAR_C16_MAP   0x80000000
 
#define MDI_PLANAR_X32_MAP   0x90000000
 
#define MDI_PLANAR_B32_MAP   0xa0000000
 
#define MDI_PLANAR_G32_MAP   0xb0000000
 
#define MDI_PLANAR_R32_MAP   0xc0000000
 
#define LEO_SS0_MAP   0x00000000
 
#define LEO_LC_SS0_USR_MAP   0x00800000
 
#define LEO_LD_SS0_MAP   0x00801000
 
#define LEO_LX_CURSOR_MAP   0x00802000
 
#define LEO_SS1_MAP   0x00803000
 
#define LEO_LC_SS1_USR_MAP   0x01003000
 
#define LEO_LD_SS1_MAP   0x01004000
 
#define LEO_UNK_MAP   0x01005000
 
#define LEO_LX_KRN_MAP   0x01006000
 
#define LEO_LC_SS0_KRN_MAP   0x01007000
 
#define LEO_LC_SS1_KRN_MAP   0x01008000
 
#define LEO_LD_GBL_MAP   0x01009000
 
#define LEO_UNK2_MAP   0x0100a000
 

Macro Definition Documentation

#define FB_ATTR_NDEVSPECIFIC   8

Definition at line 73 of file fbio.h.

#define FB_ATTR_NEMUTYPES   4

Definition at line 75 of file fbio.h.

#define FB_CLUT_WAIT   0x00000001 /* Not yet implemented */

Definition at line 192 of file fbio.h.

#define FB_WID_DBL_24   3

Definition at line 123 of file fbio.h.

#define FB_WID_DBL_8   2

Definition at line 122 of file fbio.h.

#define FB_WID_SHARED_24   1

Definition at line 121 of file fbio.h.

#define FB_WID_SHARED_8   0

Definition at line 120 of file fbio.h.

#define FBIO_WID_ALLOC   _IOWR('F', 30, struct fb_wid_alloc)

Definition at line 140 of file fbio.h.

#define FBIO_WID_FREE   _IOW('F', 31, struct fb_wid_alloc)

Definition at line 141 of file fbio.h.

#define FBIO_WID_GET   _IOWR('F', 33, struct fb_wid_list)

Definition at line 143 of file fbio.h.

#define FBIO_WID_PUT   _IOW('F', 32, struct fb_wid_list)

Definition at line 142 of file fbio.h.

#define FBIOGATTR   _IOR('F', 6, struct fbgattr) /* supported */

Definition at line 91 of file fbio.h.

#define FBIOGCURMAX   _IOR('F', 28, struct fbcurpos)

Definition at line 116 of file fbio.h.

#define FBIOGCURPOS   _IOW('F', 27, struct fbcurpos)

Definition at line 113 of file fbio.h.

#define FBIOGCURSOR   _IOWR('F', 25, struct fbcursor)

Definition at line 109 of file fbio.h.

#define FBIOGETCMAP   _IOW('F', 4, struct fbcmap)

Definition at line 69 of file fbio.h.

#define FBIOGTYPE   _IOR('F', 0, struct fbtype)

Definition at line 57 of file fbio.h.

#define FBIOGVIDEO   _IOR('F', 8, int)

Definition at line 94 of file fbio.h.

#define FBIOPUTCMAP   _IOW('F', 3, struct fbcmap)

Definition at line 68 of file fbio.h.

#define FBIOSATTR   _IOW('F', 5, struct fbgattr) /* Unsupported: */

Definition at line 90 of file fbio.h.

#define FBIOSCURPOS   _IOW('F', 26, struct fbcurpos)

Definition at line 112 of file fbio.h.

#define FBIOSCURSOR   _IOW('F', 24, struct fbcursor)

Definition at line 108 of file fbio.h.

#define FBIOSVIDEO   _IOW('F', 7, int)

Definition at line 93 of file fbio.h.

#define FBTYPE_CREATOR   22

Definition at line 40 of file fbio.h.

#define FBTYPE_LASTPLUSONE   21 /* This is not last + 1 in fact... */

Definition at line 37 of file fbio.h.

#define FBTYPE_MDICOLOR   20 /* cg14 */

Definition at line 34 of file fbio.h.

#define FBTYPE_MEMCOLOR   7

Definition at line 19 of file fbio.h.

#define FBTYPE_NOTSUN1   9

Definition at line 22 of file fbio.h.

#define FBTYPE_NOTSUN2   10

Definition at line 23 of file fbio.h.

#define FBTYPE_NOTSUN3   11

Definition at line 24 of file fbio.h.

#define FBTYPE_NOTYPE   -1

Definition at line 11 of file fbio.h.

#define FBTYPE_P9100COLOR   24

Definition at line 42 of file fbio.h.

#define FBTYPE_PCI_GENERIC   1000

Definition at line 44 of file fbio.h.

#define FBTYPE_PCI_IGA1682   23

Definition at line 41 of file fbio.h.

#define FBTYPE_PCI_MACH64   1001

Definition at line 45 of file fbio.h.

#define FBTYPE_SUN1BW   0 /* mono */

Definition at line 12 of file fbio.h.

#define FBTYPE_SUN1COLOR   1

Definition at line 13 of file fbio.h.

#define FBTYPE_SUN2BW   2

Definition at line 14 of file fbio.h.

#define FBTYPE_SUN2COLOR   3

Definition at line 15 of file fbio.h.

#define FBTYPE_SUN2GP   4

Definition at line 16 of file fbio.h.

#define FBTYPE_SUN3COLOR   6

Definition at line 18 of file fbio.h.

#define FBTYPE_SUN4COLOR   8

Definition at line 20 of file fbio.h.

#define FBTYPE_SUN5COLOR   5

Definition at line 17 of file fbio.h.

#define FBTYPE_SUNFAST_COLOR   12 /* cg6 */

Definition at line 26 of file fbio.h.

#define FBTYPE_SUNFB_VIDEO   14

Definition at line 28 of file fbio.h.

#define FBTYPE_SUNGIFB   15

Definition at line 29 of file fbio.h.

#define FBTYPE_SUNGP3   17

Definition at line 31 of file fbio.h.

#define FBTYPE_SUNGPLAS   16

Definition at line 30 of file fbio.h.

#define FBTYPE_SUNGT   18

Definition at line 32 of file fbio.h.

#define FBTYPE_SUNLEO   19 /* zx Leo card */

Definition at line 33 of file fbio.h.

#define FBTYPE_SUNROP_COLOR   13

Definition at line 27 of file fbio.h.

#define FBTYPE_TCXCOLOR   21 /* SUNW,tcx card */

Definition at line 35 of file fbio.h.

#define FFB_CLUTPOST   (FFB_IOCTL|82)

Definition at line 149 of file fbio.h.

#define FFB_CLUTREAD   (FFB_IOCTL|81)

Definition at line 148 of file fbio.h.

#define FFB_FBDEBUG   (FFB_IOCTL|91)

Definition at line 158 of file fbio.h.

#define FFB_GETMONITORID   (FFB_IOCTL|84)

Definition at line 151 of file fbio.h.

#define FFB_GETOVCTL   (FFB_IOCTL|89)

Definition at line 156 of file fbio.h.

#define FFB_GETSAXNUM   (FFB_IOCTL|90)

Definition at line 157 of file fbio.h.

#define FFB_GETVIDEOMODE   (FFB_IOCTL|85)

Definition at line 152 of file fbio.h.

#define FFB_IOCTL   ('F'<<8)

Definition at line 146 of file fbio.h.

#define FFB_SETDIAGMODE   (FFB_IOCTL|83)

Definition at line 150 of file fbio.h.

#define FFB_SETOVCTL   (FFB_IOCTL|88)

Definition at line 155 of file fbio.h.

#define FFB_SETSERVER   (FFB_IOCTL|87)

Definition at line 154 of file fbio.h.

#define FFB_SETVIDEOMODE   (FFB_IOCTL|86)

Definition at line 153 of file fbio.h.

#define FFB_SYS_INFO   (FFB_IOCTL|80)

Definition at line 147 of file fbio.h.

#define LEO_CLUTALLOC   _IOWR('L', 53, struct fb_clut_alloc)

Definition at line 212 of file fbio.h.

#define LEO_CLUTFREE   _IOW('L', 54, struct fb_clut_alloc)

Definition at line 213 of file fbio.h.

#define LEO_CLUTPOST   _IOW('L', 56, struct fb_clut)

Definition at line 215 of file fbio.h.

#define LEO_CLUTREAD   _IOW('L', 55, struct fb_clut)

Definition at line 214 of file fbio.h.

#define LEO_GETGAMMA   _IOR('L', 69, int) /* Not yet implemented */

Definition at line 217 of file fbio.h.

#define LEO_LC_SS0_KRN_MAP   0x01007000

Definition at line 253 of file fbio.h.

#define LEO_LC_SS0_USR_MAP   0x00800000

Definition at line 245 of file fbio.h.

#define LEO_LC_SS1_KRN_MAP   0x01008000

Definition at line 254 of file fbio.h.

#define LEO_LC_SS1_USR_MAP   0x01003000

Definition at line 249 of file fbio.h.

#define LEO_LD_GBL_MAP   0x01009000

Definition at line 255 of file fbio.h.

#define LEO_LD_SS0_MAP   0x00801000

Definition at line 246 of file fbio.h.

#define LEO_LD_SS1_MAP   0x01004000

Definition at line 250 of file fbio.h.

#define LEO_LX_CURSOR_MAP   0x00802000

Definition at line 247 of file fbio.h.

#define LEO_LX_KRN_MAP   0x01006000

Definition at line 252 of file fbio.h.

#define LEO_SETGAMMA   _IOW('L', 68, int) /* Not yet implemented */

Definition at line 216 of file fbio.h.

#define LEO_SS0_MAP   0x00000000

Definition at line 244 of file fbio.h.

#define LEO_SS1_MAP   0x00803000

Definition at line 248 of file fbio.h.

#define LEO_UNK2_MAP   0x0100a000

Definition at line 256 of file fbio.h.

#define LEO_UNK_MAP   0x01005000

Definition at line 251 of file fbio.h.

#define MDI_16_PIX   16

Definition at line 166 of file fbio.h.

#define MDI_32_PIX   32

Definition at line 165 of file fbio.h.

#define MDI_8_PIX   8

Definition at line 167 of file fbio.h.

#define MDI_CHUNKY_BGR_MAP   0x60000000

Definition at line 230 of file fbio.h.

#define MDI_CHUNKY_XBGR_MAP   0x50000000

Definition at line 229 of file fbio.h.

#define MDI_CLEAR_XLUT   (MDI_IOCTL|9)

Definition at line 182 of file fbio.h.

#define MDI_CTLREG_MAP   0x20000000

Definition at line 223 of file fbio.h.

#define MDI_CURSOR_MAP   0x30000000

Definition at line 224 of file fbio.h.

#define MDI_DIRECT_MAP   0x10000000

Definition at line 222 of file fbio.h.

#define MDI_GET_CFGINFO   (MDI_IOCTL|2)

Definition at line 163 of file fbio.h.

#define MDI_IOCTL   ('M'<<8)

Definition at line 161 of file fbio.h.

#define MDI_PLANAR_B32_MAP   0xa0000000

Definition at line 239 of file fbio.h.

#define MDI_PLANAR_C16_MAP   0x80000000

Definition at line 234 of file fbio.h.

#define MDI_PLANAR_G32_MAP   0xb0000000

Definition at line 240 of file fbio.h.

#define MDI_PLANAR_R32_MAP   0xc0000000

Definition at line 241 of file fbio.h.

#define MDI_PLANAR_X16_MAP   0x70000000

Definition at line 233 of file fbio.h.

#define MDI_PLANAR_X32_MAP   0x90000000

Definition at line 238 of file fbio.h.

#define MDI_RESET   (MDI_IOCTL|1)

Definition at line 162 of file fbio.h.

#define MDI_SET_PIXELMODE   (MDI_IOCTL|3)

Definition at line 164 of file fbio.h.

#define MDI_SHDW_VRT_MAP   0x40000000

Definition at line 225 of file fbio.h.