Searched refs:fb_device (Results 1 – 3 of 3) sorted by relevance
146 let fb_device = FbDevice::new(Arc::downgrade(&fb) as Weak<dyn FrameBuffer>, id); in register_fb() localVariable147 device_manager().device_default_initialize(&(fb_device.clone() as Arc<dyn Device>)); in register_fb()148 fb_device.set_parent(Some(Arc::downgrade(&(fb.clone() as Arc<dyn KObject>)))); in register_fb()150 fb.set_fb_device(Some(fb_device.clone())); in register_fb()152 device_manager().add_device(fb_device.clone() as Arc<dyn Device>)?; in register_fb()154 devfs_register(&fb_device.name(), fb_device.clone()).map_err(|e| { in register_fb()157 fb_device.name(), in register_fb()160 device_manager().remove(&(fb_device.clone() as Arc<dyn Device>)); in register_fb()
306 fn fb_device(&self) -> Option<Arc<FbDevice>>; in fb_device() method
113 fb_device: None, in new()135 fb_device: Option<Arc<FbDevice>>, field565 fn fb_device(&self) -> Option<Arc<FbDevice>> { in fb_device() method566 self.inner.lock().fb_device.clone() in fb_device()570 self.inner.lock().fb_device = device; in set_fb_device()