/DragonOS/kernel/src/driver/base/ |
H A D | kobject.rs | 46 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 D | kset.rs | 178 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 D | cpu.rs | 233 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 D | device_node.rs | 133 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 D | pt_driver.rs | 144 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 D | pt_device.rs | 172 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() 176 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_driver.rs | 163 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 D | i8042_ports.rs | 146 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 D | i8042_device.rs | 149 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 D | rtc_cmos.rs | 178 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 D | sysfs.rs | 216 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/pci/ |
H A D | device.rs | 141 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() 145 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
|
H A D | raw_device.rs | 180 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() 184 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 332 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/input/ps2_mouse/ |
H A D | ps_mouse_driver.rs | 188 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 D | rtc.rs | 205 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 D | virtio_net.rs | 163 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() 743 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() 767 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() 948 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() 952 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
|
H A D | loopback.rs | 346 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() 370 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 447 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() 471 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() 634 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() 638 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 234 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 D | ahcidisk.rs | 419 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 D | vesafb.rs | 246 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/video/fbdev/base/ |
H A D | fbmem.rs | 302 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() 306 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 408 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/tty/ |
H A D | tty_device.rs | 472 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()
|