Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/video/console/
Dsticon.c174 int vc_cols, vc_rows, vc_old_cols, vc_old_rows; in sticon_set_font() local
241 vc_old_rows = vc->vc_rows; in sticon_set_font()
253 vc_rows = sti_onscreen_y(sti) / cooked_font->height; 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()
279 int vc_cols, vc_rows; in sticon_init() local
283 vc_rows = sti_onscreen_y(sti) / sti->font->height; in sticon_init()
288 c->vc_rows = vc_rows; in sticon_init()
290 vc_resize(c, vc_cols, vc_rows); in sticon_init()
325 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.c355 c->vc_rows = vga_video_num_lines; in vgacon_init()
591 int y = c->vc_rows * c->vc_cell_height; in vgacon_switch()
600 vga_video_num_lines = c->vc_rows; in vgacon_switch()
614 vgacon_doresize(c, c->vc_cols, c->vc_rows); in vgacon_switch()
1113 if (t || b != c->vc_rows || vga_is_gfx || c->vc_mode != KD_TEXT) in vgacon_scroll()
1116 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()
587 if (t == 0 && b == vc->vc_rows) { in newport_scroll()
590 newport_clear_lines(vc->vc_rows - lines, in newport_scroll()
591 vc->vc_rows - 1, in newport_scroll()
/linux-6.6.21/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()
1078 rows = vc->vc_rows; in fbcon_init()
1121 vc->vc_rows = new_rows; in fbcon_init()
1443 if (p->yscroll > p->vrows - vc->vc_rows) { in ypan_up()
1444 ops->bmove(vc, info, p->vrows - vc->vc_rows, in ypan_up()
1445 0, 0, 0, vc->vc_rows, vc->vc_cols); in ypan_up()
1446 p->yscroll -= p->vrows - vc->vc_rows; in ypan_up()
1468 if (p->yscroll > p->vrows - vc->vc_rows) { in ypan_up_redraw()
1469 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-6.6.21/drivers/accessibility/braille/
Dbraille_console.c186 } else if (vc_y + 1 < vc->vc_rows) { in keyboard_notifier_call()
194 if (vc_y + 1 < vc->vc_rows) in keyboard_notifier_call()
214 vc_y = vc->vc_rows-1; in keyboard_notifier_call()
/linux-6.6.21/drivers/tty/vt/
Dvt.c496 uni_lines = vc_uniscr_alloc(vc->vc_cols, vc->vc_rows); in vc_uniscr_check()
508 for (y = 0; y < vc->vc_rows; y++) { in vc_uniscr_check()
572 if (bottom > vc->vc_rows || top >= bottom || nr < 1) in con_scroll()
1028 vc->vc_screenbuf_size = vc->vc_rows * vc->vc_size_row; in visual_init()
1092 if (vc->vc_cols > VC_MAXCOL || vc->vc_rows > VC_MAXROW || in vc_allocate()
1167 new_rows = (lines ? lines : vc->vc_rows); in vc_do_resize()
1171 if (new_cols == vc->vc_cols && new_rows == vc->vc_rows) { in vc_do_resize()
1208 old_rows = vc->vc_rows; in vc_do_resize()
1218 vc->vc_rows = new_rows; in vc_do_resize()
1275 vc->vc_bottom = vc->vc_rows; in vc_do_resize()
[all …]
Dselection.c331 v->ys = min_t(u16, v->ys - 1, vc->vc_rows - 1); in vc_selection()
333 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-6.6.21/drivers/accessibility/speakup/
Dmain.c667 if (spk_x == vc->vc_cols - 1 && spk_y == vc->vc_rows - 1) { in say_next_word()
682 if (spk_y == vc->vc_rows - 1) { in say_next_word()
806 if (spk_y == vc->vc_rows - 1) { in say_next_line()
938 if (to > vc->vc_rows) in say_screen_from_to()
939 to = vc->vc_rows; in say_screen_from_to()
949 say_screen_from_to(vc, 0, vc->vc_rows); in say_screen()
981 spk_pos += (vc->vc_rows - spk_y - 1) * vc->vc_size_row; in bottom_edge()
982 spk_y = vc->vc_rows - 1; in bottom_edge()
1064 say_screen_from_to(vc, spk_y, vc->vc_rows); in say_to_bottom()
1624 for (i = 0; i < vc->vc_rows; i++) { in count_highlight_color()
[all …]
/linux-6.6.21/include/linux/
Dconsole_struct.h100 unsigned int vc_rows; member