Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm/mach-mmp/
Dtime.c43 static void __iomem *mmp_timer_base = TIMERS_VIRT_BASE; variable
52 __raw_writel(1, mmp_timer_base + TMR_CVWR(1)); in timer_read()
57 return __raw_readl(mmp_timer_base + TMR_CVWR(1)); in timer_read()
72 __raw_writel(0x01, mmp_timer_base + TMR_ICR(0)); in timer_interrupt()
77 __raw_writel(0x02, mmp_timer_base + TMR_CER); in timer_interrupt()
94 __raw_writel(0x02, mmp_timer_base + TMR_CER); in timer_set_next_event()
99 __raw_writel(0x01, mmp_timer_base + TMR_ICR(0)); in timer_set_next_event()
100 __raw_writel(0x01, mmp_timer_base + TMR_IER(0)); in timer_set_next_event()
105 __raw_writel(delta - 1, mmp_timer_base + TMR_TN_MM(0, 0)); in timer_set_next_event()
110 __raw_writel(0x03, mmp_timer_base + TMR_CER); in timer_set_next_event()
[all …]