#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/types.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/io.h>
#include <asm/mach/time.h>
#include <mach/zynq_soc.h>
#include "common.h"
Go to the source code of this file.
#define IRQ_TIMERCOUNTER0 42 |
#define XTTCPSS_CLK_CNTRL_OFFSET 0x00 /* Clock Control Reg, RW */ |
#define XTTCPSS_CLOCKSOURCE 0 /* Timer 1 as a generic timekeeping */ |
#define XTTCPSS_CNT_CNTRL_DISABLE_MASK 0x1 |
#define XTTCPSS_CNT_CNTRL_OFFSET 0x0C /* Counter Control Reg, RW */ |
#define XTTCPSS_COUNT_VAL_OFFSET 0x18 /* Counter Value Reg, RO */ |
#define XTTCPSS_IER_OFFSET 0x60 /* Interrupt Enable Reg, RW */ |
#define XTTCPSS_INTR_VAL_OFFSET 0x24 /* Interval Count Reg, RW */ |
#define XTTCPSS_ISR_OFFSET 0x54 /* Interrupt Status Reg, RO */ |
#define XTTCPSS_MATCH_1_OFFSET 0x30 /* Match 1 Value Reg, RW */ |
#define XTTCPSS_MATCH_2_OFFSET 0x3C /* Match 2 Value Reg, RW */ |
#define XTTCPSS_MATCH_3_OFFSET 0x48 /* Match 3 Value Reg, RW */ |
Initial value:= {
.init = xttcpss_timer_init,
}
Definition at line 296 of file timer.c.