Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs17 timers::hpet::{HpetRegisters, HpetTimerRegisters},
60 timer_registers_ptr: NonNull<HpetTimerRegisters>,
90 + hpet_info.hpet_number as usize * size_of::<HpetTimerRegisters>(); in new()
96 (mmio.vaddr().data() + size_of::<HpetRegisters>()) as *mut HpetTimerRegisters, in new()
140 let timer_reg = NonNull::new(timer_reg as *mut HpetTimerRegisters).unwrap(); in hpet_enable()
181 fn timer(&self, index: u8) -> Option<(RwLockReadGuard<InnerHpet>, &HpetTimerRegisters)> { in timer() argument
200 ) -> Option<(RwLockWriteGuard<InnerHpet>, &mut HpetTimerRegisters)> { in timer_mut() argument
/DragonOS/kernel/src/driver/timers/hpet/
H A Dmod.rs69 pub struct HpetTimerRegisters { struct