Lines Matching refs:tsc
218 u64 native_sched_clock_from_tsc(u64 tsc) in native_sched_clock_from_tsc() argument
220 return cycles_2_ns(tsc); in native_sched_clock_from_tsc()
363 u64 tsc, t1, t2, delta; in pit_calibrate_tsc() local
393 tsc = t1 = t2 = get_cycles(); in pit_calibrate_tsc()
400 delta = t2 - tsc; in pit_calibrate_tsc()
401 tsc = t2; in pit_calibrate_tsc()
472 u64 tsc = 0, prev_tsc = 0; in pit_expect_msb() local
477 prev_tsc = tsc; in pit_expect_msb()
478 tsc = get_cycles(); in pit_expect_msb()
481 *tscp = tsc; in pit_expect_msb()
502 u64 tsc, delta; in quick_pit_calibrate() local
534 if (pit_expect_msb(0xff, &tsc, &d1)) { in quick_pit_calibrate()
539 delta -= tsc; in quick_pit_calibrate()