Searched defs:DeviceError (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/base/device/ |
D | mod.rs | 125 pub enum DeviceError { enum 134 impl Into<SystemError> for DeviceError { implementation 270 pub fn device_register<T: Device>(device: Arc<T>) -> Result<(), DeviceError> { in device_register() argument 284 pub fn device_unregister<T: Device>(device: Arc<T>) -> Result<(), DeviceError> { in device_unregister() argument
|
D | bus.rs | 177 pub fn bus_register<T: Bus>(bus: Arc<T>) -> Result<(), DeviceError> { in bus_register() argument 192 pub fn bus_unregister<T: Bus>(bus: Arc<T>) -> Result<(), DeviceError> { in bus_unregister() argument
|
/DragonOS-0.1.8/kernel/src/driver/base/platform/ |
D | mod.rs | 96 fn register_platform_driver(&self, driver: Arc<dyn PlatformDriver>) -> Result<(), DeviceError> { in register_platform_driver() argument 126 ) -> Result<(), DeviceError> { in register_platform_device() argument 152 fn driver_match_device(&self, driver: Arc<dyn PlatformDriver>) -> Result<i32, DeviceError> { in driver_match_device() argument 185 fn device_match_driver(&self, device: Arc<dyn PlatformDevice>) -> Result<(), DeviceError> { in device_match_driver() argument
|