Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/
H A Dtsc.rs5 time::{TimeArch, PIT_TICK_RATE},
115 let cal_latch = PIT_TICK_RATE / (1000 / cal_ms); in calibrate_cpu_by_pit_hpet_ptimer()
120 let cal2_latch = PIT_TICK_RATE / (1000 / cal2_ms); in calibrate_cpu_by_pit_hpet_ptimer()
/DragonOS/kernel/src/driver/clocksource/
H A Dacpi_pm.rs11 PIT_TICK_RATE,
141 pub const CALIBRATE_LATCH: u64 = (PIT_TICK_RATE * CALIBRATE_TIME_MSEC + 1000 / 2) / 1000;
171 (CALIBRATE_LATCH * (PMTMR_TICKS_PER_SEC >> 10)) / (PIT_TICK_RATE >> 10);
/DragonOS/kernel/src/time/
H A Dmod.rs49 pub const PIT_TICK_RATE: u64 = 1193182; constant