Home
last modified time | relevance | path

Searched refs:subsystem (Results 1 – 17 of 17) sorted by relevance

/DragonOS/kernel/src/driver/base/
H A Dclass.rs66 fn subsystem(&self) -> &SubSysPrivate; in subsystem() method
85 let subsys = self.subsystem(); in find_device()
122 let subsystem = class.subsystem(); in class_register() localVariable
123 let subsys = subsystem.subsys(); in class_register()
131 subsystem.set_class(Some(Arc::downgrade(class))); in class_register()
143 let subsystem = class.subsystem(); in class_unregister() localVariable
144 let subsys = subsystem.subsys(); in class_unregister()
H A Dcpu.rs72 bus.subsystem() in new()
108 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
/DragonOS/kernel/src/driver/tty/
H A Dsysfs.rs31 subsystem: SubSysPrivate, field
38 subsystem: SubSysPrivate::new(Self::NAME.to_string(), None, None, &[]), in new()
41 r.subsystem() in new()
61 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
62 return &self.subsystem; in subsystem()
/DragonOS/kernel/src/driver/net/
H A Dclass.rs46 subsystem: SubSysPrivate, field
53 subsystem: SubSysPrivate::new(Self::NAME.to_string(), None, None, &[]), in new()
56 .subsystem() in new()
76 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
77 return &self.subsystem; in subsystem()
/DragonOS/kernel/src/driver/rtc/
H A Dclass.rs48 subsystem: SubSysPrivate, field
55 subsystem: SubSysPrivate::new(Self::NAME.to_string(), None, None, &[]), in new()
58 r.subsystem() in new()
78 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
79 return &self.subsystem; in subsystem()
/DragonOS/kernel/src/driver/base/device/
H A Dbus.rs172 fn subsystem(&self) -> &SubSysPrivate; in subsystem() method
192 let subsys = self.subsystem(); in find_device()
222 let subsys = self.subsystem(); in find_driver()
272 .subsystem() in add_device()
284 &bus.subsystem().subsys().as_kobject(), in add_device()
287 bus.subsystem().add_device_to_vec(dev)?; in add_device()
307 bus.subsystem().drivers_kset(), in add_driver()
311 bus.subsystem().add_driver_to_vec(driver)?; in add_driver()
312 if bus.subsystem().drivers_autoprobe() { in add_driver()
315 bus.subsystem().remove_driver_from_vec(driver); in add_driver()
[all …]
H A Ddd.rs97 for driver in bus.subsystem().drivers().iter() { in do_device_attach()
212 bus.subsystem().bus_notifier().call_chain( in device_bind_driver()
293 for dev in bus.subsystem().devices().iter() { in driver_attach()
387 bus.subsystem().bus_notifier().call_chain( in really_probe()
470 bus.subsystem().bus_notifier().call_chain( in add_to_sysfs()
566 bus.subsystem().bus_notifier().call_chain( in driver_bound()
H A Dmod.rs542 bus.subsystem().bus_notifier().call_chain( in add_device()
555 class.subsystem().add_device_to_vec(&device)?; in add_device()
557 for class_interface in class.subsystem().interfaces() { in add_device()
700 let subsys_kobj = class.subsystem().subsys() as Arc<dyn KObject>; in add_class_symlinks()
H A Ddriver.rs236 bus.subsystem() in driver_sysfs_add()
/DragonOS/kernel/src/driver/acpi/
H A Dbus.rs56 bus.subsystem() in new()
101 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
/DragonOS/kernel/src/driver/input/serio/
H A Dsubsys.rs36 bus.subsystem() in new()
56 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs82 subsystem: SubSysPrivate, field
89 subsystem: SubSysPrivate::new(Self::NAME.to_string(), None, None, &[]), in new()
92 r.subsystem() in new()
112 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
113 return &self.subsystem; in subsystem()
/DragonOS/kernel/src/driver/base/platform/
H A Dsubsys.rs37 bus.subsystem() in new()
57 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
/DragonOS/kernel/src/driver/virtio/
H A Dsysfs.rs55 bus.subsystem() in new()
76 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
/DragonOS/kernel/src/driver/pci/
H A Dsubsys.rs86 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
/DragonOS/
H A DREADME_EN.md24 …and has certain advantages in terms of device model and调度子系统 (scheduler subsystem).Currently, sign…
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md1565 2. 注册cpu subsystem/bus到sysfs(暂时未添加内容)