Searched refs:mmp_timer_base (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/arch/arm/mach-mmp/ |
H A D | time.c | 53 static void __iomem *mmp_timer_base = TIMERS_VIRT_BASE; variable 62 __raw_writel(1, mmp_timer_base + TMR_CVWR(1)); timer_read() 67 return __raw_readl(mmp_timer_base + TMR_CVWR(1)); timer_read() 82 __raw_writel(0x01, mmp_timer_base + TMR_ICR(0)); timer_interrupt() 87 __raw_writel(0x02, mmp_timer_base + TMR_CER); timer_interrupt() 104 __raw_writel(0x02, mmp_timer_base + TMR_CER); timer_set_next_event() 109 __raw_writel(0x01, mmp_timer_base + TMR_ICR(0)); timer_set_next_event() 110 __raw_writel(0x01, mmp_timer_base + TMR_IER(0)); timer_set_next_event() 115 __raw_writel(delta - 1, mmp_timer_base + TMR_TN_MM(0, 0)); timer_set_next_event() 120 __raw_writel(0x03, mmp_timer_base + TMR_CER); timer_set_next_event() 133 __raw_writel(0x00, mmp_timer_base + TMR_IER(0)); timer_set_shutdown() 163 uint32_t ccr = __raw_readl(mmp_timer_base + TMR_CCR); timer_config() 165 __raw_writel(0x0, mmp_timer_base + TMR_CER); /* disable */ timer_config() 169 __raw_writel(ccr, mmp_timer_base + TMR_CCR); timer_config() 172 __raw_writel(0x2, mmp_timer_base + TMR_CMR); timer_config() 174 __raw_writel(0x1, mmp_timer_base + TMR_PLCR(0)); /* periodic */ timer_config() 175 __raw_writel(0x7, mmp_timer_base + TMR_ICR(0)); /* clear status */ timer_config() 176 __raw_writel(0x0, mmp_timer_base + TMR_IER(0)); timer_config() 178 __raw_writel(0x0, mmp_timer_base + TMR_PLCR(1)); /* free-running */ timer_config() 179 __raw_writel(0x7, mmp_timer_base + TMR_ICR(1)); /* clear status */ timer_config() 180 __raw_writel(0x0, mmp_timer_base + TMR_IER(1)); timer_config() 183 __raw_writel(0x2, mmp_timer_base + TMR_CER); timer_config() 230 mmp_timer_base = of_iomap(np, 0); mmp_dt_init_timer() 231 if (!mmp_timer_base) { mmp_dt_init_timer()
|
Completed in 35 milliseconds