Lines Matching refs:tsc
198 u64 tsc, t1, t2, delta; in pit_calibrate_tsc() local
214 tsc = t1 = t2 = get_cycles(); in pit_calibrate_tsc()
221 delta = t2 - tsc; in pit_calibrate_tsc()
222 tsc = t2; in pit_calibrate_tsc()
293 u64 tsc = 0, prev_tsc = 0; in pit_expect_msb() local
298 prev_tsc = tsc; in pit_expect_msb()
299 tsc = get_cycles(); in pit_expect_msb()
302 *tscp = tsc; in pit_expect_msb()
323 u64 tsc, delta; in quick_pit_calibrate() local
352 if (pit_expect_msb(0xff, &tsc, &d1)) { in quick_pit_calibrate()
360 delta -= tsc; in quick_pit_calibrate()