#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/of_irq.h>
#include <linux/of_address.h>
#include <linux/time.h>
#include <linux/irq.h>
#include <asm/mach/time.h>
#include <mach/generic.h>
Go to the source code of this file.
#define CLKEVT 0 /* gpt0, channel0 as clockevent */ |
#define COUNT |
( |
|
x | ) |
((x) * 0x80 + 0x8C) |
#define CR |
( |
|
x | ) |
((x) * 0x80 + 0x80) |
#define CTRL_ENABLE 0x0020 |
#define CTRL_INT_ENABLE 0x0100 |
#define CTRL_ONE_SHOT 0x0010 |
#define CTRL_PRESCALER1 0x0 |
#define CTRL_PRESCALER128 0x7 |
#define CTRL_PRESCALER16 0x4 |
#define CTRL_PRESCALER2 0x1 |
#define CTRL_PRESCALER256 0x8 |
#define CTRL_PRESCALER32 0x5 |
#define CTRL_PRESCALER4 0x2 |
#define CTRL_PRESCALER64 0x6 |
#define CTRL_PRESCALER8 0x3 |
#define IR |
( |
|
x | ) |
((x) * 0x80 + 0x84) |
#define LOAD |
( |
|
x | ) |
((x) * 0x80 + 0x88) |
#define SPEAR_MIN_RANGE 4 |