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

Go to the source code of this file.

Macros

#define at91_st_read(field)   __raw_readl(at91_st_base + field)
 
#define at91_st_write(field, value)   __raw_writel(value, at91_st_base + field);
 
#define AT91_ST_CR   0x00 /* Control Register */
 
#define AT91_ST_WDRST   (1 << 0) /* Watchdog Timer Restart */
 
#define AT91_ST_PIMR   0x04 /* Period Interval Mode Register */
 
#define AT91_ST_PIV   (0xffff << 0) /* Period Interval Value */
 
#define AT91_ST_WDMR   0x08 /* Watchdog Mode Register */
 
#define AT91_ST_WDV   (0xffff << 0) /* Watchdog Counter Value */
 
#define AT91_ST_RSTEN   (1 << 16) /* Reset Enable */
 
#define AT91_ST_EXTEN   (1 << 17) /* External Signal Assertion Enable */
 
#define AT91_ST_RTMR   0x0c /* Real-time Mode Register */
 
#define AT91_ST_RTPRES   (0xffff << 0) /* Real-time Prescalar Value */
 
#define AT91_ST_SR   0x10 /* Status Register */
 
#define AT91_ST_PITS   (1 << 0) /* Period Interval Timer Status */
 
#define AT91_ST_WDOVF   (1 << 1) /* Watchdog Overflow */
 
#define AT91_ST_RTTINC   (1 << 2) /* Real-time Timer Increment */
 
#define AT91_ST_ALMS   (1 << 3) /* Alarm Status */
 
#define AT91_ST_IER   0x14 /* Interrupt Enable Register */
 
#define AT91_ST_IDR   0x18 /* Interrupt Disable Register */
 
#define AT91_ST_IMR   0x1c /* Interrupt Mask Register */
 
#define AT91_ST_RTAR   0x20 /* Real-time Alarm Register */
 
#define AT91_ST_ALMV   (0xfffff << 0) /* Alarm Value */
 
#define AT91_ST_CRTR   0x24 /* Current Real-time Register */
 
#define AT91_ST_CRTV   (0xfffff << 0) /* Current Real-Time Value */
 

Variables

void __iomemat91_st_base
 

Macro Definition Documentation

#define AT91_ST_ALMS   (1 << 3) /* Alarm Status */

Definition at line 49 of file at91_st.h.

#define AT91_ST_ALMV   (0xfffff << 0) /* Alarm Value */

Definition at line 56 of file at91_st.h.

#define AT91_ST_CR   0x00 /* Control Register */

Definition at line 31 of file at91_st.h.

#define AT91_ST_CRTR   0x24 /* Current Real-time Register */

Definition at line 58 of file at91_st.h.

#define AT91_ST_CRTV   (0xfffff << 0) /* Current Real-Time Value */

Definition at line 59 of file at91_st.h.

#define AT91_ST_EXTEN   (1 << 17) /* External Signal Assertion Enable */

Definition at line 40 of file at91_st.h.

#define AT91_ST_IDR   0x18 /* Interrupt Disable Register */

Definition at line 52 of file at91_st.h.

#define AT91_ST_IER   0x14 /* Interrupt Enable Register */

Definition at line 51 of file at91_st.h.

#define AT91_ST_IMR   0x1c /* Interrupt Mask Register */

Definition at line 53 of file at91_st.h.

#define AT91_ST_PIMR   0x04 /* Period Interval Mode Register */

Definition at line 34 of file at91_st.h.

#define AT91_ST_PITS   (1 << 0) /* Period Interval Timer Status */

Definition at line 46 of file at91_st.h.

#define AT91_ST_PIV   (0xffff << 0) /* Period Interval Value */

Definition at line 35 of file at91_st.h.

#define at91_st_read (   field)    __raw_readl(at91_st_base + field)

Definition at line 22 of file at91_st.h.

#define AT91_ST_RSTEN   (1 << 16) /* Reset Enable */

Definition at line 39 of file at91_st.h.

#define AT91_ST_RTAR   0x20 /* Real-time Alarm Register */

Definition at line 55 of file at91_st.h.

#define AT91_ST_RTMR   0x0c /* Real-time Mode Register */

Definition at line 42 of file at91_st.h.

#define AT91_ST_RTPRES   (0xffff << 0) /* Real-time Prescalar Value */

Definition at line 43 of file at91_st.h.

#define AT91_ST_RTTINC   (1 << 2) /* Real-time Timer Increment */

Definition at line 48 of file at91_st.h.

#define AT91_ST_SR   0x10 /* Status Register */

Definition at line 45 of file at91_st.h.

#define AT91_ST_WDMR   0x08 /* Watchdog Mode Register */

Definition at line 37 of file at91_st.h.

#define AT91_ST_WDOVF   (1 << 1) /* Watchdog Overflow */

Definition at line 47 of file at91_st.h.

#define AT91_ST_WDRST   (1 << 0) /* Watchdog Timer Restart */

Definition at line 32 of file at91_st.h.

#define AT91_ST_WDV   (0xffff << 0) /* Watchdog Counter Value */

Definition at line 38 of file at91_st.h.

#define at91_st_write (   field,
  value 
)    __raw_writel(value, at91_st_base + field);

Definition at line 25 of file at91_st.h.

Variable Documentation

void __iomem* at91_st_base

Definition at line 179 of file at91rm9200_time.c.