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

Go to the source code of this file.

Data Structures

struct  _efficeon_private
 

Macros

#define EFFICEON_ATTPAGE   0xb8
 
#define EFFICEON_L1_SIZE   64 /* Number of PDE pages */
 
#define EFFICEON_PATI   (0 << 9)
 
#define EFFICEON_PRESENT   (1 << 8)
 
#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_efficeon_pci_table)
 
 module_init (agp_efficeon_init)
 
 module_exit (agp_efficeon_cleanup)
 
 MODULE_AUTHOR ("Carlos Puchol <[email protected]>")
 
 MODULE_LICENSE ("GPL and additional rights")
 

Macro Definition Documentation

#define EFFICEON_ATTPAGE   0xb8

Definition at line 53 of file efficeon-agp.c.

#define EFFICEON_L1_SIZE   64 /* Number of PDE pages */

Definition at line 54 of file efficeon-agp.c.

#define EFFICEON_PATI   (0 << 9)

Definition at line 56 of file efficeon-agp.c.

#define EFFICEON_PRESENT   (1 << 8)

Definition at line 57 of file efficeon-agp.c.

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

Definition at line 191 of file efficeon-agp.c.

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

Definition at line 189 of file efficeon-agp.c.

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

Definition at line 187 of file efficeon-agp.c.

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

Definition at line 186 of file efficeon-agp.c.

Function Documentation

MODULE_AUTHOR ( "Carlos Puchol <[email protected]>"  )
MODULE_DEVICE_TABLE ( pci  ,
agp_efficeon_pci_table   
)
module_exit ( agp_efficeon_cleanup  )
module_init ( agp_efficeon_init  )
MODULE_LICENSE ( "GPL and additional rights"  )