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 */
372 unsigned short fifo;
380 fifo = dregs->fifo_count;
382 if ((fifo > 0) && (fifo < sun3_dma_orig_count))
383 fifo++;
386 last_residual = fifo;
387 /* empty bytes from the fifo which didn't make it */
393 vaddr += (sun3_dma_orig_count - fifo);
413 // check to empty the fifo on a read
422 printk("sun3scsi: fifo failed to empty!\n");
434 fifo = dregs->fifo_count;
435 last_residual = fifo;
437 /* empty bytes from the fifo which didn't make it */
438 if((!write_flag) && (count - fifo) == 2) {
445 vaddr += (sun3_dma_orig_count - fifo);
471 /* reset fifo */