Lines Matching refs:hpet
353 static u64 tsc_read_refs(u64 *p, int hpet) in tsc_read_refs() argument
361 if (hpet) in tsc_read_refs()
758 int hpet = is_hpet_enabled(), i, loopmin; in pit_hpet_ptimer_calibrate_cpu() local
800 tsc1 = tsc_read_refs(&ref1, hpet); in pit_hpet_ptimer_calibrate_cpu()
802 tsc2 = tsc_read_refs(&ref2, hpet); in pit_hpet_ptimer_calibrate_cpu()
817 if (hpet) in pit_hpet_ptimer_calibrate_cpu()
836 hpet ? "HPET" : "PMTIMER", i + 1); in pit_hpet_ptimer_calibrate_cpu()
861 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
874 hpet ? "HPET" : "PMTIMER"); in pit_hpet_ptimer_calibrate_cpu()
880 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
897 hpet ? "HPET" : "PMTIMER", tsc_pit_min, tsc_ref_min); in pit_hpet_ptimer_calibrate_cpu()
1375 static int hpet; in tsc_refine_calibration_work() local
1395 hpet = is_hpet_enabled(); in tsc_refine_calibration_work()
1396 tsc_start = tsc_read_refs(&ref_start, hpet); in tsc_refine_calibration_work()
1401 tsc_stop = tsc_read_refs(&ref_stop, hpet); in tsc_refine_calibration_work()
1413 if (hpet) in tsc_refine_calibration_work()
1430 hpet ? "HPET" : "PM_TIMER", in tsc_refine_calibration_work()