Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs58 struct InnerHpet { struct
59 registers_ptr: NonNull<HpetRegisters>,
60 timer_registers_ptr: NonNull<HpetTimerRegisters>,
172 fn inner(&self) -> RwLockReadGuard<InnerHpet> { in inner()
176 fn inner_mut(&self) -> RwLockWriteGuard<InnerHpet> { in inner_mut()
181 fn timer(&self, index: u8) -> Option<(RwLockReadGuard<InnerHpet>, &HpetTimerRegisters)> { in timer()
200 ) -> Option<(RwLockWriteGuard<InnerHpet>, &mut HpetTimerRegisters)> { in timer_mut()
216 unsafe fn hpet_regs(&self) -> (RwLockReadGuard<InnerHpet>, &HpetRegisters) { in hpet_regs()
222 unsafe fn hpet_regs_mut(&self) -> (RwLockWriteGuard<InnerHpet>, &mut HpetRegisters) { in hpet_regs_mut()