Lines Matching full:screen

76  * 1) describe line orientation & lines list concept against screen
77 * 2) describe conversion of screen to lines
95 /* Current tty screen. */
100 struct tty3270_line *screen; member
132 #define TTY_UPDATE_LINES 0x4 /* Update visible screen lines */
133 #define TTY_UPDATE_ALL 0x7 /* Recreate screen. */
193 return tp->screen + tty3270_line_increment(tp, tp->line_write_start, num); in tty3270_get_write_line()
198 return tp->screen + tty3270_line_increment(tp, tp->line_view_start, num - tp->nr_up); in tty3270_get_view_line()
214 * The input line are the two last lines of the screen.
249 * The status line is the last line of the screen. It shows the string
250 * "Running"/"History X" in the lower right corner of the screen.
488 tp->screen[i].dirty = 0; in tty3270_update_lines_visible()
681 * has to be emitted to the tty and for 0x6d the screen in tty3270_read_tasklet()
888 * Allocate tty3270 screen.
893 struct tty3270_line *screen; in tty3270_alloc_screen() local
897 screen = kcalloc(allocated, sizeof(struct tty3270_line), GFP_KERNEL); in tty3270_alloc_screen()
898 if (!screen) in tty3270_alloc_screen()
901 screen[lines].cells = kcalloc(cols, sizeof(struct tty3270_cell), GFP_KERNEL); in tty3270_alloc_screen()
902 if (!screen[lines].cells) in tty3270_alloc_screen()
906 return screen; in tty3270_alloc_screen()
909 kfree(screen[lines].cells); in tty3270_alloc_screen()
910 kfree(screen); in tty3270_alloc_screen()
948 * Free tty3270 screen.
950 static void tty3270_free_screen(struct tty3270_line *screen, int old_lines) in tty3270_free_screen() argument
955 kfree(screen[lines].cells); in tty3270_free_screen()
956 kfree(screen); in tty3270_free_screen()
960 * Resize tty3270 screen
967 struct tty3270_line *screen, *oscreen; in tty3270_resize() local
990 screen = tty3270_alloc_screen(tp, new_rows, new_cols, &new_allocated); in tty3270_resize()
991 if (IS_ERR(screen)) in tty3270_resize()
1000 oscreen = tp->screen; in tty3270_resize()
1001 tp->screen = screen; in tty3270_resize()
1031 tty3270_free_screen(screen, new_rows); in tty3270_resize()
1063 tty3270_free_screen(tp->screen, tp->allocated_lines); in tty3270_free()
1114 tp->screen = tty3270_alloc_screen(tp, tp->view.rows, tp->view.cols, in tty3270_create_view()
1116 if (IS_ERR(tp->screen)) { in tty3270_create_view()
1117 rc = PTR_ERR(tp->screen); in tty3270_create_view()
1167 tty3270_free_screen(tp->screen, tp->view.rows); in tty3270_create_view()
1255 * Insert character into the screen at the current position with the
1426 * Esc [ 0 J Erase from current position to bottom of screen inclusive
1427 * Esc [ 1 J Erase from top of screen to current position inclusive
1428 * Esc [ 2 J Erase entire screen (without moving the cursor)