Linux Kernel
3.7.1
|
#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 |
#define MN10300_JC_PER_HZ ((MN10300_JCCLK + HZ / 2) / HZ) |
#define MN10300_JCCLK (MN10300_SRC_IOCLK / IOCLK_PRESCALE) |
#define MN10300_SRC_IOCLK MN10300_IOCLK |
#define MN10300_TSC_PER_HZ ((MN10300_TSCCLK + HZ / 2) / HZ) |
#define MN10300_TSCCLK (MN10300_SRC_IOCLK / IOCLK_PRESCALE) |