Lines Matching refs:DMA
24 #define DMA(ptr) ((a2091_scsiregs *)((ptr)->base)) macro
38 status = DMA(instance)->ISTR; in a2091_intr()
107 DMA(cmd->host)->CNTR = cntr; in dma_setup()
110 DMA(cmd->host)->ACR = addr; in dma_setup()
120 DMA(cmd->host)->ST_DMA = 1; in dma_setup()
136 DMA(instance)->CNTR = cntr; in dma_stop()
140 DMA(instance)->FLUSH = 1; in dma_stop()
141 while (!(DMA(instance)->ISTR & ISTR_FE_FLG)) in dma_stop()
146 DMA(instance)->CINT = 1; in dma_stop()
149 DMA(instance)->SP_DMA = 1; in dma_stop()
152 DMA(instance)->CNTR = CNTR_PDMD | CNTR_INTEN; in dma_stop()
218 DMA(instance)->DAWR = DAWR_A2091; in a2091_detect()
219 regs.SASR = &(DMA(instance)->SASR); in a2091_detect()
220 regs.SCMD = &(DMA(instance)->SCMD); in a2091_detect()
228 DMA(instance)->CNTR = CNTR_PDMD | CNTR_INTEN; in a2091_detect()
243 DMA(instance)->CNTR = 0; in a2091_release()