/DragonOS-0.1.9/kernel/src/driver/base/device/ |
D | dd.rs | 57 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 …]
|
D | mod.rs | 126 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 …]
|
D | driver.rs | 61 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()
|
D | bus.rs | 107 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/ |
D | glue.rs | 6 pub fn acpi_device_notify(_dev: &Arc<dyn Device>) { in acpi_device_notify()
|
D | bus.rs | 24 _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/ |
D | swnode.rs | 5 pub fn software_node_notify(_dev: &Arc<dyn Device>) { in software_node_notify()
|
D | subsys.rs | 109 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()
|
D | class.rs | 84 ) -> 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()
|
D | cpu.rs | 86 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/ |
D | subsys.rs | 80 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/ |
D | subsys.rs | 84 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/ |
D | i8042_driver.rs | 106 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/ |
D | ps_mouse_driver.rs | 130 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/ |
D | e1000e_driver.rs | 212 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/ |
D | virtio_net.rs | 281 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/ |
D | tty_driver.rs | 338 ) -> 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/ |
D | msi.rs | 96 dev: Option<Arc<dyn Device>>, in new()
|
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/ |
D | mod.rs | 447 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/ |
D | vesafb.rs | 679 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/ |
D | block_device.rs | 234 fn device(&self) -> Arc<dyn Device>; in device()
|
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/ |
D | ahcidisk.rs | 555 fn device(&self) -> Arc<dyn Device> { in device()
|