Lines Matching refs:tty_struct
193 static int moxa_open(struct tty_struct *, struct file *);
194 static void moxa_close(struct tty_struct *, struct file *);
195 static int moxa_write(struct tty_struct *, const unsigned char *, int);
196 static int moxa_write_room(struct tty_struct *);
197 static void moxa_flush_buffer(struct tty_struct *);
198 static int moxa_chars_in_buffer(struct tty_struct *);
199 static void moxa_set_termios(struct tty_struct *, struct ktermios *);
200 static void moxa_stop(struct tty_struct *);
201 static void moxa_start(struct tty_struct *);
202 static void moxa_hangup(struct tty_struct *);
203 static int moxa_tiocmget(struct tty_struct *tty);
204 static int moxa_tiocmset(struct tty_struct *tty,
207 static void moxa_set_tty_param(struct tty_struct *, struct ktermios *);
222 static int MoxaPortWriteData(struct tty_struct *, const unsigned char *, int);
291 static int moxa_ioctl(struct tty_struct *tty, in moxa_ioctl()
352 struct tty_struct *ttyp; in moxa_ioctl()
399 static int moxa_break_ctl(struct tty_struct *tty, int state) in moxa_break_ctl()
1168 static int moxa_open(struct tty_struct *tty, struct file *filp) in moxa_open()
1210 static void moxa_close(struct tty_struct *tty, struct file *filp) in moxa_close()
1217 static int moxa_write(struct tty_struct *tty, in moxa_write()
1235 static int moxa_write_room(struct tty_struct *tty) in moxa_write_room()
1247 static void moxa_flush_buffer(struct tty_struct *tty) in moxa_flush_buffer()
1257 static int moxa_chars_in_buffer(struct tty_struct *tty) in moxa_chars_in_buffer()
1272 static int moxa_tiocmget(struct tty_struct *tty) in moxa_tiocmget()
1292 static int moxa_tiocmset(struct tty_struct *tty, in moxa_tiocmset()
1319 static void moxa_set_termios(struct tty_struct *tty, in moxa_set_termios()
1331 static void moxa_stop(struct tty_struct *tty) in moxa_stop()
1342 static void moxa_start(struct tty_struct *tty) in moxa_start()
1356 static void moxa_hangup(struct tty_struct *tty) in moxa_hangup()
1381 struct tty_struct *tty = tty_port_tty_get(&p->port); in moxa_poll_port()
1479 static void moxa_set_tty_param(struct tty_struct *tty, struct ktermios *old_termios) in moxa_set_tty_param()
1874 static int MoxaPortWriteData(struct tty_struct *tty, in MoxaPortWriteData()
1935 struct tty_struct *tty = port->port.tty; in MoxaPortReadData()