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()
286 if (!port->port_usb) in gs_start_tx()
305 struct usb_ep *out = port->port_usb->out; in gs_start_rx()
340 if (!port->port_usb) in gs_start_rx()
443 if (!disconnect && port->port_usb) in gs_rx_push()
538 struct usb_ep *ep = port->port_usb->out; in gs_start_io()
553 status = gs_alloc_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
571 gs_free_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
632 if (port->port_usb) { in gs_open()
635 struct gserial *gser = port->port_usb; in gs_open()
663 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done()
688 gser = port->port_usb; in gs_close()
705 gser = port->port_usb; in gs_close()
741 if (port->port_usb) in gs_write()
772 if (port->port_usb) in gs_flush_chars()
784 if (port->port_usb) in gs_write_room()
817 if (port->port_usb) { in gs_unthrottle()
838 gser = port->port_usb; in gs_break_ctl()
964 ep = port->port_usb->in; in gs_console_connect()
1040 if (port->port_usb) in gs_console_init()
1191 WARN_ON(port->port_usb != NULL); in gserial_free_port()
1307 if (port->port_usb) { in gserial_connect()
1326 port->port_usb = gser; in gserial_connect()
1385 port->port_usb = NULL; in gserial_disconnect()