Searched refs:cns3xxx_tmr1 (Results 1 – 1 of 1) sorted by relevance
111 static void __iomem *cns3xxx_tmr1; variable115 writel(0, cns3xxx_tmr1 + TIMER1_2_CONTROL_OFFSET); in cns3xxx_shutdown()121 unsigned long ctrl = readl(cns3xxx_tmr1 + TIMER1_2_CONTROL_OFFSET); in cns3xxx_set_oneshot()125 writel(ctrl, cns3xxx_tmr1 + TIMER1_2_CONTROL_OFFSET); in cns3xxx_set_oneshot()131 unsigned long ctrl = readl(cns3xxx_tmr1 + TIMER1_2_CONTROL_OFFSET); in cns3xxx_set_periodic()136 writel(reload, cns3xxx_tmr1 + TIMER1_AUTO_RELOAD_OFFSET); in cns3xxx_set_periodic()138 writel(ctrl, cns3xxx_tmr1 + TIMER1_2_CONTROL_OFFSET); in cns3xxx_set_periodic()145 unsigned long ctrl = readl(cns3xxx_tmr1 + TIMER1_2_CONTROL_OFFSET); in cns3xxx_timer_set_next_event()147 writel(evt, cns3xxx_tmr1 + TIMER1_AUTO_RELOAD_OFFSET); in cns3xxx_timer_set_next_event()148 writel(ctrl | (1 << 0), cns3xxx_tmr1 + TIMER1_2_CONTROL_OFFSET); in cns3xxx_timer_set_next_event()[all …]