Lines Matching refs:dma
1341 disable_dma(audio_devs[dev]->dmap_in->dma);
1349 enable_dma(audio_devs[dev]->dmap_in->dma);
1376 disable_dma(audio_devs[dev]->dmap_out->dma);
1384 enable_dma(audio_devs[dev]->dmap_out->dma);
2573 if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3)
2575 printk(KERN_ERR "MSS: Bad DMA %d\n", hw_config->dma);
2582 if (hw_config->dma == 0 && inb(hw_config->io_base + 3) & 0x80)
2611 int dma = hw_config->dma;
2618 hw_config->dma,
2644 if (dma2 != -1 && dma2 != dma)
2646 if (!((dma == 0 && dma2 == 1) ||
2647 (dma == 1 && dma2 == 0) ||
2648 (dma == 3 && dma2 == 0)))
2650 int tmp = dma;
2652 dma = dma2;
2655 if ((dma == 0 && dma2 == 1) ||
2656 (dma == 1 && dma2 == 0) ||
2657 (dma == 3 && dma2 == 0))
2664 dma2 = dma;
2669 dma2 = dma;
2672 hw_config->dma = dma;
2675 outb((bits | dma_bits[dma] | dma2_bit), config_port); /* Write IRQ+DMA setup */
2679 dma, dma2, 0,
2688 hw_config->dma,
2813 static int __initdata dma = -1;
2819 module_param(dma, int, 0); /* First DMA channel */
2841 short mss_io, irq, dma, dma2; /* index into isapnp table */
2915 hw_config->dma = pnp_dma(ad1848_dev, ad1848_isapnp_list[slot].dma);
2938 printk(KERN_NOTICE "ad1848: PnP reports '%s' at i/o %#x, irq %d, dma %d, %d\n",
2940 hw_config->io_base, hw_config->irq, hw_config->dma,
3001 if(irq == -1 || dma == -1) {
3008 cfg.dma = dma;
3053 /* io, irq, dma, dma2, type */
3060 dma = ints[3];