Searched refs:set_lvt (Results 1 – 4 of 4) sorted by relevance
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | x2apic.rs | 93 fn set_lvt(&mut self, lvt: LVT) { in set_lvt() method 107 self.set_lvt(LVT::new(LVTRegister::Timer, LVT::MASKED).unwrap()); in mask_all_lvt() 110 self.set_lvt(LVT::new(LVTRegister::Thermal, LVT::MASKED).unwrap()); in mask_all_lvt() 114 self.set_lvt(LVT::new(LVTRegister::PerformanceMonitor, LVT::MASKED).unwrap()); in mask_all_lvt() 117 self.set_lvt(LVT::new(LVTRegister::LINT0, LVT::MASKED).unwrap()); in mask_all_lvt() 118 self.set_lvt(LVT::new(LVTRegister::LINT1, LVT::MASKED).unwrap()); in mask_all_lvt() 120 self.set_lvt(LVT::new(LVTRegister::ErrorReg, LVT::MASKED).unwrap()); in mask_all_lvt()
|
H A D | xapic.rs | 296 fn set_lvt(&mut self, lvt: LVT) { in set_lvt() method 314 self.set_lvt(LVT::new(LVTRegister::Timer, LVT::MASKED).unwrap()); in mask_all_lvt() 315 self.set_lvt(LVT::new(LVTRegister::Thermal, LVT::MASKED).unwrap()); in mask_all_lvt() 316 self.set_lvt(LVT::new(LVTRegister::PerformanceMonitor, LVT::MASKED).unwrap()); in mask_all_lvt() 317 self.set_lvt(LVT::new(LVTRegister::LINT0, LVT::MASKED).unwrap()); in mask_all_lvt() 318 self.set_lvt(LVT::new(LVTRegister::LINT1, LVT::MASKED).unwrap()); in mask_all_lvt() 319 self.set_lvt(LVT::new(LVTRegister::ErrorReg, LVT::MASKED).unwrap()); in mask_all_lvt()
|
H A D | mod.rs | 74 fn set_lvt(&mut self, lvt: LVT); in set_lvt() method 580 fn set_lvt(&mut self, lvt: LVT) { in set_lvt() method 582 X2Apic.set_lvt(lvt); in set_lvt() 584 xapic.set_lvt(lvt); in set_lvt()
|
H A D | apic_timer.rs | 244 CurrentApic.set_lvt(lvt); in setup_lvt() 260 CurrentApic.set_lvt(lvt); in start_current() 266 CurrentApic.set_lvt(lvt); in stop_current()
|