Lines Matching refs:port_usb
99 struct gserial *port_usb; member
364 struct usb_ep *in = port->port_usb->in; in gs_start_tx()
414 if (!port->port_usb) in gs_start_tx()
433 struct usb_ep *out = port->port_usb->out; in gs_start_rx()
468 if (!port->port_usb) in gs_start_rx()
578 if (!disconnect && port->port_usb) in gs_rx_push()
673 struct usb_ep *ep = port->port_usb->out; in gs_start_io()
688 status = gs_alloc_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
704 gs_free_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
801 if (port->port_usb) { in gs_open()
802 struct gserial *gser = port->port_usb; in gs_open()
826 cond = (p->port_usb == NULL) || !gs_buf_data_avail(&p->port_write_buf); in gs_writes_finished()
855 gser = port->port_usb; in gs_close()
868 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()
1079 WARN_ON(port->port_usb != NULL); in gserial_free_port()
1181 if (port->port_usb) { in gserial_connect()
1200 port->port_usb = gser; in gserial_connect()
1256 port->port_usb = NULL; in gserial_disconnect()