Home
last modified time | relevance | path

Searched refs:VmIrqResponse (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/devices/src/pci/
Dmsix.rs10 use vm_control::{VmIrqRequest, VmIrqResponse};
224 if let VmIrqResponse::Err(e) = self in add_msi_route()
248 VmIrqResponse::AllocateOneMsi { gsi } => irq_num = gsi, in msix_enable()
249 VmIrqResponse::Err(e) => return Err(MsixError::AllocateOneMsi(e)), in msix_enable()
Dvfio_pci.rs17 use vm_control::{VmIrqRequest, VmIrqResponse, VmMemoryRequest, VmMemoryResponse};
247 Ok(VmIrqResponse::Err(e)) => error!("failed to call AddMsiRoute request {:?}", e), in add_msi_route()
280 Ok(VmIrqResponse::AllocateOneMsi { gsi }) => self.gsi = Some(gsi), in allocate_one_msi()
/external/crosvm/vm_control/src/
Dlib.rs513 pub fn execute<F>(&self, set_up_irq: F, sys_allocator: &mut SystemAllocator) -> VmIrqResponse in execute()
522 Ok(_) => VmIrqResponse::AllocateOneMsi { gsi: irq_num }, in execute()
523 Err(e) => VmIrqResponse::Err(e), in execute()
526 VmIrqResponse::Err(SysError::new(EINVAL)) in execute()
542 Ok(_) => VmIrqResponse::Ok, in execute()
543 Err(e) => VmIrqResponse::Err(e), in execute()
551 pub enum VmIrqResponse { enum
/external/crosvm/devices/src/irqchip/
Dioapic.rs19 use vm_control::{VmIrqRequest, VmIrqResponse};
393 VmIrqResponse::AllocateOneMsi { gsi, .. } => { in setup_msi()
404 VmIrqResponse::Err(e) => return Err(IoapicError::AllocateOneMsi(e)), in setup_msi()
420 if let VmIrqResponse::Err(e) = self.irq_tube.recv().map_err(IoapicError::AddMsiRouteRecv)? { in setup_msi()