Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vga16fb.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/screen_info.h>
#include <asm/io.h>
#include <video/vga.h>

Go to the source code of this file.

Data Structures

struct  vga16fb_par
 

Macros

#define VGA_FB_PHYS   0xA0000
 
#define VGA_FB_PHYS_LEN   65536
 
#define MODE_SKIP4   1
 
#define MODE_8BPP   2
 
#define MODE_CFB   4
 
#define MODE_TEXT   8
 
#define FAIL(X)   return -EINVAL
 
#define TRANS_MASK_LOW   {0x0,0x8,0x4,0xC,0x2,0xA,0x6,0xE,0x1,0x9,0x5,0xD,0x3,0xB,0x7,0xF}
 
#define TRANS_MASK_HIGH
 

Functions

 MODULE_DESCRIPTION ("Legacy VGA framebuffer device driver")
 
 MODULE_LICENSE ("GPL")
 
 module_init (vga16fb_init)
 
 module_exit (vga16fb_exit)
 

Macro Definition Documentation

#define FAIL (   X)    return -EINVAL

Definition at line 281 of file vga16fb.c.

#define MODE_8BPP   2

Definition at line 32 of file vga16fb.c.

#define MODE_CFB   4

Definition at line 33 of file vga16fb.c.

#define MODE_SKIP4   1

Definition at line 31 of file vga16fb.c.

#define MODE_TEXT   8

Definition at line 34 of file vga16fb.c.

#define TRANS_MASK_HIGH
Value:
{0x000, 0x800, 0x400, 0xC00, 0x200, 0xA00, 0x600, 0xE00, \
0x100, 0x900, 0x500, 0xD00, 0x300, 0xB00, 0x700, 0xF00}

Definition at line 1105 of file vga16fb.c.

#define TRANS_MASK_LOW   {0x0,0x8,0x4,0xC,0x2,0xA,0x6,0xE,0x1,0x9,0x5,0xD,0x3,0xB,0x7,0xF}

Definition at line 1104 of file vga16fb.c.

#define VGA_FB_PHYS   0xA0000

Definition at line 28 of file vga16fb.c.

#define VGA_FB_PHYS_LEN   65536

Definition at line 29 of file vga16fb.c.

Function Documentation

MODULE_DESCRIPTION ( "Legacy VGA framebuffer device driver )
module_exit ( vga16fb_exit  )
module_init ( vga16fb_init  )
MODULE_LICENSE ( "GPL"  )