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

Go to the source code of this file.

Data Structures

struct  _nvidia_private
 

Macros

#define NVIDIA_0_APSIZE   0x80
 
#define NVIDIA_1_WBC   0xf0
 
#define NVIDIA_2_GARTCTRL   0xd0
 
#define NVIDIA_2_APBASE   0xd8
 
#define NVIDIA_2_APLIMIT   0xdc
 
#define NVIDIA_2_ATTBASE(i)   (0xe0 + (i) * 4)
 
#define NVIDIA_3_APBASE   0x50
 
#define NVIDIA_3_APLIMIT   0x54
 
#define SYSCFG   0xC0010010
 
#define IORR_BASE0   0xC0010016
 
#define IORR_MASK0   0xC0010017
 
#define AMD_K7_NUM_IORR   2
 

Functions

 MODULE_DEVICE_TABLE (pci, agp_nvidia_pci_table)
 
 module_init (agp_nvidia_init)
 
 module_exit (agp_nvidia_cleanup)
 
 MODULE_LICENSE ("GPL and additional rights")
 
 MODULE_AUTHOR ("NVIDIA Corporation")
 

Variables

int agp_memory_reserved
 

Macro Definition Documentation

#define AMD_K7_NUM_IORR   2

Definition at line 63 of file nvidia-agp.c.

#define IORR_BASE0   0xC0010016

Definition at line 61 of file nvidia-agp.c.

#define IORR_MASK0   0xC0010017

Definition at line 62 of file nvidia-agp.c.

#define NVIDIA_0_APSIZE   0x80

Definition at line 17 of file nvidia-agp.c.

#define NVIDIA_1_WBC   0xf0

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

#define NVIDIA_2_APBASE   0xd8

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

#define NVIDIA_2_APLIMIT   0xdc

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

#define NVIDIA_2_ATTBASE (   i)    (0xe0 + (i) * 4)

Definition at line 22 of file nvidia-agp.c.

#define NVIDIA_2_GARTCTRL   0xd0

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

#define NVIDIA_3_APBASE   0x50

Definition at line 23 of file nvidia-agp.c.

#define NVIDIA_3_APLIMIT   0x54

Definition at line 24 of file nvidia-agp.c.

#define SYSCFG   0xC0010010

Definition at line 60 of file nvidia-agp.c.

Function Documentation

MODULE_AUTHOR ( "NVIDIA Corporation"  )
MODULE_DEVICE_TABLE ( pci  ,
agp_nvidia_pci_table   
)
module_exit ( agp_nvidia_cleanup  )
module_init ( agp_nvidia_init  )
MODULE_LICENSE ( "GPL and additional rights"  )

Variable Documentation

int agp_memory_reserved

Definition at line 88 of file amd_gart_64.c.