Home
last modified time | relevance | path

Searched refs:is_short (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dpxa27x_udc.c61 unsigned int i, n, w, b, is_short; in udc_write_urb() local
80 is_short = n != endpoint->tx_packetSize; in udc_write_urb()
83 usbdbg("n %d%s w %d b %d", n, is_short ? "-s" : "", w, b); in udc_write_urb()
97 if (is_short) in udc_write_urb()
127 if (is_short) in udc_write_urb()
H A Dpxa25x_udc.c479 int is_last, is_short; in write_fifo() local
485 is_last = is_short = 1; in write_fifo()
493 is_short = unlikely(max < ep->fifo_size); in write_fifo()
498 is_last ? "/L" : "", is_short ? "/S" : "", in write_fifo()
507 if (is_short) in write_fifo()
547 int is_short; in write_ep0_fifo() local
553 is_short = (count != EP0_FIFO_SIZE); in write_ep0_fifo()
558 if (unlikely(is_short)) { in write_ep0_fifo()
592 return is_short; in write_ep0_fifo()
609 unsigned bufferspace, count, is_short; in read_fifo() local
[all …]
H A Ddwc2_udc_otg_xfer_dma.c197 u32 ep_tsr = 0, xfer_size = 0, is_short = 0; in complete_rx() local
236 is_short = !!(xfer_size % ep->ep.maxpacket); in complete_rx()
242 is_short, ep_tsr, req->req.length - req->req.actual); in complete_rx()
244 if (is_short || req->req.actual == req->req.length) { in complete_rx()
270 u32 ep_tsr = 0, xfer_size = 0, is_short = 0; in complete_tx() local
292 is_short = (xfer_size < ep->ep.maxpacket); in complete_tx()
299 is_short, ep_tsr, req->req.length - req->req.actual); in complete_tx()