Linux Kernel
3.7.1
|
#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 <linux/log2.h>
#include "agp.h"
Go to the source code of this file.
Macros | |
#define | INTEL_I460_BAPBASE 0x98 |
#define | INTEL_I460_GXBCTL 0xa0 |
#define | INTEL_I460_AGPSIZ 0xa2 |
#define | INTEL_I460_ATTBASE 0xfe200000 |
#define | INTEL_I460_GATT_VALID (1UL << 24) |
#define | INTEL_I460_GATT_COHERENT (1UL << 25) |
#define | I460_LARGE_IO_PAGES 0 |
#define | I460_IO_PAGE_SHIFT 12 |
#define | I460_IOPAGES_PER_KPAGE (PAGE_SIZE >> I460_IO_PAGE_SHIFT) |
#define | I460_KPAGES_PER_IOPAGE (1 << (I460_IO_PAGE_SHIFT - PAGE_SHIFT)) |
#define | I460_SRAM_IO_DISABLE (1 << 4) |
#define | I460_BAPBASE_ENABLE (1 << 3) |
#define | I460_AGPSIZ_MASK 0x7 |
#define | I460_4M_PS (1 << 1) |
#define | I460_GXBCTL_OOG (1UL << 0) |
#define | I460_GXBCTL_BWC (1UL << 2) |
#define | RD_GATT(index) readl((u32 *) i460.gatt + (index)) |
#define | WR_GATT(index, val) writel((val), (u32 *) i460.gatt + (index)) |
#define | WR_FLUSH_GATT(index) RD_GATT(index) |
Functions | |
MODULE_DEVICE_TABLE (pci, agp_intel_i460_pci_table) | |
module_init (agp_intel_i460_init) | |
module_exit (agp_intel_i460_cleanup) | |
MODULE_AUTHOR ("Chris Ahna <[email protected]>") | |
MODULE_LICENSE ("GPL and additional rights") | |
Variables | |
struct agp_bridge_driver | intel_i460_driver |
#define I460_4M_PS (1 << 1) |
Definition at line 45 of file i460-agp.c.
#define I460_AGPSIZ_MASK 0x7 |
Definition at line 44 of file i460-agp.c.
#define I460_BAPBASE_ENABLE (1 << 3) |
Definition at line 43 of file i460-agp.c.
#define I460_GXBCTL_BWC (1UL << 2) |
Definition at line 49 of file i460-agp.c.
#define I460_GXBCTL_OOG (1UL << 0) |
Definition at line 48 of file i460-agp.c.
#define I460_IO_PAGE_SHIFT 12 |
Definition at line 37 of file i460-agp.c.
#define I460_IOPAGES_PER_KPAGE (PAGE_SIZE >> I460_IO_PAGE_SHIFT) |
Definition at line 40 of file i460-agp.c.
#define I460_KPAGES_PER_IOPAGE (1 << (I460_IO_PAGE_SHIFT - PAGE_SHIFT)) |
Definition at line 41 of file i460-agp.c.
#define I460_LARGE_IO_PAGES 0 |
Definition at line 32 of file i460-agp.c.
#define I460_SRAM_IO_DISABLE (1 << 4) |
Definition at line 42 of file i460-agp.c.
#define INTEL_I460_AGPSIZ 0xa2 |
Definition at line 22 of file i460-agp.c.
#define INTEL_I460_ATTBASE 0xfe200000 |
Definition at line 23 of file i460-agp.c.
#define INTEL_I460_BAPBASE 0x98 |
Definition at line 20 of file i460-agp.c.
#define INTEL_I460_GATT_COHERENT (1UL << 25) |
Definition at line 25 of file i460-agp.c.
#define INTEL_I460_GATT_VALID (1UL << 24) |
Definition at line 24 of file i460-agp.c.
#define INTEL_I460_GXBCTL 0xa0 |
Definition at line 21 of file i460-agp.c.
Definition at line 55 of file i460-agp.c.
Definition at line 61 of file i460-agp.c.
Definition at line 56 of file i460-agp.c.
MODULE_AUTHOR | ( | "Chris Ahna <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | pci | , |
agp_intel_i460_pci_table | |||
) |
module_exit | ( | agp_intel_i460_cleanup | ) |
module_init | ( | agp_intel_i460_init | ) |
MODULE_LICENSE | ( | "GPL and additional rights" | ) |
unsigned long* alloced_map |
Definition at line 77 of file i460-agp.c.
u8 dynamic_apbase |
Definition at line 73 of file i460-agp.c.
void* gatt |
Definition at line 67 of file i460-agp.c.
struct agp_bridge_driver intel_i460_driver |
Definition at line 556 of file i460-agp.c.
u8 io_page_shift |
Definition at line 70 of file i460-agp.c.
struct { ... } lp_desc * lp_desc |
u64 paddr |
Definition at line 79 of file i460-agp.c.
Definition at line 80 of file i460-agp.c.
int refcount |
Definition at line 78 of file i460-agp.c.