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

Go to the source code of this file.

Data Structures

struct  fb_fix_screeninfo
 
struct  fb_bitfield
 
struct  fb_var_screeninfo
 
struct  fb_cmap
 
struct  fb_con2fbmap
 
struct  fb_vblank
 
struct  fb_copyarea
 
struct  fb_fillrect
 
struct  fb_image
 
struct  fbcurpos
 
struct  fb_cursor
 

Macros

#define FB_MAX   32 /* sufficient for now */
 
#define FBIOGET_VSCREENINFO   0x4600
 
#define FBIOPUT_VSCREENINFO   0x4601
 
#define FBIOGET_FSCREENINFO   0x4602
 
#define FBIOGETCMAP   0x4604
 
#define FBIOPUTCMAP   0x4605
 
#define FBIOPAN_DISPLAY   0x4606
 
#define FBIO_CURSOR   _IOWR('F', 0x08, struct fb_cursor)
 
#define FBIOGET_CON2FBMAP   0x460F
 
#define FBIOPUT_CON2FBMAP   0x4610
 
#define FBIOBLANK   0x4611 /* arg: 0 or vesa level + 1 */
 
#define FBIOGET_VBLANK   _IOR('F', 0x12, struct fb_vblank)
 
#define FBIO_ALLOC   0x4613
 
#define FBIO_FREE   0x4614
 
#define FBIOGET_GLYPH   0x4615
 
#define FBIOGET_HWCINFO   0x4616
 
#define FBIOPUT_MODEINFO   0x4617
 
#define FBIOGET_DISPINFO   0x4618
 
#define FBIO_WAITFORVSYNC   _IOW('F', 0x20, __u32)
 
#define FB_TYPE_PACKED_PIXELS   0 /* Packed Pixels */
 
#define FB_TYPE_PLANES   1 /* Non interleaved planes */
 
#define FB_TYPE_INTERLEAVED_PLANES   2 /* Interleaved planes */
 
#define FB_TYPE_TEXT   3 /* Text/attributes */
 
#define FB_TYPE_VGA_PLANES   4 /* EGA/VGA planes */
 
#define FB_TYPE_FOURCC   5 /* Type identified by a V4L2 FOURCC */
 
#define FB_AUX_TEXT_MDA   0 /* Monochrome text */
 
#define FB_AUX_TEXT_CGA   1 /* CGA/EGA/VGA Color text */
 
#define FB_AUX_TEXT_S3_MMIO   2 /* S3 MMIO fasttext */
 
#define FB_AUX_TEXT_MGA_STEP16   3 /* MGA Millenium I: text, attr, 14 reserved bytes */
 
#define FB_AUX_TEXT_MGA_STEP8   4 /* other MGAs: text, attr, 6 reserved bytes */
 
#define FB_AUX_TEXT_SVGA_GROUP   8 /* 8-15: SVGA tileblit compatible modes */
 
#define FB_AUX_TEXT_SVGA_MASK   7 /* lower three bits says step */
 
#define FB_AUX_TEXT_SVGA_STEP2   8 /* SVGA text mode: text, attr */
 
#define FB_AUX_TEXT_SVGA_STEP4   9 /* SVGA text mode: text, attr, 2 reserved bytes */
 
#define FB_AUX_TEXT_SVGA_STEP8   10 /* SVGA text mode: text, attr, 6 reserved bytes */
 
#define FB_AUX_TEXT_SVGA_STEP16   11 /* SVGA text mode: text, attr, 14 reserved bytes */
 
#define FB_AUX_TEXT_SVGA_LAST   15 /* reserved up to 15 */
 
#define FB_AUX_VGA_PLANES_VGA4   0 /* 16 color planes (EGA/VGA) */
 
#define FB_AUX_VGA_PLANES_CFB4   1 /* CFB4 in planes (VGA) */
 
#define FB_AUX_VGA_PLANES_CFB8   2 /* CFB8 in planes (VGA) */
 
#define FB_VISUAL_MONO01   0 /* Monochr. 1=Black 0=White */
 
#define FB_VISUAL_MONO10   1 /* Monochr. 1=White 0=Black */
 
#define FB_VISUAL_TRUECOLOR   2 /* True color */
 
#define FB_VISUAL_PSEUDOCOLOR   3 /* Pseudo color (like atari) */
 
#define FB_VISUAL_DIRECTCOLOR   4 /* Direct color */
 
#define FB_VISUAL_STATIC_PSEUDOCOLOR   5 /* Pseudo color readonly */
 
#define FB_VISUAL_FOURCC   6 /* Visual identified by a V4L2 FOURCC */
 
#define FB_ACCEL_NONE   0 /* no hardware accelerator */
 
#define FB_ACCEL_ATARIBLITT   1 /* Atari Blitter */
 
#define FB_ACCEL_AMIGABLITT   2 /* Amiga Blitter */
 
#define FB_ACCEL_S3_TRIO64   3 /* Cybervision64 (S3 Trio64) */
 
#define FB_ACCEL_NCR_77C32BLT   4 /* RetinaZ3 (NCR 77C32BLT) */
 
