Lines Matching refs:CLKEVT
34 #define CLKEVT 0 /* gpt0, channel0 as clockevent */ macro
112 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode()
114 writew(val, gpt_base + CR(CLKEVT)); in clockevent_set_mode()
120 writew(period, gpt_base + LOAD(CLKEVT)); in clockevent_set_mode()
122 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode()
125 writew(val, gpt_base + CR(CLKEVT)); in clockevent_set_mode()
129 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode()
131 writew(val, gpt_base + CR(CLKEVT)); in clockevent_set_mode()
148 u16 val = readw(gpt_base + CR(CLKEVT)); in clockevent_next_event()
151 writew(val & ~CTRL_ENABLE, gpt_base + CR(CLKEVT)); in clockevent_next_event()
153 writew(cycles, gpt_base + LOAD(CLKEVT)); in clockevent_next_event()
156 writew(val, gpt_base + CR(CLKEVT)); in clockevent_next_event()
165 writew(INT_STATUS, gpt_base + IR(CLKEVT)); in spear_timer_interrupt()
183 writew(CTRL_PRESCALER16, gpt_base + CR(CLKEVT)); in spear_clockevent_init()