Searched refs:subsys (Results 1 – 12 of 12) sorted by relevance
/DragonOS-0.1.9/kernel/src/driver/base/ |
D | class.rs | 9 subsys::SubSysPrivate, 85 let subsys = self.subsystem(); in find_device() localVariable 86 let guard = subsys.devices(); in find_device() 123 let subsys = subsystem.subsys(); in class_register() localVariable 124 subsys.set_name(class.name().to_string()); in class_register() 130 subsys.set_kobj_type(Some(&ClassKObjbectType)); in class_register() 133 subsys.register(Some(sys_class_kset()))?; in class_register() 135 sysfs_instance().create_groups(&(subsys as Arc<dyn KObject>), class.class_groups())?; in class_register() 144 let subsys = subsystem.subsys(); in class_unregister() localVariable 145 sysfs_instance().remove_groups(&(subsys.clone() as Arc<dyn KObject>), class.class_groups()); in class_unregister() [all …]
|
D | subsys.rs | 32 subsys: Arc<KSet>, field 71 let subsys = KSet::new(name); in new() localVariable 73 subsys, in new() 85 pub fn subsys(&self) -> Arc<KSet> { in subsys() method 86 return self.subsys.clone(); in subsys()
|
D | mod.rs | 13 pub mod subsys; module
|
D | cpu.rs | 25 subsys::SubSysPrivate,
|
/DragonOS-0.1.9/kernel/src/driver/input/serio/ |
D | mod.rs | 6 use self::subsys::SerioBus; 11 pub mod subsys; module
|
D | subsys.rs | 14 subsys::SubSysPrivate,
|
/DragonOS-0.1.9/kernel/src/driver/base/device/ |
D | bus.rs | 10 subsys::SubSysPrivate, 191 let subsys = self.subsystem(); in find_device() localVariable 192 let guard = subsys.devices(); in find_device() 221 let subsys = self.subsystem(); in find_driver() localVariable 222 let guard = subsys.drivers(); in find_driver() 283 &(&bus.subsystem().subsys().as_kobject()), in add_device() 359 let subsys_kset = bus.subsystem().subsys(); in register() 405 let bus_kobj = bus.subsystem().subsys() as Arc<dyn KObject>; in create_file() 410 let bus_kobj = bus.subsystem().subsys() as Arc<dyn KObject>; in remove_file() 420 let bus_kobj = bus.subsystem().subsys() as Arc<dyn KObject>; in add_groups() [all …]
|
D | mod.rs | 598 let subsys_kobj = class.subsystem().subsys() as Arc<dyn KObject>; in add_class_symlinks()
|
/DragonOS-0.1.9/kernel/src/driver/acpi/ |
D | bus.rs | 7 subsys::SubSysPrivate, 64 return self.private.subsys().as_kobject().name(); in name()
|
/DragonOS-0.1.9/kernel/src/driver/base/platform/ |
D | mod.rs | 1 use self::{platform_device::PlatformBusDevice, subsys::PlatformBus}; 18 pub mod subsys; module
|
D | subsys.rs | 14 subsys::SubSysPrivate,
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/ |
D | fbmem.rs | 24 subsys::SubSysPrivate,
|