Lines Matching refs:scrbuf
109 sisusb->cur_start_addr = (c->vc_visible_origin - sisusb->scrbuf) / 2; in sisusbcon_set_start_address()
361 ((u16 *)(sisusb->vrambase + (c->vc_origin - sisusb->scrbuf)) + \
546 (int)(sisusb->scrbuf + sisusb->scrbuf_size - c->vc_origin)); in sisusbcon_switch()
584 (int)(sisusb->scrbuf + sisusb->scrbuf_size - c->vc_origin)); in sisusbcon_save_screen()
663 (c->vc_origin - sisusb->scrbuf)), in sisusbcon_blank()
739 (c->vc_scr_end - sisusb->scrbuf) + margin) { in sisusbcon_scrolldelta()
741 ul = c->vc_scr_end - sisusb->scrbuf; in sisusbcon_scrolldelta()
751 p = (c->vc_visible_origin - sisusb->scrbuf - ul + we) % we + in sisusbcon_scrolldelta()
754 st = (c->vc_origin - sisusb->scrbuf - ul + we) % we; in sisusbcon_scrolldelta()
765 c->vc_visible_origin = sisusb->scrbuf + (p + ul) % we; in sisusbcon_scrolldelta()
804 sisusb_set_cursor(sisusb, (c->vc_pos - sisusb->scrbuf) / 2); in sisusbcon_cursor()
939 sisusb->scrbuf + sisusb->scrbuf_size) { in sisusbcon_scroll()
940 sisusbcon_memcpyw((u16 *)sisusb->scrbuf, in sisusbcon_scroll()
943 c->vc_origin = sisusb->scrbuf; in sisusbcon_scroll()
944 sisusb->con_rolled_over = oldorigin - sisusb->scrbuf; in sisusbcon_scroll()
957 if (oldorigin - delta < sisusb->scrbuf) { in sisusbcon_scroll()
958 sisusbcon_memmovew((u16 *)(sisusb->scrbuf + in sisusbcon_scroll()
964 c->vc_origin = sisusb->scrbuf + in sisusbcon_scroll()
979 originoffset = (u32)(c->vc_origin - sisusb->scrbuf); in sisusbcon_scroll()
1031 c->vc_origin = c->vc_visible_origin = sisusb->scrbuf; in sisusbcon_set_origin()
1484 if (!(sisusb->scrbuf = (unsigned long)vmalloc(sisusb->scrbuf_size))) { in sisusb_console_init()
1546 vfree((void *)sisusb->scrbuf); in sisusb_console_exit()
1547 sisusb->scrbuf = 0; in sisusb_console_exit()