Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
kn02xa.h File Reference
#include <asm/dec/ioasic_addrs.h>
#include <linux/interrupt.h>

Go to the source code of this file.

Macros

#define KN02XA_SLOT_BASE   0x1c000000
 
#define KN02XA_MER   0x0c400000 /* memory error register */
 
#define KN02XA_MSR   0x0c800000 /* memory size register */
 
#define KN02XA_MEM_CONF   0x0e000000 /* write timeout config */
 
#define KN02XA_EAR   0x0e000004 /* error address register */
 
#define KN02XA_BOOT0   0x0e000008 /* boot 0 register */
 
#define KN02XA_MEM_INTR   0x0e00000c /* write err IRQ stat & ack */
 
#define KN02XA_MER_RES_28   (0xf<<28) /* unused */
 
#define KN02XA_MER_RES_17   (0x3ff<<17) /* unused */
 
#define KN02XA_MER_PAGERR   (1<<16) /* 2k page boundary error */
 
#define KN02XA_MER_TRANSERR   (1<<15) /* transfer length error */
 
#define KN02XA_MER_PARDIS   (1<<14) /* parity error disable */
 
#define KN02XA_MER_SIZE   (1<<13) /* r/o mirror of MSR_SIZE */
 
#define KN02XA_MER_RES_12   (1<<12) /* unused */
 
#define KN02XA_MER_BYTERR   (0xf<<8) /* byte lane error bitmask: */
 
#define KN02XA_MER_BYTERR_3   (0x8<<8) /* byte lane #3 */
 
#define KN02XA_MER_BYTERR_2   (0x4<<8) /* byte lane #2 */
 
#define KN02XA_MER_BYTERR_1   (0x2<<8) /* byte lane #1 */
 
#define KN02XA_MER_BYTERR_0   (0x1<<8) /* byte lane #0 */
 
#define KN02XA_MER_RES_0   (0xff<<0) /* unused */
 
#define KN02XA_MSR_RES_27   (0x1f<<27) /* unused */
 
#define KN02XA_MSR_RES_14   (0x7<<14) /* unused */
 
#define KN02XA_MSR_SIZE   (1<<13) /* 16M/4M stride */
 
#define KN02XA_MSR_RES_0   (0x1fff<<0) /* unused */
 
#define KN02XA_EAR_RES_29   (0x7<<29) /* unused */
 
#define KN02XA_EAR_ADDRESS   (0x7ffffff<<2) /* address involved */
 
#define KN02XA_EAR_RES_0   (0x3<<0) /* unused */
 

Functions

void dec_kn02xa_be_init (void)
 
int dec_kn02xa_be_handler (struct pt_regs *regs, int is_fixup)
 
irqreturn_t dec_kn02xa_be_interrupt (int irq, void *dev_id)
 

Macro Definition Documentation

#define KN02XA_BOOT0   0x0e000008 /* boot 0 register */

Definition at line 35 of file kn02xa.h.

#define KN02XA_EAR   0x0e000004 /* error address register */

Definition at line 34 of file kn02xa.h.

#define KN02XA_EAR_ADDRESS   (0x7ffffff<<2) /* address involved */

Definition at line 69 of file kn02xa.h.

#define KN02XA_EAR_RES_0   (0x3<<0) /* unused */

Definition at line 70 of file kn02xa.h.

#define KN02XA_EAR_RES_29   (0x7<<29) /* unused */

Definition at line 68 of file kn02xa.h.

#define KN02XA_MEM_CONF   0x0e000000 /* write timeout config */

Definition at line 33 of file kn02xa.h.

#define KN02XA_MEM_INTR   0x0e00000c /* write err IRQ stat & ack */

Definition at line 36 of file kn02xa.h.

#define KN02XA_MER   0x0c400000 /* memory error register */

Definition at line 27 of file kn02xa.h.

#define KN02XA_MER_BYTERR   (0xf<<8) /* byte lane error bitmask: */

Definition at line 49 of file kn02xa.h.

#define KN02XA_MER_BYTERR_0   (0x1<<8) /* byte lane #0 */

Definition at line 53 of file kn02xa.h.

#define KN02XA_MER_BYTERR_1   (0x2<<8) /* byte lane #1 */

Definition at line 52 of file kn02xa.h.

#define KN02XA_MER_BYTERR_2   (0x4<<8) /* byte lane #2 */

Definition at line 51 of file kn02xa.h.

#define KN02XA_MER_BYTERR_3   (0x8<<8) /* byte lane #3 */

Definition at line 50 of file kn02xa.h.

#define KN02XA_MER_PAGERR   (1<<16) /* 2k page boundary error */

Definition at line 44 of file kn02xa.h.

#define KN02XA_MER_PARDIS   (1<<14) /* parity error disable */

Definition at line 46 of file kn02xa.h.

#define KN02XA_MER_RES_0   (0xff<<0) /* unused */

Definition at line 54 of file kn02xa.h.

#define KN02XA_MER_RES_12   (1<<12) /* unused */

Definition at line 48 of file kn02xa.h.

#define KN02XA_MER_RES_17   (0x3ff<<17) /* unused */

Definition at line 43 of file kn02xa.h.

#define KN02XA_MER_RES_28   (0xf<<28) /* unused */

Definition at line 42 of file kn02xa.h.

#define KN02XA_MER_SIZE   (1<<13) /* r/o mirror of MSR_SIZE */

Definition at line 47 of file kn02xa.h.

#define KN02XA_MER_TRANSERR   (1<<15) /* transfer length error */

Definition at line 45 of file kn02xa.h.

#define KN02XA_MSR   0x0c800000 /* memory size register */

Definition at line 28 of file kn02xa.h.

#define KN02XA_MSR_RES_0   (0x1fff<<0) /* unused */

Definition at line 63 of file kn02xa.h.

#define KN02XA_MSR_RES_14   (0x7<<14) /* unused */

Definition at line 61 of file kn02xa.h.

#define KN02XA_MSR_RES_27   (0x1f<<27) /* unused */

Definition at line 60 of file kn02xa.h.

#define KN02XA_MSR_SIZE   (1<<13) /* 16M/4M stride */

Definition at line 62 of file kn02xa.h.

#define KN02XA_SLOT_BASE   0x1c000000

Definition at line 22 of file kn02xa.h.

Function Documentation

int dec_kn02xa_be_handler ( struct pt_regs regs,
int  is_fixup 
)

Definition at line 101 of file kn02xa-berr.c.

void dec_kn02xa_be_init ( void  )

Definition at line 127 of file kn02xa-berr.c.

irqreturn_t dec_kn02xa_be_interrupt ( int  irq,
void dev_id 
)

Definition at line 106 of file kn02xa-berr.c.