Searched refs:VmIrqResponse (Results 1 – 4 of 4) sorted by relevance
/external/crosvm/devices/src/pci/ |
D | msix.rs | 10 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()
|
D | vfio_pci.rs | 17 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/ |
D | lib.rs | 513 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/ |
D | ioapic.rs | 19 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()
|