Lines Matching refs:port

76 			tty_port_get(&acm->port);
317 tty_port_tty_hangup(&acm->port, false);
331 tty_insert_flip_char(&acm->port, 0, TTY_BREAK);
344 tty_flip_buffer_push(&acm->port);
487 tty_insert_flip_string(&acm->port, urb->transfer_buffer,
491 tty_flip_buffer_push(&acm->port);
611 tty_port_tty_wakeup(&acm->port);
643 tty_port_put(&acm->port);
651 return tty_port_open(&acm->port, tty, filp);
654 static void acm_port_dtr_rts(struct tty_port *port, int raise)
656 struct acm *acm = container_of(port, struct acm, port);
674 static int acm_port_activate(struct tty_port *port, struct tty_struct *tty)
676 struct acm *acm = container_of(port, struct acm, port);
733 static void acm_port_destruct(struct tty_port *port)
735 struct acm *acm = container_of(port, struct acm, port);
744 static void acm_port_shutdown(struct tty_port *port)
746 struct acm *acm = container_of(port, struct acm, port);
752 * hold it due to the tty-port initialised flag.
779 tty_port_put(&acm->port);
786 tty_port_hangup(&acm->port);
793 tty_port_close(&acm->port, tty, filp);
945 ss->close_delay = jiffies_to_msecs(acm->port.close_delay) / 10;
946 ss->closing_wait = acm->port.closing_wait == ASYNC_CLOSING_WAIT_NONE ?
948 jiffies_to_msecs(acm->port.closing_wait) / 10;
963 mutex_lock(&acm->port.mutex);
966 if ((close_delay != acm->port.close_delay) ||
967 (closing_wait != acm->port.closing_wait))
970 acm->port.close_delay = close_delay;
971 acm->port.closing_wait = closing_wait;
974 mutex_unlock(&acm->port.mutex);
1344 tty_port_init(&acm->port);
1345 acm->port.ops = &acm_port_ops;
1509 tty_dev = tty_port_register_device(&acm->port, acm_tty_driver, minor,
1549 tty_port_put(&acm->port);
1584 tty = tty_port_tty_get(&acm->port);
1609 tty_port_put(&acm->port);
1651 if (tty_port_initialized(&acm->port)) {
1681 if (tty_port_initialized(&acm->port))
1682 tty_port_tty_hangup(&acm->port, false);
1792 { USB_DEVICE(0x22b8, 0x2d93), /* modem + AT port */
1795 { USB_DEVICE(0x22b8, 0x2d95), /* modem + AT port + diagnostics */
1804 { USB_DEVICE(0x22b8, 0x2d99), /* modem + AT port + NMEA */
1807 { USB_DEVICE(0x22b8, 0x2d9a), /* modem + AT port + diagnostics + NMEA */