Home
last modified time | relevance | path

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

12

/DragonOS/kernel/src/driver/base/
H A Dkobject.rs46 fn kobj_type(&self) -> Option<&'static dyn KObjType>; in kobj_type()
48 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>); in set_kobj_type()
92 pub trait KObjType: Debug + Send + Sync { trait
184 kobj_type: Option<&'static dyn KObjType>, in init_and_add_kobj()
190 pub fn kobj_init(kobj: &Arc<dyn KObject>, kobj_type: Option<&'static dyn KObjType>) { in kobj_init()
H A Dkset.rs178 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
182 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
H A Dcpu.rs233 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
237 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/open_firmware/
H A Ddevice_node.rs133 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
137 fn set_kobj_type(&self, _ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs144 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
148 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
H A Dpt_device.rs198 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
202 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_driver.rs163 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
167 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
H A Di8042_ports.rs146 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
150 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
H A Di8042_device.rs149 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
153 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs178 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
182 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
H A Dsysfs.rs216 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
220 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs332 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
336 fn set_kobj_type(&self, _ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
531 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
535 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/pci/
H A Draw_device.rs204 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
208 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
H A Ddevice.rs148 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
152 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs188 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
192 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs205 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
209 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/net/
H A Dvirtio_net.rs163 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
167 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
749 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
773 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
954 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
958 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
H A Dloopback.rs352 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
376 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs448 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
472 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
635 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
639 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs234 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
238 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/disk/ahci/
H A Dahcidisk.rs419 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
463 fn set_kobj_type(&self, _ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs246 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
250 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
834 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
838 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs408 fn kobj_type(&self) -> Option<&'static dyn crate::driver::base::kobject::KObjType> { in kobj_type()
432 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs303 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
307 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs472 fn kobj_type(&self) -> Option<&'static dyn crate::driver::base::kobject::KObjType> { in kobj_type()
476 fn set_kobj_type(&self, _ktype: Option<&'static dyn crate::driver::base::kobject::KObjType>) {} in set_kobj_type()

12