Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfbcon.c576 int cols, int rows, int new_cols, int new_rows) in fbcon_prepare_logo() argument
582 int cols, int rows, int new_cols, int new_rows) in fbcon_prepare_logo() argument
610 save = kmalloc(array3_size(logo_lines, new_cols, 2), in fbcon_prepare_logo()
613 int i = cols < new_cols ? cols : new_cols; in fbcon_prepare_logo()
614 scr_memsetw(save, erase, array3_size(logo_lines, new_cols, 2)); in fbcon_prepare_logo()
617 scr_memcpyw(save + cnt * new_cols, r, 2 * i); in fbcon_prepare_logo()
651 scr_memcpyw(q, save, array3_size(logo_lines, new_cols, 2)); in fbcon_prepare_logo()
1035 int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256; in fbcon_init() local
1121 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1123 new_cols /= vc->vc_font.width; in fbcon_init()
[all …]
/kernel/linux/linux-5.10/drivers/tty/vt/
Dvt.c1202 unsigned int new_cols, new_rows, new_row_size, new_screen_size; in vc_do_resize() local
1218 new_cols = (cols ? cols : vc->vc_cols); in vc_do_resize()
1220 new_row_size = new_cols << 1; in vc_do_resize()
1223 if (new_cols == vc->vc_cols && new_rows == vc->vc_rows) { in vc_do_resize()
1240 return resize_screen(vc, new_cols, new_rows, user); in vc_do_resize()
1250 new_uniscr = vc_uniscr_alloc(new_cols, new_rows); in vc_do_resize()
1263 err = resize_screen(vc, new_cols, new_rows, user); in vc_do_resize()
1271 vc->vc_cols = new_cols; in vc_do_resize()
1300 vc_uniscr_copy_area(new_uniscr, new_cols, new_rows, in vc_do_resize()