Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
amd8131_edac.h File Reference

Go to the source code of this file.

Data Structures

struct  amd8131_dev_info
 
struct  amd8131_info
 

Macros

#define DEVFN_PCIX_BRIDGE_NORTH_A   8
 
#define DEVFN_PCIX_BRIDGE_NORTH_B   16
 
#define DEVFN_PCIX_BRIDGE_SOUTH_A   24
 
#define DEVFN_PCIX_BRIDGE_SOUTH_B   32
 
#define REG_STS_CMD   0x04
 
#define REG_INT_CTLR   0x3c
 
#define REG_MEM_LIM   0x1c
 
#define REG_LNK_CTRL_A   0xc4
 
#define REG_LNK_CTRL_B   0xc8
 

Enumerations

enum  sts_cmd_bits { STS_CMD_SSE = BIT(30), STS_CMD_SERREN = BIT(8) }
 
enum  int_ctlr_bits { INT_CTLR_DTSE = BIT(27), INT_CTLR_DTS = BIT(26), INT_CTLR_SERR = BIT(17), INT_CTLR_PERR = BIT(16) }
 
enum  mem_limit_bits {
  MEM_LIMIT_DPE = BIT(31), MEM_LIMIT_RSE = BIT(30), MEM_LIMIT_RMA = BIT(29), MEM_LIMIT_RTA = BIT(28),
  MEM_LIMIT_STA = BIT(27), MEM_LIMIT_MDPE = BIT(24), MEM_LIMIT_CLEAR_MASK, MEM_LIMIT_DPE = BIT(31),
  MEM_LIMIT_RSE = BIT(30), MEM_LIMIT_RMA = BIT(29), MEM_LIMIT_RTA = BIT(28), MEM_LIMIT_STA = BIT(27),
  MEM_LIMIT_MDPE = BIT(24), MEM_LIMIT_MASK
}
 
enum  lnk_ctrl_bits { LNK_CTRL_CRCERR_A = BIT(9), LNK_CTRL_CRCERR_B = BIT(8), LNK_CTRL_CRCFEN = BIT(1) }
 
enum  pcix_bridge_inst {
  NORTH_A = 0, NORTH_B = 1, SOUTH_A = 2, SOUTH_B = 3,
  NO_BRIDGE = 4
}
 

Macro Definition Documentation

#define DEVFN_PCIX_BRIDGE_NORTH_A   8

Definition at line 27 of file amd8131_edac.h.

#define DEVFN_PCIX_BRIDGE_NORTH_B   16

Definition at line 28 of file amd8131_edac.h.

#define DEVFN_PCIX_BRIDGE_SOUTH_A   24

Definition at line 29 of file amd8131_edac.h.

#define DEVFN_PCIX_BRIDGE_SOUTH_B   32

Definition at line 30 of file amd8131_edac.h.

#define REG_INT_CTLR   0x3c

Definition at line 44 of file amd8131_edac.h.

#define REG_LNK_CTRL_A   0xc4

Definition at line 70 of file amd8131_edac.h.

#define REG_LNK_CTRL_B   0xc8

Definition at line 75 of file amd8131_edac.h.

#define REG_MEM_LIM   0x1c

Definition at line 55 of file amd8131_edac.h.

#define REG_STS_CMD   0x04

Definition at line 35 of file amd8131_edac.h.

Enumeration Type Documentation

Enumerator:
INT_CTLR_DTSE 
INT_CTLR_DTS 
INT_CTLR_SERR 
INT_CTLR_PERR 

Definition at line 45 of file amd8131_edac.h.

Enumerator:
LNK_CTRL_CRCERR_A 
LNK_CTRL_CRCERR_B 
LNK_CTRL_CRCFEN 

Definition at line 77 of file amd8131_edac.h.

Enumerator:
MEM_LIMIT_DPE 
MEM_LIMIT_RSE 
MEM_LIMIT_RMA 
MEM_LIMIT_RTA 
MEM_LIMIT_STA 
MEM_LIMIT_MDPE 
MEM_LIMIT_CLEAR_MASK 
MEM_LIMIT_DPE 
MEM_LIMIT_RSE 
MEM_LIMIT_RMA 
MEM_LIMIT_RTA 
MEM_LIMIT_STA 
MEM_LIMIT_MDPE 
MEM_LIMIT_MASK 

Definition at line 56 of file amd8131_edac.h.

Enumerator:
NORTH_A 
NORTH_B 
SOUTH_A 
SOUTH_B 
NO_BRIDGE 

Definition at line 83 of file amd8131_edac.h.

Enumerator:
STS_CMD_SSE 
STS_CMD_SERREN 

Definition at line 36 of file amd8131_edac.h.