Lines Matching refs:FIFO

136 	   -EBUSY: Could not drain FIFO in some finite amount of time,
159 /* This mode resets the FIFO, so we may
164 case ECR_PPF: /* Parallel Port FIFO mode */
178 /* The FIFO is stuck. */
201 #endif /* FIFO support */
276 * nFault is 0 if there is at least 1 byte in the Warp's FIFO
277 * pError is 1 if there are 16 bytes in the Warp's FIFO
490 const unsigned long fifo = FIFO(port);
521 /* FIFO is full. Wait for interrupt. */
532 printk(KERN_DEBUG "FIFO write timed out\n");
555 /* FIFO is empty. Blast it full. */
720 /* Parallel Port FIFO mode (ECP chipsets) */
736 /* Set up parallel port FIFO mode.*/
739 r = change_mode(port, ECR_PPF); /* Parallel port FIFO */
746 /* Write the data to the FIFO. */
751 * the FIFO is empty, so allow 4 seconds for each position
756 /* Wait for the FIFO to empty */
763 printk(KERN_DEBUG "%s: FIFO is stuck\n", port->name);
768 /* Adjust for the contents of the FIFO. */
774 outb(0, FIFO(port));
777 /* Reset the FIFO and return to PS2 mode. */
835 r = change_mode(port, ECR_ECP); /* ECP FIFO */
841 /* Write the data to the FIFO. */
846 * the FIFO is empty, so allow 4 seconds for each position
851 /* Wait for the FIFO to empty */
858 printk(KERN_DEBUG "%s: FIFO is stuck\n", port->name);
863 /* Adjust for the contents of the FIFO. */
869 outb(0, FIFO(port));
872 /* Reset the FIFO and return to PS2 mode. */
907 #endif /* Allowed to use FIFO/DMA */
1595 /* Find out FIFO depth */
1596 ECR_WRITE(pb, ECR_SPP << 5); /* Reset FIFO */
1597 ECR_WRITE(pb, ECR_TST << 5); /* TEST FIFO */
1599 outb(0xaa, FIFO(pb));
1603 * it doesn't support ECP or FIFO MODE
1612 printk(KERN_DEBUG "0x%lx: FIFO is %d bytes\n", pb->base, i);
1618 inb(FIFO(pb));
1636 frob_set_mode(pb, ECR_PS2); /* Reset FIFO and enable PS2 */
1638 frob_set_mode(pb, ECR_TST); /* Test FIFO */
1642 outb(0xaa, FIFO(pb));
1657 ECR_WRITE(pb, ECR_SPP << 5); /* Reset FIFO */
1881 ECR_WRITE(pb, ECR_SPP << 5); /* Reset FIFO */
1885 /* If Full FIFO sure that writeIntrThreshold is generated */
1887 outb(0xaa, FIFO(pb));
2149 #endif /* Allowed to use FIFO/DMA */
2164 pr_cont(", using FIFO");
2166 #endif /* Allowed to use FIFO/DMA */