Lines Matching refs:dma2
65 int dma1, dma2; member
1967 devc->dma2 = dma_capture; in ad1848_init()
1990 if (devc->dma1 == devc->dma2 || devc->dma2 == -1 || devc->dma1 == -1) in ad1848_init()
2612 int dma2 = hw_config->dma2; in attach_ms_sound() local
2619 hw_config->dma2, 0, in attach_ms_sound()
2644 if (dma2 != -1 && dma2 != dma) in attach_ms_sound()
2646 if (!((dma == 0 && dma2 == 1) || in attach_ms_sound()
2647 (dma == 1 && dma2 == 0) || in attach_ms_sound()
2648 (dma == 3 && dma2 == 0))) in attach_ms_sound()
2652 dma = dma2; in attach_ms_sound()
2653 dma2 = tmp; in attach_ms_sound()
2655 if ((dma == 0 && dma2 == 1) || in attach_ms_sound()
2656 (dma == 1 && dma2 == 0) || in attach_ms_sound()
2657 (dma == 3 && dma2 == 0)) in attach_ms_sound()
2664 dma2 = dma; in attach_ms_sound()
2669 dma2 = dma; in attach_ms_sound()
2673 hw_config->dma2 = dma2; in attach_ms_sound()
2679 dma, dma2, 0, in attach_ms_sound()
2689 hw_config->dma2, 0); in unload_ms_sound()
2814 static int __initdata dma2 = -1; variable
2820 module_param(dma2, int, 0); /* Second DMA channel */
2841 short mss_io, irq, dma, dma2; /* index into isapnp table */ member
2916 if(ad1848_isapnp_list[slot].dma2 != -1) in ad1848_init_generic()
2917 hw_config->dma2 = pnp_dma(ad1848_dev, ad1848_isapnp_list[slot].dma2); in ad1848_init_generic()
2919 hw_config->dma2 = -1; in ad1848_init_generic()
2941 hw_config->dma2); in ad1848_isapnp_init()
3009 cfg.dma2 = dma2; in init_ad1848()
3061 dma2 = ints[4]; in setup_ad1848()