Lines Matching full:screen
77 * 1) describe line orientation & lines list concept against screen
78 * 2) describe conversion of screen to lines
96 /* Current tty screen. */
101 struct tty3270_line *screen; member
133 #define TTY_UPDATE_LINES 0x4 /* Update visible screen lines */
134 #define TTY_UPDATE_ALL 0x7 /* Recreate screen. */
194 return tp->screen + tty3270_line_increment(tp, tp->line_write_start, num); in tty3270_get_write_line()
199 return tp->screen + tty3270_line_increment(tp, tp->line_view_start, num - tp->nr_up); in tty3270_get_view_line()
215 * The input line are the two last lines of the screen.
250 * The status line is the last line of the screen. It shows the string
251 * "Running"/"History X" in the lower right corner of the screen.
489 tp->screen[i].dirty = 0; in tty3270_update_lines_visible()
682 * has to be emitted to the tty and for 0x6d the screen in tty3270_read_tasklet()
889 * Allocate tty3270 screen.
894 struct tty3270_line *screen; in tty3270_alloc_screen() local
898 screen = kcalloc(allocated, sizeof(struct tty3270_line), GFP_KERNEL); in tty3270_alloc_screen()
899 if (!screen) in tty3270_alloc_screen()
902 screen[lines].cells = kcalloc(cols, sizeof(struct tty3270_cell), GFP_KERNEL); in tty3270_alloc_screen()
903 if (!screen[lines].cells) in tty3270_alloc_screen()
907 return screen; in tty3270_alloc_screen()
910 kfree(screen[lines].cells); in tty3270_alloc_screen()
911 kfree(screen); in tty3270_alloc_screen()
949 * Free tty3270 screen.
951 static void tty3270_free_screen(struct tty3270_line *screen, int old_lines) in tty3270_free_screen() argument
956 kfree(screen[lines].cells); in tty3270_free_screen()
957 kfree(screen); in tty3270_free_screen()
961 * Resize tty3270 screen
968 struct tty3270_line *screen, *oscreen; in tty3270_resize() local
991 screen = tty3270_alloc_screen(tp, new_rows, new_cols, &new_allocated); in tty3270_resize()
992 if (IS_ERR(screen)) in tty3270_resize()
1001 oscreen = tp->screen; in tty3270_resize()
1002 tp->screen = screen; in tty3270_resize()
1032 tty3270_free_screen(screen, new_rows); in tty3270_resize()
1064 tty3270_free_screen(tp->screen, tp->allocated_lines); in tty3270_free()
1115 tp->screen = tty3270_alloc_screen(tp, tp->view.rows, tp->view.cols, in tty3270_create_view()
1117 if (IS_ERR(tp->screen)) { in tty3270_create_view()
1118 rc = PTR_ERR(tp->screen); in tty3270_create_view()
1168 tty3270_free_screen(tp->screen, tp->view.rows); in tty3270_create_view()
1256 * Insert character into the screen at the current position with the
1427 * Esc [ 0 J Erase from current position to bottom of screen inclusive
1428 * Esc [ 1 J Erase from top of screen to current position inclusive
1429 * Esc [ 2 J Erase entire screen (without moving the cursor)