Lines Matching refs:cond_reg
92 __volatile__ unsigned long cond_reg; /* DMA condition register */ member
199 #define DMA_ERROR_P(regs) ((((regs)->cond_reg) & DMA_HNDL_ERROR))
200 #define DMA_IRQ_P(regs) ((((regs)->cond_reg) & (DMA_HNDL_INTR | DMA_HNDL_ERROR)))
201 #define DMA_WRITE_P(regs) ((((regs)->cond_reg) & DMA_ST_WRITE))
202 #define DMA_OFF(regs) ((((regs)->cond_reg) &= (~DMA_ENABLE)))
203 #define DMA_INTSOFF(regs) ((((regs)->cond_reg) &= (~DMA_INT_ENAB)))
204 #define DMA_INTSON(regs) ((((regs)->cond_reg) |= (DMA_INT_ENAB)))
205 #define DMA_PUNTFIFO(regs) ((((regs)->cond_reg) |= DMA_FIFO_INV))
208 ((((regs)->cond_reg |= (DMA_ST_WRITE|DMA_ENABLE|DMA_INT_ENAB))))
210 ((((regs)->cond_reg |= ((DMA_ENABLE|DMA_INT_ENAB)&(~DMA_ST_WRITE)))))
231 regs->cond_reg |= (DMA_RST_SCSI); /* assert */ \
233 regs->cond_reg &= ~(DMA_RST_SCSI); /* de-assert */ \
236 if(dma->revision>dvmarev1) regs->cond_reg |= DMA_3CLKS; \