Lines Matching refs:cols
152 unsigned int cols, int do_clear);
344 static struct uni_screen *vc_uniscr_alloc(unsigned int cols, unsigned int rows) in vc_uniscr_alloc() argument
351 memsize = cols * rows * sizeof(char32_t); in vc_uniscr_alloc()
362 p += cols * sizeof(char32_t); in vc_uniscr_alloc()
387 unsigned int x = vc->vc_x, cols = vc->vc_cols; in vc_uniscr_insert() local
389 memmove(&ln[x + nr], &ln[x], (cols - x - nr) * sizeof(*ln)); in vc_uniscr_insert()
400 unsigned int x = vc->vc_x, cols = vc->vc_cols; in vc_uniscr_delete() local
402 memcpy(&ln[x], &ln[x + nr], (cols - x - nr) * sizeof(*ln)); in vc_uniscr_delete()
403 memset32(&ln[cols - nr], ' ', nr); in vc_uniscr_delete()
425 unsigned int cols = vc->vc_cols; in vc_uniscr_clear_lines() local
428 memset32(uniscr->lines[y++], ' ', cols); in vc_uniscr_clear_lines()
1156 unsigned int cols, unsigned int lines) in vc_do_resize() argument
1174 if (cols > VC_RESIZE_MAXCOL || lines > VC_RESIZE_MAXROW) in vc_do_resize()
1177 new_cols = (cols ? cols : vc->vc_cols); in vc_do_resize()
1302 int vc_resize(struct vc_data *vc, unsigned int cols, unsigned int rows) in vc_resize() argument
1304 return vc_do_resize(vc->port.tty, vc, cols, rows); in vc_resize()
3290 unsigned int cols, int do_clear) in vc_init() argument
3294 vc->vc_cols = cols; in vc_init()
3296 vc->vc_size_row = cols << 1; in vc_init()
3898 char cols[4]; in con_debug_enter() local
3902 cols, in con_debug_enter()
3905 snprintf(cols, 4, "%i", vc->vc_cols); in con_debug_enter()