Lines Matching refs:hpet
317 static u64 tsc_read_refs(u64 *p, int hpet) in tsc_read_refs() argument
325 if (hpet) in tsc_read_refs()
722 int hpet = is_hpet_enabled(), i, loopmin; in pit_hpet_ptimer_calibrate_cpu() local
764 tsc1 = tsc_read_refs(&ref1, hpet); in pit_hpet_ptimer_calibrate_cpu()
766 tsc2 = tsc_read_refs(&ref2, hpet); in pit_hpet_ptimer_calibrate_cpu()
781 if (hpet) in pit_hpet_ptimer_calibrate_cpu()
800 hpet ? "HPET" : "PMTIMER", i + 1); in pit_hpet_ptimer_calibrate_cpu()
825 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
838 hpet ? "HPET" : "PMTIMER"); in pit_hpet_ptimer_calibrate_cpu()
844 if (!hpet && !ref1 && !ref2) { in pit_hpet_ptimer_calibrate_cpu()
861 hpet ? "HPET" : "PMTIMER", tsc_pit_min, tsc_ref_min); in pit_hpet_ptimer_calibrate_cpu()
1334 static int hpet; in tsc_refine_calibration_work() local
1354 hpet = is_hpet_enabled(); in tsc_refine_calibration_work()
1355 tsc_start = tsc_read_refs(&ref_start, hpet); in tsc_refine_calibration_work()
1360 tsc_stop = tsc_read_refs(&ref_stop, hpet); in tsc_refine_calibration_work()
1372 if (hpet) in tsc_refine_calibration_work()