#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/leds.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <asm/mach-types.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
#include <mach/map.h>
#include <mach/regs-timer.h>
#include "nuc9xx.h"
Go to the source code of this file.
#define COUNTEN (0x01 << 30) |
#define INTEN (0x01 << 29) |
#define ONESHOT (0x00 << 27) |
#define PERIOD (0x01 << 27) |
#define PRESCALE 0x63 /* Divider = prescale + 1 */ |
#define TICKS_PER_SEC 100 |
Initial value:= {
.init = nuc900_timer_init,
}
Definition at line 176 of file time.c.