#define FB_ACCEL_S3_VIRGE   5 /* Cybervision64/3D (S3 ViRGE) */
 
#define FB_ACCEL_ATI_MACH64GX   6 /* ATI Mach 64GX family */
 
#define FB_ACCEL_DEC_TGA   7 /* DEC 21030 TGA */
 
#define FB_ACCEL_ATI_MACH64CT   8 /* ATI Mach 64CT family */
 
#define FB_ACCEL_ATI_MACH64VT   9 /* ATI Mach 64CT family VT class */
 
#define FB_ACCEL_ATI_MACH64GT   10 /* ATI Mach 64CT family GT class */
 
#define FB_ACCEL_SUN_CREATOR   11 /* Sun Creator/Creator3D */
 
#define FB_ACCEL_SUN_CGSIX   12 /* Sun cg6 */
 
#define FB_ACCEL_SUN_LEO   13 /* Sun leo/zx */
 
#define FB_ACCEL_IMS_TWINTURBO   14 /* IMS Twin Turbo */
 
#define FB_ACCEL_3DLABS_PERMEDIA2   15 /* 3Dlabs Permedia 2 */
 
#define FB_ACCEL_MATROX_MGA2064W   16 /* Matrox MGA2064W (Millenium) */
 
#define FB_ACCEL_MATROX_MGA1064SG   17 /* Matrox MGA1064SG (Mystique) */
 
#define FB_ACCEL_MATROX_MGA2164W   18 /* Matrox MGA2164W (Millenium II) */
 
#define FB_ACCEL_MATROX_MGA2164W_AGP   19 /* Matrox MGA2164W (Millenium II) */
 
#define FB_ACCEL_MATROX_MGAG100   20 /* Matrox G100 (Productiva G100) */
 
#define FB_ACCEL_MATROX_MGAG200   21 /* Matrox G200 (Myst, Mill, ...) */
 
#define FB_ACCEL_SUN_CG14   22 /* Sun cgfourteen */
 
#define FB_ACCEL_SUN_BWTWO   23 /* Sun bwtwo */
 
#define FB_ACCEL_SUN_CGTHREE   24 /* Sun cgthree */
 
#define FB_ACCEL_SUN_TCX   25 /* Sun tcx */
 
#define FB_ACCEL_MATROX_MGAG400   26 /* Matrox G400 */
 
#define FB_ACCEL_NV3   27 /* nVidia RIVA 128 */
 
#define FB_ACCEL_NV4   28 /* nVidia RIVA TNT */
 
#define FB_ACCEL_NV5   29 /* nVidia RIVA TNT2 */
 
#define FB_ACCEL_CT_6555x   30 /* C&T 6555x */
 
#define FB_ACCEL_3DFX_BANSHEE   31 /* 3Dfx Banshee */
 
#define FB_ACCEL_ATI_RAGE128   32 /* ATI Rage128 family */
 
#define FB_ACCEL_IGS_CYBER2000   33 /* CyberPro 2000 */
 
#define FB_ACCEL_IGS_CYBER2010   34 /* CyberPro 2010 */
 
#define FB_ACCEL_IGS_CYBER5000   35 /* CyberPro 5000 */
 
#define FB_ACCEL_SIS_GLAMOUR   36 /* SiS 300/630/540 */
 
#define FB_ACCEL_3DLABS_PERMEDIA3   37 /* 3Dlabs Permedia 3 */
 
#define FB_ACCEL_ATI_RADEON   38 /* ATI Radeon family */
 
#define FB_ACCEL_I810   39 /* Intel 810/815 */
 
#define FB_ACCEL_SIS_GLAMOUR_2   40 /* SiS 315, 650, 740 */
 
#define FB_ACCEL_SIS_XABRE   41 /* SiS 330 ("Xabre") */
 
#define FB_ACCEL_I830   42 /* Intel 830M/845G/85x/865G */
 
#define FB_ACCEL_NV_10   43 /* nVidia Arch 10 */
 
#define FB_ACCEL_NV_20   44 /* nVidia Arch 20 */
 
#define FB_ACCEL_NV_30   45 /* nVidia Arch 30 */
 
#define FB_ACCEL_NV_40   46 /* nVidia Arch 40 */
 
#define FB_ACCEL_XGI_VOLARI_V   47 /* XGI Volari V3XT, V5, V8 */
 
#define FB_ACCEL_XGI_VOLARI_Z   48 /* XGI Volari Z7 */
 
#define FB_ACCEL_OMAP1610   49 /* TI OMAP16xx */
 
#define FB_ACCEL_TRIDENT_TGUI   50 /* Trident TGUI */
 
#define FB_ACCEL_TRIDENT_3DIMAGE   51 /* Trident 3DImage */
 
#define FB_ACCEL_TRIDENT_BLADE3D   52 /* Trident Blade3D */
 
#define FB_ACCEL_TRIDENT_BLADEXP   53 /* Trident BladeXP */
 
#define FB_ACCEL_CIRRUS_ALPINE   53 /* Cirrus Logic 543x/544x/5480 */
 
#define FB_ACCEL_NEOMAGIC_NM2070   90 /* NeoMagic NM2070 */
 
