#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/pm.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/console.h>
#include <asm/io.h>
Go to the source code of this file.
|
#define | write_ind(num, val, ap, dp) |
|
#define | read_ind(num, var, ap, dp) |
|
#define | write_xr(num, val) write_ind(num, val, 0x3d6, 0x3d7) |
|
#define | read_xr(num, var) read_ind(num, var, 0x3d6, 0x3d7) |
|
#define | write_fr(num, val) write_ind(num, val, 0x3d0, 0x3d1) |
|
#define | read_fr(num, var) read_ind(num, var, 0x3d0, 0x3d1) |
|
#define | write_cr(num, val) write_ind(num, val, 0x3d4, 0x3d5) |
|
#define | read_cr(num, var) read_ind(num, var, 0x3d4, 0x3d5) |
|
#define | write_gr(num, val) write_ind(num, val, 0x3ce, 0x3cf) |
|
#define | read_gr(num, var) read_ind(num, var, 0x3ce, 0x3cf) |
|
#define | write_sr(num, val) write_ind(num, val, 0x3c4, 0x3c5) |
|
#define | read_sr(num, var) read_ind(num, var, 0x3c4, 0x3c5) |
|
#define | write_ar(num, val) |
|
#define | read_ar(num, var) |
|
#define read_ar |
( |
|
num, |
|
|
|
var |
|
) |
| |
Value:do { \
inb(0x3da);
read_ind(num, var, 0x3c0, 0x3c1); \
} while (0)
Definition at line 66 of file chipsfb.c.
#define read_ind |
( |
|
num, |
|
|
|
var, |
|
|
|
ap, |
|
|
|
dp |
|
) |
| |
Value:do { \
outb((num), (ap)); var =
inb((
dp)); \
} while (0)
Definition at line 43 of file chipsfb.c.
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
chipsfb_pci_tbl |
|
|
) |
| |