Lines Matching refs:vc_sw
294 else if (!vc->vc_sw->con_screen_pos) in screenpos()
297 p = vc->vc_sw->con_screen_pos(vc, offset); in screenpos()
324 if (CON_IS_VISIBLE(vc) && vc->vc_sw->con_scroll(vc, t, b, SM_UP, nr)) in scrup()
342 if (CON_IS_VISIBLE(vc) && vc->vc_sw->con_scroll(vc, t, b, SM_DOWN, nr)) in scrdown()
357 if (!vc->vc_sw->con_getxy) { in do_update_region()
363 start = vc->vc_sw->con_getxy(vc, start, &nxx, &nyy); in do_update_region()
373 vc->vc_sw->con_putcs(vc, q, p-q, yy, startx); in do_update_region()
383 vc->vc_sw->con_putcs(vc, q, p-q, yy, startx); in do_update_region()
388 if (vc->vc_sw->con_getxy) { in do_update_region()
390 start = vc->vc_sw->con_getxy(vc, start, NULL, NULL); in do_update_region()
412 if (vc->vc_sw->con_build_attr) in build_attr()
413 return vc->vc_sw->con_build_attr(vc, _color, _intensity, in build_attr()
473 if (vc->vc_sw->con_invert_region) in invert_screen()
474 vc->vc_sw->con_invert_region(vc, p, count); in invert_screen()
523 vc->vc_sw->con_putc(vc, old, oldy, oldx); in complement_pos()
540 vc->vc_sw->con_putc(vc, new, oldy, oldx); in complement_pos()
587 vc->vc_sw->con_putc(vc, i, vc->vc_y, vc->vc_x); in add_softcursor()
595 vc->vc_sw->con_putc(vc, softcursor_original, in hide_softcursor()
605 vc->vc_sw->con_cursor(vc, CM_ERASE); in hide_cursor()
619 vc->vc_sw->con_cursor(vc, CM_DRAW); in set_cursor()
629 !vc->vc_sw->con_set_origin || in set_origin()
630 !vc->vc_sw->con_set_origin(vc)) in set_origin()
641 if (vc->vc_sw->con_save_screen) in save_screen()
642 vc->vc_sw->con_save_screen(vc); in save_screen()
697 update = vc->vc_sw->con_switch(vc); in redraw_screen()
735 if (vc->vc_sw) in visual_init()
736 module_put(vc->vc_sw->owner); in visual_init()
737 vc->vc_sw = conswitchp; in visual_init()
740 vc->vc_sw = con_driver_map[num]; in visual_init()
742 __module_get(vc->vc_sw->owner); in visual_init()
753 vc->vc_sw->con_init(vc, init); in visual_init()
815 if (vc->vc_mode != KD_GRAPHICS && vc->vc_sw->con_resize) in resize_screen()
816 err = vc->vc_sw->con_resize(vc, width, height, user); in resize_screen()
1010 vc->vc_sw->con_deinit(vc); in vc_deallocate()
1012 module_put(vc->vc_sw->owner); in vc_deallocate()
1230 vc->vc_sw->con_clear(vc, vc->vc_y, vc->vc_x, 1, count); in csi_X()
2176 vc->vc_sw->con_putcs(vc, (u16 *)draw_from, (u16 *)draw_to - (u16 *)draw_from, vc->vc_y, draw_x); \ in do_con_write()
2463 vc->vc_sw->con_scrolldelta(vc, scrollback_delta); in console_callback()
2586 vc->vc_sw->con_putcs(vc, start, cnt, vc->vc_y, vc->vc_x); in vt_console_print()
2618 vc->vc_sw->con_putcs(vc, start, cnt, vc->vc_y, vc->vc_x); in vt_console_print()
3005 currcons || !vc->vc_sw->con_save_screen); in con_init()
3159 if (!vc || !vc->vc_sw) in do_bind_con_driver()
3170 vc->vc_sw->con_deinit(vc); in do_bind_con_driver()
3498 if (vc->vc_sw->con_debug_enter) in con_debug_enter()
3499 ret = vc->vc_sw->con_debug_enter(vc); in con_debug_enter()
3556 if (vc->vc_sw->con_debug_leave) in con_debug_leave()
3557 ret = vc->vc_sw->con_debug_leave(vc); in con_debug_leave()
3816 vc->vc_sw->con_blank(vc, vesa_blank_mode + 1, 0); in do_blank_screen()
3825 vc->vc_sw->con_blank(vc, -1, 1); in do_blank_screen()
3848 i = vc->vc_sw->con_blank(vc, vesa_off_interval ? 1 : (vesa_blank_mode + 1), 0); in do_blank_screen()
3900 if (vc->vc_sw->con_blank(vc, 0, leaving_gfx) || vt_force_oops_output(vc)) in do_unblank_screen()
3974 vc->vc_sw->con_set_palette(vc, color_table); in set_palette()
4072 else if (vc->vc_sw->con_font_get) in con_font_get()
4073 rc = vc->vc_sw->con_font_get(vc, &font); in con_font_get()
4156 else if (vc->vc_sw->con_font_set) in con_font_set()
4157 rc = vc->vc_sw->con_font_set(vc, &font, op->flags); in con_font_set()
4185 if (vc->vc_sw->con_font_default) in con_font_default()
4186 rc = vc->vc_sw->con_font_default(vc, &font, s); in con_font_default()
4206 else if (!vc->vc_sw->con_font_copy) in con_font_copy()
4213 rc = vc->vc_sw->con_font_copy(vc, con); in con_font_copy()