Lines Matching full:fifo
2 * LocalPlus Bus FIFO driver for the Freescale MPC52xx.
28 MODULE_DESCRIPTION("MPC5200 LocalPlus FIFO device driver");
57 /* The MPC5200 has only one fifo, so only need one instance structure */
81 /* While the FIFO can be setup for transfer sizes as large as in mpc52xx_lpbfifo_kick()
82 * 16M-1, the FIFO itself is only 512 bytes deep and it does in mpc52xx_lpbfifo_kick()
83 * not generate interrupts for FIFO full events (only transfer in mpc52xx_lpbfifo_kick()
85 * Bestcomm to drive the FIFO it needs to either be polled, or in mpc52xx_lpbfifo_kick()
86 * transfers need to constrained to the size of the fifo. in mpc52xx_lpbfifo_kick()
93 /* Load the FIFO with data */ in mpc52xx_lpbfifo_kick()
141 * work, just increase the number of bytes the FIFO is in mpc52xx_lpbfifo_kick()
144 * When submitting another operation, the FIFO will get in mpc52xx_lpbfifo_kick()
145 * reset, so the condition of the FIFO waiting for a in mpc52xx_lpbfifo_kick()
179 * mpc52xx_lpbfifo_irq - IRQ handler for LPB FIFO
181 * On transmit, the dma completion irq triggers before the fifo completion
182 * triggers. Handle the dma completion here instead of the LPB FIFO Bestcomm
183 * task completion irq because everything is not really done until the LPB FIFO
188 * transmit, the fifo completion irq is the "Fat Lady". The opera (or in this
189 * case the DMA/FIFO operation) is not finished until the "Fat Lady" sings.
198 * 2) FIFO complete without DMA; more data to do
199 * 3) FIFO complete without DMA; all data transferred
200 * 4) FIFO complete using DMA
206 * Condition 2 requires programming the FIFO with the next block of data
267 /* copy the data out of the FIFO */ in mpc52xx_lpbfifo_irq()
289 * Count the DMA as complete only when the FIFO completion in mpc52xx_lpbfifo_irq()
303 * so set the FIFO as idle */ in mpc52xx_lpbfifo_irq()
321 * mpc52xx_lpbfifo_bcom_irq - IRQ handler for LPB FIFO Bestcomm task
360 /* Mark the FIFO as idle */ in mpc52xx_lpbfifo_bcom_irq()
393 * mpc52xx_lpbfifo_submit - Submit an LPB FIFO transfer request.
461 /* Put FIFO into reset */ in mpc52xx_lpbfifo_probe()
470 /* Request the Bestcomm receive (fifo --> memory) task and IRQ */ in mpc52xx_lpbfifo_probe()
486 /* Request the Bestcomm transmit (memory --> fifo) task and IRQ */ in mpc52xx_lpbfifo_probe()
515 /* Put FIFO in reset */ in mpc52xx_lpbfifo_remove()