#define FB_ACCEL_NEOMAGIC_NM2090   91 /* NeoMagic NM2090 */
 
#define FB_ACCEL_NEOMAGIC_NM2093   92 /* NeoMagic NM2093 */
 
#define FB_ACCEL_NEOMAGIC_NM2097   93 /* NeoMagic NM2097 */
 
#define FB_ACCEL_NEOMAGIC_NM2160   94 /* NeoMagic NM2160 */
 
#define FB_ACCEL_NEOMAGIC_NM2200   95 /* NeoMagic NM2200 */
 
#define FB_ACCEL_NEOMAGIC_NM2230   96 /* NeoMagic NM2230 */
 
#define FB_ACCEL_NEOMAGIC_NM2360   97 /* NeoMagic NM2360 */
 
#define FB_ACCEL_NEOMAGIC_NM2380   98 /* NeoMagic NM2380 */
 
#define FB_ACCEL_PXA3XX   99 /* PXA3xx */
 
#define FB_ACCEL_SAVAGE4   0x80 /* S3 Savage4 */
 
#define FB_ACCEL_SAVAGE3D   0x81 /* S3 Savage3D */
 
#define FB_ACCEL_SAVAGE3D_MV   0x82 /* S3 Savage3D-MV */
 
#define FB_ACCEL_SAVAGE2000   0x83 /* S3 Savage2000 */
 
#define FB_ACCEL_SAVAGE_MX_MV   0x84 /* S3 Savage/MX-MV */
 
#define FB_ACCEL_SAVAGE_MX   0x85 /* S3 Savage/MX */
 
#define FB_ACCEL_SAVAGE_IX_MV   0x86 /* S3 Savage/IX-MV */
 
#define FB_ACCEL_SAVAGE_IX   0x87 /* S3 Savage/IX */
 
#define FB_ACCEL_PROSAVAGE_PM   0x88 /* S3 ProSavage PM133 */
 
#define FB_ACCEL_PROSAVAGE_KM   0x89 /* S3 ProSavage KM133 */
 
#define FB_ACCEL_S3TWISTER_P   0x8a /* S3 Twister */
 
#define FB_ACCEL_S3TWISTER_K   0x8b /* S3 TwisterK */
 
#define FB_ACCEL_SUPERSAVAGE   0x8c /* S3 Supersavage */
 
#define FB_ACCEL_PROSAVAGE_DDR   0x8d /* S3 ProSavage DDR */
 
#define FB_ACCEL_PROSAVAGE_DDRK   0x8e /* S3 ProSavage DDR-K */
 
#define FB_ACCEL_PUV3_UNIGFX   0xa0 /* PKUnity-v3 Unigfx */
 
#define FB_CAP_FOURCC   1 /* Device supports FOURCC-based formats */
 
#define FB_NONSTD_HAM   1 /* Hold-And-Modify (HAM) */
 
#define FB_NONSTD_REV_PIX_IN_B   2 /* order of pixels in each byte is reversed */
 
#define FB_ACTIVATE_NOW   0 /* set values immediately (or vbl)*/
 
#define FB_ACTIVATE_NXTOPEN   1 /* activate on next open */
 
#define FB_ACTIVATE_TEST   2 /* don't set, round up impossible */
 
#define FB_ACTIVATE_MASK   15
 
#define FB_ACTIVATE_VBL   16 /* activate values on next vbl */
 
#define FB_CHANGE_CMAP_VBL   32 /* change colormap on vbl */
 
#define FB_ACTIVATE_ALL   64 /* change all VCs on this fb */
 
#define FB_ACTIVATE_FORCE   128 /* force apply even when no change*/
 
#define FB_ACTIVATE_INV_MODE   256 /* invalidate videomode */
 
#define FB_ACCELF_TEXT   1 /* (OBSOLETE) see fb_info.flags and vc_mode */
 
#define FB_SYNC_HOR_HIGH_ACT   1 /* horizontal sync high active */
 
#define FB_SYNC_VERT_HIGH_ACT   2 /* vertical sync high active */
 
#define FB_SYNC_EXT   4 /* external sync */
 
#define FB_SYNC_COMP_HIGH_ACT   8 /* composite sync high active */
 
#define FB_SYNC_BROADCAST   16 /* broadcast video timings */
 
#define FB_SYNC_ON_GREEN   32 /* sync on green */
 
#define FB_VMODE_NONINTERLACED   0 /* non interlaced */
 
#define FB_VMODE_INTERLACED   1 /* interlaced */
 
#define FB_VMODE_DOUBLE   2 /* double scan */
 
#define FB_VMODE_ODD_FLD_FIRST   4 /* interlaced: top line first */
 
#define FB_VMODE_MASK   255
 
#define FB_VMODE_YWRAP   256 /* ywrap instead of panning */
 
#define FB_VMODE_SMOOTH_XPAN   512 /* smooth xpan possible (internally used) */
 
#define FB_VMODE_CONUPDATE   512 /* don't update x/yoffset */
 
#define FB_ROTATE_UR   0
 
#define FB_ROTATE_CW   1
 
#define FB_ROTATE_UD   2
 
