Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/timers/hpet/
H A Dmod.rs6 pub struct HpetRegisters { struct
19 impl HpetRegisters { argument
22 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in timers_num() constant
29 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in counter_clock_period() constant
40 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in main_counter_value() constant
46 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in write_main_counter_value() constant
52 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in general_config() constant
57 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in write_general_config() constant
63 let p = NonNull::new(self as *const HpetRegisters as *mut HpetRegisters).unwrap(); in general_intr_status() constant
/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs75 (mmio.vaddr().data() as *const HpetRegisters) in new() constant
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()