#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <asm/sched_clock.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
#include <mach/cputype.h>
#include <mach/hardware.h>
#include <mach/time.h>
#include "clock.h"
Go to the source code of this file.
#define TCR_ENAMODE_DISABLE 0x0 |
#define TCR_ENAMODE_MASK 0x3 |
#define TCR_ENAMODE_ONESHOT 0x1 |
#define TCR_ENAMODE_PERIODIC 0x2 |
#define TGCR_RESET_MASK 0x3 |
#define TGCR_TIM12RS_SHIFT 0 |
#define TGCR_TIM34RS_SHIFT 1 |
#define TGCR_TIMMODE_32BIT_CHAINED 0x3 |
#define TGCR_TIMMODE_32BIT_UNCHAINED 0x1 |
#define TGCR_TIMMODE_64BIT_GP 0x0 |
#define TGCR_TIMMODE_64BIT_WDOG 0x2 |
#define TGCR_TIMMODE_SHIFT 2 |
#define TIMER_OPTS_DISABLED 0x01 |
#define TIMER_OPTS_ONESHOT 0x02 |
#define TIMER_OPTS_PERIODIC 0x04 |
#define TIMER_OPTS_STATE_MASK 0x07 |
#define TIMER_OPTS_USE_COMPARE 0x80000000 |
#define WDTCR_WDEN_DISABLE 0x0 |
#define WDTCR_WDEN_ENABLE 0x1 |
#define WDTCR_WDEN_SHIFT 14 |
#define WDTCR_WDKEY_SEQ0 0xa5c6 |
#define WDTCR_WDKEY_SEQ1 0xda7e |
#define WDTCR_WDKEY_SHIFT 16 |
- Enumerator:
TID_CLOCKEVENT |
|
TID_CLOCKSOURCE |
|
Definition at line 40 of file time.c.
Initial value:= {
.init = davinci_timer_init,
}
Definition at line 413 of file time.c.