Lines Matching refs:tty

89 static int  whiteheat_open(struct tty_struct *tty,
92 static int whiteheat_ioctl(struct tty_struct *tty,
94 static void whiteheat_set_termios(struct tty_struct *tty,
96 static int whiteheat_tiocmget(struct tty_struct *tty);
97 static int whiteheat_tiocmset(struct tty_struct *tty,
99 static void whiteheat_break_ctl(struct tty_struct *tty, int break_state);
166 static void firm_setup_port(struct tty_struct *tty);
390 static int whiteheat_open(struct tty_struct *tty, struct usb_serial_port *port) in whiteheat_open() argument
412 if (tty) in whiteheat_open()
413 firm_setup_port(tty); in whiteheat_open()
419 retval = usb_serial_generic_open(tty, port); in whiteheat_open()
440 static int whiteheat_tiocmget(struct tty_struct *tty) in whiteheat_tiocmget() argument
442 struct usb_serial_port *port = tty->driver_data; in whiteheat_tiocmget()
455 static int whiteheat_tiocmset(struct tty_struct *tty, in whiteheat_tiocmset() argument
458 struct usb_serial_port *port = tty->driver_data; in whiteheat_tiocmset()
477 static int whiteheat_ioctl(struct tty_struct *tty, in whiteheat_ioctl() argument
480 struct usb_serial_port *port = tty->driver_data; in whiteheat_ioctl()
508 static void whiteheat_set_termios(struct tty_struct *tty, in whiteheat_set_termios() argument
511 firm_setup_port(tty); in whiteheat_set_termios()
514 static void whiteheat_break_ctl(struct tty_struct *tty, int break_state) in whiteheat_break_ctl() argument
516 struct usb_serial_port *port = tty->driver_data; in whiteheat_break_ctl()
674 static void firm_setup_port(struct tty_struct *tty) in firm_setup_port() argument
676 struct usb_serial_port *port = tty->driver_data; in firm_setup_port()
679 unsigned int cflag = tty->termios.c_cflag; in firm_setup_port()
729 if (I_IXOFF(tty)) in firm_setup_port()
735 port_settings.xon = START_CHAR(tty); in firm_setup_port()
736 port_settings.xoff = STOP_CHAR(tty); in firm_setup_port()
740 port_settings.baud = tty_get_baud_rate(tty); in firm_setup_port()
744 tty_encode_baud_rate(tty, port_settings.baud, port_settings.baud); in firm_setup_port()