Lines Matching refs:tty3270_tty_rows
145 static int tty3270_tty_rows(struct tty3270 *tp) in tty3270_tty_rows() function
290 for (i = 0; i < tty3270_tty_rows(tp); i++) { in tty3270_blank_screen()
477 for (i = 0; i < tty3270_tty_rows(tp); i++) { in tty3270_update_lines_visible()
486 if (i == tty3270_tty_rows(tp)) { in tty3270_update_lines_visible()
507 if (++tp->oops_line >= tty3270_tty_rows(tp)) in tty3270_update_lines_all()
512 if (tp->oops_line < tty3270_tty_rows(tp)) { in tty3270_update_lines_all()
513 tty3270_add_ra(tp, buf, 0, tty3270_tty_rows(tp), 0); in tty3270_update_lines_all()
629 for (i = 0; i < tty3270_tty_rows(tp); i++) in tty3270_redraw()
644 if (tp->nr_up >= tty3270_tty_rows(tp)) in tty3270_scroll_forward()
645 tp->nr_up -= tty3270_tty_rows(tp) / 2; in tty3270_scroll_forward()
660 tp->nr_up += tty3270_tty_rows(tp) / 2; in tty3270_scroll_backward()
661 if (tp->nr_up > tp->allocated_lines - tty3270_tty_rows(tp)) in tty3270_scroll_backward()
662 tp->nr_up = tp->allocated_lines - tty3270_tty_rows(tp); in tty3270_scroll_backward()
1025 ws.ws_row = tty3270_tty_rows(tp); in tty3270_resize()
1198 tty->winsize.ws_row = tty3270_tty_rows(tp); in tty3270_install()
1295 if (tp->cy < tty3270_tty_rows(tp) - 1) { in tty3270_lf()
1300 for (i = 0; i < tty3270_tty_rows(tp); i++) in tty3270_lf()
1439 end = tty3270_tty_rows(tp); in tty3270_erase_display()
1448 end = tty3270_tty_rows(tp); in tty3270_erase_display()
1541 tp->cy = min_t(int, tty3270_tty_rows(tp) - 1, max_cy); in tty3270_goto_xy()