/linux-2.4.37.9/drivers/sound/ |
D | cs4232.c | 135 int dma1 = hw_config->dma, dma2 = hw_config->dma2; in probe_cs4232() local 202 if (dma2 != -1) in probe_cs4232() 203 CS_OUT2(0x25, dma2) /* WSS DMA2 */ in probe_cs4232() 257 dma2 = hw_config->dma2; in attach_cs4232() local 264 if (dma2 == -1) in attach_cs4232() 265 dma2 = dma1; in attach_cs4232() 270 dma2, /* Capture DMA */ in attach_cs4232() 292 hw_config2.dma2 = -1; in attach_cs4232() 319 int dma1 = hw_config->dma, dma2 = hw_config->dma2; in unload_cs4232() local 321 if (dma2 == -1) in unload_cs4232() [all …]
|
D | trix.c | 172 if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) in probe_trix_wss() 173 if (hw_config->dma2 != 0 && hw_config->dma2 != 1 && hw_config->dma2 != 3) in probe_trix_wss() 175 printk(KERN_ERR "AudioTrix: Bad capture DMA %d\n", hw_config->dma2); in probe_trix_wss() 215 int dma1 = hw_config->dma, dma2 = hw_config->dma2; in attach_trix_wss() local 238 if (hw_config->dma2 == -1 || hw_config->dma2 == hw_config->dma) in attach_trix_wss() 241 dma2 = dma1; in attach_trix_wss() 251 trix_write(0x14, tmp | 0x80 | (dma2 << 4)); in attach_trix_wss() 259 dma2, in attach_trix_wss() 399 int dma2 = hw_config->dma2; in unload_trix_wss() local 401 if (dma2 == -1) in unload_trix_wss() [all …]
|
D | opl3sa.c | 236 int dma2 = hw_config->dma2; in unload_opl3sa_wss() local 238 if (dma2 == -1) in unload_opl3sa_wss() 239 dma2 = hw_config->dma; in unload_opl3sa_wss() 247 dma2, in unload_opl3sa_wss() 272 static int __initdata dma2 = -1; variable 279 MODULE_PARM(dma2,"i"); 293 cfg.dma2 = dma2; in init_opl3sa() 328 dma2 = ints[4]; in setup_opl3sa()
|
D | gus_card.c | 48 if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) in attach_gus() 49 if (sound_alloc_dma(hw_config->dma2, "GUS(2)")) in attach_gus() 50 printk(KERN_ERR "gus_card.c: Can't allocate DMA channel %d\n", hw_config->dma2); in attach_gus() 117 if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) in unload_gus() 118 sound_free_dma(hw_config->dma2); in unload_gus() 244 cfg.dma2 = dma16; in init_gus()
|
D | mad16.c | 621 int ad_flags = 0, dma = hw_config->dma, dma2 = hw_config->dma2; in attach_mad16() local 648 if (ad_flags & AD_F_CS4231 && dma2 != -1 && dma2 != dma) in attach_mad16() 650 if (!((dma == 0 && dma2 == 1) || in attach_mad16() 651 (dma == 1 && dma2 == 0) || in attach_mad16() 652 (dma == 3 && dma2 == 0))) in attach_mad16() 656 dma = dma2; in attach_mad16() 657 dma2 = tmp; in attach_mad16() 659 if ((dma == 0 && dma2 == 1) || (dma == 1 && dma2 == 0) || in attach_mad16() 660 (dma == 3 && dma2 == 0)) in attach_mad16() 667 dma2 = dma; in attach_mad16() [all …]
|
D | sgalaxy.c | 141 static int __initdata dma2 = -1; variable 147 MODULE_PARM(dma2,"i"); 155 cfg.dma2 = dma2; in init_sgalaxy() 189 dma2 = ints[4]; in setup_sgalaxy()
|
D | ad1848.c | 63 int dma1, dma2; member 1987 devc->dma2 = dma_capture; in ad1848_init() 2010 if (devc->dma1 == devc->dma2 || devc->dma2 == -1 || devc->dma1 == -1) in ad1848_init() 2638 int dma2 = hw_config->dma2; in attach_ms_sound() local 2645 hw_config->dma2, 0, in attach_ms_sound() 2669 if (dma2 != -1 && dma2 != dma) in attach_ms_sound() 2671 if (!((dma == 0 && dma2 == 1) || in attach_ms_sound() 2672 (dma == 1 && dma2 == 0) || in attach_ms_sound() 2673 (dma == 3 && dma2 == 0))) in attach_ms_sound() 2677 dma = dma2; in attach_ms_sound() [all …]
|
D | ad1816.c | 1013 hw_config->dma2, in probe_ad1816() 1132 if ( hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) { in attach_ad1816() 1133 if (sound_alloc_dma(hw_config->dma2, in attach_ad1816() 1136 hw_config->dma2); in attach_ad1816() 1139 devc->dma_capture=hw_config->dma2; in attach_ad1816() 1149 devc->base, devc->irq, hw_config->dma, hw_config->dma2); in attach_ad1816() 1160 hw_config->dma2)) < 0) { in attach_ad1816() 1211 sound_free_dma(hw_config->dma2); in attach_ad1816() 1259 static int __initdata dma2 = -1; variable 1279 MODULE_PARM(dma2,"i"); [all …]
|
D | sb_card.c | 153 hw_config->dma2 = (pos3 >> 4) & 0x3; in probe_sb() 154 if (hw_config->dma2 == 0) in probe_sb() 155 hw_config->dma2 = hw_config->dma; in probe_sb() 157 hw_config->dma2 += 4; in probe_sb() 166 hw_config->dma, hw_config->dma2); in probe_sb() 263 short dma, dma2, mpu_io, mpu_irq; /* see sb_init() */ member 779 if(sb_isapnp_list[slot].dma2 != -1) in sb_init() 780 hw_config->dma2 = sb_dev[card]->dma_resource[sb_isapnp_list[slot].dma2].start; in sb_init() 782 hw_config->dma2 = -1; in sb_init() 863 hw_config->dma2); in sb_isapnp_init() [all …]
|
D | opl3sa2.c | 166 static int __initdata dma2 = -1; variable 200 MODULE_PARM(dma2, "i"); 201 MODULE_PARM_DESC(dma2, "Set MSS (audio) second DMA channel (0, 1, 3)"); 734 if(hw_config->dma2 == hw_config->dma) { in attach_opl3sa2() 891 hw_cfg->dma2 = dev->dma_resource[1].start; in opl3sa2_isapnp_probe() 897 mss_cfg->dma2 = dev->dma_resource[1].start; in opl3sa2_isapnp_probe() 903 mpu_cfg->dma2 = -1; in opl3sa2_isapnp_probe() 1034 dma2 == -1 || mss_io == -1) { in init_opl3sa2() 1048 opl3sa2_state[card].cfg.dma2 = dma2; in init_opl3sa2() 1054 opl3sa2_state[card].cfg_mss.dma2 = dma2; in init_opl3sa2() [all …]
|
D | waveartist.c | 1266 devc->hw.dma, devc->hw.dma2); in waveartist_init() 1277 devc, devc->hw.dma, devc->hw.dma2); in waveartist_init() 1303 if (devc->hw.dma != devc->hw.dma2 && devc->hw.dma2 != NO_DMA) in waveartist_init() 1304 if (sound_alloc_dma(devc->hw.dma2, devc->hw.name)) { in waveartist_init() 1306 devc->hw.name, devc->hw.dma2); in waveartist_init() 1389 if (hw->dma != hw->dma2 && hw->dma2 != NO_DMA) in attach_waveartist() 1445 if (devc->hw.dma != devc->hw.dma2 && in unload_waveartist() 1446 devc->hw.dma2 != NO_DMA) in unload_waveartist() 1447 sound_free_dma(devc->hw.dma2); in unload_waveartist() 1962 static int __initdata dma2 = 0; variable [all …]
|
D | sb_common.c | 409 if (hw_config->dma2 < 0) in init_Jazz16() 414 if (hw_config->dma2 < 5 || hw_config->dma2 > 7 || jazz_dma_bits[hw_config->dma2] == 0) in init_Jazz16() 416 printk(KERN_ERR "Jazz16: Invalid 16 bit DMA (DMA%d)\n", hw_config->dma2); in init_Jazz16() 419 devc->dma16 = hw_config->dma2; in init_Jazz16() 425 (jazz_dma_bits[hw_config->dma2] << 4))) in init_Jazz16() 802 if (hw_config->dma2 == -1) in sb_dsp_init() 804 else if (hw_config->dma2 < 5 || hw_config->dma2 > 7) in sb_dsp_init() 810 devc->dma16 = hw_config->dma2; in sb_dsp_init()
|
D | soundcard.c | 755 if (hw_config->dma != -1 || hw_config->dma2 != -1) in conf_printf() 758 if (hw_config->dma2 != -1) in conf_printf() 759 printk(",%d", hw_config->dma2); in conf_printf() 765 void conf_printf2(char *name, int base, int irq, int dma, int dma2) in conf_printf2() argument 775 if (dma != -1 || dma2 != -1) in conf_printf2() 778 if (dma2 != -1) in conf_printf2() 779 printk(",%d", dma2); in conf_printf2()
|
D | sound_calls.h | 13 void DMAbuf_init(int dev, int dma1, int dma2); 84 void conf_printf2(char *name, int base, int irq, int dma, int dma2);
|
D | dev_table.c | 21 void *devc, int dma1, int dma2) in sound_install_audiodrv() argument 75 DMAbuf_init(num, dma1, dma2); in sound_install_audiodrv()
|
D | pas2_card.c | 415 cfg.dma2 = dma16; in init_pas2() 420 cfg2.dma2 = sb_dma16; in init_pas2()
|
D | sound_config.h | 70 int dma2; member
|
/linux-2.4.37.9/drivers/net/hamradio/soundmodem/ |
D | sm_sbc.c | 204 switch (sm->hdrv.ptt_out.dma2) { in config_resources() 620 osamps = dma_setup(sm, 1, sm->hdrv.ptt_out.dma2) - 1; in setup_dma_fdx_dsp() 636 isamps = dma_setup(sm, 0, sm->hdrv.ptt_out.dma2) - 1; in setup_dma_fdx_dsp() 690 disable_dma(sm->hdrv.ptt_out.dma2); in sbcfdx_interrupt() 691 clear_dma_ff(sm->hdrv.ptt_out.dma2); in sbcfdx_interrupt() 692 dma_ptr(sm, 1, sm->hdrv.ptt_out.dma2, &ocfrag); in sbcfdx_interrupt() 693 enable_dma(sm->hdrv.ptt_out.dma2); in sbcfdx_interrupt() 696 disable_dma(sm->hdrv.ptt_out.dma2); in sbcfdx_interrupt() 697 clear_dma_ff(sm->hdrv.ptt_out.dma2); in sbcfdx_interrupt() 698 dma_ptr(sm, 0, sm->hdrv.ptt_out.dma2, &icfrag); in sbcfdx_interrupt() [all …]
|
D | sm_wss.c | 657 dma_setup(sm, 0, sm->hdrv.ptt_out.dma2); in setup_fdx_dma_wss() 663 isamps = dma_setup(sm, 0, sm->hdrv.ptt_out.dma2) - 1; in setup_fdx_dma_wss() 702 disable_dma(sm->hdrv.ptt_out.dma2); in wssfdx_interrupt() 703 clear_dma_ff(sm->hdrv.ptt_out.dma2); in wssfdx_interrupt() 704 isamps = dma_ptr(sm, 0, sm->hdrv.ptt_out.dma2, &icfrag)-1; in wssfdx_interrupt() 707 enable_dma(sm->hdrv.ptt_out.dma2); in wssfdx_interrupt() 728 disable_dma(sm->hdrv.ptt_out.dma2); in wssfdx_interrupt() 730 clear_dma_ff(sm->hdrv.ptt_out.dma2); in wssfdx_interrupt() 732 isamps = dma_ptr(sm, 0, sm->hdrv.ptt_out.dma2, &icfrag)-1; in wssfdx_interrupt() 740 enable_dma(sm->hdrv.ptt_out.dma2); in wssfdx_interrupt() [all …]
|
D | sm.c | 401 sm->mode_rx->name, dev->base_addr, dev->irq, dev->dma, sm->hdrv.ptt_out.dma2); in sm_open() 613 static int dma2[NR_PORTS] = { [0 ... NR_PORTS-1] = -1 }; variable 626 MODULE_PARM(dma2, "1-" __MODULE_STRING(NR_PORTS) "i"); 627 MODULE_PARM_DESC(dma2, "soundmodem 2nd dma channel; full duplex only"); 679 sm->hdrv.ptt_out.dma2 = dma2[i]; in init_soundmodem() 745 dma2[nr_dev] = ints[4]; in sm_setup()
|
/linux-2.4.37.9/Documentation/sound/ |
D | CS4232 | 7 insmod cs4232 io=* irq=* dma=* dma2=* 13 dma and dma2--DMA channels (DMA2 may be 0)
|
D | OPL3-SA | 22 modprobe opl3sa io=0x530 irq=11 dma=0 dma2=1 mpu_io=0x330 mpu_irq=5 30 dma2: This is the WSS's secondary DMA line. My BIOS calls it the
|
/linux-2.4.37.9/arch/mips/ddb5xxx/ddb5476/ |
D | setup.c | 124 struct resource dma2; member 170 || request_resource(&ioport_resource, &ddb5476_ioport.dma2) in ddb_setup()
|
/linux-2.4.37.9/arch/mips/sgi-ip22/ |
D | ip22-eisa.c | 88 u8 dma1, dma2; in ip22_eisa_intr() local 92 dma2 = EISA_READ_8(EISA_DMA2_STATUS); in ip22_eisa_intr()
|
/linux-2.4.37.9/include/linux/ |
D | hdlcdrv.h | 19 int dma2; member 191 int dma2; member
|