Searched refs:new_cols (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/video/fbdev/core/ |
D | fbcon.c | 597 int cols, int rows, int new_cols, int new_rows) in fbcon_prepare_logo() argument 603 int cols, int rows, int new_cols, int new_rows) in fbcon_prepare_logo() argument 631 save = kmalloc(array3_size(logo_lines, new_cols, 2), in fbcon_prepare_logo() 634 int i = cols < new_cols ? cols : new_cols; in fbcon_prepare_logo() 635 scr_memsetw(save, erase, logo_lines * new_cols * 2); in fbcon_prepare_logo() 638 scr_memcpyw(save + cnt * new_cols, r, 2 * i); in fbcon_prepare_logo() 672 scr_memcpyw(q, save, logo_lines * new_cols * 2); in fbcon_prepare_logo() 1082 int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256; in fbcon_init() local 1169 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init() 1171 new_cols /= vc->vc_font.width; in fbcon_init() [all …]
|
/Linux-v5.4/drivers/tty/vt/ |
D | vt.c | 1161 unsigned int new_cols, new_rows, new_row_size, new_screen_size; in vc_do_resize() local 1177 new_cols = (cols ? cols : vc->vc_cols); in vc_do_resize() 1179 new_row_size = new_cols << 1; in vc_do_resize() 1182 if (new_cols == vc->vc_cols && new_rows == vc->vc_rows) in vc_do_resize() 1192 new_uniscr = vc_uniscr_alloc(new_cols, new_rows); in vc_do_resize() 1205 err = resize_screen(vc, new_cols, new_rows, user); in vc_do_resize() 1213 vc->vc_cols = new_cols; in vc_do_resize() 1242 vc_uniscr_copy_area(new_uniscr, new_cols, new_rows, in vc_do_resize()
|