Lines Matching refs:tty_struct

148 	struct tty_struct	*tty;
149 struct tty_struct *backup_tty;
180 static ssize_t n_hdlc_tty_read(struct tty_struct *tty, struct file *file,
182 static ssize_t n_hdlc_tty_write(struct tty_struct *tty, struct file *file,
184 static int n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file,
186 static unsigned int n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp,
188 static int n_hdlc_tty_open(struct tty_struct *tty);
189 static void n_hdlc_tty_close(struct tty_struct *tty);
190 static void n_hdlc_tty_receive(struct tty_struct *tty, const __u8 *cp,
192 static void n_hdlc_tty_wakeup(struct tty_struct *tty);
199 static void flush_rx_queue(struct tty_struct *tty) in flush_rx_queue()
208 static void flush_tx_queue(struct tty_struct *tty) in flush_tx_queue()
245 struct tty_struct *tty = n_hdlc2tty (n_hdlc); in n_hdlc_release()
299 static void n_hdlc_tty_close(struct tty_struct *tty) in n_hdlc_tty_close()
337 static int n_hdlc_tty_open (struct tty_struct *tty) in n_hdlc_tty_open()
386 static void n_hdlc_send_frames(struct n_hdlc *n_hdlc, struct tty_struct *tty) in n_hdlc_send_frames()
482 static void n_hdlc_tty_wakeup(struct tty_struct *tty) in n_hdlc_tty_wakeup()
511 static void n_hdlc_tty_receive(struct tty_struct *tty, const __u8 *data, in n_hdlc_tty_receive()
578 static ssize_t n_hdlc_tty_read(struct tty_struct *tty, struct file *file, in n_hdlc_tty_read()
662 static ssize_t n_hdlc_tty_write(struct tty_struct *tty, struct file *file, in n_hdlc_tty_write()
746 static int n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file, in n_hdlc_tty_ioctl()
812 static unsigned int n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp, in n_hdlc_tty_poll()