Searched refs:HPET_freq (Results 1 – 1 of 1) sorted by relevance
20 static uint64_t HPET_freq = 0; // 主计时器频率 variable129 uint64_t clks_to_intr = 0.001 * interval * HPET_freq; in HPET_measure_freq()131 if (clks_to_intr <= 0 || clks_to_intr > (HPET_freq * 8)) in HPET_measure_freq()190 uint64_t clks_to_intr = 0.000001 * HPET0_INTERVAL * HPET_freq; in HPET_enable()192 if (clks_to_intr <= 0 || clks_to_intr > (HPET_freq * 8)) in HPET_enable()281 HPET_freq = 1e15 / HPET_COUNTER_CLK_PERIOD; in HPET_init()