Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Datmel_usba_udc.c30 unsigned int transaction_len; in next_fifo_transaction() local
32 transaction_len = req->req.length - req->req.actual; in next_fifo_transaction()
34 if (transaction_len > ep->ep.maxpacket) { in next_fifo_transaction()
35 transaction_len = ep->ep.maxpacket; in next_fifo_transaction()
37 } else if (transaction_len == ep->ep.maxpacket && req->req.zero) { in next_fifo_transaction()
42 ep->ep.name, req, transaction_len, in next_fifo_transaction()
45 memcpy(ep->fifo, req->req.buf + req->req.actual, transaction_len); in next_fifo_transaction()
47 req->req.actual += transaction_len; in next_fifo_transaction()
/openbmc/linux/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c409 unsigned int transaction_len; in next_fifo_transaction() local
411 transaction_len = req->req.length - req->req.actual; in next_fifo_transaction()
413 if (transaction_len > ep->ep.maxpacket) { in next_fifo_transaction()
414 transaction_len = ep->ep.maxpacket; in next_fifo_transaction()
416 } else if (transaction_len == ep->ep.maxpacket && req->req.zero) in next_fifo_transaction()
420 ep->ep.name, req, transaction_len, in next_fifo_transaction()
423 memcpy_toio(ep->fifo, req->req.buf + req->req.actual, transaction_len); in next_fifo_transaction()
425 req->req.actual += transaction_len; in next_fifo_transaction()