#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/bitops.h>
#include <linux/irq.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <mach/map.h>
#include <asm/sched_clock.h>
#include <asm/mach/time.h>
#include "common.h"
Go to the source code of this file.
#define SIRFSOC_TIMER_COUNTER_HI 0x0004 |
#define SIRFSOC_TIMER_COUNTER_LO 0x0000 |
#define SIRFSOC_TIMER_DIV 0x002C |
#define SIRFSOC_TIMER_INT_EN 0x0024 |
#define SIRFSOC_TIMER_LATCH 0x0030 |
#define SIRFSOC_TIMER_LATCH_BIT BIT(0) |
#define SIRFSOC_TIMER_LATCHED_HI 0x0038 |
#define SIRFSOC_TIMER_LATCHED_LO 0x0034 |
#define SIRFSOC_TIMER_MATCH_0 0x0008 |
#define SIRFSOC_TIMER_MATCH_1 0x000C |
#define SIRFSOC_TIMER_MATCH_2 0x0010 |
#define SIRFSOC_TIMER_MATCH_3 0x0014 |
#define SIRFSOC_TIMER_MATCH_4 0x0018 |
#define SIRFSOC_TIMER_MATCH_5 0x001C |
#define SIRFSOC_TIMER_REG_CNT 11 |
#define SIRFSOC_TIMER_STATUS 0x0020 |
#define SIRFSOC_TIMER_WATCHDOG_EN 0x0028 |
#define SIRFSOC_TIMER_WDT_INDEX 5 |
Initial value:= {
.init = sirfsoc_timer_init,
}
Definition at line 249 of file timer.c.