Lines Matching refs:npkt
803 u32 npkt; in usbf_epn_dma_in() local
842 npkt = DIV_ROUND_UP(left, epn->ep.maxpacket); in usbf_epn_dma_in()
853 USBF_SYS_EPN_SET_DMACNT(npkt)); in usbf_epn_dma_in()
857 usbf_ep_reg_writel(epn, USBF_REG_EPN_LEN_DCNT, USBF_EPN_SET_DMACNT(npkt)); in usbf_epn_dma_in()
880 req->dma_size = (npkt - 1) * epn->ep.maxpacket + lastpkt; in usbf_epn_dma_in()
1064 static void usbf_epn_dma_out_send_dma(struct usbf_ep *epn, dma_addr_t addr, u32 npkt, bool is_short) in usbf_epn_dma_out_send_dma() argument
1101 USBF_SYS_EPN_SET_DMACNT(npkt) | USBF_SYS_EPN_DIR0); in usbf_epn_dma_out_send_dma()
1106 USBF_EPN_SET_DMACNT(npkt)); in usbf_epn_dma_out_send_dma()
1192 u32 npkt; in usbf_epn_dma_out() local
1289 npkt = left / epn->ep.maxpacket; in usbf_epn_dma_out()
1292 npkt, false); in usbf_epn_dma_out()
1293 req->dma_size = npkt * epn->ep.maxpacket; in usbf_epn_dma_out()
1296 req->dma_size, npkt); in usbf_epn_dma_out()