Home
last modified time | relevance | path

Searched refs:fb_device (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/
Dfbmem.rs146 let fb_device = FbDevice::new(Arc::downgrade(&fb) as Weak<dyn FrameBuffer>, id); in register_fb() localVariable
147 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()
Dmod.rs306 fn fb_device(&self) -> Option<Arc<FbDevice>>; in fb_device() method
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/
Dvesafb.rs113 fb_device: None, in new()
135 fb_device: Option<Arc<FbDevice>>, field
565 fn fb_device(&self) -> Option<Arc<FbDevice>> { in fb_device() method
566 self.inner.lock().fb_device.clone() in fb_device()
570 self.inner.lock().fb_device = device; in set_fb_device()