Lines Matching refs:tty
213 void tty_buffer_flush(struct tty_struct *tty, struct tty_ldisc *ld) in tty_buffer_flush() argument
215 struct tty_port *port = tty->port; in tty_buffer_flush()
229 ld->ops->flush_buffer(tty); in tty_buffer_flush()
406 receive_buf(struct tty_struct *tty, struct tty_buffer *head, int count) in receive_buf() argument
408 struct tty_ldisc *disc = tty->ldisc; in receive_buf()
416 count = disc->ops->receive_buf2(tty, p, f, count); in receive_buf()
418 count = min_t(int, count, tty->receive_room); in receive_buf()
420 disc->ops->receive_buf(tty, p, f, count); in receive_buf()
443 struct tty_struct *tty; in flush_to_ldisc() local
446 tty = port->itty; in flush_to_ldisc()
447 if (tty == NULL) in flush_to_ldisc()
450 disc = tty_ldisc_ref(tty); in flush_to_ldisc()
480 count = receive_buf(tty, head, count); in flush_to_ldisc()