Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
amd_nb.c File Reference
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <asm/amd_nb.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

 EXPORT_SYMBOL (amd_nb_misc_ids)
 
 EXPORT_SYMBOL (amd_northbridges)
 
int amd_cache_northbridges (void)
 
 EXPORT_SYMBOL_GPL (amd_cache_northbridges)
 
bool __init early_is_amd_nb (u32 device)
 
struct resourceamd_get_mmconfig_range (struct resource *res)
 
int amd_get_subcaches (int cpu)
 
int amd_set_subcaches (int cpu, int mask)
 
void amd_flush_garts (void)
 
 EXPORT_SYMBOL_GPL (amd_flush_garts)
 
 fs_initcall (init_amd_nbs)
 

Variables

struct pci_device_id amd_nb_misc_ids []
 
struct amd_nb_bus_dev_range
amd_nb_bus_dev_ranges[] 
__initconst
 
struct amd_northbridge_info amd_northbridges
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 6 of file amd_nb.c.

Function Documentation

int amd_cache_northbridges ( void  )

Definition at line 53 of file amd_nb.c.

void amd_flush_garts ( void  )

Definition at line 232 of file amd_nb.c.

struct resource* amd_get_mmconfig_range ( struct resource res)
read

Definition at line 126 of file amd_nb.c.

int amd_get_subcaches ( int  cpu)

Definition at line 157 of file amd_nb.c.

int amd_set_subcaches ( int  cpu,
int  mask 
)

Definition at line 172 of file amd_nb.c.

bool __init early_is_amd_nb ( u32  device)

Definition at line 114 of file amd_nb.c.

EXPORT_SYMBOL ( amd_nb_misc_ids  )
EXPORT_SYMBOL ( amd_northbridges  )
EXPORT_SYMBOL_GPL ( amd_cache_northbridges  )
EXPORT_SYMBOL_GPL ( amd_flush_garts  )
fs_initcall ( init_amd_nbs  )

Variable Documentation

Initial value:
= {
{ 0x00, 0x18, 0x20 },
{ 0xff, 0x00, 0x20 },
{ 0xfe, 0x00, 0x20 },
{ }
}

Definition at line 32 of file amd_nb.c.

struct pci_device_id amd_nb_misc_ids[]
struct amd_northbridge_info amd_northbridges

Definition at line 39 of file amd_nb.c.