Lines Matching refs:lines
146 screen_up(struct ite_softc *ip, int top, int bottom, int lines)
156 if (top + lines >= bottom)
191 /* read from line TOP + LINES */
192 long fromloc = (top+lines) * (md->TX / 16);
198 /* transfer all characters but LINES lines, unroll by 16 */
199 short x = (1 + bottom - (top + lines)) * (md->TX / 16) - 1;
236 /* fill the free lines with spaces */
241 f += (1 + bottom - lines) * md->TX * 2;
253 short x = (lines * (md->TX/16)) - 1;
256 p += (1 + bottom - lines) * (md->TX/4);
274 screen_down(struct ite_softc *ip, int top, int bottom, int lines)
284 if (top + lines >= bottom)
303 /* write to line TOP + LINES */
304 long toloc = (top + lines) * (md->TX / 16);
317 short x = (1 + bottom - (top + lines)) * (md->TX / 16) - 1;
318 p += (1 + bottom - (top + lines)) * md->TX;
353 /* fill the free lines with spaces */
370 short x = (lines * (md->TX/16)) - 1;