Home
last modified time | relevance | path

Searched defs:IdTable (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/base/device/
Dmod.rs95 pub struct IdTable(&'static str, u32); struct
98 impl IdTable { impl
103 pub fn new(name: &'static str, id: u32) -> IdTable { in new()
184 fn id_table(&self) -> IdTable; in id_table()
212 pub fn add_device(&self, id_table: IdTable, dev: Arc<dyn Device>) { in add_device()
222 pub fn remove_device(&self, id_table: &IdTable) { in remove_device()
Dbus.rs108 pub fn add_bus(&self, id_table: IdTable, bus_dev: Arc<dyn Bus>) { in add_bus()
119 pub fn add_driver(&self, id_table: IdTable, bus_drv: Arc<dyn BusDriver>) { in add_driver()
129 pub fn remove_bus(&self, id_table: &IdTable) { in remove_bus()
139 pub fn remove_bus_driver(&self, id_table: &IdTable) { in remove_bus_driver()
Ddriver.rs37 fn id_table(&self) -> IdTable; in id_table()
69 pub fn add_driver(&self, id_table: IdTable, drv: Arc<dyn Driver>) { in add_driver()
79 pub fn remove_driver(&self, id_table: &IdTable) { in remove_driver()
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs237 fn id_table(&self) -> IdTable { in id_table()
361 fn id_table(&self) -> IdTable { in id_table()
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs154 fn id_table(&self) -> IdTable { in id_table()
211 fn id_table(&self) -> IdTable { in id_table()