Lines Matching refs:dma1
42 static int dma1[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = SNDRV_AUTO_DMA}; variable
59 module_param_hw_array(dma1, int, dma, NULL, 0444);
60 MODULE_PARM_DESC(dma1, "DMA1 for CMI8328 driver.");
258 if (dma1[ndev] == SNDRV_AUTO_DMA) { in snd_cmi8328_probe()
259 dma1[ndev] = snd_legacy_find_free_dma(dma1s); in snd_cmi8328_probe()
260 if (dma1[ndev] < 0) { in snd_cmi8328_probe()
266 dma2[ndev] = snd_legacy_find_free_dma(dma2s[dma1[ndev] % 4]); in snd_cmi8328_probe()
280 pos = array_find(dma1s, dma1[ndev]); in snd_cmi8328_probe()
282 snd_printk(KERN_ERR "invalid DMA1 %d\n", dma1[ndev]); in snd_cmi8328_probe()
287 if (dma2[ndev] >= 0 && dma1[ndev] != dma2[ndev]) { in snd_cmi8328_probe()
288 pos = array_find(dma2s[dma1[ndev]], dma2[ndev]); in snd_cmi8328_probe()
306 err = snd_wss_create(card, port + 4, -1, irq[ndev], dma1[ndev], in snd_cmi8328_probe()
368 card->shortname, cmi->wss->port, irq[ndev], dma1[ndev], in snd_cmi8328_probe()
369 (dma2[ndev] >= 0) ? dma2[ndev] : dma1[ndev]); in snd_cmi8328_probe()