Home
last modified time | relevance | path

Searched refs:vc_rows (Results 1 - 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/video/console/
H A 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()
[all...]
H A 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()
H A Dvgacon.c388 c->vc_rows = vga_video_num_lines; in vgacon_init()
634 int y = c->vc_rows * c->vc_cell_height; in vgacon_switch()
643 vga_video_num_lines = c->vc_rows; in vgacon_switch()
657 vgacon_doresize(c, c->vc_cols, c->vc_rows); in vgacon_switch()
1174 if (t || b != c->vc_rows || vga_is_gfx || c->vc_mode != KD_TEXT) in vgacon_scroll()
1177 if (!vga_hardscroll_enabled || lines >= c->vc_rows / 2) in vgacon_scroll()
H A Ddummycon.c105 vc->vc_rows = DUMMY_ROWS; in dummycon_init()
H A 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()
/kernel/linux/linux-6.6/drivers/video/console/
H A 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()
[all...]
H A 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()
H A 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()
H A Ddummycon.c105 vc->vc_rows = DUMMY_ROWS; in dummycon_init()
H A 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()
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dfbcon.c826 fg_vc->vc_rows, fg_vc->vc_cols, in con2fb_init_display()
827 fg_vc->vc_rows); in con2fb_init_display()
1123 rows = vc->vc_rows; in fbcon_init()
1167 vc->vc_rows = new_rows; in fbcon_init()
1472 if (p->yscroll > p->vrows - vc->vc_rows) { in ypan_up()
1473 ops->bmove(vc, info, p->vrows - vc->vc_rows, in ypan_up()
1474 0, 0, 0, vc->vc_rows, vc->vc_cols); in ypan_up()
1475 p->yscroll -= p->vrows - vc->vc_rows; in ypan_up()
1497 if (p->yscroll > p->vrows - vc->vc_rows) { in ypan_up_redraw()
1498 p->yscroll -= p->vrows - vc->vc_rows; in ypan_up_redraw()
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A 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...]
/kernel/linux/linux-5.10/drivers/tty/vt/
H A 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()
1080 vc->vc_screenbuf_size = vc->vc_rows * vc->vc_size_row; in visual_init()
1144 if (vc->vc_cols > VC_MAXCOL || vc->vc_rows > VC_MAXROW || in vc_allocate()
1157 vc_init(vc, vc->vc_rows, vc->vc_cols, 1); in vc_allocate()
1219 new_rows = (lines ? lines : vc->vc_rows); in vc_do_resize()
1223 if (new_cols == vc->vc_cols && new_rows == vc->vc_rows) { in vc_do_resize()
1260 old_rows = vc->vc_rows; in vc_do_resize()
[all...]
H A 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()
H A 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()
/kernel/linux/linux-5.10/drivers/accessibility/braille/
H A 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()
/kernel/linux/linux-6.6/drivers/accessibility/braille/
H A 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()
/kernel/linux/linux-6.6/drivers/tty/vt/
H A 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...]
H A 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()
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
H A 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()
1616 for (i = 0; i < vc->vc_rows; in count_highlight_color()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dconsole_struct.h75 * vc_rows --->< | login: root | | visible on console
77 * vc_origin -----------> || | | vc_size_row * vc_rows)
101 unsigned int vc_rows; member
/kernel/linux/linux-6.6/include/linux/
H A Dconsole_struct.h74 * vc_rows --->< | login: root | | visible on console
76 * vc_origin -----------> || | | vc_size_row * vc_rows)
100 unsigned int vc_rows; member
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
H A 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; in count_highlight_color()
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/sisusbvga/
H A 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()

Completed in 33 milliseconds

12