#define FB_ROTATE_CCW   3
 
#define PICOS2KHZ(a)   (1000000000UL/(a))
 
#define KHZ2PICOS(a)   (1000000000UL/(a))
 
#define VESA_NO_BLANKING   0
 
#define VESA_VSYNC_SUSPEND   1
 
#define VESA_HSYNC_SUSPEND   2
 
#define VESA_POWERDOWN   3
 
#define FB_VBLANK_VBLANKING   0x001 /* currently in a vertical blank */
 
#define FB_VBLANK_HBLANKING   0x002 /* currently in a horizontal blank */
 
#define FB_VBLANK_HAVE_VBLANK   0x004 /* vertical blanks can be detected */
 
#define FB_VBLANK_HAVE_HBLANK   0x008 /* horizontal blanks can be detected */
 
#define FB_VBLANK_HAVE_COUNT   0x010 /* global retrace counter is available */
 
#define FB_VBLANK_HAVE_VCOUNT   0x020 /* the vcount field is valid */
 
#define FB_VBLANK_HAVE_HCOUNT   0x040 /* the hcount field is valid */
 
#define FB_VBLANK_VSYNCING   0x080 /* currently in a vsync */
 
#define FB_VBLANK_HAVE_VSYNC   0x100 /* verical syncs can be detected */
 
#define ROP_COPY   0
 
#define ROP_XOR   1
 
#define FB_CUR_SETIMAGE   0x01
 
#define FB_CUR_SETPOS   0x02
 
#define FB_CUR_SETHOT   0x04
 
#define FB_CUR_SETCMAP   0x08
 
#define FB_CUR_SETSHAPE   0x10
 
#define FB_CUR_SETSIZE   0x20
 
#define FB_CUR_SETALL   0xFF
 

Enumerations

enum  {
  FB_BLANK_UNBLANK = VESA_NO_BLANKING, FB_BLANK_NORMAL = VESA_NO_BLANKING + 1, FB_BLANK_VSYNC_SUSPEND = VESA_VSYNC_SUSPEND + 1, FB_BLANK_HSYNC_SUSPEND = VESA_HSYNC_SUSPEND + 1,
  FB_BLANK_POWERDOWN = VESA_POWERDOWN + 1
}
 

Macro Definition Documentation

#define FB_ACCEL_3DFX_BANSHEE   31 /* 3Dfx Banshee */

Definition at line 101 of file fb.h.

#define FB_ACCEL_3DLABS_PERMEDIA2   15 /* 3Dlabs Permedia 2 */

Definition at line 85 of file fb.h.

#define FB_ACCEL_3DLABS_PERMEDIA3   37 /* 3Dlabs Permedia 3 */

Definition at line 107 of file fb.h.

#define FB_ACCEL_AMIGABLITT   2 /* Amiga Blitter */

Definition at line 72 of file fb.h.

#define FB_ACCEL_ATARIBLITT   1 /* Atari Blitter */

Definition at line 71 of file fb.h.

#define FB_ACCEL_ATI_MACH64CT   8 /* ATI Mach 64CT family */

Definition at line 78 of file fb.h.

#define FB_ACCEL_ATI_MACH64GT   10 /* ATI Mach 64CT family GT class */

Definition at line 80 of file fb.h.

#define FB_ACCEL_ATI_MACH64GX   6 /* ATI Mach 64GX family */

Definition at line 76 of file fb.h.

#define FB_ACCEL_ATI_MACH64VT   9 /* ATI Mach 64CT family VT class */

Definition at line 79 of file fb.h.

#define FB_ACCEL_ATI_RADEON   38 /* ATI Radeon family */

Definition at line 108 of file fb.h.

#define FB_ACCEL_ATI_RAGE128   32 /* ATI Rage128 family */

Definition at line 102 of file fb.h.

#define FB_ACCEL_CIRRUS_ALPINE   53 /* Cirrus Logic 543x/544x/5480 */

Definition at line 124 of file fb.h.

#define FB_ACCEL_CT_6555x   30 /* C&T 6555x */

Definition at line 100 of file fb.h.

#define FB_ACCEL_DEC_TGA   7 /* DEC 21030 TGA */

Definition at line 77 of file fb.h.

#define FB_ACCEL_I810   39 /* Intel 810/815 */

Definition at line 109 of file fb.h.

#define FB_ACCEL_I830   42 /* Intel 830M/845G/85x/865G */

Definition at line 112 of file fb.h.

#define FB_ACCEL_IGS_CYBER2000   33 /* CyberPro 2000 */

Definition at line 103 of file fb.h.

#define FB_ACCEL_IGS_CYBER2010   34 /* CyberPro 2010 */

Definition at line 104 of file fb.h.

#define FB_ACCEL_IGS_CYBER5000   35 /* CyberPro 5000 */

Definition at line 105 of file fb.h.

#define FB_ACCEL_IMS_TWINTURBO   14 /* IMS Twin Turbo */

Definition at line 84 of file fb.h.

#define FB_ACCEL_MATROX_MGA1064SG   17 /* Matrox MGA1064SG (Mystique) */

Definition at line 87 of file fb.h.

