Lines Matching refs:DMA

21  *	SPP/ECP FIFO can be driven in PIO or DMA mode.  PIO mode can work with
32 * If DMA mode works well, decide if support for PIO FIFO modes should be
43 * FIFO buffer and supports DMA transfers.
453 /*--- IP32 parallel port DMA operations --------------------------------*/
456 * struct parport_ip32_dma_data - private data needed for DMA operation
457 * @dir: DMA direction (from or to device)
460 * @next: address of next bytes to DMA transfer
463 * @irq_on: are the DMA IRQs currently enabled?
479 * parport_ip32_dma_setup_context - setup next DMA context
537 * parport_ip32_dma_interrupt - DMA interrupt handler
558 * parport_ip32_dma_start - begins a DMA transfer
560 * @dir: DMA direction: DMA_TO_DEVICE or DMA_FROM_DEVICE
579 /* Reset DMA controller */
583 /* DMA IRQs should normally be enabled */
591 /* Prepare DMA pointers */
599 /* Setup DMA direction and first two contexts */
608 /* Real start of DMA transfer */
616 * parport_ip32_dma_stop - ends a running DMA transfer
646 /* Stop DMA transfer */
670 /* Reset DMA controller, and re-enable IRQs */
683 * parport_ip32_dma_get_residue - get residue from last DMA transfer
685 * Returns the number of bytes remaining from last DMA transfer.
693 * parport_ip32_dma_register - initialize DMA engine
704 /* Reset DMA controller */
736 * parport_ip32_dma_unregister - release and free resources for DMA engine
832 * ECR is reset in a sane state (interrupts and DMA disabled), and placed in
1415 * parport_ip32_fifo_write_block_dma - write a block of data (DMA mode)
1420 * Uses DMA to write the contents of the buffer @buf into the parallel port
1451 break; /* DMA transfer just finished */
1467 * Uses PIO or DMA to write the contents of the buffer @buf into the parallel
1877 /* Reset FIFO and go in test mode (no interrupt, no DMA) */
1944 /* Test FIFO, no interrupt, no DMA */
2071 /* DMA is not needed if FIFO is not supported. */
2080 /* DMA cannot work without interrupts. */
2089 /* Allocate DMA resources */
2092 pr_warn(PPIP32 "%s: error: DMA disabled\n", p->name);
2094 pr_probe(p, "DMA support enabled\n");
2150 printmode(DMA);
2223 ", bit 1: DMA support"