Lines Matching refs:PciDeviceError
18 PciDeviceError, PciHeaderType, PciInterruptPin, PciSubclass,
245 ) -> std::result::Result<(), PciDeviceError> { in add_settings_pci_capabilities() argument
255 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
265 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
276 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
287 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
293 .map_err(PciDeviceError::CapabilitiesSetup)?; in add_settings_pci_capabilities()
335 ) -> std::result::Result<Vec<(u64, u64)>, PciDeviceError> { in allocate_io_bars() argument
351 .map_err(|e| PciDeviceError::IoAllocationFailed(CAPABILITY_BAR_SIZE, e))?; in allocate_io_bars()
359 .map_err(|e| PciDeviceError::IoRegistrationFailed(settings_config_addr, e))? in allocate_io_bars()
372 ) -> std::result::Result<Vec<(u64, u64)>, PciDeviceError> { in allocate_device_bars() argument
392 .map_err(|e| PciDeviceError::IoAllocationFailed(config.get_size(), e))?; in allocate_device_bars()
397 .map_err(|e| PciDeviceError::IoRegistrationFailed(device_addr, e))?; in allocate_device_bars()
403 fn register_device_capabilities(&mut self) -> std::result::Result<(), PciDeviceError> { in register_device_capabilities() argument
407 .map_err(PciDeviceError::CapabilitiesSetup)?; in register_device_capabilities()