Home
last modified time | relevance | path

Searched refs:vc_rows (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/drivers/video/console/
Dsticon.c175 int vc_cols, vc_rows, vc_old_cols, vc_old_rows; in sticon_set_font() local
242 vc_old_rows = vc->vc_rows; in sticon_set_font()
254 vc_rows = sti_onscreen_y(sti) / cooked_font->height; in sticon_set_font()
255 vc_resize(vc, vc_cols, vc_rows); in sticon_set_font()
258 if (vc_cols == vc_old_cols && vc_rows == vc_old_rows) in sticon_set_font()
278 int vc_cols, vc_rows; in sticon_init() local
282 vc_rows = sti_onscreen_y(sti) / sti->font->height; in sticon_init()
287 c->vc_rows = vc_rows; in sticon_init()
289 vc_resize(c, vc_cols, vc_rows); in sticon_init()
324 sti_clear(sticon_sti, 0, 0, c->vc_rows, c->vc_cols, BLANK, in sticon_blank()
Dmdacon.c362 c->vc_rows = mda_num_lines; in mdacon_init()
514 if (lines > c->vc_rows) /* maximum realistic size */ in mdacon_scroll()
515 lines = c->vc_rows; in mdacon_scroll()
Dvgacon.c363 c->vc_rows = vga_video_num_lines; in vgacon_init()
609 int y = c->vc_rows * c->vc_cell_height; in vgacon_switch()
618 vga_video_num_lines = c->vc_rows; in vgacon_switch()
632 vgacon_doresize(c, c->vc_cols, c->vc_rows); in vgacon_switch()
1131 if (t || b != c->vc_rows || vga_is_gfx || c->vc_mode != KD_TEXT) in vgacon_scroll()
1134 if (!vga_hardscroll_enabled || lines >= c->vc_rows / 2) in vgacon_scroll()
Ddummycon.c105 vc->vc_rows = DUMMY_ROWS; in dummycon_init()
Dnewport_con.c336 vc->vc_rows = rows; in newport_init()
586 if (t == 0 && b == vc->vc_rows) { in newport_scroll()
589 newport_clear_lines(vc->vc_rows - lines, in newport_scroll()
590 vc->vc_rows - 1, in newport_scroll()
/linux-5.19.10/drivers/video/fbdev/core/
Dfbcon.c802 fg_vc->vc_rows, fg_vc->vc_cols, in con2fb_init_display()
803 fg_vc->vc_rows); in con2fb_init_display()
1080 rows = vc->vc_rows; in fbcon_init()
1123 vc->vc_rows = new_rows; in fbcon_init()
1448 if (p->yscroll > p->vrows - vc->vc_rows) { in ypan_up()
1449 ops->bmove(vc, info, p->vrows - vc->vc_rows, in ypan_up()
1450 0, 0, 0, vc->vc_rows, vc->vc_cols); in ypan_up()
1451 p->yscroll -= p->vrows - vc->vc_rows; in ypan_up()
1473 if (p->yscroll > p->vrows - vc->vc_rows) { in ypan_up_redraw()
1474 p->yscroll -= p->vrows - vc->vc_rows; in ypan_up_redraw()
[all …]
Dfbcon_ccw.c197 unsigned int bh = info->var.xres - (vc->vc_rows*ch); in ccw_clear_margins()
198 unsigned int bs = vc->vc_rows*ch; in ccw_clear_margins()
Dfbcon_cw.c180 unsigned int bh = info->var.xres - (vc->vc_rows*ch); in cw_clear_margins()
Dbitblit.c211 unsigned int bh = info->var.yres - (vc->vc_rows*ch); in bit_clear_margins()
Dfbcon_ud.c228 unsigned int bh = info->var.yres - (vc->vc_rows*ch); in ud_clear_margins()
/linux-5.19.10/drivers/tty/vt/
Dvt.c518 uniscr = vc_uniscr_alloc(vc->vc_cols, vc->vc_rows); in vc_uniscr_check()
530 for (y = 0; y < vc->vc_rows; y++) { in vc_uniscr_check()
601 for (y = 0; y < vc->vc_rows; y++) { in vc_uniscr_debug_check()
627 if (b > vc->vc_rows || t >= b || nr < 1) in con_scroll()
1079 vc->vc_screenbuf_size = vc->vc_rows * vc->vc_size_row; 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()
1218 new_rows = (lines ? lines : vc->vc_rows); in vc_do_resize()
1222 if (new_cols == vc->vc_cols && new_rows == vc->vc_rows) { in vc_do_resize()
1259 old_rows = vc->vc_rows; in vc_do_resize()
[all …]
Dselection.c330 v->ys = min_t(u16, v->ys - 1, vc->vc_rows - 1); in vc_selection()
332 v->ye = min_t(u16, v->ye - 1, vc->vc_rows - 1); in vc_selection()
Dvc_screen.c215 size = vc->vc_rows * vc->vc_cols; in vcs_size()
306 con_buf[0] = min(vc->vc_rows, 0xFFu); in vcs_read_buf()
/linux-5.19.10/drivers/accessibility/braille/
Dbraille_console.c187 } else if (vc_y + 1 < vc->vc_rows) { in keyboard_notifier_call()
195 if (vc_y + 1 < vc->vc_rows) in keyboard_notifier_call()
215 vc_y = vc->vc_rows-1; in keyboard_notifier_call()
/linux-5.19.10/drivers/accessibility/speakup/
Dmain.c666 if (spk_x == vc->vc_cols - 1 && spk_y == vc->vc_rows - 1) { in say_next_word()
681 if (spk_y == vc->vc_rows - 1) { in say_next_word()
805 if (spk_y == vc->vc_rows - 1) { in say_next_line()
937 if (to > vc->vc_rows) in say_screen_from_to()
938 to = vc->vc_rows; in say_screen_from_to()
948 say_screen_from_to(vc, 0, vc->vc_rows); in say_screen()
980 spk_pos += (vc->vc_rows - spk_y - 1) * vc->vc_size_row; in bottom_edge()
981 spk_y = vc->vc_rows - 1; in bottom_edge()
1063 say_screen_from_to(vc, spk_y, vc->vc_rows); in say_to_bottom()
1614 for (i = 0; i < vc->vc_rows; i++) { in count_highlight_color()
[all …]
/linux-5.19.10/include/linux/
Dconsole_struct.h101 unsigned int vc_rows; member
/linux-5.19.10/drivers/usb/misc/sisusbvga/
Dsisusb_con.c258 c->vc_rows = rows; in sisusbcon_init()
842 if (t || b != c->vc_rows) in sisusbcon_scroll()
851 if (lines > c->vc_rows) in sisusbcon_scroll()
852 lines = c->vc_rows; in sisusbcon_scroll()
1317 vc->vc_rows = 25; in sisusbdummycon_init()