Searched refs:Driver (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/base/device/ |
D | driver.rs | 28 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()
|
D | bus.rs | 3 driver::{driver_register, driver_unregister, Driver, DriverError}, 66 pub trait BusDriver: Driver {
|
/DragonOS-0.1.8/kernel/src/driver/base/platform/ |
D | platform_driver.rs | 2 super::device::driver::{Driver, DriverError}, 10 pub trait PlatformDriver: Driver {
|
D | mod.rs | 3 driver::Driver, 230 impl Driver for LockedPlatformBusDriver {
|
/DragonOS-0.1.8/kernel/src/driver/net/ |
D | mod.rs | 9 use super::Driver; 13 pub trait NetDriver: Driver {
|
D | virtio_net.rs | 12 driver::{virtio::virtio_impl::HalImpl, Driver}, 239 impl<T: Transport> Driver for VirtioInterface<T> {
|
/DragonOS-0.1.8/kernel/src/driver/ |
D | mod.rs | 14 pub trait Driver: Sync + Send + Debug { trait
|
/DragonOS-0.1.8/docs/kernel/filesystem/ |
D | sysfs.md | 47 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/ |
D | uart.rs | 5 device::{driver::Driver, DeviceState, DeviceType, IdTable, KObject}, 206 impl Driver for LockedUartDriver {
|