Searched refs:irq_evt (Results 1 – 10 of 10) sorted by relevance
/external/crosvm/devices/src/ |
D | bat.rs | 103 irq_evt: Event, field 146 irq_evt: Event, in command_monitor() 231 let _ = irq_evt.write(1); in command_monitor() 279 let _ = irq_evt.write(1); in command_monitor() 286 let _ = irq_evt.write(1); in command_monitor() 309 irq_evt: Event, in new() 335 irq_evt, in new() 348 self.irq_evt.as_raw_descriptor(), in keep_rds() 378 let irq_evt = self.irq_evt.try_clone().unwrap(); in start_monitor() localVariable 388 irq_evt, in start_monitor()
|
/external/crosvm/devices/src/usb/xhci/ |
D | xhci_controller.rs | 82 irq_evt: Event, 131 irq_evt, in init_when_forked() 140 irq_evt, in init_when_forked() 200 irq_evt: Event, in assign_irq() 210 irq_evt, in assign_irq()
|
D | interrupter.rs | 56 pub fn new(mem: GuestMemory, irq_evt: Event, regs: &XhciRegs) -> Self { in new() 58 interrupt_evt: irq_evt, in new()
|
D | xhci.rs | 90 irq_evt: Event, in new() 97 let interrupter = Arc::new(Mutex::new(Interrupter::new(mem.clone(), irq_evt, ®s))); in new()
|
/external/crosvm/devices/src/pci/ |
D | ac97.rs | 105 irq_evt: Option<Event>, field 135 irq_evt: None, in new() 292 irq_evt: Event, in assign_irq() 298 self.irq_evt = Some(irq_evt); in assign_irq() 390 if let (Some(irq_evt), Some(irq_resample_evt)) = in write_bar() 391 (self.irq_evt.take(), self.irq_resample_evt.take()) in write_bar() 393 self.bus_master.set_irq_event(irq_evt, irq_resample_evt); in write_bar()
|
D | ac97_bus_master.rs | 41 irq_evt: Option<Event>, field 53 irq_evt: None, in new() 266 pub fn set_irq_event(&mut self, irq_evt: Event, irq_resample_evt: Event) { in set_irq_event() 268 self.regs.lock().irq_evt = Some(irq_evt); in set_irq_event() 282 if let Some(irq_evt) = regs.irq_evt.as_ref() { in set_irq_event() 283 if let Err(e) = irq_evt.write(1) { in set_irq_event() 952 if let Some(irq_evt) = regs.irq_evt.as_ref() { in update_sr() 954 let _ = irq_evt.write(1); in update_sr()
|
D | pci_device.rs | 201 irq_evt: Event, in assign_irq() 206 (**self).assign_irq(irq_evt, irq_resample_evt, irq_num, irq_pin) in assign_irq()
|
D | vfio_pci.rs | 807 irq_evt: Event, in assign_irq() 813 self.interrupt_evt = Some(irq_evt); in assign_irq()
|
/external/crosvm/arch/src/ |
D | lib.rs | 454 let irq_evt = Event::new().map_err(DeviceRegistrationError::EventCreate)?; in add_goldfish_battery() localVariable 458 .register_irq_event(irq_num, &irq_evt, Some(&irq_resample_evt)) in add_goldfish_battery() 474 irq_evt, in add_goldfish_battery()
|
/external/crosvm/devices/src/virtio/ |
D | virtio_pci_device.rs | 429 irq_evt: Event, in assign_irq() 435 self.interrupt_evt = Some(irq_evt); in assign_irq()
|