Lines Matching refs:vc_cols

386 		unsigned int x = vc->state.x, cols = vc->vc_cols;  in vc_uniscr_insert()
399 unsigned int x = vc->state.x, cols = vc->vc_cols; in vc_uniscr_delete()
424 unsigned int cols = vc->vc_cols; in vc_uniscr_clear_lines()
518 uniscr = vc_uniscr_alloc(vc->vc_cols, vc->vc_rows); in vc_uniscr_check()
532 for (x = 0; x < vc->vc_cols; x++) { in vc_uniscr_check()
603 for (x = 0; x < vc->vc_cols; x++) { in vc_uniscr_debug_check()
637 clear = s + (b - t - nr) * vc->vc_cols; in con_scroll()
652 xx = offset % vc->vc_cols; in do_update_region()
653 yy = offset / vc->vc_cols; in do_update_region()
663 while (xx < vc->vc_cols && count) { in do_update_region()
832 oldx = (offset >> 1) % vc->vc_cols; in complement_pos()
833 oldy = (offset >> 1) / vc->vc_cols; in complement_pos()
845 scr_memmovew(p + nr, p, (vc->vc_cols - vc->state.x - nr) * 2); in insert_char()
850 vc->vc_cols - vc->state.x); in insert_char()
858 scr_memcpyw(p, p + nr, (vc->vc_cols - vc->state.x - nr) * 2); in delete_char()
859 scr_memsetw(p + vc->vc_cols - vc->state.x - nr, vc->vc_video_erase_char, in delete_char()
864 vc->vc_cols - vc->state.x); in delete_char()
1078 vc->vc_size_row = vc->vc_cols << 1; in visual_init()
1143 if (vc->vc_cols > VC_MAXCOL || vc->vc_rows > VC_MAXROW || in vc_allocate()
1156 vc_init(vc, vc->vc_rows, vc->vc_cols, 1); in vc_allocate()
1217 new_cols = (cols ? cols : vc->vc_cols); in vc_do_resize()
1222 if (new_cols == vc->vc_cols && new_rows == vc->vc_rows) { in vc_do_resize()
1270 vc->vc_cols = new_cols; in vc_do_resize()
1336 ws.ws_col = vc->vc_cols; in vc_do_resize()
1459 if (new_x >= vc->vc_cols) in gotoxy()
1460 vc->state.x = vc->vc_cols - 1; in gotoxy()
1560 vc->vc_cols - vc->state.x); in csi_J()
1577 count = vc->vc_cols * vc->vc_rows; in csi_J()
1598 count = vc->vc_cols - vc->state.x; in csi_K()
1606 count = vc->vc_cols; in csi_K()
1626 count = min(vpar, vc->vc_cols - vc->state.x); in csi_X()
2020 if (nr > vc->vc_cols - vc->state.x) in csi_at()
2021 nr = vc->vc_cols - vc->state.x; in csi_at()
2041 if (nr > vc->vc_cols - vc->state.x) in csi_P()
2042 nr = vc->vc_cols - vc->state.x; in csi_P()
2186 min(vc->vc_cols - 1, VC_TABSTOPS_COUNT), in do_con_trol()
2189 vc->state.x = vc->vc_cols - 1; in do_con_trol()
2868 if (vc->state.x == vc->vc_cols - 1) { in vc_con_write_normal()
3137 if (vc->state.x == vc->vc_cols - 1) { in vt_console_print()
3404 tty->winsize.ws_col = vc_cons[currcons].d->vc_cols; in con_install()
3455 vc->vc_cols = cols; in vc_init()
3527 vc_init(vc, vc->vc_rows, vc->vc_cols, in con_init()
3539 display_desc, vc->vc_cols, vc->vc_rows); in con_init()
3715 desc, vc->vc_cols, vc->vc_rows); in do_bind_con_driver()
4058 if (vc->vc_cols < 999) { in con_debug_enter()
4067 snprintf(cols, 4, "%i", vc->vc_cols); in con_debug_enter()
4743 return uniscr->lines[n / vc->vc_cols][n % vc->vc_cols]; in screen_glyph_unicode()