Lines Matching refs:ch
367 static char tty3270_graphics_translate(struct tty3270 *tp, char ch)
369 switch (ch) {
393 return ch;
1258 static void tty3270_put_character(struct tty3270 *tp, u8 ch)
1274 cell->character = ch;
1564 static void tty3270_escape_sequence(struct tty3270 *tp, u8 ch)
1569 if (ch == 0x1b)
1576 switch (ch) {
1621 switch (ch) {
1634 tp->esc_ques = (ch == '?');
1639 if (ch == ';' && tp->esc_npar < ESCAPE_NPAR - 1) {
1643 if (ch >= '0' && ch <= '9') {
1645 tp->esc_par[tp->esc_npar] += ch - '0';
1653 if (ch == 'n' && !tp->esc_ques) {
1666 switch (ch) {
1825 static int tty3270_put_char(struct tty_struct *tty, u8 ch)
1832 tp->char_buf[tp->char_count++] = ch;