Lines Matching refs:nr_up
86 int nr_up; /* # lines up in history. */ member
198 return tp->screen + tty3270_line_increment(tp, tp->line_view_start, num - tp->nr_up); in tty3270_get_view_line()
273 if (tp->nr_up) { in tty3270_add_status()
274 len = sprintf(cp, "History %d", -tp->nr_up); in tty3270_add_status()
295 tp->nr_up = 0; in tty3270_blank_screen()
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()
647 tp->nr_up = 0; 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()
693 if (tp->nr_up > 0) in tty3270_read_tasklet()
694 tp->nr_up = 0; in tty3270_read_tasklet()
2117 tp->nr_up = 0; in con3270_notify()