Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/udc/
Drenesas_usbf.c804 u32 lastpkt; in usbf_epn_dma_in() local
843 lastpkt = (left % epn->ep.maxpacket); in usbf_epn_dma_in()
844 if (lastpkt == 0) in usbf_epn_dma_in()
845 lastpkt = epn->ep.maxpacket; in usbf_epn_dma_in()
846 lastpkt &= ~0x3; /* DMA is done on 32bit units */ in usbf_epn_dma_in()
849 USBF_SYS_EPN_MPKT(epn->ep.maxpacket) | USBF_SYS_EPN_LMPKT(lastpkt)); in usbf_epn_dma_in()
880 req->dma_size = (npkt - 1) * epn->ep.maxpacket + lastpkt; in usbf_epn_dma_in()