Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
amd_nb.h File Reference
#include <linux/ioport.h>
#include <linux/pci.h>

Go to the source code of this file.

Data Structures

struct  amd_nb_bus_dev_range
 
struct  amd_l3_cache
 
struct  threshold_block
 
struct  threshold_bank
 
struct  amd_northbridge
 
struct  amd_northbridge_info
 

Macros

#define AMD_NB_GART   BIT(0)
 
#define AMD_NB_L3_INDEX_DISABLE   BIT(1)
 
#define AMD_NB_L3_PARTITIONING   BIT(2)
 
#define amd_nb_num(x)   0
 
#define amd_nb_has_feature(x)   false
 
#define node_to_amd_nb(x)   NULL
 

Functions

bool early_is_amd_nb (u32 value)
 
struct resourceamd_get_mmconfig_range (struct resource *res)
 
int amd_cache_northbridges (void)
 
void amd_flush_garts (void)
 
int amd_numa_init (void)
 
int amd_get_subcaches (int)
 
int amd_set_subcaches (int, int)
 

Variables

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

Macro Definition Documentation

#define AMD_NB_GART   BIT(0)

Definition at line 63 of file amd_nb.h.

#define amd_nb_has_feature (   x)    false

Definition at line 87 of file amd_nb.h.

#define AMD_NB_L3_INDEX_DISABLE   BIT(1)

Definition at line 64 of file amd_nb.h.

#define AMD_NB_L3_PARTITIONING   BIT(2)

Definition at line 65 of file amd_nb.h.

#define amd_nb_num (   x)    0

Definition at line 86 of file amd_nb.h.

#define node_to_amd_nb (   x)    NULL

Definition at line 88 of file amd_nb.h.

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  )

Definition at line 157 of file amd_nb.c.

int amd_numa_init ( void  )

Definition at line 71 of file amdtopology.c.

int amd_set_subcaches ( int  ,
int   
)

Definition at line 172 of file amd_nb.c.

bool early_is_amd_nb ( u32  value)

Definition at line 114 of file amd_nb.c.

Variable Documentation

struct amd_nb_bus_dev_range amd_nb_bus_dev_ranges[]
struct pci_device_id amd_nb_misc_ids[]

Definition at line 18 of file amd_nb.c.

struct amd_northbridge_info amd_northbridges

Definition at line 39 of file amd_nb.c.