Searched refs:lvt (Results 1 – 4 of 4) sorted by relevance
242 let lvt = LVT::new(LVTRegister::Timer, data).unwrap(); in setup_lvt() localVariable244 CurrentApic.set_lvt(lvt); in setup_lvt()258 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in start_current() localVariable259 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() localVariable265 lvt.set_mask(true); in stop_current()266 CurrentApic.set_lvt(lvt); in stop_current()
93 fn set_lvt(&mut self, lvt: LVT) { in set_lvt()95 wrmsr(lvt.register().into(), lvt.data as u64); in set_lvt()
102 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()
74 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()