Home
last modified time | relevance | path

Searched refs:mmp_timer_base (Results 1 – 1 of 1) sorted by relevance

/arch/arm/mach-mmp/
Dtime.c44 static void __iomem *mmp_timer_base = TIMERS_VIRT_BASE; variable
56 __raw_writel(1, mmp_timer_base + TMR_CVWR(1)); in timer_read()
59 val = __raw_readl(mmp_timer_base + TMR_CVWR(1)); in timer_read()
76 __raw_writel(0x01, mmp_timer_base + TMR_ICR(0)); in timer_interrupt()
81 __raw_writel(0x02, mmp_timer_base + TMR_CER); in timer_interrupt()
98 __raw_writel(0x02, mmp_timer_base + TMR_CER); in timer_set_next_event()
103 __raw_writel(0x01, mmp_timer_base + TMR_ICR(0)); in timer_set_next_event()
104 __raw_writel(0x01, mmp_timer_base + TMR_IER(0)); in timer_set_next_event()
109 __raw_writel(delta - 1, mmp_timer_base + TMR_TN_MM(0, 0)); in timer_set_next_event()
114 __raw_writel(0x03, mmp_timer_base + TMR_CER); in timer_set_next_event()
[all …]