Lines Matching refs:dyn
57 class_ops: Option<&'static dyn RtcClassOps>,
87 pub fn set_class_ops(&self, class_ops: &'static dyn RtcClassOps) { in set_class_ops()
91 pub fn class_ops(&self) -> Option<&'static dyn RtcClassOps> { in class_ops()
115 fn class_ops(&self) -> &'static dyn super::RtcClassOps { in class_ops()
129 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
133 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
137 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
141 fn class(&self) -> Option<Arc<dyn Class>> { in class()
148 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver()
155 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
174 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups()
178 fn dev_parent(&self) -> Option<Weak<dyn Device>> { in dev_parent()
182 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent()
188 fn as_any_ref(&self) -> &dyn core::any::Any { in as_any_ref()
200 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent()
204 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent()
216 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
220 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
252 real_dev: &Arc<dyn RtcDevice>, in rtc_general_device_create()
256 device_manager().device_default_initialize(&(dev.clone() as Arc<dyn Device>)); in rtc_general_device_create()
257 dev.set_dev_parent(Some(Arc::downgrade(real_dev) as Weak<dyn Device>)); in rtc_general_device_create()
259 &(sys_class_rtc_instance().cloned().unwrap() as Arc<dyn Class>), in rtc_general_device_create()
273 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
279 _kobj: Arc<dyn KObject>, in is_visible()
280 attr: &'static dyn Attribute, in is_visible()
304 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()
333 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()
357 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()
380 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()