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

Go to the source code of this file.

Macros

#define OMAP_WATCHDOG_REV   (0x00)
 
#define OMAP_WATCHDOG_SYS_CONFIG   (0x10)
 
#define OMAP_WATCHDOG_STATUS   (0x14)
 
#define OMAP_WATCHDOG_CNTRL   (0x24)
 
#define OMAP_WATCHDOG_CRR   (0x28)
 
#define OMAP_WATCHDOG_LDR   (0x2c)
 
#define OMAP_WATCHDOG_TGR   (0x30)
 
#define OMAP_WATCHDOG_WPS   (0x34)
 
#define OMAP_WATCHDOG_SPR   (0x48)
 
#define TIMER_MARGIN_MAX   (24 * 60 * 60) /* 1 day */
 
#define TIMER_MARGIN_DEFAULT   60 /* 60 secs */
 
#define TIMER_MARGIN_MIN   1
 
#define PTV   0 /* prescale */
 
#define GET_WLDR_VAL(secs)   (0xffffffff - ((secs) * (32768/(1<<PTV))) + 1)
 

Macro Definition Documentation

#define GET_WLDR_VAL (   secs)    (0xffffffff - ((secs) * (32768/(1<<PTV))) + 1)

Definition at line 52 of file omap_wdt.h.

#define OMAP_WATCHDOG_CNTRL   (0x24)

Definition at line 36 of file omap_wdt.h.

#define OMAP_WATCHDOG_CRR   (0x28)

Definition at line 37 of file omap_wdt.h.

#define OMAP_WATCHDOG_LDR   (0x2c)

Definition at line 38 of file omap_wdt.h.

#define OMAP_WATCHDOG_REV   (0x00)

Definition at line 33 of file omap_wdt.h.

#define OMAP_WATCHDOG_SPR   (0x48)

Definition at line 41 of file omap_wdt.h.

#define OMAP_WATCHDOG_STATUS   (0x14)

Definition at line 35 of file omap_wdt.h.

#define OMAP_WATCHDOG_SYS_CONFIG   (0x10)

Definition at line 34 of file omap_wdt.h.

#define OMAP_WATCHDOG_TGR   (0x30)

Definition at line 39 of file omap_wdt.h.

#define OMAP_WATCHDOG_WPS   (0x34)

Definition at line 40 of file omap_wdt.h.

#define PTV   0 /* prescale */

Definition at line 51 of file omap_wdt.h.

#define TIMER_MARGIN_DEFAULT   60 /* 60 secs */

Definition at line 48 of file omap_wdt.h.

#define TIMER_MARGIN_MAX   (24 * 60 * 60) /* 1 day */

Definition at line 47 of file omap_wdt.h.

#define TIMER_MARGIN_MIN   1

Definition at line 49 of file omap_wdt.h.