#define FB_ACCEL_MATROX_MGA2064W   16 /* Matrox MGA2064W (Millenium) */

Definition at line 86 of file fb.h.

#define FB_ACCEL_MATROX_MGA2164W   18 /* Matrox MGA2164W (Millenium II) */

Definition at line 88 of file fb.h.

#define FB_ACCEL_MATROX_MGA2164W_AGP   19 /* Matrox MGA2164W (Millenium II) */

Definition at line 89 of file fb.h.

#define FB_ACCEL_MATROX_MGAG100   20 /* Matrox G100 (Productiva G100) */

Definition at line 90 of file fb.h.

#define FB_ACCEL_MATROX_MGAG200   21 /* Matrox G200 (Myst, Mill, ...) */

Definition at line 91 of file fb.h.

#define FB_ACCEL_MATROX_MGAG400   26 /* Matrox G400 */

Definition at line 96 of file fb.h.

#define FB_ACCEL_NCR_77C32BLT   4 /* RetinaZ3 (NCR 77C32BLT) */

Definition at line 74 of file fb.h.

#define FB_ACCEL_NEOMAGIC_NM2070   90 /* NeoMagic NM2070 */

Definition at line 125 of file fb.h.

#define FB_ACCEL_NEOMAGIC_NM2090   91 /* NeoMagic NM2090 */

Definition at line 126 of file fb.h.

#define FB_ACCEL_NEOMAGIC_NM2093   92 /* NeoMagic NM2093 */

Definition at line 127 of file fb.h.

#define FB_ACCEL_NEOMAGIC_NM2097   93 /* NeoMagic NM2097 */

Definition at line 128 of file fb.h.

#define FB_ACCEL_NEOMAGIC_NM2160   94 /* NeoMagic NM2160 */

Definition at line 129 of file fb.h.

#define FB_ACCEL_NEOMAGIC_NM2200   95 /* NeoMagic NM2200 */

Definition at line 130 of file fb.h.

#define FB_ACCEL_NEOMAGIC_NM2230   96 /* NeoMagic NM2230 */

Definition at line 131 of file fb.h.

#define FB_ACCEL_NEOMAGIC_NM2360   97 /* NeoMagic NM2360 */

Definition at line 132 of file fb.h.

#define FB_ACCEL_NEOMAGIC_NM2380   98 /* NeoMagic NM2380 */

Definition at line 133 of file fb.h.

#define FB_ACCEL_NONE   0 /* no hardware accelerator */

Definition at line 70 of file fb.h.

#define FB_ACCEL_NV3   27 /* nVidia RIVA 128 */

Definition at line 97 of file fb.h.

#define FB_ACCEL_NV4   28 /* nVidia RIVA TNT */

Definition at line 98 of file fb.h.

#define FB_ACCEL_NV5   29 /* nVidia RIVA TNT2 */

Definition at line 99 of file fb.h.

#define FB_ACCEL_NV_10   43 /* nVidia Arch 10 */

Definition at line 113 of file fb.h.

#define FB_ACCEL_NV_20   44 /* nVidia Arch 20 */

Definition at line 114 of file fb.h.

#define FB_ACCEL_NV_30   45 /* nVidia Arch 30 */

Definition at line 115 of file fb.h.

#define FB_ACCEL_NV_40   46 /* nVidia Arch 40 */

Definition at line 116 of file fb.h.

#define FB_ACCEL_OMAP1610   49 /* TI OMAP16xx */

Definition at line 119 of file fb.h.

#define FB_ACCEL_PROSAVAGE_DDR   0x8d /* S3 ProSavage DDR */

Definition at line 149 of file fb.h.

#define FB_ACCEL_PROSAVAGE_DDRK   0x8e /* S3 ProSavage DDR-K */

Definition at line 150 of file fb.h.

#define FB_ACCEL_PROSAVAGE_KM   0x89 /* S3 ProSavage KM133 */

Definition at line 145 of file fb.h.

#define FB_ACCEL_PROSAVAGE_PM   0x88 /* S3 ProSavage PM133 */

Definition at line 144 of file fb.h.

#define FB_ACCEL_PUV3_UNIGFX   0xa0 /* PKUnity-v3 Unigfx */

Definition at line 152 of file fb.h.

#define FB_ACCEL_PXA3XX   99 /* PXA3xx */

Definition at line 134 of file fb.h.

#define FB_ACCEL_S3_TRIO64   3 /* Cybervision64 (S3 Trio64) */

Definition at line 73 of file fb.h.

#define FB_ACCEL_S3_VIRGE   5 /* Cybervision64/3D (S3 ViRGE) */

Definition at line 75 of file fb.h.

#define FB_ACCEL_S3TWISTER_K   0x8b /* S3 TwisterK */

Definition at line 147 of file fb.h.

#define FB_ACCEL_S3TWISTER_P   0x8a /* S3 Twister */

Definition at line 146 of file fb.h.

#define FB_ACCEL_SAVAGE2000   0x83 /* S3 Savage2000 */

Definition at line 139 of file fb.h.

#define FB_ACCEL_SAVAGE3D   0x81 /* S3 Savage3D */

Definition at line 137 of file fb.h.

