Searched refs:fb (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbsysfs.rs | 66 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() localVariable 67 let name = fb.name(); in show() 95 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() localVariable 96 let bits_per_pixel = fb.current_fb_var().bits_per_pixel; in show() 197 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() localVariable 198 let var_info = fb.current_fb_var(); in show() 226 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() localVariable 227 let var_info = fb.current_fb_var(); in show() 258 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() localVariable 259 let fix_info = fb.current_fb_fix(); in show() [all …]
|
H A D | fbmem.rs | 144 pub fn register_fb(&self, fb: Arc<dyn FrameBuffer>) -> Result<FbId, SystemError> { in register_fb() 146 fb.set_fb_id(id); in register_fb() 147 let fb_device = FbDevice::new(Arc::downgrade(&fb) as Weak<dyn FrameBuffer>, id); in register_fb() 149 fb_device.set_dev_parent(Some(Arc::downgrade(&(fb.clone() as Arc<dyn Device>)))); in register_fb() 151 fb.set_fb_device(Some(fb_device.clone())); in register_fb() 169 inner.registered_fbs[id.data() as usize] = Some(fb.clone() as Arc<dyn FrameBuffer>); in register_fb() 218 fn new(fb: Weak<dyn FrameBuffer>, id: FbId) -> Arc<Self> { in new() 221 fb, in new() 243 self.inner.lock().fb.upgrade() in framebuffer() 263 fb: Weak<dyn FrameBuffer>, field [all …]
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | framebuffer_console.rs | 29 fb: SpinLock<Option<Arc<dyn FrameBuffer>>>, field 39 fb: SpinLock::new(None), in new() 44 fn fb(&self) -> Arc<dyn FrameBuffer> { in fb() method 45 self.fb.lock().clone().unwrap() in fb() 49 let fb_info = self.fb(); in get_color() 109 let fb_info = self.fb(); in mono_color() 170 self.fb().fb_image_blit(image); in bit_put_string() 182 let fb = fb_set_guard.get(vc_data.index); in con_init() localVariable 183 if fb.is_none() { in con_init() 186 let fb = fb.unwrap(); in con_init() localVariable [all …]
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | hba.rs | 49 pub fb: u64, // 0x08, FIS base address, 256-byte aligned field 189 pub fn init(&mut self, clb: u64, fb: u64, ctbas: &[u64]) { in init() 213 volatile_write!(self.fb, fb); in init() 217 MMArch::phys_2_virt(PhysAddr::new(fb as usize)) in init()
|
H A D | mod.rs | 93 let fb = unsafe { in ahci_init() localVariable 116 hba_mem_port.init(clb as u64, fb as u64, &ctbas); in ahci_init()
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui.rs | 1031 let fb = fr_color & 0x000000ff; in rs_textui_putchar() localVariable
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 1241 let fb = front_color & 0x000000ff; in put_string() localVariable
|