/DragonOS/kernel/src/driver/base/ |
H A D | class.rs | 44 pub trait Class: Debug + Send + Sync { trait 72 impl dyn Class { implementation 142 pub fn class_unregister(&self, class: &Arc<dyn Class>) { in class_unregister()
|
H A D | subsys.rs | 69 class: Option<Weak<dyn Class>>, in new() 106 pub fn class(&self) -> Option<Weak<dyn Class>> { in class() 116 pub fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
|
H A D | cpu.rs | 187 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class()
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_ports.rs | 73 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class() 77 fn class(&self) -> Option<Arc<dyn Class>> { in class()
|
H A D | i8042_device.rs | 76 fn class(&self) -> Option<Arc<dyn Class>> { in class() 85 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | raw_device.rs | 118 fn class(&self) -> Option<Arc<dyn Class>> { in class() 154 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
|
H A D | attr.rs | 203 struct Class; struct 205 impl Attribute for Class { implementation
|
H A D | device.rs | 228 fn set_class(&self, _class: Option<alloc::sync::Weak<dyn crate::driver::base::class::Class>>) { in set_class()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 125 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class() 129 fn class(&self) -> Option<Arc<dyn Class>> { in class()
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_device.rs | 110 fn class(&self) -> Option<Arc<dyn Class>> { in class() 148 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | mod.rs | 170 fn class(&self) -> Option<Arc<dyn Class>> { in class() 177 fn set_class(&self, class: Option<Weak<dyn Class>>); in set_class() 252 pub fn get_class_weak_or_clear(&mut self) -> Option<Weak<dyn Class>> { in get_class_weak_or_clear() 569 class: Arc<dyn Class>, in class_dir_create_and_add()
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | sysfs.rs | 137 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class() 141 fn class(&self) -> Option<Arc<dyn Class>> { in class()
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 253 fn class(&self) -> Option<Arc<dyn Class>> { in class() 263 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbmem.rs | 345 fn class(&self) -> Option<Arc<dyn Class>> { in class() 348 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class()
|
/DragonOS/kernel/src/driver/net/ |
H A D | virtio_net.rs | 209 fn class(&self) -> Option<Arc<dyn Class>> { in class() 219 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class() 461 fn class(&self) -> Option<Arc<dyn Class>> { in class() 471 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
|
H A D | loopback.rs | 398 fn class(&self) -> Option<Arc<dyn Class>> { in class() 408 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_device.rs | 520 fn set_class(&self, _class: Option<Weak<dyn crate::driver::base::class::Class>>) { in set_class() 524 fn class(&self) -> Option<Arc<dyn Class>> { in class()
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | mod.rs | 200 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class() 205 fn class(&self) -> Option<Arc<dyn Class>> { in class()
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_device.rs | 446 fn set_class(&self, class: Option<alloc::sync::Weak<dyn Class>>) { in set_class() 472 fn class(&self) -> Option<Arc<dyn Class>> { in class()
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 367 fn class(&self) -> Option<Arc<dyn Class>> { in class() 377 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 321 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | ahcidisk.rs | 509 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class()
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 170 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class() 174 fn class(&self) -> Option<Arc<dyn Class>> { in class()
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 290 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class()
|