Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
asiliantfb.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/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>

Go to the source code of this file.

Data Structures

struct  chips_init_reg
 

Macros

#define mmio_base   (p->screen_base + 0x400000)
 
#define mm_write_ind(num, val, ap, dp)
 
#define write_xr(num, val)   mm_write_xr(p, num, val)
 
#define write_fr(num, val)   mm_write_fr(p, num, val)
 
#define write_cr(num, val)   mm_write_cr(p, num, val)
 
#define write_gr(num, val)   mm_write_gr(p, num, val)
 
#define write_sr(num, val)   mm_write_sr(p, num, val)
 
#define write_ar(num, val)   mm_write_ar(p, num, val)
 

Functions

 MODULE_DEVICE_TABLE (pci, asiliantfb_pci_tbl)
 
 module_init (asiliantfb_init)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define mm_write_ind (   num,
  val,
  ap,
  dp 
)
Value:
do { \
writeb((num), mmio_base + (ap)); writeb((val), mmio_base + (dp)); \
} while (0)

Definition at line 50 of file asiliantfb.c.

#define mmio_base   (p->screen_base + 0x400000)

Definition at line 48 of file asiliantfb.c.

#define write_ar (   num,
  val 
)    mm_write_ar(p, num, val)

Definition at line 89 of file asiliantfb.c.

#define write_cr (   num,
  val 
)    mm_write_cr(p, num, val)

Definition at line 70 of file asiliantfb.c.

#define write_fr (   num,
  val 
)    mm_write_fr(p, num, val)

Definition at line 64 of file asiliantfb.c.

#define write_gr (   num,
  val 
)    mm_write_gr(p, num, val)

Definition at line 76 of file asiliantfb.c.

#define write_sr (   num,
  val 
)    mm_write_sr(p, num, val)

Definition at line 82 of file asiliantfb.c.

#define write_xr (   num,
  val 
)    mm_write_xr(p, num, val)

Definition at line 58 of file asiliantfb.c.

Function Documentation

MODULE_DEVICE_TABLE ( pci  ,
asiliantfb_pci_tbl   
)
module_init ( asiliantfb_init  )
MODULE_LICENSE ( "GPL"  )