Searched refs:subsystem (Results 1 – 10 of 10) sorted by relevance
66 fn subsystem(&self) -> &SubSysPrivate; in subsystem() method85 let subsys = self.subsystem(); in find_device()122 let subsystem = class.subsystem(); in class_register() localVariable123 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() localVariable144 let subsys = subsystem.subsys(); in class_unregister()
67 bus.subsystem() in new()103 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
171 fn subsystem(&self) -> &SubSysPrivate; in subsystem() method191 let subsys = self.subsystem(); in find_device()221 let subsys = self.subsystem(); in find_driver()271 .subsystem() in add_device()283 &(&bus.subsystem().subsys().as_kobject()), in add_device()286 bus.subsystem().add_device_to_vec(dev)?; in add_device()304 KObjectManager::add_kobj(kobj, bus.subsystem().drivers_kset())?; in add_driver()306 bus.subsystem().add_driver_to_vec(driver)?; in add_driver()307 if bus.subsystem().drivers_autoprobe() { in add_driver()310 bus.subsystem().remove_driver_from_vec(driver); in add_driver()[all …]
92 for driver in bus.subsystem().drivers().iter() { in do_device_attach()216 bus.subsystem().bus_notifier().call_chain( in device_bind_driver()291 for dev in bus.subsystem().devices().iter() { in driver_attach()388 bus.subsystem().bus_notifier().call_chain( in really_probe()471 bus.subsystem().bus_notifier().call_chain( in add_to_sysfs()570 bus.subsystem().bus_notifier().call_chain( in driver_bound()
471 bus.subsystem().bus_notifier().call_chain( in add_device()484 class.subsystem().add_device_to_vec(&device)?; in add_device()486 for class_interface in class.subsystem().interfaces() { in add_device()598 let subsys_kobj = class.subsystem().subsys() as Arc<dyn KObject>; in add_class_symlinks()
56 bus.subsystem() in new()101 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
34 bus.subsystem() in new()54 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
35 bus.subsystem() in new()55 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method
81 subsystem: SubSysPrivate, field88 subsystem: SubSysPrivate::new(Self::NAME.to_string(), None, None, &[]), in new()91 r.subsystem() in new()111 fn subsystem(&self) -> &SubSysPrivate { in subsystem() method112 return &self.subsystem; in subsystem()
1564 2. 注册cpu subsystem/bus到sysfs(暂时未添加内容)