Lines Matching refs:hpet
370 static u64 tsc_read_refs(u64 *p, int hpet) in tsc_read_refs() argument
377 if (hpet) in tsc_read_refs()
652 int hpet = is_hpet_enabled(), i, loopmin; in native_calibrate_tsc() local
707 tsc1 = tsc_read_refs(&ref1, hpet); in native_calibrate_tsc()
709 tsc2 = tsc_read_refs(&ref2, hpet); in native_calibrate_tsc()
724 if (hpet) in native_calibrate_tsc()
743 hpet ? "HPET" : "PMTIMER", i + 1); in native_calibrate_tsc()
768 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc()
781 hpet ? "HPET" : "PMTIMER"); in native_calibrate_tsc()
787 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc()
804 hpet ? "HPET" : "PMTIMER", tsc_pit_min, tsc_ref_min); in native_calibrate_tsc()
1076 static int hpet; in tsc_refine_calibration_work() local
1094 hpet = is_hpet_enabled(); in tsc_refine_calibration_work()
1096 tsc_start = tsc_read_refs(&ref_start, hpet); in tsc_refine_calibration_work()
1100 tsc_stop = tsc_read_refs(&ref_stop, hpet); in tsc_refine_calibration_work()
1112 if (hpet) in tsc_refine_calibration_work()