Lines Matching refs:dyn
49 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups()
54 fn class_groups(&self) -> &'static [&'static dyn AttributeGroup] { in class_groups()
61 fn dev_kobj(&self) -> Option<Arc<dyn KObject>>; in dev_kobj()
63 fn set_dev_kobj(&self, kobj: Arc<dyn KObject>); in set_dev_kobj()
72 impl dyn Class { impl
82 matcher: &dyn DeviceMatcher<T>, in find_device()
84 ) -> Option<Arc<dyn Device>> { in find_device()
101 pub fn find_device_by_name(&self, name: &str) -> Option<Arc<dyn Device>> { in find_device_by_name()
121 pub fn class_register(&self, class: &Arc<dyn Class>) -> Result<(), SystemError> { in class_register()
127 class.set_dev_kobj(sys_dev_char_kset() as Arc<dyn KObject>); in class_register()
135 sysfs_instance().create_groups(&(subsys as Arc<dyn KObject>), class.class_groups())?; in class_register()
142 pub fn class_unregister(&self, class: &Arc<dyn Class>) { in class_unregister()
145 sysfs_instance().remove_groups(&(subsys.clone() as Arc<dyn KObject>), class.class_groups()); in class_unregister()
154 fn sysfs_ops(&self) -> Option<&dyn SysFSOps> { in sysfs_ops()
158 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups()
169 _kobj: Arc<dyn KObject>, in show()
170 _attr: &dyn Attribute, in show()
178 _kobj: Arc<dyn KObject>, in store()
179 _attr: &dyn Attribute, in store()