Home
last modified time | relevance | path

Searched defs:Device (Results 1 – 22 of 22) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/base/device/
Ddd.rs57 dev: &Arc<dyn Device>, in do_device_attach()
227 fn unbind_cleanup(&self, dev: &Arc<dyn Device>) { in unbind_cleanup()
264 pub fn new(dev: Arc<dyn Device>, check_async: bool, want_async: bool) -> Self { in new()
302 fn do_driver_attach(&self, device: &Arc<dyn Device>, driver: &Arc<dyn Driver>) -> bool { in do_driver_attach()
327 device: &Arc<dyn Device>, in match_device()
350 device: &Arc<dyn Device>, in probe_device()
360 device: &Arc<dyn Device>, in do_probe_device()
380 device: &Arc<dyn Device>, in really_probe()
506 fn remove_from_sysfs(&self, _device: &Arc<dyn Device>) { in remove_from_sysfs()
512 device: &Arc<dyn Device>, in call_driver_probe()
[all …]
Dmod.rs126 pub trait Device: KObject { trait
197 impl dyn Device { implementation
508 device: &Arc<dyn Device>, in get_device_parent()
509 current_parent: Option<Arc<dyn Device>>, in get_device_parent()
561 pub fn remove(&self, _dev: &Arc<dyn Device>) { in remove()
570 pub fn find_device_by_idtable(&self, _id_table: &IdTable) -> Option<Arc<dyn Device>> { in find_device_by_idtable()
574 fn device_platform_notify(&self, dev: &Arc<dyn Device>) { in device_platform_notify()
680 dev: &Arc<dyn Device>, in add_groups()
695 dev: &Arc<dyn Device>, in remove_groups()
710 dev: &Arc<dyn Device>, in create_file()
[all …]
Ddriver.rs61 fn devices(&self) -> Vec<Arc<dyn Device>>; in devices()
64 fn add_device(&self, device: Arc<dyn Device>); in add_device()
67 fn delete_device(&self, device: &Arc<dyn Device>); in delete_device()
78 fn __find_device_by_name_fast(&self, _name: &str) -> Option<Arc<dyn Device>> { in __find_device_by_name_fast()
140 ) -> Option<Arc<dyn Device>> { in find_device_slow()
155 pub fn find_device_by_name(&self, name: &str) -> Option<Arc<dyn Device>> { in find_device_by_name()
Dbus.rs107 fn root_device(&self) -> Option<Weak<dyn Device>> { in root_device()
111 fn set_root_device(&self, _dev: Option<Weak<dyn Device>>) {} in set_root_device()
142 fn sync_state(&self, _device: &Arc<dyn Device>) {} in sync_state()
143 fn shutdown(&self, _device: &Arc<dyn Device>); in shutdown()
144 fn suspend(&self, _device: &Arc<dyn Device>) { in suspend()
165 _device: &Arc<dyn Device>, in match_device()
190 ) -> Option<Arc<dyn Device>> { in find_device()
206 pub fn find_device_by_name(&self, name: &str) -> Option<Arc<dyn Device>> { in find_device_by_name()
447 pub fn probe_device(&self, dev: &Arc<dyn Device>) { in probe_device()
583 pub fn bus_probe_device(dev: &Arc<dyn Device>) { in bus_probe_device()
[all …]
/DragonOS-0.1.9/kernel/src/driver/acpi/
Dglue.rs6 pub fn acpi_device_notify(_dev: &Arc<dyn Device>) { in acpi_device_notify()
Dbus.rs24 _device: &Arc<dyn Device>, in driver_match_device()
76 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown()
89 _device: &Arc<dyn Device>, in match_device()
/DragonOS-0.1.9/kernel/src/driver/base/
Dswnode.rs5 pub fn software_node_notify(_dev: &Arc<dyn Device>) { in software_node_notify()
Dsubsys.rs109 pub fn devices(&self) -> RwLockReadGuard<Vec<Arc<dyn Device>>> { in devices()
148 pub fn bus_notifier(&self) -> &AtomicNotifierChain<BusNotifyEvent, Arc<dyn Device>> { in bus_notifier()
183 pub fn remove_device_from_vec(&self, device: &Arc<dyn Device>) { in remove_device_from_vec()
200 fn remove_device(&self, device: &Arc<dyn Device>); in remove_device()
Dclass.rs84 ) -> Option<Arc<dyn Device>> { in find_device()
101 pub fn find_device_by_name(&self, name: &str) -> Option<Arc<dyn Device>> { in find_device_by_name()
Dcpu.rs86 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown()
96 device: &Arc<dyn Device>, in match_device()
/DragonOS-0.1.9/kernel/src/driver/base/platform/
Dsubsys.rs80 fn sync_state(&self, _device: &Arc<dyn Device>) { in sync_state()
84 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown()
119 device: &Arc<dyn Device>, in match_device()
/DragonOS-0.1.9/kernel/src/driver/input/serio/
Dsubsys.rs84 fn sync_state(&self, _device: &Arc<dyn Device>) { in sync_state()
88 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown()
98 device: &Arc<dyn Device>, in match_device()
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/
Di8042_driver.rs106 fn devices(&self) -> Vec<Arc<dyn Device>> { in devices()
110 fn add_device(&self, device: Arc<dyn Device>) { in add_device()
120 fn delete_device(&self, device: &Arc<dyn Device>) { in delete_device()
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_driver.rs130 fn devices(&self) -> alloc::vec::Vec<Arc<dyn Device>> { in devices()
134 fn add_device(&self, device: Arc<dyn Device>) { in add_device()
144 fn delete_device(&self, device: &Arc<dyn Device>) { in delete_device()
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/
De1000e_driver.rs212 fn add_device(&self, _device: Arc<dyn Device>) { in add_device()
216 fn delete_device(&self, _device: &Arc<dyn Device>) { in delete_device()
220 fn devices(&self) -> alloc::vec::Vec<Arc<dyn Device>> { in devices()
/DragonOS-0.1.9/kernel/src/driver/net/
Dvirtio_net.rs281 fn add_device(&self, _device: Arc<dyn Device>) { in add_device()
285 fn delete_device(&self, _device: &Arc<dyn Device>) { in delete_device()
289 fn devices(&self) -> alloc::vec::Vec<Arc<dyn Device>> { in devices()
/DragonOS-0.1.9/kernel/src/driver/tty/
Dtty_driver.rs338 ) -> alloc::vec::Vec<alloc::sync::Arc<dyn crate::driver::base::device::Device>> { in devices()
342 fn add_device(&self, _device: alloc::sync::Arc<dyn crate::driver::base::device::Device>) { in add_device()
346 fn delete_device(&self, _device: &alloc::sync::Arc<dyn crate::driver::base::device::Device>) { in delete_device()
/DragonOS-0.1.9/kernel/src/exception/
Dmsi.rs96 dev: Option<Arc<dyn Device>>, in new()
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/
Dmod.rs447 fn devices(&self) -> Vec<Arc<dyn Device>> { in devices()
451 fn add_device(&self, device: Arc<dyn Device>) { in add_device()
455 fn delete_device(&self, device: &Arc<dyn Device>) { in delete_device()
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/
Dvesafb.rs679 fn devices(&self) -> Vec<Arc<dyn Device>> { in devices()
683 fn add_device(&self, device: Arc<dyn Device>) { in add_device()
693 fn delete_device(&self, device: &Arc<dyn Device>) { in delete_device()
/DragonOS-0.1.9/kernel/src/driver/base/block/
Dblock_device.rs234 fn device(&self) -> Arc<dyn Device>; in device()
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahcidisk.rs555 fn device(&self) -> Arc<dyn Device> { in device()