Searched refs:DriverError (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/base/device/ |
D | driver.rs | 13 pub enum DriverError { enum 18 impl Into<SystemError> for DriverError { implementation 21 DriverError::ProbeError => SystemError::EIO, in into() 22 DriverError::RegisterError => SystemError::EIO, in into() 127 pub fn driver_register<T: Driver>(driver: Arc<T>) -> Result<(), DriverError> { in driver_register() argument 136 pub fn driver_unregister<T: Driver>(driver: Arc<T>) -> Result<(), DriverError> { in driver_unregister() argument
|
D | bus.rs | 3 driver::{driver_register, driver_unregister, Driver, DriverError}, 200 pub fn bus_driver_register<T: BusDriver>(bus_driver: Arc<T>) -> Result<(), DriverError> { in bus_driver_register() argument 209 pub fn bus_driver_unregister<T: BusDriver>(bus_driver: Arc<T>) -> Result<(), DriverError> { in bus_driver_unregister() argument
|
/DragonOS-0.1.8/kernel/src/driver/base/platform/ |
D | platform_driver.rs | 2 super::device::driver::{Driver, DriverError}, 14 fn probe(&self, device: Arc<dyn PlatformDevice>) -> Result<(), DriverError>; in probe() argument
|
/DragonOS-0.1.8/kernel/src/driver/uart/ |
D | uart.rs | 250 ) -> Result<(), crate::driver::base::device::driver::DriverError> { in probe() argument
|