Lines Matching refs:writew
78 writew(CTRL_PRESCALER256, gpt_base + CR(CLKSRC)); in spear_clocksource_init()
84 writew(0xFFFF, gpt_base + LOAD(CLKSRC)); in spear_clocksource_init()
89 writew(val, gpt_base + CR(CLKSRC)); in spear_clocksource_init()
102 writew(val, gpt_base + CR(CLKEVT)); in timer_shutdown()
121 writew(val, gpt_base + CR(CLKEVT)); in spear_set_oneshot()
136 writew(period, gpt_base + LOAD(CLKEVT)); in spear_set_periodic()
141 writew(val, gpt_base + CR(CLKEVT)); in spear_set_periodic()
163 writew(val & ~CTRL_ENABLE, gpt_base + CR(CLKEVT)); in clockevent_next_event()
165 writew(cycles, gpt_base + LOAD(CLKEVT)); in clockevent_next_event()
168 writew(val, gpt_base + CR(CLKEVT)); in clockevent_next_event()
177 writew(INT_STATUS, gpt_base + IR(CLKEVT)); in spear_timer_interrupt()
195 writew(CTRL_PRESCALER16, gpt_base + CR(CLKEVT)); in spear_clockevent_init()