Home
last modified time | relevance | path

Searched refs:drivers (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/base/device/
Ddriver.rs71 driver_manager.drivers.insert(id_table, drv); in add_driver()
81 driver_manager.drivers.remove(id_table); in remove_driver()
91 driver_manager.drivers.get(id_table).cloned() in get_driver()
107 drivers: BTreeMap<IdTable, Arc<dyn Driver>>, // 所有驱动 field
118 drivers: BTreeMap::new(), in new()
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs88 let driver_map = &self.0.lock().drivers; in get_driver()
99 let drivers = &mut self.0.lock().drivers; in register_platform_driver() localVariable
101 if drivers.contains_key(&id_table) { in register_platform_driver()
104 drivers.insert(id_table.clone(), driver.clone()); in register_platform_driver()
116 self.0.lock().drivers.remove(&id_table); in unregister_platform_driver()
186 let drivers = &mut self.0.lock().drivers; in device_match_driver() localVariable
187 for (_drv_id_table, driver) in drivers.into_iter() { in device_match_driver()
209 drivers: BTreeMap<IdTable, Arc<dyn PlatformDriver>>, // 总线上所有驱动 field
222 drivers: BTreeMap::new(), in new()
257 if self.0.lock().devices.is_empty() && self.0.lock().drivers.is_empty() { in is_empty()
/DragonOS-0.1.8/kernel/
DCargo.toml16 virtio-drivers = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/virtio-drivers.git", …
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dbus.rs44 Ok(drivers) => Ok((devices, drivers)), in sys_bus_init()
/DragonOS-0.1.8/docs/kernel/filesystem/
Dsysfs.md56 drivers: BTreeMap<IdTable, Arc<dyn Driver>>, // 所有驱动
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.6.md274 * 使用virtio-drivers 0.3.0