Home
last modified time | relevance | path

Searched refs:sy (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs249 sy: usize, in con_clear()
261 if sy < y_break && sy + height > y_break { in con_clear()
263 let b = y_break - sy; 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()
569 sy: i32, in bmove()
582 sy * vc_data.font.height as i32, in bmove()
592 sy: u32, in clear()
599 sy * vc_data.font.height, in clear()
H A Dmod.rs382 sy: i32, in bmove()
400 sy: u32, in clear()
/DragonOS/kernel/src/driver/tty/
H A Dconsole.rs34 sy: usize, in con_clear()
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs450 || data.sy > var.yres as i32 in fb_copyarea()
454 || (data.sy + data.height as i32) < 0 in fb_copyarea()
473 let (s_visiable_y, s_h) = if data.sy < 0 { in fb_copyarea()
474 (0, (data.height - ((-data.sy) as u32).min(var.yres))) in fb_copyarea()
476 let h = if data.sy as u32 + data.height > var.yres { in fb_copyarea()
477 var.yres - data.sy as u32 in fb_copyarea()
482 (data.sy, h) in fb_copyarea()
515 let s_relative_y = s_visiable_y - data.sy; in fb_copyarea()
525 let s_real_y = (visiable_y + data.sy) as u32; in fb_copyarea()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dmod.rs565 pub sy: i32, field
570 pub fn new(dx: i32, dy: i32, width: u32, height: u32, sx: i32, sy: i32) -> Self { in new()
577 sy, in new()