Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
backend.c File Reference
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#include <linux/miscdevice.h>
#include <linux/pm.h>
#include <linux/agp_backend.h>
#include <linux/agpgart.h>
#include <linux/vmalloc.h>
#include <asm/io.h>
#include "agp.h"

Go to the source code of this file.

Macros

#define AGPGART_VERSION_MAJOR   0
 
#define AGPGART_VERSION_MINOR   103
 

Functions

 LIST_HEAD (agp_bridges)
 
 EXPORT_SYMBOL (agp_bridge)
 
 EXPORT_SYMBOL (agp_bridges)
 
 EXPORT_SYMBOL (agp_find_bridge)
 
struct agp_bridge_dataagp_backend_acquire (struct pci_dev *pdev)
 
 EXPORT_SYMBOL (agp_backend_acquire)
 
void agp_backend_release (struct agp_bridge_data *bridge)
 
 EXPORT_SYMBOL (agp_backend_release)
 
struct agp_bridge_dataagp_alloc_bridge (void)
 
 EXPORT_SYMBOL (agp_alloc_bridge)
 
void agp_put_bridge (struct agp_bridge_data *bridge)
 
 EXPORT_SYMBOL (agp_put_bridge)
 
int agp_add_bridge (struct agp_bridge_data *bridge)
 
 EXPORT_SYMBOL_GPL (agp_add_bridge)
 
void agp_remove_bridge (struct agp_bridge_data *bridge)
 
 EXPORT_SYMBOL_GPL (agp_remove_bridge)
 
 EXPORT_SYMBOL (agp_off)
 
 EXPORT_SYMBOL (agp_try_unsupported_boot)
 
 __setup ("agp=", agp_setup)
 
 MODULE_AUTHOR ("Dave Jones <[email protected]>")
 
 MODULE_DESCRIPTION ("AGP GART driver")
 
 MODULE_LICENSE ("GPL and additional rights")
 
 MODULE_ALIAS_MISCDEV (AGPGART_MINOR)
 
 module_init (agp_init)
 
 module_exit (agp_exit)
 

Variables

struct agp_bridge_data *(* agp_find_bridge )(struct pci_dev *)
 
struct agp_bridge_dataagp_bridge
 
int agp_off
 
int agp_try_unsupported_boot
 

Macro Definition Documentation

#define AGPGART_VERSION_MAJOR   0

Definition at line 46 of file backend.c.

#define AGPGART_VERSION_MINOR   103

Definition at line 47 of file backend.c.

Function Documentation

__setup ( )
int agp_add_bridge ( struct agp_bridge_data bridge)

Definition at line 264 of file backend.c.

struct agp_bridge_data* agp_alloc_bridge ( void  )
read

Definition at line 235 of file backend.c.

struct agp_bridge_data* agp_backend_acquire ( struct pci_dev pdev)
read

agp_backend_acquire - attempt to acquire an agp backend.

Definition at line 67 of file backend.c.

void agp_backend_release ( struct agp_bridge_data bridge)

agp_backend_release - release the lock on the agp backend.

The caller must insure that the graphics aperture translation table is read for use by another entity.

(Ensure that all memory it bound is unbound.)

Definition at line 92 of file backend.c.

void agp_put_bridge ( struct agp_bridge_data bridge)

Definition at line 254 of file backend.c.

void agp_remove_bridge ( struct agp_bridge_data bridge)

Definition at line 320 of file backend.c.

EXPORT_SYMBOL ( agp_bridge  )
EXPORT_SYMBOL ( agp_bridges  )
EXPORT_SYMBOL ( agp_find_bridge  )
EXPORT_SYMBOL ( agp_backend_acquire  )
EXPORT_SYMBOL ( agp_backend_release  )
EXPORT_SYMBOL ( agp_alloc_bridge  )
EXPORT_SYMBOL ( agp_put_bridge  )
EXPORT_SYMBOL ( agp_off  )
EXPORT_SYMBOL ( agp_try_unsupported_boot  )
EXPORT_SYMBOL_GPL ( agp_add_bridge  )
EXPORT_SYMBOL_GPL ( agp_remove_bridge  )
LIST_HEAD ( agp_bridges  )
MODULE_ALIAS_MISCDEV ( AGPGART_MINOR  )
MODULE_AUTHOR ( "Dave Jones <[email protected]>"  )
MODULE_DESCRIPTION ( "AGP GART driver )
module_exit ( agp_exit  )
module_init ( agp_init  )
MODULE_LICENSE ( "GPL and additional rights"  )

Variable Documentation

int agp

Definition at line 101 of file backend.c.

struct agp_bridge_data* agp_bridge

Definition at line 57 of file backend.c.

struct agp_bridge_data*(* agp_find_bridge)(struct pci_dev *)
read
Initial value:

Definition at line 54 of file backend.c.

int agp_off

Definition at line 330 of file backend.c.

int agp_try_unsupported_boot

Definition at line 331 of file backend.c.

Definition at line 101 of file backend.c.