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 gs_free_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
640 if (port->port_usb) { in gs_open()
643 struct gserial *gser = port->port_usb; in gs_open()
671 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done()
696 gser = port->port_usb; in gs_close()
713 gser = port->port_usb; in gs_close()
749 if (port->port_usb) in gs_write()
780 if (port->port_usb) in gs_flush_chars()
792 if (port->port_usb) in gs_write_room()
825 if (port->port_usb) { in gs_unthrottle()
846 gser = port->port_usb; in gs_break_ctl()
975 ep = port->port_usb->in; in gs_console_connect()
1051 if (port->port_usb) in gs_console_init()
1202 WARN_ON(port->port_usb != NULL); in gserial_free_port()
1318 if (port->port_usb) { in gserial_connect()
1337 port->port_usb = gser; in gserial_connect()
1398 port->port_usb = NULL; in gserial_disconnect()