Lines Matching refs:timer_writew
68 static void timer_writew(struct nios2_timer *timer, u16 val, u32 offs) in timer_writew() function
77 timer_writew(timer, 0, ALTERA_TIMER_SNAPL_REG); in read_timersnapshot()
123 timer_writew(timer, ctrl, ALTERA_TIMER_CONTROL_REG); in nios2_timer_start()
132 timer_writew(timer, ctrl, ALTERA_TIMER_CONTROL_REG); in nios2_timer_stop()
146 timer_writew(timer, ctrl | ALTERA_TIMER_CONTROL_STOP_MSK, in nios2_timer_config()
150 timer_writew(timer, period, ALTERA_TIMER_PERIODL_REG); in nios2_timer_config()
151 timer_writew(timer, period >> 16, ALTERA_TIMER_PERIODH_REG); in nios2_timer_config()
158 timer_writew(timer, ctrl, ALTERA_TIMER_CONTROL_REG); in nios2_timer_config()
206 timer_writew(&nios2_ced->timer, 0, ALTERA_TIMER_STATUS_REG); in timer_interrupt()
267 timer_writew(&nios2_ce.timer, 0, ALTERA_TIMER_STATUS_REG); in nios2_clockevent_init()
299 timer_writew(&nios2_cs.timer, USHRT_MAX, ALTERA_TIMER_PERIODL_REG); in nios2_clocksource_init()
300 timer_writew(&nios2_cs.timer, USHRT_MAX, ALTERA_TIMER_PERIODH_REG); in nios2_clocksource_init()
304 timer_writew(&nios2_cs.timer, ctrl, ALTERA_TIMER_CONTROL_REG); in nios2_clocksource_init()