Lines Matching refs:tty
56 static int rs_open(struct tty_struct *tty, struct file * filp) in rs_open() argument
58 tty->port = &serial_port; in rs_open()
60 if (tty->count == 1) { in rs_open()
81 static void rs_close(struct tty_struct *tty, struct file * filp) in rs_close() argument
84 if (tty->count == 1) in rs_close()
90 static int rs_write(struct tty_struct * tty, in rs_write() argument
124 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char() argument
126 return rs_write(tty, &ch, 1); in rs_put_char()
129 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars() argument
133 static int rs_write_room(struct tty_struct *tty) in rs_write_room() argument
139 static int rs_chars_in_buffer(struct tty_struct *tty) in rs_chars_in_buffer() argument
145 static void rs_hangup(struct tty_struct *tty) in rs_hangup() argument
150 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) in rs_wait_until_sent() argument