Home
last modified time | relevance | path

Searched refs:PciDeviceError (Results 1 – 8 of 8) sorted by relevance

/external/crosvm/devices/src/virtio/
Dvirtio_pci_device.rs19 PciClassCode, PciConfiguration, PciDevice, PciDeviceError, PciDisplaySubclass, PciHeaderType,
319 ) -> std::result::Result<(), PciDeviceError> { in add_settings_pci_capabilities() argument
329 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
339 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
350 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
361 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
367 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
379 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
399 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address() argument
411 self.pci_address.ok_or(PciDeviceError::PciAllocationFailed) in allocate_address()
[all …]
/external/crosvm/devices/src/usb/xhci/
Dxhci_controller.rs6 PciAddress, PciBarConfiguration, PciClassCode, PciConfiguration, PciDevice, PciDeviceError,
173 ) -> Result<PciAddress, PciDeviceError> { in allocate_address() argument
185 self.pci_address.ok_or(PciDeviceError::PciAllocationFailed) in allocate_address()
223 ) -> std::result::Result<Vec<(u64, u64)>, PciDeviceError> { in allocate_io_bars() argument
241 .map_err(|e| PciDeviceError::IoAllocationFailed(XHCI_BAR0_SIZE, e))?; in allocate_io_bars()
248 .map_err(|e| PciDeviceError::IoRegistrationFailed(bar0_addr, e))?; in allocate_io_bars()
/external/crosvm/devices/src/pci/
Dvfio_pci.rs23 use crate::pci::pci_device::{Error as PciDeviceError, PciDevice};
769 ) -> Result<PciAddress, PciDeviceError> { in allocate_address() argument
784 self.pci_address.ok_or(PciDeviceError::PciAllocationFailed) in allocate_address()
825 ) -> Result<Vec<(u64, u64)>, PciDeviceError> { in allocate_io_bars() argument
874 .map_err(|e| PciDeviceError::IoAllocationFailed(size, e))?; in allocate_io_bars()
914 ) -> Result<Vec<(u64, u64)>, PciDeviceError> { in allocate_device_bars() argument
942 .map_err(|e| PciDeviceError::IoAllocationFailed(size, e))?; in allocate_device_bars()
959 fn register_device_capabilities(&mut self) -> Result<(), PciDeviceError> { in register_device_capabilities() argument
Dmod.rs29 pub use self::pci_device::Error as PciDeviceError;
Dac97.rs24 use crate::pci::{PciAddress, PciDeviceError, PciInterruptPin};
287 self.pci_address.ok_or(PciDeviceError::PciAllocationFailed) in allocate_address()
/external/crosvm/devices/src/
Dlib.rs45 PciAddress, PciConfigIo, PciConfigMmio, PciDevice, PciDeviceError, PciInterruptPin, PciRoot,
/external/crosvm/arch/src/
Dlib.rs23 Bus, BusDevice, BusError, IrqChip, PciAddress, PciDevice, PciDeviceError, PciInterruptPin,
237 AllocateIoAddrs(PciDeviceError),
241 AllocateDeviceAddrs(PciDeviceError),
271 RegisterDeviceCapabilities(PciDeviceError),
/external/crosvm/src/
Dlinux.rs102 CreateAc97(devices::PciDeviceError),