Lines Matching refs:timer_of_base
46 if (readb(timer_of_base(to) + OSTM_TE) & TE) { in ostm_timer_stop()
47 writeb(TT, timer_of_base(to) + OSTM_TT); in ostm_timer_stop()
54 while (readb(timer_of_base(to) + OSTM_TE) & TE) in ostm_timer_stop()
63 writel(0, timer_of_base(to) + OSTM_CMP); in ostm_init_clksrc()
64 writeb(CTL_FREERUN, timer_of_base(to) + OSTM_CTL); in ostm_init_clksrc()
65 writeb(TS, timer_of_base(to) + OSTM_TS); in ostm_init_clksrc()
67 return clocksource_mmio_init(timer_of_base(to) + OSTM_CNT, in ostm_init_clksrc()
79 system_clock = timer_of_base(to) + OSTM_CNT; in ostm_init_sched_clock()
90 writel(delta, timer_of_base(to) + OSTM_CMP); in ostm_clock_event_next()
91 writeb(CTL_ONESHOT, timer_of_base(to) + OSTM_CTL); in ostm_clock_event_next()
92 writeb(TS, timer_of_base(to) + OSTM_TS); in ostm_clock_event_next()
112 writel(timer_of_period(to) - 1, timer_of_base(to) + OSTM_CMP); in ostm_set_periodic()
113 writeb(CTL_PERIODIC, timer_of_base(to) + OSTM_CTL); in ostm_set_periodic()
114 writeb(TS, timer_of_base(to) + OSTM_TS); in ostm_set_periodic()