Lines Matching refs:hpet
379 static u64 tsc_read_refs(u64 *p, int hpet) in tsc_read_refs() argument
386 if (hpet) in tsc_read_refs()
670 int hpet = is_hpet_enabled(), i, loopmin; in native_calibrate_tsc() local
725 tsc1 = tsc_read_refs(&ref1, hpet); in native_calibrate_tsc()
727 tsc2 = tsc_read_refs(&ref2, hpet); in native_calibrate_tsc()
742 if (hpet) in native_calibrate_tsc()
761 hpet ? "HPET" : "PMTIMER", i + 1); in native_calibrate_tsc()
786 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc()
799 hpet ? "HPET" : "PMTIMER"); in native_calibrate_tsc()
805 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc()
822 hpet ? "HPET" : "PMTIMER", tsc_pit_min, tsc_ref_min); in native_calibrate_tsc()
1094 static int hpet; in tsc_refine_calibration_work() local
1112 hpet = is_hpet_enabled(); in tsc_refine_calibration_work()
1114 tsc_start = tsc_read_refs(&ref_start, hpet); in tsc_refine_calibration_work()
1118 tsc_stop = tsc_read_refs(&ref_stop, hpet); in tsc_refine_calibration_work()
1130 if (hpet) in tsc_refine_calibration_work()