Lines Matching refs:tty
79 static int whiteheat_open(struct tty_struct *tty,
82 static void whiteheat_get_serial(struct tty_struct *tty,
84 static void whiteheat_set_termios(struct tty_struct *tty,
87 static int whiteheat_tiocmget(struct tty_struct *tty);
88 static int whiteheat_tiocmset(struct tty_struct *tty,
90 static int whiteheat_break_ctl(struct tty_struct *tty, int break_state);
158 static void firm_setup_port(struct tty_struct *tty);
352 static int whiteheat_open(struct tty_struct *tty, struct usb_serial_port *port) in whiteheat_open() argument
374 if (tty) in whiteheat_open()
375 firm_setup_port(tty); in whiteheat_open()
381 retval = usb_serial_generic_open(tty, port); in whiteheat_open()
402 static int whiteheat_tiocmget(struct tty_struct *tty) in whiteheat_tiocmget() argument
404 struct usb_serial_port *port = tty->driver_data; in whiteheat_tiocmget()
417 static int whiteheat_tiocmset(struct tty_struct *tty, in whiteheat_tiocmset() argument
420 struct usb_serial_port *port = tty->driver_data; in whiteheat_tiocmset()
439 static void whiteheat_get_serial(struct tty_struct *tty, struct serial_struct *ss) in whiteheat_get_serial() argument
445 static void whiteheat_set_termios(struct tty_struct *tty, in whiteheat_set_termios() argument
449 firm_setup_port(tty); in whiteheat_set_termios()
452 static int whiteheat_break_ctl(struct tty_struct *tty, int break_state) in whiteheat_break_ctl() argument
454 struct usb_serial_port *port = tty->driver_data; in whiteheat_break_ctl()
616 static void firm_setup_port(struct tty_struct *tty) in firm_setup_port() argument
618 struct usb_serial_port *port = tty->driver_data; in firm_setup_port()
621 unsigned int cflag = tty->termios.c_cflag; in firm_setup_port()
665 if (I_IXOFF(tty)) in firm_setup_port()
671 port_settings.xon = START_CHAR(tty); in firm_setup_port()
672 port_settings.xoff = STOP_CHAR(tty); in firm_setup_port()
676 baud = tty_get_baud_rate(tty); in firm_setup_port()
681 tty_encode_baud_rate(tty, baud, baud); in firm_setup_port()