Home
last modified time | relevance | path

Searched refs:vc_cols (Results 1 – 18 of 18) sorted by relevance

/Linux-v4.19/drivers/video/console/
Dsticon.c135 car1 = conp->vc_screenbuf[conp->vc_x + conp->vc_y * conp->vc_cols]; in sticon_cursor()
168 sti_bmove(sti, t + count, 0, t, 0, b - t - count, conp->vc_cols); in sticon_scroll()
169 sti_clear(sti, b - count, 0, count, conp->vc_cols, conp->vc_video_erase_char); in sticon_scroll()
173 sti_bmove(sti, t, 0, t + count, 0, b - t - count, conp->vc_cols); in sticon_scroll()
174 sti_clear(sti, t, 0, count, conp->vc_cols, conp->vc_video_erase_char); in sticon_scroll()
184 int vc_cols, vc_rows; in sticon_init() local
187 vc_cols = sti_onscreen_x(sti) / sti->font_width; in sticon_init()
192 c->vc_cols = vc_cols; in sticon_init()
197 vc_resize(c, vc_cols, vc_rows); in sticon_init()
233 sti_clear(sticon_sti, 0,0, c->vc_rows, c->vc_cols, BLANK); in sticon_blank()
[all …]
Dnewport_con.c336 vc->vc_cols = cols; in newport_init()
459 ycurs = ((xcurs / vc->vc_cols) << 4) + 31; in newport_cursor()
460 xcurs = ((xcurs % vc->vc_cols) << 3) + xcurs_correction; in newport_cursor()
601 count = (b - t - lines) * vc->vc_cols; in newport_scroll()
616 if (++x == vc->vc_cols) { in newport_scroll()
625 for (count = 0; count < (lines * vc->vc_cols); count++) { in newport_scroll()
632 if (++x == vc->vc_cols) { in newport_scroll()
638 x = vc->vc_cols - 1; in newport_scroll()
652 x = vc->vc_cols - 1; in newport_scroll()
660 for (count = 0; count < (lines * vc->vc_cols); count++) { in newport_scroll()
[all …]
Ddummycon.c97 vc->vc_cols = DUMMY_COLUMNS; in dummycon_init()
Dvgacon.c592 c->vc_cols = vga_video_num_columns; in vgacon_init()
838 int x = c->vc_cols * VGA_FONTWIDTH; in vgacon_switch()
847 vga_video_num_columns = c->vc_cols; in vgacon_switch()
862 vgacon_doresize(c, c->vc_cols, c->vc_rows); in vgacon_switch()
Dmdacon.c361 c->vc_cols = mda_num_columns; in mdacon_init()
/Linux-v4.19/drivers/tty/vt/
Dvt.c387 unsigned int x = vc->vc_x, cols = vc->vc_cols; in vc_uniscr_insert()
400 unsigned int x = vc->vc_x, cols = vc->vc_cols; in vc_uniscr_delete()
425 unsigned int cols = vc->vc_cols; in vc_uniscr_clear_lines()
519 uniscr = vc_uniscr_alloc(vc->vc_cols, vc->vc_rows); in vc_uniscr_check()
533 for (x = 0; x < vc->vc_cols; x++) { in vc_uniscr_check()
604 for (x = 0; x < vc->vc_cols; x++) { in vc_uniscr_debug_check()
638 clear = s + (b - t - nr) * vc->vc_cols; in con_scroll()
653 xx = offset % vc->vc_cols; in do_update_region()
654 yy = offset / vc->vc_cols; in do_update_region()
664 while (xx < vc->vc_cols && count) { in do_update_region()
[all …]
Dvc_screen.c201 size = vc->vc_rows * vc->vc_cols; in vcs_size()
300 maxcol = vc->vc_cols; in vcs_read()
308 row = p / vc->vc_cols; in vcs_read()
339 con_buf0[1] = (char)vc->vc_cols; in vcs_read()
514 maxcol = vc->vc_cols; in vcs_write()
Dselection.c180 v.xs = min_t(u16, v.xs - 1, vc->vc_cols - 1); in set_selection()
182 v.xe = min_t(u16, v.xe - 1, vc->vc_cols - 1); in set_selection()
/Linux-v4.19/drivers/video/fbdev/core/
Dfbcon.c816 fbcon_prepare_logo(fg_vc, fg_info, fg_vc->vc_cols, in con2fb_init_display()
817 fg_vc->vc_rows, fg_vc->vc_cols, in con2fb_init_display()
1134 cols = vc->vc_cols; in fbcon_init()
1176 vc->vc_cols = new_cols; in fbcon_init()
1492 0, 0, 0, vc->vc_rows, vc->vc_cols); in ypan_up()
1540 0, vc->vc_rows, vc->vc_cols); in ypan_down()
1709 int offset = ycount * vc->vc_cols; in fbcon_redraw_blit()
1866 fbcon_clear(vc, b - count, 0, count, vc->vc_cols); in fbcon_scroll()
1879 vc->vc_cols); in fbcon_scroll()
1884 vc->vc_cols); in fbcon_scroll()
[all …]
Dfbcon_ccw.c196 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in ccw_clear_margins()
Dfbcon_cw.c179 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in cw_clear_margins()
Dbitblit.c210 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in bit_clear_margins()
Dfbcon_ud.c227 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in ud_clear_margins()
/Linux-v4.19/drivers/staging/speakup/
Dmain.c529 if (spk_x == vc->vc_cols - 1) { in say_next_char()
562 } else if (tmpx < vc->vc_cols - 2 && in get_word()
580 while (tmpx < vc->vc_cols - 1) { in get_word()
621 spk_x = vc->vc_cols; in say_prev_word()
635 spk_x = vc->vc_cols - 1; in say_prev_word()
668 if (spk_x == vc->vc_cols - 1 && spk_y == vc->vc_rows - 1) { in say_next_word()
682 if (spk_x >= vc->vc_cols - 1) { in say_next_word()
760 for (i = 0; i < vc->vc_cols; i++) { in get_line()
893 end = vc->vc_origin + ((spk_y) * vc->vc_size_row) + vc->vc_cols * 2; in get_sentence_buf()
997 spk_pos += (vc->vc_cols - spk_x - 1) * 2; in right_edge()
[all …]
Dselection.c60 spk_xs = limit(spk_xs, vc->vc_cols - 1); in speakup_set_selection()
62 spk_xe = limit(spk_xe, vc->vc_cols - 1); in speakup_set_selection()
/Linux-v4.19/drivers/accessibility/braille/
Dbraille_console.c193 vc_x = vc->vc_cols-WIDTH; in keyboard_notifier_call()
198 if (vc_x + WIDTH < vc->vc_cols) { in keyboard_notifier_call()
/Linux-v4.19/include/linux/
Dconsole_struct.h61 unsigned int vc_cols; /* [#] Console size */ member
/Linux-v4.19/drivers/usb/misc/sisusbvga/
Dsisusb_con.c266 c->vc_cols = cols; in sisusbcon_init()
456 if (x == 0 && width >= c->vc_cols) { in sisusbcon_clear()
1335 vc->vc_cols = 80; in sisusbdummycon_init()