Home
last modified time | relevance | path

Searched refs:subsys (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/base/
Dclass.rs9 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 …]
Dsubsys.rs32 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()
Dmod.rs13 pub mod subsys; module
Dcpu.rs25 subsys::SubSysPrivate,
/DragonOS-0.1.9/kernel/src/driver/input/serio/
Dmod.rs6 use self::subsys::SerioBus;
11 pub mod subsys; module
Dsubsys.rs14 subsys::SubSysPrivate,
/DragonOS-0.1.9/kernel/src/driver/base/device/
Dbus.rs10 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 …]
Dmod.rs598 let subsys_kobj = class.subsystem().subsys() as Arc<dyn KObject>; in add_class_symlinks()
/DragonOS-0.1.9/kernel/src/driver/acpi/
Dbus.rs7 subsys::SubSysPrivate,
64 return self.private.subsys().as_kobject().name(); in name()
/DragonOS-0.1.9/kernel/src/driver/base/platform/
Dmod.rs1 use self::{platform_device::PlatformBusDevice, subsys::PlatformBus};
18 pub mod subsys; module
Dsubsys.rs14 subsys::SubSysPrivate,
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/
Dfbmem.rs24 subsys::SubSysPrivate,