Lines Matching refs:bottom
146 screen_up(struct ite_softc *ip, int top, int bottom, int lines)
153 if (top >= bottom)
156 if (top + lines >= bottom)
158 retina_clear (ip, top, 0, bottom - top, ip->cols);
199 short x = (1 + bottom - (top + lines)) * (md->TX / 16) - 1;
241 f += (1 + bottom - lines) * md->TX * 2;
256 p += (1 + bottom - lines) * (md->TX/4);
274 screen_down(struct ite_softc *ip, int top, int bottom, int lines)
281 if (top >= bottom)
284 if (top + lines >= bottom)
286 retina_clear (ip, top, 0, bottom - top, ip->cols);
317 short x = (1 + bottom - (top + lines)) * (md->TX / 16) - 1;
318 p += (1 + bottom - (top + lines)) * md->TX;