Home
last modified time | relevance | path

Searched refs:irqfd (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/arch/src/
Dlib.rs171 let irqfd = EventFd::new().map_err(DeviceRegistrationError::EventFdCreate)?; in generate_pci_root() localVariable
183 vm.register_irqfd_resample(&irqfd, &irq_resample_fd, irq_num) in generate_pci_root()
185 keep_fds.push(irqfd.as_raw_fd()); in generate_pci_root()
187 device.assign_irq(irqfd, irq_resample_fd, irq_num, pci_irq_pin); in generate_pci_root()
/external/crosvm/devices/src/
Dpit.rs773 irqfd: EventFd, field
835 let irqfd = EventFd::new().unwrap(); in set_up() localVariable
838 pit: Pit::new(irqfd.try_clone().unwrap(), clock.clone()).unwrap(), in set_up()
839 irqfd, in set_up()
1008 assert_eq!(data.irqfd.read().unwrap(), 1); in interrupt_mode()
1025 assert_eq!(data.irqfd.read().unwrap(), 1); in rate_gen_mode()
1029 assert_eq!(data.irqfd.read().unwrap(), 1); in rate_gen_mode()
1033 assert_eq!(data.irqfd.read().unwrap(), 1); in rate_gen_mode()
/external/crosvm/kvm/src/
Dlib.rs877 let irqfd = kvm_irqfd { in register_irqfd() localVariable
884 let ret = unsafe { ioctl_with_ref(self, KVM_IRQFD(), &irqfd) }; in register_irqfd()
906 let irqfd = kvm_irqfd { in register_irqfd_resample() localVariable
915 let ret = unsafe { ioctl_with_ref(self, KVM_IRQFD(), &irqfd) }; in register_irqfd_resample()
935 let irqfd = kvm_irqfd { in unregister_irqfd() localVariable
943 let ret = unsafe { ioctl_with_ref(self, KVM_IRQFD(), &irqfd) }; in unregister_irqfd()