Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/console/
H A Dsticon.c108 car1 = conp->vc_screenbuf[conp->state.x + conp->state.y * conp->vc_cols]; in sticon_cursor()
142 sti_bmove(sti, t + count, 0, t, 0, b - t - count, conp->vc_cols, in sticon_scroll()
144 sti_clear(sti, b - count, 0, count, conp->vc_cols, in sticon_scroll()
149 sti_bmove(sti, t, 0, t + count, 0, b - t - count, conp->vc_cols, in sticon_scroll()
151 sti_clear(sti, t, 0, count, conp->vc_cols, in sticon_scroll()
174 int vc_cols, vc_rows, vc_old_cols, vc_old_rows; in sticon_set_font() local
242 vc_old_cols = vc->vc_cols; in sticon_set_font()
252 vc_cols = sti_onscreen_x(sti) / cooked_font->width; in sticon_set_font()
254 vc_resize(vc, vc_cols, vc_rows); in sticon_set_font()
257 if (vc_cols == vc_old_cols && vc_rows == vc_old_rows) in sticon_set_font()
[all …]
H A Dnewport_con.c335 vc->vc_cols = cols; in newport_init()
458 ycurs = ((xcurs / vc->vc_cols) << 4) + 31; in newport_cursor()
459 xcurs = ((xcurs % vc->vc_cols) << 3) + xcurs_correction; in newport_cursor()
602 count = (b - t - lines) * vc->vc_cols; in newport_scroll()
617 if (++x == vc->vc_cols) { in newport_scroll()
626 for (count = 0; count < (lines * vc->vc_cols); count++) { in newport_scroll()
633 if (++x == vc->vc_cols) { in newport_scroll()
639 x = vc->vc_cols - 1; in newport_scroll()
653 x = vc->vc_cols - 1; in newport_scroll()
661 for (count = 0; count < (lines * vc->vc_cols); count++) { in newport_scroll()
[all …]
H A Ddummycon.c104 vc->vc_cols = DUMMY_COLUMNS; in dummycon_init()
H A Dvgacon.c354 c->vc_cols = vga_video_num_columns; in vgacon_init()
590 int x = c->vc_cols * VGA_FONTWIDTH; in vgacon_switch()
599 vga_video_num_columns = c->vc_cols; in vgacon_switch()
614 vgacon_doresize(c, c->vc_cols, c->vc_rows); in vgacon_switch()
H A Dmdacon.c361 c->vc_cols = mda_num_columns; in mdacon_init()
/openbmc/linux/drivers/tty/vt/
H A Dvt.c371 unsigned int x = vc->state.x, cols = vc->vc_cols; in vc_uniscr_insert()
382 unsigned int x = vc->state.x, cols = vc->vc_cols; in vc_uniscr_delete()
401 memset32(vc->vc_uni_lines[y++], ' ', vc->vc_cols); in vc_uniscr_clear_lines()
496 uni_lines = vc_uniscr_alloc(vc->vc_cols, vc->vc_rows); in vc_uniscr_check()
510 for (x = 0; x < vc->vc_cols; x++) { in vc_uniscr_check()
584 clear = src + (rows - nr) * vc->vc_cols; in con_scroll()
599 xx = offset % vc->vc_cols; in do_update_region()
600 yy = offset / vc->vc_cols; in do_update_region()
610 while (xx < vc->vc_cols && count) { in do_update_region()
780 oldx = (offset >> 1) % vc->vc_cols; in complement_pos()
[all …]
H A Dvc_screen.c215 size = vc->vc_rows * vc->vc_cols; in vcs_size()
251 unsigned int nr, row, col, maxcol = vc->vc_cols; in vcs_read_buf_uni()
280 unsigned int col, maxcol = vc->vc_cols; in vcs_read_buf_noattr()
301 unsigned int col, maxcol = vc->vc_cols; in vcs_read_buf()
307 con_buf[1] = min(vc->vc_cols, 0xFFu); in vcs_read_buf()
482 unsigned int col, maxcol = vc->vc_cols; in vcs_write_buf_noattr()
522 unsigned int col, maxcol = vc->vc_cols; in vcs_write_buf()
H A Dselection.c330 v->xs = min_t(u16, v->xs - 1, vc->vc_cols - 1); in vc_selection()
332 v->xe = min_t(u16, v->xe - 1, vc->vc_cols - 1); in vc_selection()
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbcon.c801 fbcon_prepare_logo(fg_vc, fg_info, fg_vc->vc_cols, in con2fb_init_display()
802 fg_vc->vc_rows, fg_vc->vc_cols, in con2fb_init_display()
1079 cols = vc->vc_cols; in fbcon_init()
1122 vc->vc_cols = new_cols; in fbcon_init()
1447 0, 0, 0, vc->vc_rows, vc->vc_cols); in ypan_up()
1495 0, vc->vc_rows, vc->vc_cols); in ypan_down()
1571 int offset = ycount * vc->vc_cols; in fbcon_redraw_blit()
1763 fbcon_clear(vc, b - count, 0, count, vc->vc_cols); in fbcon_scroll()
1775 vc->vc_cols); in fbcon_scroll()
1780 vc->vc_cols); in fbcon_scroll()
[all …]
H A Dbitblit.c210 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in bit_clear_margins()
H A Dfbcon_cw.c179 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in cw_clear_margins()
H A Dfbcon_ccw.c196 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in ccw_clear_margins()
H A Dfbcon_ud.c227 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in ud_clear_margins()
/openbmc/linux/drivers/accessibility/speakup/
H A Dmain.c526 if (spk_x == vc->vc_cols - 1) { in say_next_char()
559 } else if (tmpx < vc->vc_cols - 2 && in get_word()
577 while (tmpx < vc->vc_cols - 1 && cnt < ARRAY_SIZE(buf) - 1) { in get_word()
619 spk_x = vc->vc_cols; in say_prev_word()
633 spk_x = vc->vc_cols - 1; in say_prev_word()
667 if (spk_x == vc->vc_cols - 1 && spk_y == vc->vc_rows - 1) { in say_next_word()
681 if (spk_x >= vc->vc_cols - 1) { in say_next_word()
759 for (i = 0; i < vc->vc_cols; i++) { in get_line()
892 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 …]
/openbmc/linux/drivers/accessibility/braille/
H A Dbraille_console.c179 vc_x = vc->vc_cols-WIDTH; in keyboard_notifier_call()
184 if (vc_x + WIDTH < vc->vc_cols) { in keyboard_notifier_call()
/openbmc/linux/include/linux/
H A Dconsole_struct.h99 unsigned int vc_cols; /* [#] Console size */ member