Lines Matching refs:tty3270
80 struct tty3270 {
129 /* tty3270->update_flags. See tty3270_update for details. */
140 static void tty3270_set_timer(struct tty3270 *tp, int expires)
145 static int tty3270_tty_rows(struct tty3270 *tp)
150 static char *tty3270_add_ba(struct tty3270 *tp, char *cp, char order, int x, int y)
157 static char *tty3270_add_ra(struct tty3270 *tp, char *cp, int x, int y, char c)
164 static char *tty3270_add_sa(struct tty3270 *tp, char *cp, char attr, char value)
172 static char *tty3270_add_ge(struct tty3270 *tp, char *cp, char c)
179 static char *tty3270_add_sf(struct tty3270 *tp, char *cp, char type)
186 static int tty3270_line_increment(struct tty3270 *tp, unsigned int line, unsigned int incr)
191 static struct tty3270_line *tty3270_get_write_line(struct tty3270 *tp, unsigned int num)
196 static struct tty3270_line *tty3270_get_view_line(struct tty3270 *tp, unsigned int num)
206 static void tty3270_update_prompt(struct tty3270 *tp, char *input)
216 static int tty3270_add_prompt(struct tty3270 *tp)
241 static char *tty3270_ebcdic_convert(struct tty3270 *tp, char *d, char *s)
252 static int tty3270_add_status(struct tty3270 *tp)
285 static void tty3270_blank_screen(struct tty3270 *tp)
303 struct tty3270 *tp = container_of(rq->view, struct tty3270, view);
314 static int tty3270_required_length(struct tty3270 *tp, struct tty3270_line *line)
353 static char *tty3270_add_reset_attributes(struct tty3270 *tp, struct tty3270_line *line,
367 static char tty3270_graphics_translate(struct tty3270 *tp, char ch)
397 static char *tty3270_add_attributes(struct tty3270 *tp, struct tty3270_line *line,
455 static unsigned int tty3270_convert_line(struct tty3270 *tp, struct tty3270_line *line, int lineno)
472 static void tty3270_update_lines_visible(struct tty3270 *tp, struct raw3270_request *rq)
493 static void tty3270_update_lines_all(struct tty3270 *tp, struct raw3270_request *rq)
526 struct tty3270 *tp = from_timer(tp, t, timer);
585 static void tty3270_rcl_add(struct tty3270 *tp, char *input, int len)
600 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port);
620 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port);
625 static void tty3270_redraw(struct tty3270 *tp)
640 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port);
657 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port);
674 struct tty3270 *tp = container_of(rrq->view, struct tty3270, view);
734 struct tty3270 *tp = container_of(rq->view, struct tty3270, view);
744 static void tty3270_issue_read(struct tty3270 *tp, int lock)
773 struct tty3270 *tp = (struct tty3270 *)data;
784 struct tty3270 *tp = container_of(view, struct tty3270, view);
793 struct tty3270 *tp = container_of(view, struct tty3270, view);
798 static void tty3270_irq(struct tty3270 *tp, struct raw3270_request *rq, struct irb *irb)
825 * Allocate tty3270 structure.
827 static struct tty3270 *tty3270_alloc_view(void)
829 struct tty3270 *tp;
874 * Free tty3270 structure.
876 static void tty3270_free_view(struct tty3270 *tp)
888 * Allocate tty3270 screen.
890 static struct tty3270_line *tty3270_alloc_screen(struct tty3270 *tp, unsigned int rows,
948 * Free tty3270 screen.
960 * Resize tty3270 screen
966 struct tty3270 *tp = container_of(view, struct tty3270, view);
1039 * Unlink tty3270 data structure from tty.
1043 struct tty3270 *tp = container_of(view, struct tty3270, view);
1056 * Free tty3270 data structure
1060 struct tty3270 *tp = container_of(view, struct tty3270, view);
1071 * Delayed freeing of tty3270 views.
1095 tty3270_create_view(int index, struct tty3270 **newtp)
1097 struct tty3270 *tp;
1103 /* Allocate tty3270 structure on first open. */
1183 struct tty3270 *tp;
1186 /* Check if the tty3270 is already there. */
1193 tp = container_of(view, struct tty3270, view);
1214 struct tty3270 *tp = tty->driver_data;
1228 struct tty3270 *tp = tty->driver_data;
1238 struct tty3270 *tp = tty->driver_data;
1258 static void tty3270_put_character(struct tty3270 *tp, char ch)
1282 static void tty3270_cr(struct tty3270 *tp)
1290 static void tty3270_lf(struct tty3270 *tp)
1309 static void tty3270_ri(struct tty3270 *tp)
1315 static void tty3270_reset_cell(struct tty3270 *tp, struct tty3270_cell *cell)
1324 static void tty3270_insert_characters(struct tty3270 *tp, int n)
1349 static void tty3270_delete_characters(struct tty3270 *tp, int n)
1369 static void tty3270_erase_characters(struct tty3270 *tp, int n)
1389 static void tty3270_erase_line(struct tty3270 *tp, int mode)
1430 static void tty3270_erase_display(struct tty3270 *tp, int mode)
1464 static void tty3270_set_attributes(struct tty3270 *tp)
1521 static inline int tty3270_getpar(struct tty3270 *tp, int ix)
1526 static void tty3270_goto_xy(struct tty3270 *tp, int cx, int cy)
1564 static void tty3270_escape_sequence(struct tty3270 *tp, char ch)
1728 static void tty3270_do_write(struct tty3270 *tp, struct tty_struct *tty,
1809 struct tty3270 *tp;
1827 struct tty3270 *tp;
1842 struct tty3270 *tp;
1858 struct tty3270 *tp;
1881 struct tty3270 *tp;
1894 struct tty3270 *tp;
1909 struct tty3270 *tp;
1934 struct tty3270 *tp;
1948 struct tty3270 *tp;
2015 driver->driver_name = "tty3270";
2048 static struct tty3270 *condev;
2053 struct tty3270 *tp = co->data;
2083 con3270_wait_write(struct tty3270 *tp)
2102 struct tty3270 *tp;
2140 .name = "tty3270",
2151 struct tty3270 *tp;
2168 /* Check if the tty3270 is already there. */
2175 tp = container_of(view, struct tty3270, view);