Lines Matching refs:Option
46 static mut CLASS_GRAPHICS_INSTANCE: Option<Arc<GraphicsClass>> = None;
56 pub fn sys_class_graphics_instance() -> Option<&'static Arc<GraphicsClass>> { in sys_class_graphics_instance()
104 fn dev_kobj(&self) -> Option<Arc<dyn KObject>> { in dev_kobj()
126 registered_fbs: [Option<Arc<dyn FrameBuffer>>; FrameBufferManager::FB_MAX],
185 pub fn find_fb_by_id(&self, id: FbId) -> Result<Option<Arc<dyn FrameBuffer>>, SystemError> { in find_fb_by_id()
194 fn generate_fb_id(&self) -> Option<FbId> { in generate_fb_id()
242 pub fn framebuffer(&self) -> Option<Arc<dyn FrameBuffer>> { in framebuffer()
270 device_inode_fs: Option<Weak<DevFS>>,
279 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
283 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
287 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent()
291 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent()
295 fn kset(&self) -> Option<Arc<KSet>> { in kset()
299 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
303 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
307 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
341 fn set_bus(&self, _bus: Option<Weak<dyn Bus>>) { in set_bus()
345 fn class(&self) -> Option<Arc<dyn Class>> { in class()
348 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class()
352 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver()
356 fn set_driver(&self, _driver: Option<Weak<dyn Driver>>) { in set_driver()
376 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups()
380 fn dev_parent(&self) -> Option<Weak<dyn Device>> { in dev_parent()
384 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent()