Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
via-agp.c File Reference
#include <linux/types.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/agp_backend.h>
#include "agp.h"

Go to the source code of this file.

Macros

#define VIA_GARTCTRL   0x80
 
#define VIA_APSIZE   0x84
 
#define VIA_ATTBASE   0x88
 
#define VIA_AGP3_GARTCTRL   0x90
 
#define VIA_AGP3_APSIZE   0x94
 
#define VIA_AGP3_ATTBASE   0x98
 
#define VIA_AGPSEL   0xfd
 
#define ID(x)
 

Functions

 MODULE_DEVICE_TABLE (pci, agp_via_pci_table)
 
 module_init (agp_via_init)
 
 module_exit (agp_via_cleanup)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Dave Jones <[email protected]>")
 

Macro Definition Documentation

#define ID (   x)
Value:
{ \
.class = (PCI_CLASS_BRIDGE_HOST << 8), \
.class_mask = ~0, \
.device = x, \
}
#define VIA_AGP3_APSIZE   0x94

Definition at line 19 of file via-agp.c.

#define VIA_AGP3_ATTBASE   0x98

Definition at line 20 of file via-agp.c.

#define VIA_AGP3_GARTCTRL   0x90

Definition at line 18 of file via-agp.c.

#define VIA_AGPSEL   0xfd

Definition at line 21 of file via-agp.c.

#define VIA_APSIZE   0x84

Definition at line 15 of file via-agp.c.

#define VIA_ATTBASE   0x88

Definition at line 16 of file via-agp.c.

#define VIA_GARTCTRL   0x80

Definition at line 14 of file via-agp.c.

Function Documentation

MODULE_AUTHOR ( "Dave Jones <[email protected]>"  )
MODULE_DEVICE_TABLE ( pci  ,
agp_via_pci_table   
)
module_exit ( agp_via_cleanup  )
module_init ( agp_via_init  )
MODULE_LICENSE ( "GPL"  )