Home
last modified time | relevance | path

Searched refs:fb_data (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs80 fb_data: RwLock<FrameBufferInfoData>, field
100 fb_data: RwLock::new(fb_info_data), in new()
291 let mut fb_data = self.framebuffer_info_data().write(); in fb_set_color_register() localVariable
293 if regno as usize >= fb_data.pesudo_palette.len() { in fb_set_color_register()
304 fb_data.pesudo_palette[regno as usize] = ((red as u32 & 0xf800) >> 1) in fb_set_color_register()
308 fb_data.pesudo_palette[regno as usize] = (red as u32 & 0xf800) in fb_set_color_register()
317 fb_data.pesudo_palette[regno as usize] = ((red as u32) << var.red.offset) in fb_set_color_register()
395 self.fb_data.read().pesudo_palette[rect.color as usize] in fb_fillrect()
688 &self.fb_data in framebuffer_info_data()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs254 let fb_data = self.fbcon_data(); in con_clear() localVariable
260 let y_break = (fb_data.display.virt_rows - fb_data.display.yscroll) as usize; in con_clear()
266 fb_data.display.real_y(sy as u32), in con_clear()
273 fb_data.display.real_y((sy + b) as u32), in con_clear()
281 fb_data.display.real_y(sy as u32), in con_clear()