Lines Matching refs:tty
71 static int n_tracerouter_open(struct tty_struct *tty) in n_tracerouter_open() argument
78 tr_data->kref_tty = tty_kref_get(tty); in n_tracerouter_open()
83 tty->disc_data = tr_data; in n_tracerouter_open()
84 tty->receive_room = RECEIVE_ROOM; in n_tracerouter_open()
85 tty_driver_flush_buffer(tty); in n_tracerouter_open()
99 static void n_tracerouter_close(struct tty_struct *tty) in n_tracerouter_close() argument
101 struct tracerouter_data *tptr = tty->disc_data; in n_tracerouter_close()
105 tty_driver_flush_buffer(tty); in n_tracerouter_close()
109 tty->disc_data = NULL; in n_tracerouter_close()
130 static ssize_t n_tracerouter_read(struct tty_struct *tty, struct file *file, in n_tracerouter_read() argument
154 static ssize_t n_tracerouter_write(struct tty_struct *tty, struct file *file, in n_tracerouter_write() argument
171 static void n_tracerouter_receivebuf(struct tty_struct *tty, in n_tracerouter_receivebuf() argument