Lines Matching refs:bottom
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);
313 if (top >= bottom)
316 if (top + lines >= bottom)
318 ulowell_clear (ip, top, 0, bottom - top, ip->cols);
326 cmd[4] = (bottom-top+1) * ip->ftheight; /* h */
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);
348 if (top >= bottom)
351 if (top + lines >= bottom)
353 ulowell_clear (ip, top, 0, bottom - top, ip->cols);
361 cmd[4] = (bottom - top - lines) * ip->ftheight; /* h */