Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs54 inner: RwLock<InnerHpet>,
58 struct InnerHpet { struct
103 inner: RwLock::new(InnerHpet { in new()
172 fn inner(&self) -> RwLockReadGuard<InnerHpet> { in inner() argument
176 fn inner_mut(&self) -> RwLockWriteGuard<InnerHpet> { in inner_mut() argument
181 fn timer(&self, index: u8) -> Option<(RwLockReadGuard<InnerHpet>, &HpetTimerRegisters)> { in timer() argument
200 ) -> Option<(RwLockWriteGuard<InnerHpet>, &mut HpetTimerRegisters)> { in timer_mut() argument
216 unsafe fn hpet_regs(&self) -> (RwLockReadGuard<InnerHpet>, &HpetRegisters) { in hpet_regs() argument
222 unsafe fn hpet_regs_mut(&self) -> (RwLockWriteGuard<InnerHpet>, &mut HpetRegisters) { in hpet_regs_mut() argument