Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
timer_32.h File Reference
#include <linux/clocksource.h>
#include <linux/irqreturn.h>
#include <asm-generic/percpu.h>
#include <asm/cpu_type.h>

Go to the source code of this file.

Macros

#define SBUS_CLOCK_RATE   2000000 /* 2MHz */
 
#define TIMER_VALUE_SHIFT   9
 
#define TIMER_VALUE_MASK   0x3fffff
 
#define TIMER_LIMIT_BIT   (1 << 31) /* Bit 31 in Counter-Timer register */
 

Functions

irqreturn_t notrace timer_interrupt (int dummy, void *dev_id)
 

Variables

__volatile__ unsigned intmaster_l10_counter
 

Macro Definition Documentation

#define SBUS_CLOCK_RATE   2000000 /* 2MHz */

Definition at line 18 of file timer_32.h.

#define TIMER_LIMIT_BIT   (1 << 31) /* Bit 31 in Counter-Timer register */

Definition at line 21 of file timer_32.h.

#define TIMER_VALUE_MASK   0x3fffff

Definition at line 20 of file timer_32.h.

#define TIMER_VALUE_SHIFT   9

Definition at line 19 of file timer_32.h.

Function Documentation

irqreturn_t notrace timer_interrupt ( int  dummy,
void dev_id 
)

Definition at line 164 of file time.c.

Variable Documentation

__volatile__ unsigned int* master_l10_counter

Definition at line 86 of file time_32.c.