Lines Matching refs:port_usb
103 struct gserial *port_usb; member
234 if (!port->port_usb) in gs_start_tx()
237 in = port->port_usb->in; in gs_start_tx()
285 if (!port->port_usb) in gs_start_tx()
304 struct usb_ep *out = port->port_usb->out; in gs_start_rx()
339 if (!port->port_usb) in gs_start_rx()
442 if (!disconnect && port->port_usb) in gs_rx_push()
537 struct usb_ep *ep = port->port_usb->out; in gs_start_io()
552 status = gs_alloc_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
568 gs_free_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
666 if (port->port_usb) { in gs_open()
667 struct gserial *gser = port->port_usb; in gs_open()
691 cond = (p->port_usb == NULL) || !kfifo_len(&p->port_write_buf); in gs_writes_finished()
720 gser = port->port_usb; in gs_close()
733 gser = port->port_usb; in gs_close()
769 if (port->port_usb) in gs_write()
800 if (port->port_usb) in gs_flush_chars()
812 if (port->port_usb) in gs_write_room()
845 if (port->port_usb) { in gs_unthrottle()
866 gser = port->port_usb; in gs_break_ctl()
956 ep = port->port_usb->in; in gs_console_connect()
992 if (!port || !port->port_usb in gs_console_thread()
993 || !port->port_usb->in || !info->console_req) in gs_console_thread()
997 ep = port->port_usb->in; in gs_console_thread()
1185 WARN_ON(port->port_usb != NULL); in gserial_free_port()
1289 if (port->port_usb) { in gserial_connect()
1308 port->port_usb = gser; in gserial_connect()
1365 port->port_usb = NULL; in gserial_disconnect()