#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/of_address.h>
#include <asm/soc.h>
#include <asm/dscr.h>
#include <asm/special_insns.h>
#include <asm/timer64.h>
Go to the source code of this file.
#define TCR_CLKSRCLO 0x100 |
#define TCR_CPHI (0x008 << 16) |
#define TCR_ENAMODEHI_CONT (0x080 << 16) |
#define TCR_ENAMODEHI_MASK (0x0c0 << 16) |
#define TCR_ENAMODEHI_ONCE (0x040 << 16) |
#define TCR_ENAMODELO_CONT 0x080 |
#define TCR_ENAMODELO_MASK 0x0c0 |
#define TCR_ENAMODELO_ONCE 0x040 |
#define TCR_INVINPLO 0x004 |
#define TCR_INVOUTPHI (0x002 << 16) |
#define TCR_INVOUTPLO 0x002 |
#define TCR_PWIDHI_MASK (0x030 << 16) |
#define TCR_PWIDLO_MASK 0x030 |
#define TCR_TSTATHI (0x001 << 16) |
#define TCR_TSTATLO 0x001 |
#define TGCR_PSCHI_MASK (0x00f << 8) |
#define TGCR_TDDRHI_MASK (0x00f << 12) |
#define TGCR_TIMHIRS 0x002 |
#define TGCR_TIMLORS 0x001 |
#define TGCR_TIMMODE_CD32 0x00c |
#define TGCR_TIMMODE_MASK 0x00c |
#define TGCR_TIMMODE_UD32 0x004 |
#define TGCR_TIMMODE_WDT64 0x008 |
#define TIMER64_MODE_DISABLED 0 |
#define TIMER_DIVISOR ((soc_readl(&timer->emumgt) & (0xf << 16)) >> 16) |