Lines Matching refs:port_usb
102 struct gserial *port_usb; member
237 if (!port->port_usb) in gs_start_tx()
240 in = port->port_usb->in; in gs_start_tx()
288 if (!port->port_usb) in gs_start_tx()
307 struct usb_ep *out = port->port_usb->out; in gs_start_rx()
342 if (!port->port_usb) in gs_start_rx()
445 if (!disconnect && port->port_usb) in gs_rx_push()
540 struct usb_ep *ep = port->port_usb->out; in gs_start_io()
555 status = gs_alloc_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
573 gs_free_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
634 if (port->port_usb) { in gs_open()
637 struct gserial *gser = port->port_usb; in gs_open()
665 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done()
690 gser = port->port_usb; in gs_close()
707 gser = port->port_usb; in gs_close()
743 if (port->port_usb) in gs_write()
774 if (port->port_usb) in gs_flush_chars()
786 if (port->port_usb) in gs_write_room()
819 if (port->port_usb) { in gs_unthrottle()
840 gser = port->port_usb; in gs_break_ctl()
966 ep = port->port_usb->in; in gs_console_connect()
1042 if (port->port_usb) in gs_console_init()
1193 WARN_ON(port->port_usb != NULL); in gserial_free_port()
1309 if (port->port_usb) { in gserial_connect()
1328 port->port_usb = gser; in gserial_connect()
1387 port->port_usb = NULL; in gserial_disconnect()