#define FB_ACCEL_SAVAGE3D_MV   0x82 /* S3 Savage3D-MV */

Definition at line 138 of file fb.h.

#define FB_ACCEL_SAVAGE4   0x80 /* S3 Savage4 */

Definition at line 136 of file fb.h.

#define FB_ACCEL_SAVAGE_IX   0x87 /* S3 Savage/IX */

Definition at line 143 of file fb.h.

#define FB_ACCEL_SAVAGE_IX_MV   0x86 /* S3 Savage/IX-MV */

Definition at line 142 of file fb.h.

#define FB_ACCEL_SAVAGE_MX   0x85 /* S3 Savage/MX */

Definition at line 141 of file fb.h.

#define FB_ACCEL_SAVAGE_MX_MV   0x84 /* S3 Savage/MX-MV */

Definition at line 140 of file fb.h.

#define FB_ACCEL_SIS_GLAMOUR   36 /* SiS 300/630/540 */

Definition at line 106 of file fb.h.

#define FB_ACCEL_SIS_GLAMOUR_2   40 /* SiS 315, 650, 740 */

Definition at line 110 of file fb.h.

#define FB_ACCEL_SIS_XABRE   41 /* SiS 330 ("Xabre") */

Definition at line 111 of file fb.h.

#define FB_ACCEL_SUN_BWTWO   23 /* Sun bwtwo */

Definition at line 93 of file fb.h.

#define FB_ACCEL_SUN_CG14   22 /* Sun cgfourteen */

Definition at line 92 of file fb.h.

#define FB_ACCEL_SUN_CGSIX   12 /* Sun cg6 */

Definition at line 82 of file fb.h.

#define FB_ACCEL_SUN_CGTHREE   24 /* Sun cgthree */

Definition at line 94 of file fb.h.

#define FB_ACCEL_SUN_CREATOR   11 /* Sun Creator/Creator3D */

Definition at line 81 of file fb.h.

#define FB_ACCEL_SUN_LEO   13 /* Sun leo/zx */

Definition at line 83 of file fb.h.

#define FB_ACCEL_SUN_TCX   25 /* Sun tcx */

Definition at line 95 of file fb.h.

#define FB_ACCEL_SUPERSAVAGE   0x8c /* S3 Supersavage */

Definition at line 148 of file fb.h.

#define FB_ACCEL_TRIDENT_3DIMAGE   51 /* Trident 3DImage */

Definition at line 121 of file fb.h.

#define FB_ACCEL_TRIDENT_BLADE3D   52 /* Trident Blade3D */

Definition at line 122 of file fb.h.

#define FB_ACCEL_TRIDENT_BLADEXP   53 /* Trident BladeXP */

Definition at line 123 of file fb.h.

#define FB_ACCEL_TRIDENT_TGUI   50 /* Trident TGUI */

Definition at line 120 of file fb.h.

#define FB_ACCEL_XGI_VOLARI_V   47 /* XGI Volari V3XT, V5, V8 */

Definition at line 117 of file fb.h.

#define FB_ACCEL_XGI_VOLARI_Z   48 /* XGI Volari Z7 */

Definition at line 118 of file fb.h.

#define FB_ACCELF_TEXT   1 /* (OBSOLETE) see fb_info.flags and vc_mode */

Definition at line 208 of file fb.h.

#define FB_ACTIVATE_ALL   64 /* change all VCs on this fb */

Definition at line 204 of file fb.h.

#define FB_ACTIVATE_FORCE   128 /* force apply even when no change*/

Definition at line 205 of file fb.h.

#define FB_ACTIVATE_INV_MODE   256 /* invalidate videomode */

Definition at line 206 of file fb.h.

#define FB_ACTIVATE_MASK   15

Definition at line 200 of file fb.h.

#define FB_ACTIVATE_NOW   0 /* set values immediately (or vbl)*/

Definition at line 197 of file fb.h.

#define FB_ACTIVATE_NXTOPEN   1 /* activate on next open */

Definition at line 198 of file fb.h.

#define FB_ACTIVATE_TEST   2 /* don't set, round up impossible */

Definition at line 199 of file fb.h.

#define FB_ACTIVATE_VBL   16 /* activate values on next vbl */

Definition at line 202 of file fb.h.

#define FB_AUX_TEXT_CGA   1 /* CGA/EGA/VGA Color text */

Definition at line 46 of file fb.h.

#define FB_AUX_TEXT_MDA   0 /* Monochrome text */

Definition at line 45 of file fb.h.

#define FB_AUX_TEXT_MGA_STEP16   3 /* MGA Millenium I: text, attr, 14 reserved bytes */

Definition at line 48 of file fb.h.

#define FB_AUX_TEXT_MGA_STEP8   4 /* other MGAs: text, attr, 6 reserved bytes */

Definition at line 49 of file fb.h.

#define FB_AUX_TEXT_S3_MMIO   2 /* S3 MMIO fasttext */

Definition at line 47 of file fb.h.

#define FB_AUX_TEXT_SVGA_GROUP   8 /* 8-15: SVGA tileblit compatible modes */

Definition at line 50 of file fb.h.

