Lines Matching defs:tty
15 #include <linux/tty.h>
255 static void qt2_set_termios(struct tty_struct *tty,
261 struct ktermios *termios = &tty->termios;
278 baud = tty_get_baud_rate(tty);
299 if (I_IXOFF(tty) || I_IXON(tty)) {
300 u16 x = ((u16) (START_CHAR(tty) << 8) | (u16) (STOP_CHAR(tty)));
314 static int qt2_open(struct tty_struct *tty, struct usb_serial_port *port)
377 if (tty)
378 qt2_set_termios(tty, port, &tty->termios);
703 static int qt2_tiocmget(struct tty_struct *tty)
705 struct usb_serial_port *port = tty->driver_data;
735 static int qt2_tiocmset(struct tty_struct *tty,
740 port_priv = usb_get_serial_port_data(tty->driver_data);
744 static int qt2_break_ctl(struct tty_struct *tty, int break_state)
746 struct usb_serial_port *port = tty->driver_data;
855 static unsigned int qt2_write_room(struct tty_struct *tty)
857 struct usb_serial_port *port = tty->driver_data;
876 static int qt2_write(struct tty_struct *tty,