Lines Matching refs:scale_delta
124 u64 scale_delta(u64 delta, const struct time_scale *scale) in scale_delta() function
468 return scale_delta(ticks, &pmt_scale); in acpi_pm_tick_to_ns()
473 return scale_delta(ns, &pmt_scale_r); in ns_to_acpi_pm_tick()
569 uint64_t offset = scale_delta(delta, &ts); in read_cycle()
639 return (stime_platform_stamp + scale_delta(diff, &plt_scale)); in __read_platform_stime()
751 plt_overflow_period = scale_delta( in try_platform_timer()
822 return t->stamp.local_tsc + scale_delta(stime_delta, &sys_to_tsc); in stime2tsc()
1006 now = t->stamp.local_stime + scale_delta(delta, &t->tsc_scale); in get_s_time_fixed()
1020 return scale_delta(ticks, &t->tsc_scale); in tsc_ticks2ns()
2011 return -scale_delta(d->arch.vtsc_offset - time, in gtime_to_gtsc()
2015 return scale_delta(time, &d->arch.ns_to_vtsc); in gtime_to_gtsc()
2020 u64 time = scale_delta(tsc, &d->arch.vtsc_to_ns); in gtsc_to_gtime()
2095 *elapsed_nsec = scale_delta(tsc, &d->arch.vtsc_to_ns); in tsc_get_info()
2107 *elapsed_nsec = scale_delta(tsc, &this_cpu(cpu_time).tsc_scale) - in tsc_get_info()
2179 d->arch.vtsc_offset = scale_delta(rdtsc(), in tsc_set_info()