Home
last modified time | relevance | path

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

/Linux-v6.1/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 …]
/Linux-v6.1/drivers/video/console/
Dvgacon.c147 if (c->vc_origin != c->vc_visible_origin) in vgacon_restore_screen()
624 scr_memcpyw((u16 *) c->vc_origin, (u16 *) c->vc_screenbuf, in vgacon_switch()
1097 c->vc_origin = c->vc_visible_origin = vga_vram_base; in vgacon_set_origin()
1121 scr_memcpyw((u16 *) c->vc_screenbuf, (u16 *) c->vc_origin, in vgacon_save_screen()
1138 oldo = c->vc_origin; in vgacon_scroll()
1145 c->vc_origin = vga_vram_base; in vgacon_scroll()
1148 c->vc_origin += delta; in vgacon_scroll()
1149 scr_memsetw((u16 *) (c->vc_origin + c->vc_screenbuf_size - in vgacon_scroll()
1158 c->vc_origin = vga_vram_end - c->vc_screenbuf_size; in vgacon_scroll()
1161 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()
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/accessibility/speakup/
Dmain.c259 pos = screen_pos(vc, pos - (u16 *)vc->vc_origin, true); in get_attributes()
464 pos = screen_pos(vc, pos - (u16 *)vc->vc_origin, true); in get_char()
847 u_long start = vc->vc_origin + (spk_y * vc->vc_size_row); in say_line_from_to()
890 start = vc->vc_origin + ((spk_y) * vc->vc_size_row); in get_sentence_buf()
891 end = vc->vc_origin + ((spk_y) * vc->vc_size_row) + vc->vc_cols * 2; in get_sentence_buf()
933 u_long start = vc->vc_origin, end; in say_screen_from_to()
939 end = vc->vc_origin + (to * vc->vc_size_row); in say_screen_from_to()
959 start = vc->vc_origin + (win_top * vc->vc_size_row); in speakup_win_say()
960 end = vc->vc_origin + (win_bottom * vc->vc_size_row); in speakup_win_say()
972 spk_pos = vc->vc_origin + 2 * spk_x; in top_edge()
[all …]
/Linux-v6.1/include/linux/
Dconsole_struct.h105 unsigned long vc_origin; /* [!] Start of real screen */ member
/Linux-v6.1/drivers/video/fbdev/core/
Dfbcon.c573 q = (unsigned short *) (vc->vc_origin + in fbcon_prepare_logo()
608 scr_memsetw((unsigned short *) vc->vc_origin, in fbcon_prepare_logo()
618 q = (unsigned short *) (vc->vc_origin + in fbcon_prepare_logo()
1541 (vc->vc_origin + vc->vc_size_row * line); in fbcon_redraw_move()
1576 (vc->vc_origin + vc->vc_size_row * line); in fbcon_redraw_blit()
1625 (vc->vc_origin + vc->vc_size_row * line); in fbcon_redraw()
1768 scr_memsetw((unsigned short *) (vc->vc_origin + in fbcon_scroll()
1839 scr_memsetw((unsigned short *) (vc->vc_origin + in fbcon_scroll()
1856 scr_memsetw((unsigned short *) (vc->vc_origin + in fbcon_scroll()
1925 scr_memsetw((unsigned short *) (vc->vc_origin + in fbcon_scroll()
[all …]