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

Go to the source code of this file.

Macros

#define S3C_WDOGREG(x)   ((x) + S3C_VA_WATCHDOG)
 
#define S3C2410_WTCON   S3C_WDOGREG(0x00)
 
#define S3C2410_WTDAT   S3C_WDOGREG(0x04)
 
#define S3C2410_WTCNT   S3C_WDOGREG(0x08)
 
#define S3C2410_WTCON_RSTEN   (0x01)
 
#define S3C2410_WTCON_INTEN   (1<<2)
 
#define S3C2410_WTCON_ENABLE   (1<<5)
 
#define S3C2410_WTCON_DIV16   (0<<3)
 
#define S3C2410_WTCON_DIV32   (1<<3)
 
#define S3C2410_WTCON_DIV64   (2<<3)
 
#define S3C2410_WTCON_DIV128   (3<<3)
 
#define S3C2410_WTCON_PRESCALE(x)   ((x) << 8)
 
#define S3C2410_WTCON_PRESCALE_MASK   (0xff00)
 

Macro Definition Documentation

#define S3C2410_WTCNT   S3C_WDOGREG(0x08)

Definition at line 21 of file regs-watchdog.h.

#define S3C2410_WTCON   S3C_WDOGREG(0x00)

Definition at line 19 of file regs-watchdog.h.

#define S3C2410_WTCON_DIV128   (3<<3)

Definition at line 34 of file regs-watchdog.h.

#define S3C2410_WTCON_DIV16   (0<<3)

Definition at line 31 of file regs-watchdog.h.

#define S3C2410_WTCON_DIV32   (1<<3)

Definition at line 32 of file regs-watchdog.h.

#define S3C2410_WTCON_DIV64   (2<<3)

Definition at line 33 of file regs-watchdog.h.

#define S3C2410_WTCON_ENABLE   (1<<5)

Definition at line 29 of file regs-watchdog.h.

#define S3C2410_WTCON_INTEN   (1<<2)

Definition at line 28 of file regs-watchdog.h.

#define S3C2410_WTCON_PRESCALE (   x)    ((x) << 8)

Definition at line 36 of file regs-watchdog.h.

#define S3C2410_WTCON_PRESCALE_MASK   (0xff00)

Definition at line 37 of file regs-watchdog.h.

#define S3C2410_WTCON_RSTEN   (0x01)

Definition at line 27 of file regs-watchdog.h.

#define S3C2410_WTDAT   S3C_WDOGREG(0x04)

Definition at line 20 of file regs-watchdog.h.

#define S3C_WDOGREG (   x)    ((x) + S3C_VA_WATCHDOG)

Definition at line 17 of file regs-watchdog.h.