Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs250 sx: usize, in con_clear()
267 sx as u32, in con_clear()
274 sx as u32, in con_clear()
282 sx as u32, in con_clear()
570 sx: i32, in bmove()
581 sx * vc_data.font.width as i32, in bmove()
593 sx: u32, in clear()
598 sx * vc_data.font.width, in clear()
H A Dmod.rs383 sx: i32, in bmove()
401 sx: u32, in clear()
/DragonOS/kernel/src/driver/tty/
H A Dconsole.rs35 sx: usize, in con_clear()
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs449 if data.sx > var.xres as i32 in fb_copyarea()
453 || (data.sx + data.width as i32) < 0 in fb_copyarea()
462 let (s_visiable_x, s_w) = if data.sx < 0 { in fb_copyarea()
463 (0, (data.width - ((-data.sx) as u32)).min(var.xres)) in fb_copyarea()
465 let w = if data.sx as u32 + data.width > var.xres { in fb_copyarea()
466 var.xres - data.sx as u32 in fb_copyarea()
471 (data.sx, w) in fb_copyarea()
514 let s_relative_x = s_visiable_x - data.sx; in fb_copyarea()
524 let s_real_x = (visiable_x + data.sx) as u32; in fb_copyarea()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dmod.rs563 pub sx: i32, field
570 pub fn new(dx: i32, dy: i32, width: u32, height: u32, sx: i32, sy: i32) -> Self { in new()
576 sx, in new()