#define FB_AUX_TEXT_SVGA_LAST   15 /* reserved up to 15 */

Definition at line 56 of file fb.h.

#define FB_AUX_TEXT_SVGA_MASK   7 /* lower three bits says step */

Definition at line 51 of file fb.h.

#define FB_AUX_TEXT_SVGA_STEP16   11 /* SVGA text mode: text, attr, 14 reserved bytes */

Definition at line 55 of file fb.h.

#define FB_AUX_TEXT_SVGA_STEP2   8 /* SVGA text mode: text, attr */

Definition at line 52 of file fb.h.

#define FB_AUX_TEXT_SVGA_STEP4   9 /* SVGA text mode: text, attr, 2 reserved bytes */

Definition at line 53 of file fb.h.

#define FB_AUX_TEXT_SVGA_STEP8   10 /* SVGA text mode: text, attr, 6 reserved bytes */

Definition at line 54 of file fb.h.

#define FB_AUX_VGA_PLANES_CFB4   1 /* CFB4 in planes (VGA) */

Definition at line 59 of file fb.h.

#define FB_AUX_VGA_PLANES_CFB8   2 /* CFB8 in planes (VGA) */

Definition at line 60 of file fb.h.

#define FB_AUX_VGA_PLANES_VGA4   0 /* 16 color planes (EGA/VGA) */

Definition at line 58 of file fb.h.

#define FB_CAP_FOURCC   1 /* Device supports FOURCC-based formats */

Definition at line 154 of file fb.h.

#define FB_CHANGE_CMAP_VBL   32 /* change colormap on vbl */

Definition at line 203 of file fb.h.

#define FB_CUR_SETALL   0xFF

Definition at line 380 of file fb.h.

#define FB_CUR_SETCMAP   0x08

Definition at line 377 of file fb.h.

#define FB_CUR_SETHOT   0x04

Definition at line 376 of file fb.h.

#define FB_CUR_SETIMAGE   0x01

Definition at line 374 of file fb.h.

#define FB_CUR_SETPOS   0x02

Definition at line 375 of file fb.h.

#define FB_CUR_SETSHAPE   0x10

Definition at line 378 of file fb.h.

#define FB_CUR_SETSIZE   0x20

Definition at line 379 of file fb.h.

#define FB_MAX   32 /* sufficient for now */

Definition at line 9 of file fb.h.

#define FB_NONSTD_HAM   1 /* Hold-And-Modify (HAM) */

Definition at line 194 of file fb.h.

#define FB_NONSTD_REV_PIX_IN_B   2 /* order of pixels in each byte is reversed */

Definition at line 195 of file fb.h.

#define FB_ROTATE_CCW   3

Definition at line 235 of file fb.h.

#define FB_ROTATE_CW   1

Definition at line 233 of file fb.h.

#define FB_ROTATE_UD   2

Definition at line 234 of file fb.h.

#define FB_ROTATE_UR   0

Definition at line 232 of file fb.h.

#define FB_SYNC_BROADCAST   16 /* broadcast video timings */

Definition at line 214 of file fb.h.

#define FB_SYNC_COMP_HIGH_ACT   8 /* composite sync high active */

Definition at line 213 of file fb.h.

#define FB_SYNC_EXT   4 /* external sync */

Definition at line 212 of file fb.h.

#define FB_SYNC_HOR_HIGH_ACT   1 /* horizontal sync high active */

Definition at line 210 of file fb.h.

#define FB_SYNC_ON_GREEN   32 /* sync on green */

Definition at line 217 of file fb.h.

#define FB_SYNC_VERT_HIGH_ACT   2 /* vertical sync high active */

Definition at line 211 of file fb.h.

#define FB_TYPE_FOURCC   5 /* Type identified by a V4L2 FOURCC */

Definition at line 43 of file fb.h.

#define FB_TYPE_INTERLEAVED_PLANES   2 /* Interleaved planes */

Definition at line 40 of file fb.h.

#define FB_TYPE_PACKED_PIXELS   0 /* Packed Pixels */

Definition at line 38 of file fb.h.

#define FB_TYPE_PLANES   1 /* Non interleaved planes */

Definition at line 39 of file fb.h.

#define FB_TYPE_TEXT   3 /* Text/attributes */

Definition at line 41 of file fb.h.

#define FB_TYPE_VGA_PLANES   4 /* EGA/VGA planes */

Definition at line 42 of file fb.h.

#define FB_VBLANK_HAVE_COUNT   0x010 /* global retrace counter is available */

Definition at line 322 of file fb.h.

#define FB_VBLANK_HAVE_HBLANK   0x008 /* horizontal blanks can be detected */

Definition at line 321 of file fb.h.

#define FB_VBLANK_HAVE_HCOUNT   0x040 /* the hcount field is valid */

Definition at line 324 of file fb.h.

#define FB_VBLANK_HAVE_VBLANK   0x004 /* vertical blanks can be detected */

Definition at line 320 of file fb.h.

#define FB_VBLANK_HAVE_VCOUNT   0x020 /* the vcount field is valid */

Definition at line 323 of file fb.h.

