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

Go to the source code of this file.

Data Structures

struct  mv64x60_mc_pdata
 
struct  mv64x60_cpu_pdata
 
struct  mv64x60_sram_pdata
 

Macros

#define MV64x60_REVISION   " Ver: 2.0.0"
 
#define EDAC_MOD_STR   "MV64x60_edac"
 
#define mv64x60_printk(level, fmt, arg...)   edac_printk(level, "MV64x60", fmt, ##arg)
 
#define mv64x60_mc_printk(mci, level, fmt, arg...)   edac_mc_chipset_printk(mci, level, "MV64x60", fmt, ##arg)
 
#define MV64x60_CPU_ERR_ADDR_LO   0x00 /* 0x0070 */
 
#define MV64x60_CPU_ERR_ADDR_HI   0x08 /* 0x0078 */
 
#define MV64x60_CPU_ERR_DATA_LO   0x00 /* 0x0128 */
 
#define MV64x60_CPU_ERR_DATA_HI   0x08 /* 0x0130 */
 
#define MV64x60_CPU_ERR_PARITY   0x10 /* 0x0138 */
 
#define MV64x60_CPU_ERR_CAUSE   0x18 /* 0x0140 */
 
#define MV64x60_CPU_ERR_MASK   0x20 /* 0x0148 */
 
#define MV64x60_CPU_CAUSE_MASK   0x07ffffff
 
#define MV64X60_SRAM_ERR_CAUSE   0x08 /* 0x0388 */
 
#define MV64X60_SRAM_ERR_ADDR_LO   0x10 /* 0x0390 */
 
#define MV64X60_SRAM_ERR_ADDR_HI   0x78 /* 0x03f8 */
 
#define MV64X60_SRAM_ERR_DATA_LO   0x18 /* 0x0398 */
 
#define MV64X60_SRAM_ERR_DATA_HI   0x20 /* 0x03a0 */
 
#define MV64X60_SRAM_ERR_PARITY   0x28 /* 0x03a8 */
 
#define MV64X60_SDRAM_CONFIG   0x00 /* 0x1400 */
 
#define MV64X60_SDRAM_ERR_DATA_HI   0x40 /* 0x1440 */
 
#define MV64X60_SDRAM_ERR_DATA_LO   0x44 /* 0x1444 */
 
#define MV64X60_SDRAM_ERR_ECC_RCVD   0x48 /* 0x1448 */
 
#define MV64X60_SDRAM_ERR_ECC_CALC   0x4c /* 0x144c */
 
#define MV64X60_SDRAM_ERR_ADDR   0x50 /* 0x1450 */
 
#define MV64X60_SDRAM_ERR_ECC_CNTL   0x54 /* 0x1454 */
 
#define MV64X60_SDRAM_ERR_ECC_ERR_CNT   0x58 /* 0x1458 */
 
#define MV64X60_SDRAM_REGISTERED   0x20000
 
#define MV64X60_SDRAM_ECC   0x40000
 

Macro Definition Documentation

#define EDAC_MOD_STR   "MV64x60_edac"

Definition at line 16 of file mv64x60_edac.h.

#define MV64x60_CPU_CAUSE_MASK   0x07ffffff

Definition at line 33 of file mv64x60_edac.h.

#define MV64x60_CPU_ERR_ADDR_HI   0x08 /* 0x0078 */

Definition at line 26 of file mv64x60_edac.h.

#define MV64x60_CPU_ERR_ADDR_LO   0x00 /* 0x0070 */

Definition at line 25 of file mv64x60_edac.h.

#define MV64x60_CPU_ERR_CAUSE   0x18 /* 0x0140 */

Definition at line 30 of file mv64x60_edac.h.

#define MV64x60_CPU_ERR_DATA_HI   0x08 /* 0x0130 */

Definition at line 28 of file mv64x60_edac.h.

#define MV64x60_CPU_ERR_DATA_LO   0x00 /* 0x0128 */

Definition at line 27 of file mv64x60_edac.h.

#define MV64x60_CPU_ERR_MASK   0x20 /* 0x0148 */

Definition at line 31 of file mv64x60_edac.h.

#define MV64x60_CPU_ERR_PARITY   0x10 /* 0x0138 */

Definition at line 29 of file mv64x60_edac.h.

#define mv64x60_mc_printk (   mci,
  level,
  fmt,
  arg... 
)    edac_mc_chipset_printk(mci, level, "MV64x60", fmt, ##arg)

Definition at line 21 of file mv64x60_edac.h.

#define mv64x60_printk (   level,
  fmt,
  arg... 
)    edac_printk(level, "MV64x60", fmt, ##arg)

Definition at line 18 of file mv64x60_edac.h.

#define MV64x60_REVISION   " Ver: 2.0.0"

Definition at line 15 of file mv64x60_edac.h.

#define MV64X60_SDRAM_CONFIG   0x00 /* 0x1400 */

Definition at line 44 of file mv64x60_edac.h.

#define MV64X60_SDRAM_ECC   0x40000

Definition at line 54 of file mv64x60_edac.h.

#define MV64X60_SDRAM_ERR_ADDR   0x50 /* 0x1450 */

Definition at line 49 of file mv64x60_edac.h.

#define MV64X60_SDRAM_ERR_DATA_HI   0x40 /* 0x1440 */

Definition at line 45 of file mv64x60_edac.h.

#define MV64X60_SDRAM_ERR_DATA_LO   0x44 /* 0x1444 */

Definition at line 46 of file mv64x60_edac.h.

#define MV64X60_SDRAM_ERR_ECC_CALC   0x4c /* 0x144c */

Definition at line 48 of file mv64x60_edac.h.

#define MV64X60_SDRAM_ERR_ECC_CNTL   0x54 /* 0x1454 */

Definition at line 50 of file mv64x60_edac.h.

#define MV64X60_SDRAM_ERR_ECC_ERR_CNT   0x58 /* 0x1458 */

Definition at line 51 of file mv64x60_edac.h.

#define MV64X60_SDRAM_ERR_ECC_RCVD   0x48 /* 0x1448 */

Definition at line 47 of file mv64x60_edac.h.

#define MV64X60_SDRAM_REGISTERED   0x20000

Definition at line 53 of file mv64x60_edac.h.

#define MV64X60_SRAM_ERR_ADDR_HI   0x78 /* 0x03f8 */

Definition at line 38 of file mv64x60_edac.h.

#define MV64X60_SRAM_ERR_ADDR_LO   0x10 /* 0x0390 */

Definition at line 37 of file mv64x60_edac.h.

#define MV64X60_SRAM_ERR_CAUSE   0x08 /* 0x0388 */

Definition at line 36 of file mv64x60_edac.h.

#define MV64X60_SRAM_ERR_DATA_HI   0x20 /* 0x03a0 */

Definition at line 40 of file mv64x60_edac.h.

#define MV64X60_SRAM_ERR_DATA_LO   0x18 /* 0x0398 */

Definition at line 39 of file mv64x60_edac.h.

#define MV64X60_SRAM_ERR_PARITY   0x28 /* 0x03a8 */

Definition at line 41 of file mv64x60_edac.h.