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

Go to the source code of this file.

Macros

#define TIMER_1_BASE   0x00
 
#define TIMER_2_BASE   0x20
 
#define TIMER_LOAD   0x00 /* ACVR rw */
 
#define TIMER_VALUE   0x04 /* ACVR ro */
 
#define TIMER_CTRL   0x08 /* ACVR rw */
 
#define TIMER_CTRL_ONESHOT   (1 << 0) /* CVR */
 
#define TIMER_CTRL_32BIT   (1 << 1) /* CVR */
 
#define TIMER_CTRL_DIV1   (0 << 2) /* ACVR */
 
#define TIMER_CTRL_DIV16   (1 << 2) /* ACVR */
 
#define TIMER_CTRL_DIV256   (2 << 2) /* ACVR */
 
#define TIMER_CTRL_IE   (1 << 5) /* VR */
 
#define TIMER_CTRL_PERIODIC   (1 << 6) /* ACVR */
 
#define TIMER_CTRL_ENABLE   (1 << 7) /* ACVR */
 
#define TIMER_INTCLR   0x0c /* ACVR wo */
 
#define TIMER_RIS   0x10 /* CVR ro */
 
#define TIMER_MIS   0x14 /* CVR ro */
 
#define TIMER_BGLOAD   0x18 /* CVR rw */
 

Macro Definition Documentation

#define TIMER_1_BASE   0x00

Definition at line 15 of file arm_timer.h.

#define TIMER_2_BASE   0x20

Definition at line 16 of file arm_timer.h.

#define TIMER_BGLOAD   0x18 /* CVR rw */

Definition at line 33 of file arm_timer.h.

#define TIMER_CTRL   0x08 /* ACVR rw */

Definition at line 20 of file arm_timer.h.

#define TIMER_CTRL_32BIT   (1 << 1) /* CVR */

Definition at line 22 of file arm_timer.h.

#define TIMER_CTRL_DIV1   (0 << 2) /* ACVR */

Definition at line 23 of file arm_timer.h.

#define TIMER_CTRL_DIV16   (1 << 2) /* ACVR */

Definition at line 24 of file arm_timer.h.

#define TIMER_CTRL_DIV256   (2 << 2) /* ACVR */

Definition at line 25 of file arm_timer.h.

#define TIMER_CTRL_ENABLE   (1 << 7) /* ACVR */

Definition at line 28 of file arm_timer.h.

#define TIMER_CTRL_IE   (1 << 5) /* VR */

Definition at line 26 of file arm_timer.h.

#define TIMER_CTRL_ONESHOT   (1 << 0) /* CVR */

Definition at line 21 of file arm_timer.h.

#define TIMER_CTRL_PERIODIC   (1 << 6) /* ACVR */

Definition at line 27 of file arm_timer.h.

#define TIMER_INTCLR   0x0c /* ACVR wo */

Definition at line 30 of file arm_timer.h.

#define TIMER_LOAD   0x00 /* ACVR rw */

Definition at line 18 of file arm_timer.h.

#define TIMER_MIS   0x14 /* CVR ro */

Definition at line 32 of file arm_timer.h.

#define TIMER_RIS   0x10 /* CVR ro */

Definition at line 31 of file arm_timer.h.

#define TIMER_VALUE   0x04 /* ACVR ro */

Definition at line 19 of file arm_timer.h.