Home
last modified time | relevance | path

Searched refs:cond_reg (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dsun3x_esp.c143 while((dregs->cond_reg & DMA_PEND_READ) && (--count > 0)) in dma_do_drain()
147 printk("%s:%d timeout CSR %08lx\n", __FILE__, __LINE__, dregs->cond_reg); in dma_do_drain()
150 dregs->cond_reg |= DMA_FIFO_STDRAIN; in dma_do_drain()
154 while((dregs->cond_reg & DMA_FIFO_ISDRAIN) && (--count > 0)) in dma_do_drain()
158 printk("%s:%d timeout CSR %08lx\n", __FILE__, __LINE__, dregs->cond_reg); in dma_do_drain()
169 while((dregs->cond_reg & DMA_PEND_READ) && (--count > 0)) in dma_barrier()
173 printk("%s:%d timeout CSR %08lx\n", __FILE__, __LINE__, dregs->cond_reg); in dma_barrier()
176 dregs->cond_reg &= ~(DMA_ENABLE); in dma_barrier()
203 if(dregs->cond_reg & DMA_FIFO_ISDRAIN) { in dma_drain()
204 dregs->cond_reg |= DMA_FIFO_STDRAIN; in dma_drain()
[all …]
Doktagon_esp.h20 volatile unsigned char cond_reg; /* DMA cond (ro) [0x000] */ member
21 #define ctrl_reg cond_reg /* DMA control (wo) [0x000] */
DcyberstormII.h20 volatile unsigned char cond_reg; /* DMA cond (ro) [0x000] */ member
21 #define ctrl_reg cond_reg /* DMA control (wo) [0x000] */
Dfastlane.h20 volatile unsigned char cond_reg; /* DMA status (ro) [0x0000] */ member
21 #define ctrl_reg cond_reg /* DMA control (wo) [0x0000] */
Dcyberstorm.h28 volatile unsigned char cond_reg; /* DMA cond (ro) [0x402] */ member
29 #define ctrl_reg cond_reg /* DMA control (wo) [0x402] */
Dsun3x_esp.h21 #define DMA_PORTS_P (dregs->cond_reg & DMA_INT_ENAB)
Dcyberstorm.c187 (esp->dregs))->cond_reg)); in dma_dump_state()
270 ((((struct cyber_dma_registers *)(esp->dregs))->cond_reg) & in dma_irq_p()
Dfastlane.c225 (esp->dregs))->cond_reg)); in dma_dump_state()
314 dma_status = dregs->cond_reg; in dma_irq_p()
DcyberstormII.c177 (esp->dregs))->cond_reg)); in dma_dump_state()
Dmac_esp.c606 (esp->dregs))->cond_reg)); in dma_dump_state()
/linux-2.4.37.9/include/asm-sparc/
Ddma.h170 #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)) {
[all …]
/linux-2.4.37.9/include/asm-m68k/
Ddvma.h92 __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)))))
[all …]