#include <linux/clocksource.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/timex.h>
#include <linux/init.h>
#include <asm/pgtable.h>
#include <asm/io.h>
#include <asm/mach_timer.h>
Go to the source code of this file.
#define CYCLONE_CBAR_ADDR 0xFEB00CD0 /* base address ptr */ |
#define CYCLONE_MPCS_OFFSET 0x51A8 /* offset to select register */ |
#define CYCLONE_MPMC_OFFSET 0x51D0 /* offset to count register */ |
#define CYCLONE_PMCC_OFFSET 0x51A0 /* offset to control register */ |
#define CYCLONE_TIMER_FREQ 99780000 /* 100Mhz, but not really */ |
arch_initcall |
( |
init_cyclone_clocksource |
| ) |
|