Lines Matching refs: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()
184 if (dma2 >= 0 && dma1 != dma2) { in snd_gus_create()
185 if (request_dma(dma2, "GUS - 2")) { in snd_gus_create()
186 snd_printk(KERN_ERR "gus: can't grab DMA2 %d\n", dma2); in snd_gus_create()
190 gus->gf1.dma2 = dma2; in snd_gus_create()
192 gus->gf1.dma2 = gus->gf1.dma1; in snd_gus_create()
263 int irq, dma1, dma2; in snd_gus_init_dma_irq() local
284 dma2 = gus->gf1.dma2; in snd_gus_init_dma_irq()
285 dma2 = abs(dma2); in snd_gus_init_dma_irq()
286 dma2 = dmas[dma2 & 7]; in snd_gus_init_dma_irq()
287 dma1 |= gus->equal_dma ? 0x40 : (dma2 << 3); in snd_gus_init_dma_irq()
289 if ((dma1 & 7) == 0 || (dma2 & 7) == 0) { in snd_gus_init_dma_irq()