Lines Matching full:dma1
99 if (gus->gf1.dma1 >= 0) { in snd_gus_free()
100 disable_dma(gus->gf1.dma1); in snd_gus_free()
101 free_dma(gus->gf1.dma1); in snd_gus_free()
119 int irq, int dma1, int dma2, in snd_gus_create() argument
145 gus->gf1.dma1 = -1; in snd_gus_create()
176 if (request_dma(dma1, "GUS - 1")) { in snd_gus_create()
177 snd_printk(KERN_ERR "gus: can't grab DMA1 %d\n", dma1); in snd_gus_create()
181 gus->gf1.dma1 = dma1; in snd_gus_create()
182 if (dma2 >= 0 && dma1 != 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
278 dma1 = gus->gf1.dma1; in snd_gus_init_dma_irq()
279 dma1 = abs(dma1); in snd_gus_init_dma_irq()
280 dma1 = dmas[dma1 & 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()
313 outb(dma1, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq()
324 outb(dma1, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq()