Lines Matching refs:Option
57 class_ops: Option<&'static dyn RtcClassOps>,
91 pub fn class_ops(&self) -> Option<&'static dyn 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()
192 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
196 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
200 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent()
204 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent()
208 fn kset(&self) -> Option<Arc<KSet>> { in kset()
212 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
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()
253 priority: Option<GeneralRtcPriority>, in rtc_general_device_create()
269 fn name(&self) -> Option<&str> { in name()
281 ) -> Option<ModeType> { in is_visible()