Lines Matching defs:fifo
69 unsigned short fifo_data; /* fifo data reg,
122 #define CSR_FIFO_EMPTY 0x400 /* fifo flushed? */
135 #define CSR_FIFO 0x2 /* reset fifo */
241 /* reset fifo */
263 /* byte count for fifo */
268 /* reset fifo */
373 unsigned short fifo;
381 fifo = dregs->fifo_count;
383 if ((fifo > 0) && (fifo < sun3_dma_orig_count))
384 fifo++;
387 last_residual = fifo;
388 /* empty bytes from the fifo which didn't make it */
394 vaddr += (sun3_dma_orig_count - fifo);
414 // check to empty the fifo on a read
423 printk("sun3scsi: fifo failed to empty!\n");
435 fifo = dregs->fifo_count;
436 last_residual = fifo;
438 /* empty bytes from the fifo which didn't make it */
439 if((!write_flag) && (count - fifo) == 2) {
446 vaddr += (sun3_dma_orig_count - fifo);
472 /* reset fifo */