Home
last modified time | relevance | path

Searched defs:DriverError (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/base/device/
Ddriver.rs13 pub enum DriverError { enum
18 impl Into<SystemError> for DriverError { implementation
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
Dbus.rs200 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/
Dplatform_driver.rs14 fn probe(&self, device: Arc<dyn PlatformDevice>) -> Result<(), DriverError>; in probe() argument
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs250 ) -> Result<(), crate::driver::base::device::driver::DriverError> { in probe()