Lines Matching refs:bottom
147 screen_up(struct ite_softc *ip, int top, int bottom, int lines)
151 if (top >= bottom)
154 if (top + lines >= bottom) {
155 RZ3AlphaErase(ip->grf, 0, top, bottom - top, ip->cols);
159 RZ3AlphaCopy(ip->grf, 0, top+lines, 0, top, ip->cols, bottom-top-lines+1);
160 RZ3AlphaErase(ip->grf, 0, bottom - lines + 1, ip->cols, lines);
165 screen_down (struct ite_softc *ip, int top, int bottom, int lines)
169 if (top >= bottom)
172 if (top + lines >= bottom) {
173 RZ3AlphaErase(ip->grf, 0, top, bottom - top, ip->cols);
177 RZ3AlphaCopy(ip->grf, 0, top, 0, top+lines, ip->cols, bottom-top-lines+1);