Lines Matching defs:lines
300 static void screen_up(struct ite_softc *ip, int top, int bottom, int lines)
309 printf("screen_up %d %d %d ->",top,bottom,lines);
316 if (top + lines >= bottom)
328 cmd[6] = (top-lines) * ip->ftheight; /* dst y */
331 ulowell_clear(ip, bottom-lines+1, 0, lines-1, ip->cols);
334 static void screen_down(struct ite_softc *ip, int top, int bottom, int lines)
343 printf("screen_down %d %d %d ->",top,bottom,lines);
351 if (top + lines >= bottom)
361 cmd[4] = (bottom - top - lines) * ip->ftheight; /* h */
363 cmd[6] = (top + lines) * ip->ftheight; /* dst y */
366 ulowell_clear(ip, top, 0, lines, ip->cols);