Home
last modified time | relevance | path

Searched refs:fb (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/
Dfbsysfs.rs65 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() localVariable
66 let name = fb.name(); in show()
94 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() localVariable
95 let bits_per_pixel = fb.current_fb_var().bits_per_pixel; in show()
196 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() localVariable
197 let var_info = fb.current_fb_var(); in show()
225 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() localVariable
226 let var_info = fb.current_fb_var(); in show()
257 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() localVariable
258 let fix_info = fb.current_fb_fix(); in show()
[all …]
Dfbmem.rs143 pub fn register_fb(&self, fb: Arc<dyn FrameBuffer>) -> Result<FbId, SystemError> { in register_fb()
145 fb.set_fb_id(id); in register_fb()
146 let fb_device = FbDevice::new(Arc::downgrade(&fb) as Weak<dyn FrameBuffer>, id); 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()
168 inner.registered_fbs[id.data() as usize] = Some(fb.clone() as Arc<dyn FrameBuffer>); in register_fb()
216 fn new(fb: Weak<dyn FrameBuffer>, id: FbId) -> Arc<Self> { in new()
219 fb, in new()
243 self.inner.lock().fb.upgrade() in framebuffer()
259 fb: Weak<dyn FrameBuffer>, field
[all …]
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/
Dframebuffer_console.rs28 fb: SpinLock<Option<Arc<dyn FrameBuffer>>>, field
38 fb: SpinLock::new(None), in new()
43 pub fn fb(&self) -> Arc<dyn FrameBuffer> { in fb() method
44 self.fb.lock().clone().unwrap() in fb()
48 let fb_info = self.fb(); in get_color()
108 let fb_info = self.fb(); in mono_color()
170 self.fb().fb_image_blit(image); in bit_put_string()
181 let fb = fb_set_guard.get(vc_data.index); in con_init() localVariable
182 if fb.is_none() { in con_init()
185 let fb = fb.unwrap(); in con_init() localVariable
[all …]
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dhba.rs49 pub fb: u64, // 0x08, FIS base address, 256-byte aligned field
192 pub fn init(&mut self, clb: u64, fb: u64, ctbas: &Vec<u64>) { in init()
210 volatile_write!(self.fb, fb); in init()
213 ptr::write_bytes(phys_2_virt(fb as usize) as *mut u64, 0, 256); in init()
Dmod.rs109 let fb = virt_2_phys(ahci_port_base_vaddr + (32 << 10) + (j << 8)); in ahci_init() localVariable
120 hba_mem_port.init(clb as u64, fb as u64, &ctbas); in ahci_init()
/DragonOS-0.1.9/kernel/src/libs/lib_ui/
Dtextui.rs994 let fb = fr_color & 0x000000ff; in rs_textui_putchar() localVariable
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs1050 let fb = front_color & 0x000000ff; in put_string() localVariable