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

Go to the source code of this file.

Data Structures

struct  ati_page_map
 
struct  _ati_generic_private
 

Macros

#define ATI_GART_MMBASE_ADDR   0x14
 
#define ATI_RS100_APSIZE   0xac
 
#define ATI_RS100_IG_AGPMODE   0xb0
 
#define ATI_RS300_APSIZE   0xf8
 
#define ATI_RS300_IG_AGPMODE   0xfc
 
#define ATI_GART_FEATURE_ID   0x00
 
#define ATI_GART_BASE   0x04
 
#define ATI_GART_CACHE_SZBASE   0x08
 
#define ATI_GART_CACHE_CNTRL   0x0c
 
#define ATI_GART_CACHE_ENTRY_CNTRL   0x10
 
#define GET_PAGE_DIR_OFF(addr)   (addr >> 22)
 
#define GET_PAGE_DIR_IDX(addr)
 
#define GET_GATT_OFF(addr)   ((addr & 0x003ff000) >> 12)
 
#define GET_GATT(addr)
 

Functions

 MODULE_DEVICE_TABLE (pci, agp_ati_pci_table)
 
 module_init (agp_ati_init)
 
 module_exit (agp_ati_cleanup)
 
 MODULE_AUTHOR ("Dave Jones <[email protected]>")
 
 MODULE_LICENSE ("GPL and additional rights")
 

Macro Definition Documentation

#define ATI_GART_BASE   0x04

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

#define ATI_GART_CACHE_CNTRL   0x0c

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

#define ATI_GART_CACHE_ENTRY_CNTRL   0x10

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

#define ATI_GART_CACHE_SZBASE   0x08

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

#define ATI_GART_FEATURE_ID   0x00

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

#define ATI_GART_MMBASE_ADDR   0x14

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

#define ATI_RS100_APSIZE   0xac

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

#define ATI_RS100_IG_AGPMODE   0xb0

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

#define ATI_RS300_APSIZE   0xf8

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

#define ATI_RS300_IG_AGPMODE   0xfc

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

#define GET_GATT (   addr)
Value:
(ati_generic_private.gatt_pages[\
GET_PAGE_DIR_IDX(addr)]->remapped)

Definition at line 263 of file ati-agp.c.

#define GET_GATT_OFF (   addr)    ((addr & 0x003ff000) >> 12)

Definition at line 261 of file ati-agp.c.

#define GET_PAGE_DIR_IDX (   addr)
Value:
GET_PAGE_DIR_OFF(agp_bridge->gart_bus_addr))

Definition at line 259 of file ati-agp.c.

#define GET_PAGE_DIR_OFF (   addr)    (addr >> 22)

Definition at line 258 of file ati-agp.c.

Function Documentation

MODULE_AUTHOR ( "Dave Jones <[email protected]>"  )
MODULE_DEVICE_TABLE ( pci  ,
agp_ati_pci_table   
)
module_exit ( agp_ati_cleanup  )
module_init ( agp_ati_init  )
MODULE_LICENSE ( "GPL and additional rights"  )