Searched refs:tkr (Results 1 – 2 of 2) sorted by relevance
161 static inline cycle_t timekeeping_get_delta(struct tk_read_base *tkr) in timekeeping_get_delta() argument176 now = tkr->read(tkr->clock); in timekeeping_get_delta()177 last = tkr->cycle_last; in timekeeping_get_delta()178 mask = tkr->mask; in timekeeping_get_delta()179 max = tkr->clock->max_cycles; in timekeeping_get_delta()196 delta = tkr->clock->max_cycles; in timekeeping_get_delta()205 static inline cycle_t timekeeping_get_delta(struct tk_read_base *tkr) in timekeeping_get_delta() argument210 cycle_now = tkr->read(tkr->clock); in timekeeping_get_delta()213 delta = clocksource_delta(cycle_now, tkr->cycle_last, tkr->mask); in timekeeping_get_delta()301 static inline s64 timekeeping_get_ns(struct tk_read_base *tkr) in timekeeping_get_ns() argument[all …]
374 unsigned short tm, td, tkr, tkw, teoc, th; in bfin_set_dmamode() local456 tkr = num_clocks_min(mdma_tkrmin[mode], fsclk); in bfin_set_dmamode()465 ATAPI_SET_MULTI_TIM_1(base, (tkr<<8 | tkw)); in bfin_set_dmamode()