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

Go to the source code of this file.

Macros

#define TCO_RLD(base)   ((base) + 0x00) /* TCO Timer Reload and Current Value */
 
#define TCO_TMR(base)   ((base) + 0x01) /* TCO Timer Initial Value */
 
#define TCO_STS(base)   ((base) + 0x04) /* TCO Status Register */
 
#define TCO_STS_BOOT_STS   (1 << 9)
 
#define TCO_STS_TCO_INT_STS   (1 << 1)
 
#define TCO_STS_TCO2TO_STS   (1 << 10)
 
#define TCO_STS_RESET
 
#define TCO_CNT(base)   ((base) + 0x08) /* TCO Control Register */
 
#define TCO_CNT_TCOHALT   (1 << 12)
 
#define MCP51_SMBUS_SETUP_B   0xe8
 
#define MCP51_SMBUS_SETUP_B_TCO_REBOOT   (1 << 25)
 
#define MCP51_SMI_EN(base)   ((base) - 0x40 + 0x04)
 
#define MCP51_SMI_EN_TCO   ((1 << 4) | (1 << 5))
 

Macro Definition Documentation

#define MCP51_SMBUS_SETUP_B   0xe8

Definition at line 56 of file nv_tco.h.

#define MCP51_SMBUS_SETUP_B_TCO_REBOOT   (1 << 25)

Definition at line 57 of file nv_tco.h.

#define MCP51_SMI_EN (   base)    ((base) - 0x40 + 0x04)

Definition at line 63 of file nv_tco.h.

#define MCP51_SMI_EN_TCO   ((1 << 4) | (1 << 5))

Definition at line 64 of file nv_tco.h.

#define TCO_CNT (   base)    ((base) + 0x08) /* TCO Control Register */

Definition at line 53 of file nv_tco.h.

#define TCO_CNT_TCOHALT   (1 << 12)

Definition at line 54 of file nv_tco.h.

#define TCO_RLD (   base)    ((base) + 0x00) /* TCO Timer Reload and Current Value */

Definition at line 34 of file nv_tco.h.

#define TCO_STS (   base)    ((base) + 0x04) /* TCO Status Register */

Definition at line 37 of file nv_tco.h.

#define TCO_STS_BOOT_STS   (1 << 9)

Definition at line 43 of file nv_tco.h.

#define TCO_STS_RESET
Value:
TCO_STS_TCO_INT_STS)

Definition at line 50 of file nv_tco.h.

#define TCO_STS_TCO2TO_STS   (1 << 10)

Definition at line 49 of file nv_tco.h.

#define TCO_STS_TCO_INT_STS   (1 << 1)

Definition at line 48 of file nv_tco.h.

#define TCO_TMR (   base)    ((base) + 0x01) /* TCO Timer Initial Value */

Definition at line 35 of file nv_tco.h.