Home
last modified time | relevance | path

Searched refs:KObjType (Results 1 – 25 of 33) sorted by relevance

12

/DragonOS/kernel/src/driver/base/
H A Dkobject.rs46 fn kobj_type(&self) -> Option<&'static dyn KObjType>; in kobj_type() argument
48 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>); in set_kobj_type() argument
83 pub kobj_type: Option<&'static dyn KObjType>,
92 pub trait KObjType: Debug + Send + Sync { interface
184 kobj_type: Option<&'static dyn KObjType>, in init_and_add_kobj() argument
190 pub fn kobj_init(kobj: &Arc<dyn KObject>, kobj_type: Option<&'static dyn KObjType>) { in kobj_init() argument
269 impl KObjType for DynamicKObjKType {
H A Dkset.rs10 DynamicKObjKType, KObjType, KObject, KObjectManager, KObjectState, LockedKObjectState,
178 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
182 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
223 ktype: Option<&'static dyn KObjType>,
H A Dclass.rs7 kobject::{KObjType, KObject},
153 impl KObjType for ClassKObjbectType {
H A Dcpu.rs21 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
233 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
237 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_driver.rs11 kobject::{KObjType, KObject, KObjectState, LockedKObjectState},
55 ktype: Option<&'static dyn KObjType>,
163 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
167 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
H A Di8042_ports.rs12 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
146 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
150 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
H A Di8042_device.rs12 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
149 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
153 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/open_firmware/
H A Ddevice_node.rs3 kobject::{KObjType, KObject, KObjectState},
133 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
137 fn set_kobj_type(&self, _ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs15 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
144 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
148 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
H A Dpt_device.rs14 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
198 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
202 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/pci/
H A Ddevice.rs12 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
148 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
152 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
H A Draw_device.rs12 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
204 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
208 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs15 kobject::{KObjType, KObject, KObjectState, LockedKObjectState},
117 ktype: Option<&'static dyn KObjType>,
188 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
192 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs22 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
332 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
336 fn set_kobj_type(&self, _ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
388 kobj_type: Option<&'static dyn KObjType>,
531 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
535 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs22 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
178 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
182 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
H A Dsysfs.rs14 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
216 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
220 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs16 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
234 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
238 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs20 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
205 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
209 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs29 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
448 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
472 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
635 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
639 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/net/
H A Dvirtio_net.rs30 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
163 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
167 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
749 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
773 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
954 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
958 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
H A Dloopback.rs7 KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState,
352 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
376 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/exception/
H A Dsysfs.rs8 kobject::{KObjType, KObject, KObjectManager, KObjectSysFSOps},
42 impl KObjType for IrqKObjType {
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dmod.rs17 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
154 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
158 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs23 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
303 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type() argument
307 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs9 kobject::{KObjType, KObject, KObjectCommonData, KObjectState, LockedKObjectState},
408 fn kobj_type(&self) -> Option<&'static dyn crate::driver::base::kobject::KObjType> { in kobj_type() argument
432 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type() argument

12