Lines Matching full:screen
59 * 1) describe line orientation & lines list concept against screen
60 * 2) describe conversion of screen to lines
80 /* Current tty screen. */
84 struct tty3270_line *screen; member
120 #define TTY_UPDATE_ALL 16 /* Recreate screen. */
134 * The input line are the two last lines of the screen.
191 * The status line is the last line of the screen. It shows the string
192 * "Running"/"Holding" in the lower right corner of the screen.
252 * containing all lines that will fit on the screen. in tty3270_rebuild_update()
324 * Create a blank screen and remove all lines from the history.
333 tp->screen[i].len = 0; in tty3270_blank_screen()
418 /* Write strings in the update list to the screen. */ in tty3270_update()
572 * has to be emitted to the tty and for 0x6d the screen in tty3270_read_tasklet()
804 * Allocate tty3270 screen.
809 struct tty3270_line *screen; in tty3270_alloc_screen() local
814 screen = kzalloc(size, GFP_KERNEL); in tty3270_alloc_screen()
815 if (!screen) in tty3270_alloc_screen()
819 screen[lines].cells = kzalloc(size, GFP_KERNEL); in tty3270_alloc_screen()
820 if (!screen[lines].cells) in tty3270_alloc_screen()
823 return screen; in tty3270_alloc_screen()
826 kfree(screen[lines].cells); in tty3270_alloc_screen()
827 kfree(screen); in tty3270_alloc_screen()
833 * Free tty3270 screen.
836 tty3270_free_screen(struct tty3270_line *screen, unsigned int rows) in tty3270_free_screen() argument
841 kfree(screen[lines].cells); in tty3270_free_screen()
842 kfree(screen); in tty3270_free_screen()
846 * Resize tty3270 screen
851 struct tty3270_line *screen, *oscreen; in tty3270_resize_work() local
856 screen = tty3270_alloc_screen(tp->n_rows, tp->n_cols); in tty3270_resize_work()
857 if (IS_ERR(screen)) in tty3270_resize_work()
862 oscreen = tp->screen; in tty3270_resize_work()
867 tp->screen = screen; in tty3270_resize_work()
928 tty3270_free_screen(tp->screen, tp->view.rows); in tty3270_free()
991 tp->screen = tty3270_alloc_screen(tp->view.rows, tp->view.cols); in tty3270_install()
992 if (IS_ERR(tp->screen)) { in tty3270_install()
993 rc = PTR_ERR(tp->screen); in tty3270_install()
1081 * Insert character into the screen at the current position with the
1089 line = tp->screen + tp->cy; in tty3270_put_character()
1122 line = tp->screen + line_nr; in tty3270_convert_line()
1203 /* Line is currently visible on screen. */ in tty3270_convert_line()
1238 temp = tp->screen[0]; in tty3270_lf()
1241 tp->screen[i] = tp->screen[i+1]; in tty3270_lf()
1242 tp->screen[tp->view.rows - 3] = temp; in tty3270_lf()
1264 line = tp->screen + tp->cy; in tty3270_insert_characters()
1295 line = tp->screen + tp->cy; in tty3270_delete_characters()
1316 line = tp->screen + tp->cy; in tty3270_erase_characters()
1340 line = tp->screen + tp->cy; in tty3270_erase_line()
1359 * Esc [ 0 J Erase from current position to bottom of screen inclusive
1360 * Esc [ 1 J Erase from top of screen to current position inclusive
1361 * Esc [ 2 J Erase entire screen (without moving the cursor)
1371 tp->screen[i].len = 0; in tty3270_erase_display()
1376 tp->screen[i].len = 0; in tty3270_erase_display()
1382 tp->screen[i].len = 0; in tty3270_erase_display()