/DragonOS/kernel/src/driver/base/device/ |
H A D | driver.rs | 56 pub trait Driver: Sync + Send + Debug + KObject { trait 135 impl dyn Driver { implementation 228 pub fn unregister(&self, driver: &Arc<dyn Driver>) { in unregister() 270 driver: &Arc<dyn Driver>, in add_groups() 277 pub fn remove_groups(&self, driver: &Arc<dyn Driver>, groups: &'static [&dyn AttributeGroup]) { in remove_groups() 290 driver: &Arc<dyn Driver>, in create_attr_file() 305 pub fn remove_attr_file(&self, driver: &Arc<dyn Driver>, attr: &'static dyn Attribute) { in remove_attr_file() 320 fn match_driver(&self, driver: &Arc<dyn Driver>, data: T) -> bool; in match_driver() 329 fn match_driver(&self, driver: &Arc<dyn Driver>, data: &str) -> bool { in match_driver()
|
H A D | dd.rs | 149 driver: &Arc<dyn Driver>, in do_device_attach_driver() 326 driver: &Arc<dyn Driver>, in match_device() 348 driver: &Arc<dyn Driver>, in probe_device() 358 driver: &Arc<dyn Driver>, in do_probe_device() 378 driver: &Arc<dyn Driver>, in really_probe() 510 driver: &Arc<dyn Driver>, in call_driver_probe()
|
H A D | bus.rs | 167 _driver: &Arc<dyn Driver>, in match_device() 221 ) -> Option<Arc<dyn Driver>> { in find_driver() 233 pub fn find_driver_by_name(&self, name: &str) -> Option<Arc<dyn Driver>> { in find_driver_by_name() 478 pub fn remove_driver(&self, _driver: &Arc<dyn Driver>) { in remove_driver()
|
H A D | mod.rs | 180 fn driver(&self) -> Option<Arc<dyn Driver>>; in driver() 182 fn set_driver(&self, driver: Option<Weak<dyn Driver>>); in set_driver() 259 pub fn get_driver_weak_or_clear(&mut self) -> Option<Weak<dyn Driver>> { in get_driver_weak_or_clear() 880 _driver: &Arc<dyn Driver>, in device_driver_attach()
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | bus.rs | 23 _driver: &Arc<dyn Driver>, in driver_match_device() 90 _driver: &Arc<dyn Driver>, in match_device()
|
/DragonOS/kernel/src/driver/base/ |
H A D | cpu.rs | 102 driver: &Arc<dyn Driver>, in match_device() 163 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 167 fn set_driver(&self, _driver: Option<Weak<dyn Driver>>) { in set_driver()
|
H A D | subsys.rs | 124 pub fn drivers(&self) -> RwLockReadGuard<Vec<Arc<dyn Driver>>> { in drivers() 176 pub fn remove_driver_from_vec(&self, driver: &Arc<dyn Driver>) { in remove_driver_from_vec()
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_ports.rs | 86 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 90 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|
H A D | i8042_device.rs | 89 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 93 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | raw_device.rs | 128 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 158 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|
H A D | device.rs | 208 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 216 fn set_driver(&self, driver: Option<alloc::sync::Weak<dyn Driver>>) { in set_driver()
|
H A D | subsys.rs | 130 driver: &Arc<dyn Driver>, in match_device()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 136 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 143 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | subsys.rs | 100 driver: &Arc<dyn Driver>, in match_device()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 296 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 305 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|
H A D | subsys.rs | 123 driver: &Arc<dyn Driver>, in match_device()
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_device.rs | 120 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 152 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | ahcidisk.rs | 485 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 493 fn set_driver(&self, _driver: Option<Weak<dyn Driver>>) { in set_driver()
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | sysfs.rs | 148 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 155 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 267 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 276 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbmem.rs | 352 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 356 fn set_driver(&self, _driver: Option<Weak<dyn Driver>>) { in set_driver()
|
/DragonOS/kernel/src/driver/net/ |
H A D | virtio_net.rs | 223 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 232 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver() 475 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 484 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|
H A D | loopback.rs | 412 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 421 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_device.rs | 530 fn driver(&self) -> Option<Arc<dyn crate::driver::base::device::driver::Driver>> { in driver() 536 driver: Option<alloc::sync::Weak<dyn crate::driver::base::device::driver::Driver>>, in set_driver()
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | mod.rs | 209 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver() 217 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
|