Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <asm/io.h>
#include <linux/uaccess.h>
Go to the source code of this file.
Data Structures | |
struct | initvalues |
struct | imstt_regvals |
struct | imstt_par |
Macros | |
#define | eieio() /* Enforce In-order Execution of I/O */ |
#define | USE_NV_MODES 1 |
#define | INIT_BPP 8 |
#define | INIT_XRES 640 |
#define | INIT_YRES 480 |
#define | FBIMSTT_SETREG 0x545401 |
#define | FBIMSTT_GETREG 0x545402 |
#define | FBIMSTT_SETCMAPREG 0x545403 |
#define | FBIMSTT_GETCMAPREG 0x545404 |
#define | FBIMSTT_SETIDXREG 0x545405 |
#define | FBIMSTT_GETIDXREG 0x545406 |
Enumerations | |
enum | { S1SA = 0, S2SA = 1, SP = 2, DSA = 3, CNT = 4, DP_OCTL = 5, CLR = 6, BI = 8, MBC = 9, BLTCTL = 10, HES = 12, HEB = 13, HSB = 14, HT = 15, VES = 16, VEB = 17, VSB = 18, VT = 19, HCIV = 20, VCIV = 21, TCDR = 22, VIL = 23, STGCTL = 24, SSR = 25, HRIR = 26, SPR = 27, CMR = 28, SRGCTL = 29, RRCIV = 30, RRSC = 31, RRCR = 34, GIOE = 32, GIO = 33, SCR = 35, SSTATUS = 36, PRC = 37 } |
enum | { PADDRW = 0x00, PDATA = 0x04, PPMASK = 0x08, PADDRR = 0x0c, PIDXLO = 0x10, PIDXHI = 0x14, PIDXDATA = 0x18, PIDXCTL = 0x1c } |
enum | { CLKCTL = 0x02, SYNCCTL = 0x03, HSYNCPOS = 0x04, PWRMNGMT = 0x05, DACOP = 0x06, PALETCTL = 0x07, SYSCLKCTL = 0x08, PIXFMT = 0x0a, BPP8 = 0x0b, BPP16 = 0x0c, BPP24 = 0x0d, BPP32 = 0x0e, PIXCTL1 = 0x10, PIXCTL2 = 0x11, SYSCLKN = 0x15, SYSCLKM = 0x16, SYSCLKP = 0x17, SYSCLKC = 0x18, PIXM0 = 0x20, PIXN0 = 0x21, PIXP0 = 0x22, PIXC0 = 0x23, CURSCTL = 0x30, CURSXLO = 0x31, CURSXHI = 0x32, CURSYLO = 0x33, CURSYHI = 0x34, CURSHOTX = 0x35, CURSHOTY = 0x36, CURSACCTL = 0x37, CURSACATTR = 0x38, CURS1R = 0x40, CURS1G = 0x41, CURS1B = 0x42, CURS2R = 0x43, CURS2G = 0x44, CURS2B = 0x45, CURS3R = 0x46, CURS3G = 0x47, CURS3B = 0x48, BORDR = 0x60, BORDG = 0x61, BORDB = 0x62, MISCTL1 = 0x70, MISCTL2 = 0x71, MISCTL3 = 0x72, KEYCTL = 0x78 } |
enum | { TVPADDRW = 0x00, TVPPDATA = 0x04, TVPPMASK = 0x08, TVPPADRR = 0x0c, TVPCADRW = 0x10, TVPCDATA = 0x14, TVPCADRR = 0x1c, TVPDCCTL = 0x24, TVPIDATA = 0x28, TVPCRDAT = 0x2c, TVPCXPOL = 0x30, TVPCXPOH = 0x34, TVPCYPOL = 0x38, TVPCYPOH = 0x3c } |
enum | { TVPIRREV = 0x01, TVPIRICC = 0x06, TVPIRBRC = 0x07, TVPIRLAC = 0x0f, TVPIRTCC = 0x18, TVPIRMXC = 0x19, TVPIRCLS = 0x1a, TVPIRPPG = 0x1c, TVPIRGEC = 0x1d, TVPIRMIC = 0x1e, TVPIRPLA = 0x2c, TVPIRPPD = 0x2d, TVPIRMPD = 0x2e, TVPIRLPD = 0x2f, TVPIRCKL = 0x30, TVPIRCKH = 0x31, TVPIRCRL = 0x32, TVPIRCRH = 0x33, TVPIRCGL = 0x34, TVPIRCGH = 0x35, TVPIRCBL = 0x36, TVPIRCBH = 0x37, TVPIRCKC = 0x38, TVPIRMLC = 0x39, TVPIRSEN = 0x3a, TVPIRTMD = 0x3b, TVPIRRML = 0x3c, TVPIRRMM = 0x3d, TVPIRRMS = 0x3e, TVPIRDID = 0x3f, TVPIRRES = 0xff } |
enum | { IBM = 0, TVP = 1 } |
Functions | |
MODULE_DEVICE_TABLE (pci, imsttfb_pci_tbl) | |
MODULE_LICENSE ("GPL") | |
module_init (imsttfb_init) | |
module_exit (imsttfb_exit) | |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
MODULE_DEVICE_TABLE | ( | pci | , |
imsttfb_pci_tbl | |||
) |
module_exit | ( | imsttfb_exit | ) |
module_init | ( | imsttfb_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |