Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_driver.rs36 ktype: None, in new()
55 ktype: Option<&'static dyn KObjType>, field
164 self.inner.lock().ktype in kobj_type()
167 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
168 self.inner.lock().ktype = ktype; in set_kobj_type()
H A Di8042_ports.rs150 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
151 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
H A Di8042_device.rs153 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
154 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/base/
H A Dkobject.rs48 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>); in set_kobj_type()
230 if let Some(ktype) = kobj.kobj_type() { in create_dir()
231 let groups = ktype.attribute_groups(); in create_dir()
246 let ktype = kobj.kobj_type(); in remove_kobj() localVariable
247 if let Some(ktype) = ktype { in remove_kobj()
248 if let Some(groups) = ktype.attribute_groups() { in remove_kobj()
H A Dkset.rs179 self.inner.read().ktype in kobj_type()
182 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
183 self.inner.write().ktype = ktype; in set_kobj_type()
223 ktype: Option<&'static dyn KObjType>, field
231 ktype: Some(&DynamicKObjKType), in new()
H A Dcpu.rs237 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
238 self.inner.write().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs86 ktype: None, in new()
117 ktype: Option<&'static dyn KObjType>, field
189 self.inner.lock().ktype in kobj_type()
192 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
193 self.inner.lock().ktype = ktype; in set_kobj_type()
H A Dps_mouse_device.rs562 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
563 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs148 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
149 self.kobj_data.write().kobj_type = ktype; in set_kobj_type()
H A Dpt_device.rs176 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
177 self.kobj_data.write().kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/pci/
H A Ddevice.rs145 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
146 self.inner().kobject_common.kobj_type = ktype in set_kobj_type()
H A Draw_device.rs184 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
185 self.inner.write().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs182 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
183 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
H A Dsysfs.rs220 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
221 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs250 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
251 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
703 ktype: None, in new()
722 ktype: Option<&'static dyn KObjType>, field
835 self.inner.lock().ktype in kobj_type()
838 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
839 self.inner.lock().ktype = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/net/
H A Dvirtio_net.rs167 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
168 self.inner().kobj_common.kobj_type = ktype; in set_kobj_type()
767 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
768 self.inner().kobj_common.kobj_type = ktype; in set_kobj_type()
952 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
953 self.inner().kobj_common.kobj_type = ktype; in set_kobj_type()
H A Dloopback.rs370 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
371 self.inner().kobj_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs471 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
472 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
638 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
639 self.inner().kobj_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs238 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
239 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs209 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
210 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dmod.rs158 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
159 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs306 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
307 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs432 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
433 self.inner().kobj_common.kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs535 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
536 self.inner.write().kobj_type = ktype; in set_kobj_type()
/DragonOS/kernel/src/driver/base/device/
H A Dmod.rs1093 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
1094 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()