Searched refs:top (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.9/kernel/src/common/math/ |
D | libm.h | 24 uint16_t top; member 40 uint16_t top; member
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/ |
D | framebuffer_console.rs | 398 top: usize, in con_scroll() 418 let start = top * vc_data.cols; in con_scroll() 424 top as i32, in con_scroll() 426 top as i32 - count as i32, in con_scroll() 428 (bottom - top) as u32, in con_scroll() 446 let start = top * vc_data.cols; in con_scroll() 452 for line in top..(bottom - count) { in con_scroll() 509 let start = top * vc_data.cols; in con_scroll() 515 top as i32, in con_scroll() 517 top as i32 + count as i32, in con_scroll() [all …]
|
/DragonOS-0.1.9/kernel/src/driver/tty/ |
D | console.rs | 120 top: usize, in con_scroll()
|
/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/ |
D | virtual_console.rs | 58 pub top: usize, field 159 top: Default::default(), in new() 553 self.gotoxy(x, self.top as i32 + y); in gotoxay() 574 min_y = self.top; in gotoxy() 595 if self.top + nr >= self.bottom { in scroll() 597 nr = self.bottom - self.top - 1; in scroll() 607 .con_scroll(self, self.top, self.bottom, dir, nr) in scroll() 664 if self.state.y == self.top as usize { in reverse_index() 703 self.gotoxy(0, self.top as i32); in set_mode() 957 self.top = self.par[0] as usize - 1; in do_getpars()
|