Home
last modified time | relevance | path

Searched refs:port_usb (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/gadget/
Du_ether.c54 struct gether *port_usb; member
154 if (dev->port_usb) in ueth_change_mtu()
208 if (dev->port_usb) in rx_submit()
209 out = dev->port_usb->out_ep; in rx_submit()
231 size += dev->port_usb->header_len; in rx_submit()
235 if (dev->port_usb->is_fixed) in rx_submit()
236 size = max_t(size_t, size, dev->port_usb->fixed_out_len); in rx_submit()
286 if (dev->port_usb) { in rx_complete()
287 status = dev->unwrap(dev->port_usb, in rx_complete()
501 if (dev->port_usb) { in eth_start_xmit()
[all …]
Du_serial.c99 struct gserial *port_usb; member
363 struct usb_ep *in = port->port_usb->in; in gs_start_tx()
411 if (!port->port_usb) in gs_start_tx()
430 struct usb_ep *out = port->port_usb->out; in gs_start_rx()
465 if (!port->port_usb) in gs_start_rx()
579 if (!disconnect && port->port_usb) in gs_rx_push()
674 struct usb_ep *ep = port->port_usb->out; in gs_start_io()
689 status = gs_alloc_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
705 gs_free_requests(port->port_usb->in, &port->write_pool, in gs_start_io()
802 if (port->port_usb) { in gs_open()
[all …]