Searched refs:cond_reg (Results 1 – 1 of 1) sorted by relevance
89 __volatile__ unsigned long cond_reg; /* DMA condition register */ member196 #define DMA_ERROR_P(regs) ((((regs)->cond_reg) & DMA_HNDL_ERROR))197 #define DMA_IRQ_P(regs) ((((regs)->cond_reg) & (DMA_HNDL_INTR | DMA_HNDL_ERROR)))198 #define DMA_WRITE_P(regs) ((((regs)->cond_reg) & DMA_ST_WRITE))199 #define DMA_OFF(regs) ((((regs)->cond_reg) &= (~DMA_ENABLE)))200 #define DMA_INTSOFF(regs) ((((regs)->cond_reg) &= (~DMA_INT_ENAB)))201 #define DMA_INTSON(regs) ((((regs)->cond_reg) |= (DMA_INT_ENAB)))202 #define DMA_PUNTFIFO(regs) ((((regs)->cond_reg) |= DMA_FIFO_INV))205 ((((regs)->cond_reg |= (DMA_ST_WRITE|DMA_ENABLE|DMA_INT_ENAB))))207 ((((regs)->cond_reg |= ((DMA_ENABLE|DMA_INT_ENAB)&(~DMA_ST_WRITE)))))[all …]