• Home
  • Raw
  • Download

Lines Matching refs:DeviceRegistrationError

235 pub enum DeviceRegistrationError {  enum
276 impl Display for DeviceRegistrationError { implementation
278 use self::DeviceRegistrationError::*; in fmt()
320 DeviceRegistrationError, in generate_pci_root() argument
333 .map_err(DeviceRegistrationError::AllocateDeviceAddrs)?; in generate_pci_root()
342 .map_err(DeviceRegistrationError::AllocateIoAddrs)?; in generate_pci_root()
351 .map_err(DeviceRegistrationError::AllocateDeviceAddrs)?; in generate_pci_root()
360 let irqfd = Event::new().map_err(DeviceRegistrationError::EventCreate)?; in generate_pci_root()
361 let irq_resample_fd = Event::new().map_err(DeviceRegistrationError::EventCreate)?; in generate_pci_root()
367 .ok_or(DeviceRegistrationError::AllocateIrq)?; in generate_pci_root()
382 .map_err(DeviceRegistrationError::RegisterIrqfd)?; in generate_pci_root()
392 .map_err(DeviceRegistrationError::RegisterDeviceCapabilities)?; in generate_pci_root()
396 .map_err(DeviceRegistrationError::RegisterIoevent)?; in generate_pci_root()
401 .map_err(DeviceRegistrationError::ProxyDeviceCreation)?; in generate_pci_root()
412 .map_err(DeviceRegistrationError::MmioInsert)?; in generate_pci_root()
418 .map_err(DeviceRegistrationError::MmioInsert)?; in generate_pci_root()
442 ) -> Result<Tube, DeviceRegistrationError> { in add_goldfish_battery() argument
452 .map_err(DeviceRegistrationError::AllocateIoResource)?; in add_goldfish_battery()
454 let irq_evt = Event::new().map_err(DeviceRegistrationError::EventCreate)?; in add_goldfish_battery()
455 let irq_resample_evt = Event::new().map_err(DeviceRegistrationError::EventCreate)?; in add_goldfish_battery()
459 .map_err(DeviceRegistrationError::RegisterIrqfd)?; in add_goldfish_battery()
462 Tube::pair().map_err(DeviceRegistrationError::CreateTube)?; in add_goldfish_battery()
479 .map_err(DeviceRegistrationError::RegisterBattery)?; in add_goldfish_battery()
490 .map_err(DeviceRegistrationError::ProxyDeviceCreation)?, in add_goldfish_battery()
495 .map_err(DeviceRegistrationError::MmioInsert)?; in add_goldfish_battery()
504 .map_err(DeviceRegistrationError::MmioInsert)?; in add_goldfish_battery()