Lines Matching refs:tport
254 static int serial_port_activate(struct tty_port *tport, struct tty_struct *tty)
257 container_of(tport, struct usb_serial_port, port);
294 * @tport: tty port to shut down
297 * tport mutex and kept to matching open/close pairs
302 static void serial_port_shutdown(struct tty_port *tport)
305 container_of(tport, struct usb_serial_port, port);
442 struct tty_port *tport = &port->port;
445 mutex_lock(&tport->mutex);
447 close_delay = jiffies_to_msecs(tport->close_delay) / 10;
448 closing_wait = tport->closing_wait;
459 mutex_unlock(&tport->mutex);
467 struct tty_port *tport = &port->port;
476 mutex_lock(&tport->mutex);
479 if (close_delay != tport->close_delay ||
480 closing_wait != tport->closing_wait) {
492 tport->close_delay = close_delay;
493 tport->closing_wait = closing_wait;
495 mutex_unlock(&tport->mutex);