Searched refs:hpet (Results 1 – 7 of 7) sorted by relevance
14 use super::hpet::{hpet_instance, is_hpet_enabled};104 let hpet = is_hpet_enabled(); in calibrate_cpu_by_pit_hpet_ptimer() localVariable107 if hpet { "HPET" } else { "PMTIMER" } in calibrate_cpu_by_pit_hpet_ptimer()133 let (tsc1, ref1) = Self::read_refs(hpet); in calibrate_cpu_by_pit_hpet_ptimer()135 let (tsc2, ref2) = Self::read_refs(hpet); in calibrate_cpu_by_pit_hpet_ptimer()157 if hpet { in calibrate_cpu_by_pit_hpet_ptimer()174 if hpet { "HPET" } else { "PMTIMER" }, in calibrate_cpu_by_pit_hpet_ptimer()191 if (!hpet) && (global_ref1 == 0) && (global_ref2 == 0) { in calibrate_cpu_by_pit_hpet_ptimer()203 if hpet { "HPET" } else { "PMTIMER" } in calibrate_cpu_by_pit_hpet_ptimer()209 if (!hpet) && (global_ref1 == 0) && (global_ref2 == 0) { in calibrate_cpu_by_pit_hpet_ptimer()[all …]
2 pub mod hpet; module
17 timers::hpet::{HpetRegisters, HpetTimerRegisters},74 let hpet = unsafe { in new() localVariable79 let tm_num = hpet.timers_num(); in new()100 let hpet = Hpet { in new() localVariable110 return Ok(hpet); in new()
21 hpet::{hpet_init, hpet_instance},
675 1. 把clock tick rate与hpet频率关联起来
1360 * 把hpet.c移动到arch文件夹下