Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dapic_timer.rs242 let lvt = LVT::new(LVTRegister::Timer, data).unwrap(); in setup_lvt() localVariable
244 CurrentApic.set_lvt(lvt); in setup_lvt()
258 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in start_current() localVariable
259 lvt.set_mask(false); in start_current()
260 CurrentApic.set_lvt(lvt); in start_current()
264 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in stop_current() localVariable
265 lvt.set_mask(true); in stop_current()
266 CurrentApic.set_lvt(lvt); in stop_current()
H A Dx2apic.rs93 fn set_lvt(&mut self, lvt: LVT) { in set_lvt()
95 wrmsr(lvt.register().into(), lvt.data as u64); in set_lvt()
H A Dxapic.rs102 fn from(lvt: LVTRegister) -> Self { in from()
103 match lvt { in from()
296 fn set_lvt(&mut self, lvt: LVT) { in set_lvt()
298 self.write(lvt.register().into(), lvt.data); in set_lvt()
H A Dmod.rs74 fn set_lvt(&mut self, lvt: LVT); in set_lvt()
580 fn set_lvt(&mut self, lvt: LVT) { in set_lvt()
582 X2Apic.set_lvt(lvt); in set_lvt()
584 xapic.set_lvt(lvt); in set_lvt()