Searched refs:tkr (Results 1 – 2 of 2) sorted by relevance
173 static inline cycle_t timekeeping_get_delta(struct tk_read_base *tkr) in timekeeping_get_delta() argument187 now = tkr->read(tkr->clock); in timekeeping_get_delta()188 last = tkr->cycle_last; in timekeeping_get_delta()189 mask = tkr->mask; in timekeeping_get_delta()190 max = tkr->clock->max_cycles; in timekeeping_get_delta()207 delta = tkr->clock->max_cycles; in timekeeping_get_delta()216 static inline cycle_t timekeeping_get_delta(struct tk_read_base *tkr) in timekeeping_get_delta() argument221 cycle_now = tkr->read(tkr->clock); in timekeeping_get_delta()224 delta = clocksource_delta(cycle_now, tkr->cycle_last, tkr->mask); in timekeeping_get_delta()312 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()