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

Go to the source code of this file.

Macros

#define KN0X_EAR_VALID   (1<<31) /* error data valid, bus IRQ */
 
#define KN0X_EAR_CPU   (1<<30) /* CPU/DMA transaction */
 
#define KN0X_EAR_WRITE   (1<<29) /* write/read transaction */
 
#define KN0X_EAR_ECCERR   (1<<28) /* ECC/timeout or overrun */
 
#define KN0X_EAR_RES_27   (1<<27) /* unused */
 
#define KN0X_EAR_ADDRESS   (0x7ffffff<<0) /* address involved */
 
#define KN0X_ESR_VLDHI   (1<<31) /* error data valid hi word */
 
#define KN0X_ESR_CHKHI   (0x7f<<24) /* check bits read from mem */
 
#define KN0X_ESR_SNGHI   (1<<23) /* single/double bit error */
 
#define KN0X_ESR_SYNHI   (0x7f<<16) /* syndrome from ECC logic */
 
#define KN0X_ESR_VLDLO   (1<<15) /* error data valid lo word */
 
#define KN0X_ESR_CHKLO   (0x7f<<8) /* check bits read from mem */
 
#define KN0X_ESR_SNGLO   (1<<7) /* single/double bit error */
 
#define KN0X_ESR_SYNLO   (0x7f<<0) /* syndrome from ECC logic */
 

Functions

void dec_ecc_be_init (void)
 
int dec_ecc_be_handler (struct pt_regs *regs, int is_fixup)
 
irqreturn_t dec_ecc_be_interrupt (int irq, void *dev_id)
 

Macro Definition Documentation

#define KN0X_EAR_ADDRESS   (0x7ffffff<<0) /* address involved */

Definition at line 27 of file ecc.h.

#define KN0X_EAR_CPU   (1<<30) /* CPU/DMA transaction */

Definition at line 23 of file ecc.h.

#define KN0X_EAR_ECCERR   (1<<28) /* ECC/timeout or overrun */

Definition at line 25 of file ecc.h.

#define KN0X_EAR_RES_27   (1<<27) /* unused */

Definition at line 26 of file ecc.h.

#define KN0X_EAR_VALID   (1<<31) /* error data valid, bus IRQ */

Definition at line 22 of file ecc.h.

#define KN0X_EAR_WRITE   (1<<29) /* write/read transaction */

Definition at line 24 of file ecc.h.

#define KN0X_ESR_CHKHI   (0x7f<<24) /* check bits read from mem */

Definition at line 35 of file ecc.h.

#define KN0X_ESR_CHKLO   (0x7f<<8) /* check bits read from mem */

Definition at line 39 of file ecc.h.

#define KN0X_ESR_SNGHI   (1<<23) /* single/double bit error */

Definition at line 36 of file ecc.h.

#define KN0X_ESR_SNGLO   (1<<7) /* single/double bit error */

Definition at line 40 of file ecc.h.

#define KN0X_ESR_SYNHI   (0x7f<<16) /* syndrome from ECC logic */

Definition at line 37 of file ecc.h.

#define KN0X_ESR_SYNLO   (0x7f<<0) /* syndrome from ECC logic */

Definition at line 41 of file ecc.h.

#define KN0X_ESR_VLDHI   (1<<31) /* error data valid hi word */

Definition at line 34 of file ecc.h.

#define KN0X_ESR_VLDLO   (1<<15) /* error data valid lo word */

Definition at line 38 of file ecc.h.

Function Documentation

int dec_ecc_be_handler ( struct pt_regs regs,
int  is_fixup 
)

Definition at line 196 of file ecc-berr.c.

void dec_ecc_be_init ( void  )

Definition at line 268 of file ecc-berr.c.

irqreturn_t dec_ecc_be_interrupt ( int  irq,
void dev_id 
)

Definition at line 201 of file ecc-berr.c.