Lines Matching refs:dma2
118 if (!gus->equal_dma && gus->gf1.dma2 >= 0) { in snd_gus_free()
119 disable_dma(gus->gf1.dma2); in snd_gus_free()
120 free_dma(gus->gf1.dma2); in snd_gus_free()
134 int irq, int dma1, int dma2, in snd_gus_create() argument
161 gus->gf1.dma2 = -1; in snd_gus_create()
196 if (dma2 >= 0 && dma1 != dma2) { in snd_gus_create()
197 if (request_dma(dma2, "GUS - 2")) { in snd_gus_create()
198 snd_printk(KERN_ERR "gus: can't grab DMA2 %d\n", dma2); in snd_gus_create()
202 gus->gf1.dma2 = dma2; in snd_gus_create()
204 gus->gf1.dma2 = gus->gf1.dma1; in snd_gus_create()
274 int irq, dma1, dma2; in snd_gus_init_dma_irq() local
295 dma2 = gus->gf1.dma2; in snd_gus_init_dma_irq()
296 dma2 = abs(dma2); in snd_gus_init_dma_irq()
297 dma2 = dmas[dma2 & 7]; in snd_gus_init_dma_irq()
298 dma1 |= gus->equal_dma ? 0x40 : (dma2 << 3); in snd_gus_init_dma_irq()
300 if ((dma1 & 7) == 0 || (dma2 & 7) == 0) { in snd_gus_init_dma_irq()