Home
last modified time | relevance | path

Searched refs:vc_origin (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/misc/sisusbvga/
Dsisusb_con.c352 return (u16 *)c->vc_origin + y * sisusb->sisusb_num_columns + x; in sisusb_vaddr()
358 unsigned long offset = c->vc_origin - sisusb->scrbuf; in sisusb_haddr()
500 if (c->vc_origin == (unsigned long)c->vc_screenbuf) { in sisusbcon_switch()
508 (int)(sisusb->scrbuf + sisusb->scrbuf_size - c->vc_origin)); in sisusbcon_switch()
511 memcpy((u16 *)c->vc_origin, (u16 *)c->vc_screenbuf, length); in sisusbcon_switch()
513 sisusb_copy_memory(sisusb, (u8 *)c->vc_origin, in sisusbcon_switch()
545 (int)(sisusb->scrbuf + sisusb->scrbuf_size - c->vc_origin)); in sisusbcon_save_screen()
548 memcpy((u16 *)c->vc_screenbuf, (u16 *)c->vc_origin, length); in sisusbcon_save_screen()
616 sisusbcon_memsetw((u16 *)c->vc_origin, in sisusbcon_blank()
619 sisusb_copy_memory(sisusb, (u8 *)c->vc_origin, in sisusbcon_blank()
[all …]
/kernel/linux/linux-5.10/drivers/video/console/
Dvgacon.c170 if (c->vc_origin != c->vc_visible_origin) in vgacon_restore_screen()
649 scr_memcpyw((u16 *) c->vc_origin, (u16 *) c->vc_screenbuf, in vgacon_switch()
1140 c->vc_origin = c->vc_visible_origin = vga_vram_base; in vgacon_set_origin()
1164 scr_memcpyw((u16 *) c->vc_screenbuf, (u16 *) c->vc_origin, in vgacon_save_screen()
1181 oldo = c->vc_origin; in vgacon_scroll()
1188 c->vc_origin = vga_vram_base; in vgacon_scroll()
1191 c->vc_origin += delta; in vgacon_scroll()
1192 scr_memsetw((u16 *) (c->vc_origin + c->vc_screenbuf_size - in vgacon_scroll()
1201 c->vc_origin = vga_vram_end - c->vc_screenbuf_size; in vgacon_scroll()
1204 c->vc_origin -= delta; in vgacon_scroll()
[all …]
Dnewport_con.c605 s = (unsigned short *) (vc->vc_origin + in newport_scroll()
607 d = (unsigned short *) (vc->vc_origin + in newport_scroll()
621 d = (unsigned short *) (vc->vc_origin + in newport_scroll()
640 s = (unsigned short *) (vc->vc_origin + in newport_scroll()
642 d = (unsigned short *) (vc->vc_origin + in newport_scroll()
656 d = (unsigned short *) (vc->vc_origin + in newport_scroll()
/kernel/linux/linux-5.10/drivers/tty/vt/
Dvt.c292 p = (unsigned short *)(vc->vc_origin + offset); in screenpos()
528 p = (unsigned short *)vc->vc_origin; in vc_uniscr_check()
557 if (pos >= vc->vc_origin && pos < vc->vc_scr_end) { in vc_uniscr_copy_line()
563 row = (pos - vc->vc_origin) / vc->vc_size_row; in vc_uniscr_copy_line()
564 col = ((pos - vc->vc_origin) % vc->vc_size_row) / 2; in vc_uniscr_copy_line()
599 p = (unsigned short *)vc->vc_origin; in vc_uniscr_debug_check()
633 s = clear = (u16 *)(vc->vc_origin + vc->vc_size_row * t); in con_scroll()
634 d = (u16 *)(vc->vc_origin + vc->vc_size_row * (t + nr)); in con_scroll()
651 offset = (start - vc->vc_origin) / 2; in do_update_region()
932 vc->vc_origin = (unsigned long)vc->vc_screenbuf; in set_origin()
[all …]
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dmain.c260 pos = screen_pos(vc, pos - (u16 *)vc->vc_origin, true); in get_attributes()
467 pos = screen_pos(vc, pos - (u16 *)vc->vc_origin, true); in get_char()
848 u_long start = vc->vc_origin + (spk_y * vc->vc_size_row); in say_line_from_to()
891 start = vc->vc_origin + ((spk_y) * vc->vc_size_row); in get_sentence_buf()
892 end = vc->vc_origin + ((spk_y) * vc->vc_size_row) + vc->vc_cols * 2; in get_sentence_buf()
934 u_long start = vc->vc_origin, end; in say_screen_from_to()
940 end = vc->vc_origin + (to * vc->vc_size_row); in say_screen_from_to()
960 start = vc->vc_origin + (win_top * vc->vc_size_row); in speakup_win_say()
961 end = vc->vc_origin + (win_bottom * vc->vc_size_row); in speakup_win_say()
973 spk_pos = vc->vc_origin + 2 * spk_x; in top_edge()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dconsole_struct.h105 unsigned long vc_origin; /* [!] Start of real screen */ member
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfbcon.c605 q = (unsigned short *) (vc->vc_origin + in fbcon_prepare_logo()
640 scr_memsetw((unsigned short *) vc->vc_origin, in fbcon_prepare_logo()
650 q = (unsigned short *) (vc->vc_origin + in fbcon_prepare_logo()
1565 (vc->vc_origin + vc->vc_size_row * line); in fbcon_redraw_move()
1600 (vc->vc_origin + vc->vc_size_row * line); in fbcon_redraw_blit()
1649 (vc->vc_origin + vc->vc_size_row * line); in fbcon_redraw()
1727 scr_memsetw((unsigned short *) (vc->vc_origin + in fbcon_scroll()
1798 scr_memsetw((unsigned short *) (vc->vc_origin + in fbcon_scroll()
1815 scr_memsetw((unsigned short *) (vc->vc_origin + in fbcon_scroll()
1884 scr_memsetw((unsigned short *) (vc->vc_origin + in fbcon_scroll()
[all …]