Lines Matching refs:port_usb
106 struct gserial *port_usb; member
241 if (!port->port_usb) in gs_start_tx()
244 in = port->port_usb->in; in gs_start_tx()
290 if (!port->port_usb) in gs_start_tx()
309 struct usb_ep *out = port->port_usb->out; in gs_start_rx()
344 if (!port->port_usb) in gs_start_rx()
447 if (!disconnect && port->port_usb) in gs_rx_push()
546 if (!port->port_usb || !port->port.tty) in gs_start_io()
555 ep = port->port_usb->out; in gs_start_io()
561 status = gs_alloc_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
579 if (port->port_usb) { in gs_start_io()
581 gs_free_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
643 if (port->port_usb) { in gs_open()
646 struct gserial *gser = port->port_usb; in gs_open()
674 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done()
699 gser = port->port_usb; in gs_close()
716 gser = port->port_usb; in gs_close()
752 if (port->port_usb) in gs_write()
783 if (port->port_usb) in gs_flush_chars()
795 if (port->port_usb) in gs_write_room()
828 if (port->port_usb) { in gs_unthrottle()
849 gser = port->port_usb; in gs_break_ctl()
978 ep = port->port_usb->in; in gs_console_connect()
1054 if (port->port_usb) in gs_console_init()
1205 WARN_ON(port->port_usb != NULL); in gserial_free_port()
1321 if (port->port_usb) { in gserial_connect()
1340 port->port_usb = gser; in gserial_connect()
1401 port->port_usb = NULL; in gserial_disconnect()