Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs36 static mut HPET_INSTANCE: Option<Hpet> = None; constant
40 unsafe { HPET_INSTANCE.as_ref().unwrap() } in hpet_instance()
45 if unsafe { HPET_INSTANCE.as_ref().is_some() } { in is_hpet_enabled()
46 return unsafe { HPET_INSTANCE.as_ref().unwrap().enabled() }; in is_hpet_enabled()
259 HPET_INSTANCE = Some(hpet_instance); in hpet_init()