Lines Matching refs:lines
508 static int mdacon_scrolldelta(struct vc_data *c, int lines) in mdacon_scrolldelta() argument
533 static int mdacon_scroll(struct vc_data *c, int t, int b, int dir, int lines) in mdacon_scroll() argument
537 if (!lines) in mdacon_scroll()
540 if (lines > c->vc_rows) /* maximum realistic size */ in mdacon_scroll()
541 lines = c->vc_rows; in mdacon_scroll()
546 scr_memmovew(MDA_ADDR(0,t), MDA_ADDR(0,t+lines), in mdacon_scroll()
547 (b-t-lines)*mda_num_columns*2); in mdacon_scroll()
548 scr_memsetw(MDA_ADDR(0,b-lines), eattr, in mdacon_scroll()
549 lines*mda_num_columns*2); in mdacon_scroll()
553 scr_memmovew(MDA_ADDR(0,t+lines), MDA_ADDR(0,t), in mdacon_scroll()
554 (b-t-lines)*mda_num_columns*2); in mdacon_scroll()
555 scr_memsetw(MDA_ADDR(0,t), eattr, lines*mda_num_columns*2); in mdacon_scroll()