Lines Matching refs:packets
225 /* PIO OUT may RX packets */
543 /* measure length in either bytes or packets */
600 unsigned packets = req->req.length - req->req.actual;
608 * the buffer has only whole numbers of packets.
611 if (cpu_is_omap24xx() && packets < ep->maxpacket) {
613 packets, 1, OMAP_DMA_SYNC_ELEMENT,
615 req->dma_bytes = packets;
618 packets /= ep->ep.maxpacket;
619 packets = min(packets, (unsigned)UDC_RXN_TC + 1);
620 req->dma_bytes = packets * ep->ep.maxpacket;
622 ep->ep.maxpacket >> 1, packets,
631 omap_writew(UDC_RXN_STOP | (packets - 1), UDC_RXDMA(ep->dma_channel));
932 * Except OMAP2 can handle the small packets.
1468 /* IN/OUT packets mean we're in the DATA or STATUS stage.