Searched refs:CLKEVT (Results 1 – 1 of 1) sorted by relevance
34 #define CLKEVT 0 /* gpt0, channel0 as clockevent */ macro112 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()[all …]