Lines Matching refs:FIFO
129 -EBUSY: Could not drain FIFO in some finite amount of time,
152 /* This mode resets the FIFO, so we may
157 case ECR_PPF: /* Parallel Port FIFO mode */
171 /* The FIFO is stuck. */
194 #endif /* FIFO support */
269 * nFault is 0 if there is at least 1 byte in the Warp's FIFO
270 * pError is 1 if there are 16 bytes in the Warp's FIFO
471 const unsigned long fifo = FIFO(port);
502 /* FIFO is full. Wait for interrupt. */
513 printk(KERN_DEBUG "FIFO write timed out\n");
536 /* FIFO is empty. Blast it full. */
701 /* Parallel Port FIFO mode (ECP chipsets) */
717 /* Set up parallel port FIFO mode.*/
720 r = change_mode(port, ECR_PPF); /* Parallel port FIFO */
727 /* Write the data to the FIFO. */
732 * the FIFO is empty, so allow 4 seconds for each position
737 /* Wait for the FIFO to empty */
744 printk(KERN_DEBUG "%s: FIFO is stuck\n", port->name);
749 /* Adjust for the contents of the FIFO. */
755 outb(0, FIFO(port));
758 /* Reset the FIFO and return to PS2 mode. */
816 r = change_mode(port, ECR_ECP); /* ECP FIFO */
822 /* Write the data to the FIFO. */
827 * the FIFO is empty, so allow 4 seconds for each position
832 /* Wait for the FIFO to empty */
839 printk(KERN_DEBUG "%s: FIFO is stuck\n", port->name);
844 /* Adjust for the contents of the FIFO. */
850 outb(0, FIFO(port));
853 /* Reset the FIFO and return to PS2 mode. */
888 #endif /* Allowed to use FIFO/DMA */
1573 /* Find out FIFO depth */
1574 ECR_WRITE(pb, ECR_SPP << 5); /* Reset FIFO */
1575 ECR_WRITE(pb, ECR_TST << 5); /* TEST FIFO */
1577 outb(0xaa, FIFO(pb));
1581 * it doesn't support ECP or FIFO MODE
1590 printk(KERN_DEBUG "0x%lx: FIFO is %d bytes\n", pb->base, i);
1596 inb(FIFO(pb));
1614 frob_set_mode(pb, ECR_PS2); /* Reset FIFO and enable PS2 */
1616 frob_set_mode(pb, ECR_TST); /* Test FIFO */
1620 outb(0xaa, FIFO(pb));
1635 ECR_WRITE(pb, ECR_SPP << 5); /* Reset FIFO */
1859 ECR_WRITE(pb, ECR_SPP << 5); /* Reset FIFO */
1863 /* If Full FIFO sure that writeIntrThreshold is generated */
1865 outb(0xaa, FIFO(pb));
2129 pr_cont(", using FIFO");
2133 #endif /* Allowed to use FIFO/DMA */