Home
last modified time | relevance | path

Searched defs:Driver (Results 1 – 25 of 30) sorted by relevance

12

/DragonOS/kernel/src/driver/base/device/
H A Ddriver.rs56 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 Ddd.rs149 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 Dbus.rs167 _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 Dmod.rs180 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 Dbus.rs23 _driver: &Arc<dyn Driver>, in driver_match_device()
90 _driver: &Arc<dyn Driver>, in match_device()
/DragonOS/kernel/src/driver/base/
H A Dcpu.rs102 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 Dsubsys.rs124 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 Di8042_ports.rs86 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver()
90 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
H A Di8042_device.rs89 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 Draw_device.rs128 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver()
158 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
H A Ddevice.rs208 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 Dsubsys.rs130 driver: &Arc<dyn Driver>, in match_device()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs136 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 Dsubsys.rs100 driver: &Arc<dyn Driver>, in match_device()
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs296 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver()
305 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
H A Dsubsys.rs123 driver: &Arc<dyn Driver>, in match_device()
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_device.rs120 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 Dahcidisk.rs485 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 Dsysfs.rs148 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 De1000e_driver.rs267 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 Dfbmem.rs352 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 Dvirtio_net.rs223 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 Dloopback.rs412 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 Dtty_device.rs530 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 Dmod.rs209 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver()
217 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()

12