Lines Matching refs:draw
2566 static void con_flush(struct vc_data *vc, struct vc_draw_region *draw) in con_flush() argument
2568 if (draw->x < 0) in con_flush()
2571 vc->vc_sw->con_putcs(vc, (u16 *)draw->from, in con_flush()
2572 (u16 *)draw->to - (u16 *)draw->from, vc->state.y, in con_flush()
2573 draw->x); in con_flush()
2574 draw->x = -1; in con_flush()
2750 struct vc_draw_region *draw) in vc_con_write_normal() argument
2794 con_flush(vc, draw); in vc_con_write_normal()
2802 con_flush(vc, draw); in vc_con_write_normal()
2818 if (con_should_update(vc) && draw->x < 0) { in vc_con_write_normal()
2819 draw->x = vc->state.x; in vc_con_write_normal()
2820 draw->from = vc->vc_pos; in vc_con_write_normal()
2824 draw->to = vc->vc_pos + 2; in vc_con_write_normal()
2827 draw->to = (vc->vc_pos += 2); in vc_con_write_normal()
2842 con_flush(vc, draw); in vc_con_write_normal()
2850 struct vc_draw_region draw = { in do_con_write() local
2904 con_flush(vc, &draw); in do_con_write()
2909 if (vc_con_write_normal(vc, tc, c, &draw) < 0) in do_con_write()
2915 con_flush(vc, &draw); in do_con_write()