Lines Matching refs:cond_reg
170 #define DMA_ERROR_P(regs) ((((regs)->cond_reg) & DMA_HNDL_ERROR))
171 #define DMA_IRQ_P(regs) ((((regs)->cond_reg) & (DMA_HNDL_INTR | DMA_HNDL_ERROR)))
172 #define DMA_WRITE_P(regs) ((((regs)->cond_reg) & DMA_ST_WRITE))
173 #define DMA_OFF(regs) ((((regs)->cond_reg) &= (~DMA_ENABLE)))
174 #define DMA_INTSOFF(regs) ((((regs)->cond_reg) &= (~DMA_INT_ENAB)))
175 #define DMA_INTSON(regs) ((((regs)->cond_reg) |= (DMA_INT_ENAB)))
176 #define DMA_PUNTFIFO(regs) ((((regs)->cond_reg) |= DMA_FIFO_INV))
179 ((((regs)->cond_reg |= (DMA_ST_WRITE|DMA_ENABLE|DMA_INT_ENAB))))
181 ((((regs)->cond_reg |= ((DMA_ENABLE|DMA_INT_ENAB)&(~DMA_ST_WRITE)))))
206 while((regs->cond_reg&bit) && (ctr>0)) {
222 regs->cond_reg |= (DMA_RST_SCSI); /* assert */ \
224 regs->cond_reg &= ~(DMA_RST_SCSI); /* de-assert */ \
227 if(dma->revision>dvmarev1) regs->cond_reg |= DMA_3CLKS; \