#define FB_VBLANK_HAVE_VSYNC   0x100 /* verical syncs can be detected */

Definition at line 326 of file fb.h.

#define FB_VBLANK_HBLANKING   0x002 /* currently in a horizontal blank */

Definition at line 319 of file fb.h.

#define FB_VBLANK_VBLANKING   0x001 /* currently in a vertical blank */

Definition at line 318 of file fb.h.

#define FB_VBLANK_VSYNCING   0x080 /* currently in a vsync */

Definition at line 325 of file fb.h.

#define FB_VISUAL_DIRECTCOLOR   4 /* Direct color */

Definition at line 66 of file fb.h.

#define FB_VISUAL_FOURCC   6 /* Visual identified by a V4L2 FOURCC */

Definition at line 68 of file fb.h.

#define FB_VISUAL_MONO01   0 /* Monochr. 1=Black 0=White */

Definition at line 62 of file fb.h.

#define FB_VISUAL_MONO10   1 /* Monochr. 1=White 0=Black */

Definition at line 63 of file fb.h.

#define FB_VISUAL_PSEUDOCOLOR   3 /* Pseudo color (like atari) */

Definition at line 65 of file fb.h.

#define FB_VISUAL_STATIC_PSEUDOCOLOR   5 /* Pseudo color readonly */

Definition at line 67 of file fb.h.

#define FB_VISUAL_TRUECOLOR   2 /* True color */

Definition at line 64 of file fb.h.

#define FB_VMODE_CONUPDATE   512 /* don't update x/yoffset */

Definition at line 227 of file fb.h.

#define FB_VMODE_DOUBLE   2 /* double scan */

Definition at line 221 of file fb.h.

#define FB_VMODE_INTERLACED   1 /* interlaced */

Definition at line 220 of file fb.h.

#define FB_VMODE_MASK   255

Definition at line 223 of file fb.h.

#define FB_VMODE_NONINTERLACED   0 /* non interlaced */

Definition at line 219 of file fb.h.

#define FB_VMODE_ODD_FLD_FIRST   4 /* interlaced: top line first */

Definition at line 222 of file fb.h.

#define FB_VMODE_SMOOTH_XPAN   512 /* smooth xpan possible (internally used) */

Definition at line 226 of file fb.h.

#define FB_VMODE_YWRAP   256 /* ywrap instead of panning */

Definition at line 225 of file fb.h.

#define FBIO_ALLOC   0x4613

Definition at line 30 of file fb.h.

#define FBIO_CURSOR   _IOWR('F', 0x08, struct fb_cursor)

Definition at line 20 of file fb.h.

#define FBIO_FREE   0x4614

Definition at line 31 of file fb.h.

#define FBIO_WAITFORVSYNC   _IOW('F', 0x20, __u32)

Definition at line 36 of file fb.h.

#define FBIOBLANK   0x4611 /* arg: 0 or vesa level + 1 */

Definition at line 28 of file fb.h.

#define FBIOGET_CON2FBMAP   0x460F

Definition at line 26 of file fb.h.

#define FBIOGET_DISPINFO   0x4618

Definition at line 35 of file fb.h.

#define FBIOGET_FSCREENINFO   0x4602

Definition at line 15 of file fb.h.

#define FBIOGET_GLYPH   0x4615

Definition at line 32 of file fb.h.

#define FBIOGET_HWCINFO   0x4616

Definition at line 33 of file fb.h.

#define FBIOGET_VBLANK   _IOR('F', 0x12, struct fb_vblank)

Definition at line 29 of file fb.h.

#define FBIOGET_VSCREENINFO   0x4600

Definition at line 13 of file fb.h.

#define FBIOGETCMAP   0x4604

Definition at line 16 of file fb.h.

#define FBIOPAN_DISPLAY   0x4606

Definition at line 18 of file fb.h.

#define FBIOPUT_CON2FBMAP   0x4610

Definition at line 27 of file fb.h.

#define FBIOPUT_MODEINFO   0x4617

Definition at line 34 of file fb.h.

#define FBIOPUT_VSCREENINFO   0x4601

Definition at line 14 of file fb.h.

#define FBIOPUTCMAP   0x4605

Definition at line 17 of file fb.h.

#define KHZ2PICOS (   a)    (1000000000UL/(a))

Definition at line 238 of file fb.h.

#define PICOS2KHZ (   a)    (1000000000UL/(a))

Definition at line 237 of file fb.h.

#define ROP_COPY   0

Definition at line 337 of file fb.h.

#define ROP_XOR   1

Definition at line 338 of file fb.h.

#define VESA_HSYNC_SUSPEND   2

Definition at line 297 of file fb.h.

#define VESA_NO_BLANKING   0

Definition at line 295 of file fb.h.

#define VESA_POWERDOWN   3

Definition at line 298 of file fb.h.

#define VESA_VSYNC_SUSPEND   1

Definition at line 296 of file fb.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
FB_BLANK_UNBLANK 
FB_BLANK_NORMAL 
FB_BLANK_VSYNC_SUSPEND 
FB_BLANK_HSYNC_SUSPEND 
FB_BLANK_POWERDOWN 

Definition at line 301 of file fb.h.