Searched refs:lvt (Results 1 – 4 of 4) sorted by relevance
240 let lvt = LVT::new(LVTRegister::Timer, data).unwrap(); in setup_lvt() localVariable242 CurrentApic.set_lvt(lvt); in setup_lvt()256 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in start_current() localVariable257 lvt.set_mask(false); in start_current()258 CurrentApic.set_lvt(lvt); in start_current()262 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in stop_current() localVariable263 lvt.set_mask(true); in stop_current()264 CurrentApic.set_lvt(lvt); in stop_current()
92 fn set_lvt(&mut self, lvt: LVT) { in set_lvt()94 wrmsr(lvt.register().into(), lvt.data as u64); in set_lvt()
101 fn from(lvt: LVTRegister) -> Self { in from()102 match lvt { in from()308 fn set_lvt(&mut self, lvt: LVT) { in set_lvt()310 self.write(lvt.register().into(), lvt.data); in set_lvt()
74 fn set_lvt(&mut self, lvt: LVT); in set_lvt()582 fn set_lvt(&mut self, lvt: LVT) { in set_lvt()584 X2Apic.set_lvt(lvt); in set_lvt()587 xapic.set_lvt(lvt); in set_lvt()