Home | History | Annotate | Download | only in dev

Lines Matching refs:top

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);
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);
178 RZ3AlphaErase(ip->grf, 0, top, ip->cols, lines);