Lines Matching refs:port_usb
99 struct gserial *port_usb; member
363 struct usb_ep *in = port->port_usb->in; in gs_start_tx()
413 if (!port->port_usb) in gs_start_tx()
432 struct usb_ep *out = port->port_usb->out; in gs_start_rx()
467 if (!port->port_usb) in gs_start_rx()
577 if (!disconnect && port->port_usb) in gs_rx_push()
672 struct usb_ep *ep = port->port_usb->out; in gs_start_io()
687 status = gs_alloc_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
703 gs_free_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
800 if (port->port_usb) { in gs_open()
801 struct gserial *gser = port->port_usb; in gs_open()
825 cond = (p->port_usb == NULL) || !gs_buf_data_avail(&p->port_write_buf); in gs_writes_finished()
854 gser = port->port_usb; in gs_close()
867 gser = port->port_usb; in gs_close()
905 if (port->port_usb) in gs_write()
936 if (port->port_usb) in gs_flush_chars()
948 if (port->port_usb) in gs_write_room()
981 if (port->port_usb) { in gs_unthrottle()
1002 gser = port->port_usb; in gs_break_ctl()
1078 WARN_ON(port->port_usb != NULL); in gserial_free_port()
1180 if (port->port_usb) { in gserial_connect()
1199 port->port_usb = gser; in gserial_connect()
1256 port->port_usb = NULL; in gserial_disconnect()