Lines Matching refs:timer_of_base
48 if (readb(timer_of_base(to) + OSTM_TE) & TE) { in ostm_timer_stop()
49 writeb(TT, timer_of_base(to) + OSTM_TT); in ostm_timer_stop()
56 while (readb(timer_of_base(to) + OSTM_TE) & TE) in ostm_timer_stop()
65 writel(0, timer_of_base(to) + OSTM_CMP); in ostm_init_clksrc()
66 writeb(CTL_FREERUN, timer_of_base(to) + OSTM_CTL); in ostm_init_clksrc()
67 writeb(TS, timer_of_base(to) + OSTM_TS); in ostm_init_clksrc()
69 return clocksource_mmio_init(timer_of_base(to) + OSTM_CNT, in ostm_init_clksrc()
81 system_clock = timer_of_base(to) + OSTM_CNT; in ostm_init_sched_clock()
92 writel(delta, timer_of_base(to) + OSTM_CMP); in ostm_clock_event_next()
93 writeb(CTL_ONESHOT, timer_of_base(to) + OSTM_CTL); in ostm_clock_event_next()
94 writeb(TS, timer_of_base(to) + OSTM_TS); in ostm_clock_event_next()
114 writel(timer_of_period(to) - 1, timer_of_base(to) + OSTM_CMP); in ostm_set_periodic()
115 writeb(CTL_PERIODIC, timer_of_base(to) + OSTM_CTL); in ostm_set_periodic()
116 writeb(TS, timer_of_base(to) + OSTM_TS); in ostm_set_periodic()