Lines Matching refs:DMA
24 #define DMA(ptr) ((a3000_scsiregs *)((ptr)->base)) macro
32 unsigned int status = DMA(a3000_host)->ISTR; in a3000_intr()
91 DMA(a3000_host)->CNTR = cntr; in dma_setup()
94 DMA(a3000_host)->ACR = addr; in dma_setup()
105 DMA(a3000_host)->ST_DMA = 1; in dma_setup()
121 DMA(instance)->CNTR = cntr; in dma_stop()
126 DMA(instance)->FLUSH = 1; in dma_stop()
128 while (!(DMA(instance)->ISTR & ISTR_FE_FLG)) in dma_stop()
137 DMA(instance)->CINT = 1; in dma_stop()
140 DMA(instance)->SP_DMA = 1; in dma_stop()
144 DMA(instance)->CNTR = CNTR_PDMD | CNTR_INTEN; in dma_stop()
190 DMA(a3000_host)->DAWR = DAWR_A3000; in a3000_detect()
191 regs.SASR = &(DMA(a3000_host)->SASR); in a3000_detect()
192 regs.SCMD = &(DMA(a3000_host)->SCMD); in a3000_detect()
197 DMA(a3000_host)->CNTR = CNTR_PDMD | CNTR_INTEN; in a3000_detect()
218 DMA(instance)->CNTR = 0; in a3000_release()