Searched refs:new_cols (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/video/fbdev/core/ |
D | fbcon.c | 572 int cols, int rows, int new_cols, int new_rows) in fbcon_prepare_logo() argument 578 int cols, int rows, int new_cols, int new_rows) in fbcon_prepare_logo() argument 606 save = kmalloc(array3_size(logo_lines, new_cols, 2), in fbcon_prepare_logo() 609 int i = cols < new_cols ? cols : new_cols; in fbcon_prepare_logo() 610 scr_memsetw(save, erase, logo_lines * new_cols * 2); in fbcon_prepare_logo() 613 scr_memcpyw(save + cnt * new_cols, r, 2 * i); in fbcon_prepare_logo() 647 scr_memcpyw(q, save, logo_lines * new_cols * 2); in fbcon_prepare_logo() 1055 int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256; in fbcon_init() local 1136 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init() 1138 new_cols /= vc->vc_font.width; in fbcon_init() [all …]
|
/Linux-v4.19/drivers/tty/vt/ |
D | vt.c | 1153 unsigned int new_cols, new_rows, new_row_size, new_screen_size; in vc_do_resize() local 1169 new_cols = (cols ? cols : vc->vc_cols); in vc_do_resize() 1171 new_row_size = new_cols << 1; in vc_do_resize() 1174 if (new_cols == vc->vc_cols && new_rows == vc->vc_rows) in vc_do_resize() 1184 new_uniscr = vc_uniscr_alloc(new_cols, new_rows); in vc_do_resize() 1197 err = resize_screen(vc, new_cols, new_rows, user); in vc_do_resize() 1205 vc->vc_cols = new_cols; in vc_do_resize() 1234 vc_uniscr_copy_area(new_uniscr, new_cols, new_rows, in vc_do_resize()
|