Lines Matching refs:hpet
125 static u64 tsc_read_refs(u64 *p, int hpet) in tsc_read_refs() argument
132 if (hpet) in tsc_read_refs()
407 int hpet = is_hpet_enabled(), i, loopmin; in native_calibrate_tsc() local
455 tsc1 = tsc_read_refs(&ref1, hpet); in native_calibrate_tsc()
457 tsc2 = tsc_read_refs(&ref2, hpet); in native_calibrate_tsc()
472 if (hpet) in native_calibrate_tsc()
492 hpet ? "HPET" : "PMTIMER", i + 1); in native_calibrate_tsc()
517 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc()
531 hpet ? "HPET" : "PMTIMER"); in native_calibrate_tsc()
537 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc()
555 hpet ? "HPET" : "PMTIMER", tsc_pit_min, tsc_ref_min); in native_calibrate_tsc()
869 static int hpet; in tsc_refine_calibration_work() local
887 hpet = is_hpet_enabled(); in tsc_refine_calibration_work()
889 tsc_start = tsc_read_refs(&ref_start, hpet); in tsc_refine_calibration_work()
893 tsc_stop = tsc_read_refs(&ref_stop, hpet); in tsc_refine_calibration_work()
905 if (hpet) in tsc_refine_calibration_work()