Searched refs:sx (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | framebuffer_console.rs | 250 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 D | mod.rs | 383 sx: i32, in bmove() 401 sx: u32, in clear()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | console.rs | 35 sx: usize, in con_clear()
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 449 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 D | mod.rs | 563 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()
|