Lines Matching refs:dma1
91 int dma1; /* DMA1 */ member
585 snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT); in snd_es18xx_capture_prepare()
649 snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT); in snd_es18xx_playback2_prepare()
797 pos = snd_dma_pointer(chip->dma1, size); in snd_es18xx_playback_pointer()
810 pos = snd_dma_pointer(chip->dma1, size); in snd_es18xx_capture_pointer()
1399 snd_es18xx_config_write(chip, 0x74, chip->dma1); in snd_es18xx_initialize()
1434 switch (chip->dma1) { in snd_es18xx_initialize()
1445 snd_printk(KERN_ERR "invalid dma1 %d\n", chip->dma1); in snd_es18xx_initialize()
1636 if (chip->dma1 == chip->dma2) in snd_es18xx_probe()
1690 chip->dma1 > 3 || chip->dma2 > 3 ? 128*1024 : 64*1024); in snd_es18xx_pcm()
1727 int irq, int dma1, int dma2) in snd_es18xx_new_device() argument
1735 chip->dma1 = -1; in snd_es18xx_new_device()
1753 if (snd_devm_request_dma(card->dev, dma1, "ES18xx DMA 1")) { in snd_es18xx_new_device()
1754 snd_printk(KERN_ERR PFX "unable to grap DMA1 %d\n", dma1); in snd_es18xx_new_device()
1757 chip->dma1 = dma1; in snd_es18xx_new_device()
1759 if (dma2 != dma1 && in snd_es18xx_new_device()
1917 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3 */ variable
1938 module_param_hw_array(dma1, int, dma, NULL, 0444);
1939 MODULE_PARM_DESC(dma1, "DMA 1 # for ES18xx driver.");
1976 dma1[dev] = pnp_dma(pdev, 0); in snd_audiodrive_pnp_init_main()
1980 snd_printdd("PnP ES18xx: dma1=%i, dma2=%i, irq=%i\n", dma1[dev], dma2[dev], irq[dev]); in snd_audiodrive_pnp_init_main()
2061 irq[dev], dma1[dev], dma2[dev]); in snd_audiodrive_probe()
2068 if (dma1[dev] != dma2[dev]) in snd_audiodrive_probe()
2072 irq[dev], dma1[dev], dma2[dev]); in snd_audiodrive_probe()
2077 irq[dev], dma1[dev]); in snd_audiodrive_probe()
2144 if (dma1[dev] == SNDRV_AUTO_DMA) { in snd_es18xx_isa_probe()
2145 dma1[dev] = snd_legacy_find_free_dma(possible_dmas); in snd_es18xx_isa_probe()
2146 if (dma1[dev] < 0) { in snd_es18xx_isa_probe()