• Home
  • Raw
  • Download

Lines Matching refs:dmacount

573 		td->dmacount = 0;	/* not VALID */  in net2280_alloc_request()
799 u32 dmacount = req->req.length; in fill_dma_desc() local
807 dmacount |= BIT(DMA_DIRECTION); in fill_dma_desc()
808 if ((!ep->is_in && (dmacount % ep->ep.maxpacket) != 0) || in fill_dma_desc()
810 dmacount |= BIT(END_OF_CHAIN); in fill_dma_desc()
814 dmacount |= BIT(VALID_BIT); in fill_dma_desc()
815 dmacount |= BIT(DMA_DONE_INTERRUPT_ENABLE); in fill_dma_desc()
822 td->dmacount = cpu_to_le32(dmacount); in fill_dma_desc()
855 writel(tmp, &dma->dmacount); in start_queue()
895 req->td->dmacount = cpu_to_le32(req->req.length - tmp); in start_dma()
897 &dma->dmacount); in start_dma()
927 req->td->dmacount |= cpu_to_le32(BIT(END_OF_CHAIN)); in start_dma()
1125 dma_done(struct net2280_ep *ep, struct net2280_request *req, u32 dmacount, in dma_done() argument
1128 req->req.actual = req->req.length - (DMA_BYTE_COUNT_MASK & dmacount); in dma_done()
1148 req_dma_count = le32_to_cpup(&req->td->dmacount); in scan_dma_completions()
1158 u32 const ep_dmacount = readl(&ep->dma->dmacount); in scan_dma_completions()
1288 req->td->dmacount = 0; /* invalidate */ in net2280_dequeue()
1290 readl(&ep->dma->dmacount), in net2280_dequeue()
1769 readl(&ep->dma->dmacount), in registers_show()
1861 readl(&ep->dma->dmacount)); in queues_show()
1879 le32_to_cpu(td->dmacount), in queues_show()
2626 count = readl(&ep->dma->dmacount); in handle_ep_small()
2642 &ep->dma->dmacount); in handle_ep_small()
2666 req->td->dmacount = 0; in handle_ep_small()
3479 u32 r_dmacount = readl(&dma->dmacount); in handle_stat1_irqs()
3747 td->dmacount = 0; /* not VALID */ in net2280_probe()