Lines Matching refs:tty
83 static void tty_receive_char(struct tty_struct *tty, char ch) in tty_receive_char() argument
85 if (tty == NULL) in tty_receive_char()
88 if (I_IXON(tty) && !I_IXOFF(tty) && !tty->raw) { in tty_receive_char()
89 if (ch == STOP_CHAR(tty)) { in tty_receive_char()
90 stop_tty(tty); in tty_receive_char()
93 else if (ch == START_CHAR(tty)) { in tty_receive_char()
94 start_tty(tty); in tty_receive_char()
99 tty_insert_flip_char(tty, ch, TTY_NORMAL); in tty_receive_char()
143 void chan_enable_winch(struct chan *chan, struct tty_struct *tty) in chan_enable_winch() argument
146 register_winch(chan->fd, tty); in chan_enable_winch()
154 chan_interrupt(line, line->tty, line->driver->read_irq); in line_timer_cb()
565 void chan_interrupt(struct line *line, struct tty_struct *tty, int irq) in chan_interrupt() argument
575 if (tty && !tty_buffer_request_room(tty, 1)) { in chan_interrupt()
581 tty_receive_char(tty, c); in chan_interrupt()
588 if (tty != NULL) in chan_interrupt()
589 tty_hangup(tty); in chan_interrupt()
598 if (tty) in chan_interrupt()
599 tty_flip_buffer_push(tty); in chan_interrupt()