#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/io.h>
#include <linux/clockchips.h>
#include <asm/mach/time.h>
#include <asm/system_misc.h>
#include <mach/regs-irq.h>
#include "generic.h"
Go to the source code of this file.
#define KS8695_T0PD (0x10) /* Timer 0 Pulse Count Register */ |
#define KS8695_T0TC (0x08) /* Timer 0 Timeout Count Register */ |
#define KS8695_T1PD (0x0C) /* Timer 1 Pulse Count Register */ |
#define KS8695_T1TC (0x04) /* Timer 1 Timeout Count Register */ |
#define KS8695_TMCON (0x00) /* Timer Control Register */ |
#define KS8695_TMR_OFFSET (0xF0000 + 0xE400) |
#define T0TC_WATCHDOG (0xff) /* Enable watchdog mode */ |
#define TMCON_T0EN (1 << 0) /* Timer 0 Enable */ |
#define TMCON_T1EN (1 << 1) /* Timer 1 Enable */ |
Initial value:= {
.init = ks8695_timer_init,
}
Definition at line 157 of file time.c.