Lines Matching refs:dmacount

398 		td->dmacount = 0;	/* not VALID */  in net2280_alloc_request()
706 u32 dmacount = req->req.length; in fill_dma_desc() local
714 dmacount |= (1 << DMA_DIRECTION); in fill_dma_desc()
715 else if ((dmacount % ep->ep.maxpacket) != 0) in fill_dma_desc()
716 dmacount |= (1 << END_OF_CHAIN); in fill_dma_desc()
720 dmacount |= (1 << VALID_BIT); in fill_dma_desc()
722 dmacount |= (1 << DMA_DONE_INTERRUPT_ENABLE); in fill_dma_desc()
729 td->dmacount = cpu_to_le32p (&dmacount); in fill_dma_desc()
759 &dma->dmacount); in start_queue()
800 req->td->dmacount = cpu_to_le32 (req->req.length - tmp); in start_dma()
802 | tmp, &dma->dmacount); in start_dma()
832 req->td->dmacount |= __constant_cpu_to_le32 (1 << END_OF_CHAIN); in start_dma()
1015 u32 dmacount, in dma_done() argument
1019 req->req.actual = req->req.length - (DMA_BYTE_COUNT_MASK & dmacount); in dma_done()
1039 tmp = le32_to_cpup (&req->td->dmacount); in scan_dma_completions()
1049 tmp = readl (&ep->dma->dmacount); in scan_dma_completions()
1110 u32 dmacount; in restart_dma() local
1114 dmacount = entry->td->dmacount; in restart_dma()
1121 dmacount |= valid_bit; in restart_dma()
1122 entry->td->dmacount = dmacount; in restart_dma()
1127 prev->td->dmacount |= dma_done_ie; in restart_dma()
1134 dmacount &= ~valid_bit; in restart_dma()
1135 entry->td->dmacount = dmacount; in restart_dma()
1217 req->td->dmacount = 0; /* invalidate */ in net2280_dequeue()
1219 readl (&ep->dma->dmacount), in net2280_dequeue()
1233 if (req->td->dmacount & dma_done_ie) in net2280_dequeue()
1234 writel (readl (&ep->dma->dmacount) in net2280_dequeue()
1236 &ep->dma->dmacount); in net2280_dequeue()
1243 if (req->td->dmacount & dma_done_ie) in net2280_dequeue()
1244 prev->td->dmacount |= dma_done_ie; in net2280_dequeue()
1568 readl (&ep->dma->dmacount), in show_registers()
1669 readl (&ep->dma->dmacount)); in show_queues()
1686 req->td_dma, td->dmacount, in show_queues()
2149 count = readl (&ep->dma->dmacount); in handle_ep_small()
2164 req->td->dmacount = 0; in handle_ep_small()
2594 u32 dmacount; in handle_stat1_irqs() local
2603 dmacount = req->td->dmacount; in handle_stat1_irqs()
2604 dmacount &= __constant_cpu_to_le32 ( in handle_stat1_irqs()
2607 if (dmacount && (dmacount & valid_bit) == 0) in handle_stat1_irqs()
2808 td->dmacount = 0; /* not VALID */ in net2280_probe()