#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/param.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/clockchips.h>
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/coldfire.h>
#include <asm/mcfpit.h>
#include <asm/mcfsim.h>
Go to the source code of this file.
#define FREQ ((MCF_CLK / 2) / 64) |
Definition at line 33 of file pit.c.
#define PIT_CYCLES_PER_JIFFY (FREQ / HZ) |
Definition at line 35 of file pit.c.
Definition at line 34 of file pit.c.
struct clock_event_device cf_pit_clockevent |
Initial value:= {
.name = "pit",
.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT,
.set_mode = init_cf_pit_timer,
.set_next_event = cf_pit_next_event,
.shift = 32,
}
Definition at line 90 of file pit.c.