Lines Matching refs:tkr_raw
123 while (tk->tkr_raw.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_raw.shift)) { in tk_normalize_xtime()
124 tk->tkr_raw.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_raw.shift; in tk_normalize_xtime()
321 tk->tkr_raw.clock = clock; in tk_setup_internals()
322 tk->tkr_raw.mask = clock->mask; in tk_setup_internals()
323 tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; in tk_setup_internals()
347 tk->tkr_raw.xtime_nsec >>= -shift_change; in tk_setup_internals()
350 tk->tkr_raw.xtime_nsec <<= shift_change; in tk_setup_internals()
355 tk->tkr_raw.shift = clock->shift; in tk_setup_internals()
367 tk->tkr_raw.mult = clock->mult; in tk_setup_internals()
662 tkr = &tk->tkr_raw; in halt_fast_timekeeper()
753 tk->tkr_raw.base = ns_to_ktime(tk->raw_sec * NSEC_PER_SEC); in tk_update_ktime_data()
772 update_fast_timekeeper(&tk->tkr_raw, &tk_fast_raw); in timekeeping_update()
801 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now()
804 tk->tkr_raw.xtime_nsec += delta * tk->tkr_raw.mult; in timekeeping_forward_now()
952 base = tk->tkr_raw.base; in ktime_get_raw()
953 nsecs = timekeeping_get_ns(&tk->tkr_raw); in ktime_get_raw()
1075 base_raw = tk->tkr_raw.base; in ktime_get_snapshot()
1077 nsec_raw = timekeeping_cycles_to_ns(&tk->tkr_raw, now); in ktime_get_snapshot()
1160 (corr_raw, tk->tkr_mono.mult, tk->tkr_raw.mult); in adjust_historical_crosststamp()
1262 base_raw = tk->tkr_raw.base; in get_device_system_crosststamp()
1265 nsec_raw = timekeeping_cycles_to_ns(&tk->tkr_raw, cycles); in get_device_system_crosststamp()
1526 nsecs = timekeeping_get_ns(&tk->tkr_raw); in ktime_get_raw_ts64()
1823 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_resume()
2125 tk->tkr_raw.cycle_last += interval; in logarithmic_accumulation()
2131 tk->tkr_raw.xtime_nsec += tk->raw_interval << shift; in logarithmic_accumulation()
2132 snsec_per_sec = (u64)NSEC_PER_SEC << tk->tkr_raw.shift; in logarithmic_accumulation()
2133 while (tk->tkr_raw.xtime_nsec >= snsec_per_sec) { in logarithmic_accumulation()
2134 tk->tkr_raw.xtime_nsec -= snsec_per_sec; in logarithmic_accumulation()