Searched refs:tkr (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/kernel/time/
H A Dtimekeeping.c173 static inline cycle_t timekeeping_get_delta(struct tk_read_base *tkr) timekeeping_get_delta() argument
187 now = tkr->read(tkr->clock); timekeeping_get_delta()
188 last = tkr->cycle_last; timekeeping_get_delta()
189 mask = tkr->mask; timekeeping_get_delta()
190 max = tkr->clock->max_cycles; timekeeping_get_delta()
207 delta = tkr->clock->max_cycles; timekeeping_get_delta()
216 static inline cycle_t timekeeping_get_delta(struct tk_read_base *tkr) timekeeping_get_delta() argument
221 cycle_now = tkr->read(tkr->clock); timekeeping_get_delta()
224 delta = clocksource_delta(cycle_now, tkr->cycle_last, tkr->mask); timekeeping_get_delta()
312 static inline s64 timekeeping_get_ns(struct tk_read_base *tkr) timekeeping_get_ns() argument
317 delta = timekeeping_get_delta(tkr); timekeeping_get_ns()
319 nsec = (delta * tkr->mult + tkr->xtime_nsec) >> tkr->shift; timekeeping_get_ns()
327 * @tkr: Timekeeping readout base from which we take the update
339 * update(tkf->base[0], tkr);
343 * update(tkf->base[1], tkr);
364 static void update_fast_timekeeper(struct tk_read_base *tkr, struct tk_fast *tkf) update_fast_timekeeper() argument
372 memcpy(base, tkr, sizeof(*base)); update_fast_timekeeper()
415 struct tk_read_base *tkr; __ktime_get_fast_ns() local
421 tkr = tkf->base + (seq & 0x01); __ktime_get_fast_ns()
422 now = ktime_to_ns(tkr->base) + timekeeping_get_ns(tkr); __ktime_get_fast_ns()
461 struct tk_read_base *tkr = &tk->tkr_mono; halt_fast_timekeeper() local
463 memcpy(&tkr_dummy, tkr, sizeof(tkr_dummy)); halt_fast_timekeeper()
464 cycles_at_suspend = tkr->read(tkr->clock); halt_fast_timekeeper()
468 tkr = &tk->tkr_raw; halt_fast_timekeeper()
469 memcpy(&tkr_dummy, tkr, sizeof(tkr_dummy)); halt_fast_timekeeper()
/linux-4.1.27/drivers/ata/
H A Dpata_bf54x.c374 unsigned short tm, td, tkr, tkw, teoc, th; bfin_set_dmamode() local
456 tkr = num_clocks_min(mdma_tkrmin[mode], fsclk); bfin_set_dmamode()
465 ATAPI_SET_MULTI_TIM_1(base, (tkr<<8 | tkw)); bfin_set_dmamode()

Completed in 116 milliseconds