Lines Matching refs:port_usb
108 struct gserial *port_usb; member
244 if (!port->port_usb) in gs_start_tx()
247 in = port->port_usb->in; in gs_start_tx()
294 if (!port->port_usb) in gs_start_tx()
313 struct usb_ep *out = port->port_usb->out; in gs_start_rx()
348 if (!port->port_usb) in gs_start_rx()
452 if (!disconnect && port->port_usb) in gs_rx_push()
551 if (!port->port_usb || !port->port.tty) in gs_start_io()
560 ep = port->port_usb->out; in gs_start_io()
566 status = gs_alloc_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
584 if (port->port_usb) { in gs_start_io()
586 gs_free_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
648 if (port->port_usb) { in gs_open()
651 struct gserial *gser = port->port_usb; in gs_open()
679 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done()
704 gser = port->port_usb; in gs_close()
721 gser = port->port_usb; in gs_close()
757 if (port->port_usb) in gs_write()
788 if (port->port_usb) in gs_flush_chars()
800 if (port->port_usb) in gs_write_room()
833 if (port->port_usb) { in gs_unthrottle()
854 gser = port->port_usb; in gs_break_ctl()
1001 ep = port->port_usb->in; in gs_console_connect()
1077 if (port->port_usb) in gs_console_init()
1228 WARN_ON(port->port_usb != NULL); in gserial_free_port()
1344 if (port->port_usb) { in gserial_connect()
1363 port->port_usb = gser; in gserial_connect()
1424 port->port_usb = NULL; in gserial_disconnect()