Home
last modified time | relevance | path

Searched refs:Driver (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/base/device/
Ddriver.rs28 pub trait Driver: KObject { interface
69 pub fn add_driver(&self, id_table: IdTable, drv: Arc<dyn Driver>) { in add_driver() argument
89 pub fn get_driver(&self, id_table: &IdTable) -> Option<Arc<dyn Driver>> { in get_driver() argument
107 drivers: BTreeMap<IdTable, Arc<dyn Driver>>, // 所有驱动
127 pub fn driver_register<T: Driver>(driver: Arc<T>) -> Result<(), DriverError> { in driver_register()
136 pub fn driver_unregister<T: Driver>(driver: Arc<T>) -> Result<(), DriverError> { in driver_unregister()
Dbus.rs3 driver::{driver_register, driver_unregister, Driver, DriverError},
66 pub trait BusDriver: Driver {
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dplatform_driver.rs2 super::device::driver::{Driver, DriverError},
10 pub trait PlatformDriver: Driver {
Dmod.rs3 driver::Driver,
230 impl Driver for LockedPlatformBusDriver {
/DragonOS-0.1.8/kernel/src/driver/net/
Dmod.rs9 use super::Driver;
13 pub trait NetDriver: Driver {
Dvirtio_net.rs12 driver::{virtio::virtio_impl::HalImpl, Driver},
239 impl<T: Transport> Driver for VirtioInterface<T> {
/DragonOS-0.1.8/kernel/src/driver/
Dmod.rs14 pub trait Driver: Sync + Send + Debug { trait
/DragonOS-0.1.8/docs/kernel/filesystem/
Dsysfs.md47 pub trait Driver: Any + Send + Sync + Debug {}
56 drivers: BTreeMap<IdTable, Arc<dyn Driver>>, // 所有驱动
67 pub trait BusDriver: Driver {}
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs5 device::{driver::Driver, DeviceState, DeviceType, IdTable, KObject},
206 impl Driver for LockedUartDriver {