Lines Matching full:dma2
103 if (!gus->equal_dma && gus->gf1.dma2 >= 0) { in snd_gus_free()
104 disable_dma(gus->gf1.dma2); in snd_gus_free()
105 free_dma(gus->gf1.dma2); in snd_gus_free()
119 int irq, int dma1, int dma2, in snd_gus_create() argument
146 gus->gf1.dma2 = -1; in snd_gus_create()
182 if (dma2 >= 0 && dma1 != dma2) { in snd_gus_create()
183 if (request_dma(dma2, "GUS - 2")) { in snd_gus_create()
184 snd_printk(KERN_ERR "gus: can't grab DMA2 %d\n", dma2); in snd_gus_create()
188 gus->gf1.dma2 = dma2; in snd_gus_create()
190 gus->gf1.dma2 = gus->gf1.dma1; in snd_gus_create()
260 int irq, dma1, dma2; in snd_gus_init_dma_irq() local
281 dma2 = gus->gf1.dma2; in snd_gus_init_dma_irq()
282 dma2 = abs(dma2); in snd_gus_init_dma_irq()
283 dma2 = dmas[dma2 & 7]; in snd_gus_init_dma_irq()
284 dma1 |= gus->equal_dma ? 0x40 : (dma2 << 3); in snd_gus_init_dma_irq()
286 if ((dma1 & 7) == 0 || (dma2 & 7) == 0) { in snd_gus_init_dma_irq()