Home
last modified time | relevance | path

Searched defs:Class (Results 1 – 24 of 24) sorted by relevance

/DragonOS/kernel/src/driver/base/
H A Dclass.rs44 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 Dsubsys.rs69 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 Dcpu.rs187 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class()
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_ports.rs73 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
77 fn class(&self) -> Option<Arc<dyn Class>> { in class()
H A Di8042_device.rs76 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 Draw_device.rs118 fn class(&self) -> Option<Arc<dyn Class>> { in class()
154 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
H A Dattr.rs203 struct Class; struct
205 impl Attribute for Class { implementation
H A Ddevice.rs228 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 Drtc.rs125 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 Dpt_device.rs110 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 Dmod.rs170 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 Dsysfs.rs137 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 De1000e_driver.rs253 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 Dfbmem.rs345 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 Dvirtio_net.rs209 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 Dloopback.rs398 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 Dtty_device.rs520 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 Dmod.rs200 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 Dps_mouse_device.rs446 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 Dvirtio_blk.rs367 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 Dplatform_device.rs321 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
/DragonOS/kernel/src/driver/disk/ahci/
H A Dahcidisk.rs509 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class()
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs170 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 Dmod.rs290 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class()