Lines Matching refs:dma2
63 int dma1, dma2; member
1963 devc->dma2 = dma_capture; in ad1848_init()
1986 if (devc->dma1 == devc->dma2 || devc->dma2 == -1 || devc->dma1 == -1) in ad1848_init()
2608 int dma2 = hw_config->dma2; in attach_ms_sound() local
2615 hw_config->dma2, 0, in attach_ms_sound()
2640 if (dma2 != -1 && dma2 != dma) in attach_ms_sound()
2642 if (!((dma == 0 && dma2 == 1) || in attach_ms_sound()
2643 (dma == 1 && dma2 == 0) || in attach_ms_sound()
2644 (dma == 3 && dma2 == 0))) in attach_ms_sound()
2648 dma = dma2; in attach_ms_sound()
2649 dma2 = tmp; in attach_ms_sound()
2651 if ((dma == 0 && dma2 == 1) || in attach_ms_sound()
2652 (dma == 1 && dma2 == 0) || in attach_ms_sound()
2653 (dma == 3 && dma2 == 0)) in attach_ms_sound()
2660 dma2 = dma; in attach_ms_sound()
2665 dma2 = dma; in attach_ms_sound()
2669 hw_config->dma2 = dma2; in attach_ms_sound()
2675 dma, dma2, 0, in attach_ms_sound()
2685 hw_config->dma2, 0); in unload_ms_sound()
2810 static int __initdata dma2 = -1; variable
2816 module_param(dma2, int, 0); /* Second DMA channel */
2837 short mss_io, irq, dma, dma2; /* index into isapnp table */ member
2914 if(ad1848_isapnp_list[slot].dma2 != -1) in ad1848_init_generic()
2915 hw_config->dma2 = pnp_dma(ad1848_dev, ad1848_isapnp_list[slot].dma2); in ad1848_init_generic()
2917 hw_config->dma2 = -1; in ad1848_init_generic()
2939 hw_config->dma2); in ad1848_isapnp_init()
3007 cfg.dma2 = dma2; in init_ad1848()
3059 dma2 = ints[4]; in setup_ad1848()