Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
regs-timers.h File Reference
#include <mach/addr-map.h>

Go to the source code of this file.

Macros

#define TIMERS1_VIRT_BASE   (APB_VIRT_BASE + 0x14000)
 
#define TIMERS2_VIRT_BASE   (APB_VIRT_BASE + 0x16000)
 
#define TMR_CCR   (0x0000)
 
#define TMR_TN_MM(n, m)   (0x0004 + ((n) << 3) + (((n) + (m)) << 2))
 
#define TMR_CR(n)   (0x0028 + ((n) << 2))
 
#define TMR_SR(n)   (0x0034 + ((n) << 2))
 
#define TMR_IER(n)   (0x0040 + ((n) << 2))
 
#define TMR_PLVR(n)   (0x004c + ((n) << 2))
 
#define TMR_PLCR(n)   (0x0058 + ((n) << 2))
 
#define TMR_WMER   (0x0064)
 
#define TMR_WMR   (0x0068)
 
#define TMR_WVR   (0x006c)
 
#define TMR_WSR   (0x0070)
 
#define TMR_ICR(n)   (0x0074 + ((n) << 2))
 
#define TMR_WICR   (0x0080)
 
#define TMR_CER   (0x0084)
 
#define TMR_CMR   (0x0088)
 
#define TMR_ILR(n)   (0x008c + ((n) << 2))
 
#define TMR_WCR   (0x0098)
 
#define TMR_WFAR   (0x009c)
 
#define TMR_WSAR   (0x00A0)
 
#define TMR_CVWR(n)   (0x00A4 + ((n) << 2))
 
#define TMR_CCR_CS_0(x)   (((x) & 0x3) << 0)
 
#define TMR_CCR_CS_1(x)   (((x) & 0x7) << 2)
 
#define TMR_CCR_CS_2(x)   (((x) & 0x3) << 5)
 

Macro Definition Documentation

#define TIMERS1_VIRT_BASE   (APB_VIRT_BASE + 0x14000)

Definition at line 16 of file regs-timers.h.

#define TIMERS2_VIRT_BASE   (APB_VIRT_BASE + 0x16000)

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

#define TMR_CCR   (0x0000)

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

#define TMR_CCR_CS_0 (   x)    (((x) & 0x3) << 0)

Definition at line 40 of file regs-timers.h.

#define TMR_CCR_CS_1 (   x)    (((x) & 0x7) << 2)

Definition at line 41 of file regs-timers.h.

#define TMR_CCR_CS_2 (   x)    (((x) & 0x3) << 5)

Definition at line 42 of file regs-timers.h.

#define TMR_CER   (0x0084)

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

#define TMR_CMR   (0x0088)

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

#define TMR_CR (   n)    (0x0028 + ((n) << 2))

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

#define TMR_CVWR (   n)    (0x00A4 + ((n) << 2))

Definition at line 38 of file regs-timers.h.

#define TMR_ICR (   n)    (0x0074 + ((n) << 2))

Definition at line 30 of file regs-timers.h.

#define TMR_IER (   n)    (0x0040 + ((n) << 2))

Definition at line 23 of file regs-timers.h.

#define TMR_ILR (   n)    (0x008c + ((n) << 2))

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

#define TMR_PLCR (   n)    (0x0058 + ((n) << 2))

Definition at line 25 of file regs-timers.h.

#define TMR_PLVR (   n)    (0x004c + ((n) << 2))

Definition at line 24 of file regs-timers.h.

#define TMR_SR (   n)    (0x0034 + ((n) << 2))

Definition at line 22 of file regs-timers.h.

#define TMR_TN_MM (   n,
  m 
)    (0x0004 + ((n) << 3) + (((n) + (m)) << 2))

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

#define TMR_WCR   (0x0098)

Definition at line 35 of file regs-timers.h.

#define TMR_WFAR   (0x009c)

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

#define TMR_WICR   (0x0080)

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

#define TMR_WMER   (0x0064)

Definition at line 26 of file regs-timers.h.

#define TMR_WMR   (0x0068)

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

#define TMR_WSAR   (0x00A0)

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

#define TMR_WSR   (0x0070)

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

#define TMR_WVR   (0x006c)

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