Lines Matching refs:dma_chan
197 static int dma_chan; variable
292 if (dma_chan <= 3) { in NCR53c406a_dma_setup()
310 disable_dma(dma_chan); in NCR53c406a_dma_setup()
311 clear_dma_ff(dma_chan); in NCR53c406a_dma_setup()
312 set_dma_addr(dma_chan, (long) ptr); in NCR53c406a_dma_setup()
313 set_dma_count(dma_chan, count); in NCR53c406a_dma_setup()
314 set_dma_mode(dma_chan, mode); in NCR53c406a_dma_setup()
315 enable_dma(dma_chan); in NCR53c406a_dma_setup()
337 clear_dma_ff(dma_chan); in NCR53c406a_dma_residual()
338 tmp = get_dma_residue(dma_chan); in NCR53c406a_dma_residual()
558 dma_chan = DMA_CHAN; in NCR53c406a_detect()
559 if (request_dma(dma_chan, "NCR53c406a") != 0) { in NCR53c406a_detect()
560 printk("NCR53c406a: unable to allocate DMA channel %d\n", dma_chan); in NCR53c406a_detect()
564 DEB(printk("Allocated DMA channel %d\n", dma_chan)); in NCR53c406a_detect()
571 shpnt->dma = dma_chan; in NCR53c406a_detect()
575 sprintf(info_msg, "NCR53c406a at 0x%x, IRQ %d, DMA channel %d.", port_base, irq_level, dma_chan); in NCR53c406a_detect()