Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs
timex.h File Reference
#include <asm/timer-regs.h>
#include <unit/clock.h>
#include <asm/param.h>

Go to the source code of this file.

Macros

#define TMJCBR_MAX   0xffff
 
#define TMJCIRQ   TM1IRQ
 
#define TMJCICR   TM1ICR
 
#define MN10300_SRC_IOCLK   MN10300_IOCLK
 
#define IOCLK_PRESCALE   1
 
#define JC_TIMER_CLKSRC   TM0MD_SRC_IOCLK
 
#define TSC_TIMER_CLKSRC   TM4MD_SRC_IOCLK
 
#define MN10300_JCCLK   (MN10300_SRC_IOCLK / IOCLK_PRESCALE)
 
#define MN10300_TSCCLK   (MN10300_SRC_IOCLK / IOCLK_PRESCALE)
 
#define MN10300_JC_PER_HZ   ((MN10300_JCCLK + HZ / 2) / HZ)
 
#define MN10300_TSC_PER_HZ   ((MN10300_TSCCLK + HZ / 2) / HZ)
 
#define TMTSCBR_MAX   0xffffffff
 
#define TMTSCBC   TM45BC
 

Typedefs

typedef unsigned long cycles_t
 

Macro Definition Documentation

#define IOCLK_PRESCALE   1

Definition at line 35 of file timex.h.

#define JC_TIMER_CLKSRC   TM0MD_SRC_IOCLK

Definition at line 36 of file timex.h.

#define MN10300_JC_PER_HZ   ((MN10300_JCCLK + HZ / 2) / HZ)

Definition at line 53 of file timex.h.

#define MN10300_JCCLK   (MN10300_SRC_IOCLK / IOCLK_PRESCALE)

Definition at line 50 of file timex.h.

#define MN10300_SRC_IOCLK   MN10300_IOCLK

Definition at line 28 of file timex.h.

#define MN10300_TSC_PER_HZ   ((MN10300_TSCCLK + HZ / 2) / HZ)

Definition at line 54 of file timex.h.

#define MN10300_TSCCLK   (MN10300_SRC_IOCLK / IOCLK_PRESCALE)

Definition at line 51 of file timex.h.

#define TMJCBR_MAX   0xffff

Definition at line 22 of file timex.h.

#define TMJCICR   TM1ICR

Definition at line 24 of file timex.h.

#define TMJCIRQ   TM1IRQ

Definition at line 23 of file timex.h.

#define TMTSCBC   TM45BC

Definition at line 92 of file timex.h.

#define TMTSCBR_MAX   0xffffffff

Definition at line 91 of file timex.h.

#define TSC_TIMER_CLKSRC   TM4MD_SRC_IOCLK

Definition at line 37 of file timex.h.

Typedef Documentation

typedef unsigned long cycles_t

Definition at line 137 of file timex.h.