Lines Matching refs:sy
207 rh_clear(struct ite_softc *ip, int sy, int sx, int h, int w)
209 RZ3AlphaErase (ip->grf, sx, sy, w, h);
218 rh_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir)
228 screen_up(ip, sy - count, ip->bottom_margin, count);
230 memcpy(fb + (sy - count) * ip->cols, fb + sy * ip->cols,
231 4 * (ip->bottom_margin - sy + 1) * ip->cols);
236 screen_down(ip, sy, ip->bottom_margin, count);
238 memcpy(fb + (sy + count) * ip->cols, fb + sy * ip->cols,
239 4 * (ip->bottom_margin - sy - count + 1) * ip->cols);
240 rh_clear(ip, sy, 0, count, ip->cols);
243 RZ3AlphaCopy(ip->grf, sx, sy, sx + count, sy,
245 RZ3AlphaErase(ip->grf, sx, sy, count, 1);
247 RZ3AlphaCopy(ip->grf, sx + count, sy, sx, sy,
249 RZ3AlphaErase(ip->grf, ip->cols - count, sy, count, 1);