Home
last modified time | relevance | path

Searched refs:hpet (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/
Dtsc.c118 static u64 tsc_read_refs(u64 *p, int hpet) in tsc_read_refs() argument
125 if (hpet) in tsc_read_refs()
387 int hpet = is_hpet_enabled(), i, loopmin; in native_calibrate_tsc() local
441 tsc1 = tsc_read_refs(&ref1, hpet); in native_calibrate_tsc()
443 tsc2 = tsc_read_refs(&ref2, hpet); in native_calibrate_tsc()
450 if (!hpet && !ref1 && !ref2) in native_calibrate_tsc()
458 if (hpet) in native_calibrate_tsc()
478 hpet ? "HPET" : "PMTIMER", i + 1); in native_calibrate_tsc()
503 if (!hpet && !ref1 && !ref2) { in native_calibrate_tsc()
517 hpet ? "HPET" : "PMTIMER"); in native_calibrate_tsc()
[all …]
Dhpet.c132 struct hpet __iomem *hpet = hpet_virt_address; in hpet_reserve_platform_timers() local
133 struct hpet_timer __iomem *timer = &hpet->hpet_timers[2]; in hpet_reserve_platform_timers()
141 hd.hd_address = hpet; in hpet_reserve_platform_timers()
DMakefile85 obj-$(CONFIG_HPET_TIMER) += hpet.o