Lines Matching refs:dma
93 #define DMA_ISBROKEN(dma) ((dma)->revision == dvmarev0 || (dma)->revision == dvmarev1) argument
95 #define DMA_ISBROKEN(dma) ((dma)->revision == dvmarev1) argument
97 #define DMA_ISESC1(dma) ((dma)->revision == dvmaesc1) argument
188 #define DMA_IRQ_ENTRY(dma, dregs) do { \ argument
189 if(DMA_ISBROKEN(dma)) DMA_INTSOFF(dregs); \
192 #define DMA_IRQ_EXIT(dma, dregs) do { \ argument
193 if(DMA_ISBROKEN(dma)) DMA_INTSON(dregs); \
217 #define DMA_RESET(dma) do { \
218 struct sparc_dma_registers *regs = dma->regs; \
227 if(dma->revision>dvmarev1) regs->cond_reg |= DMA_3CLKS; \
228 dma->running = 0; \
232 #define for_each_dvma(dma) \ argument
233 for((dma) = dma_chain; (dma); (dma) = (dma)->next)