Lines Matching refs:PciDeviceError
19 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()
442 ) -> std::result::Result<Vec<(u64, u64)>, PciDeviceError> { in allocate_io_bars() argument
464 .map_err(|e| PciDeviceError::IoAllocationFailed(CAPABILITY_BAR_SIZE, e))?; in allocate_io_bars()
472 .map_err(|e| PciDeviceError::IoRegistrationFailed(settings_config_addr, e))? in allocate_io_bars()
485 ) -> std::result::Result<Vec<(u64, u64)>, PciDeviceError> { in allocate_device_bars() argument
507 .map_err(|e| PciDeviceError::IoAllocationFailed(config.get_size(), e))?; in allocate_device_bars()
512 .map_err(|e| PciDeviceError::IoRegistrationFailed(device_addr, e))?; in allocate_device_bars()
518 fn register_device_capabilities(&mut self) -> std::result::Result<(), PciDeviceError> { in register_device_capabilities() argument
522 .map_err(PciDeviceError::CapabilitiesSetup)?; in register_device_capabilities()