/sound/isa/sb/ |
D | sb_common.c | 195 if (chip->dma16 >= 0 && chip->dma16 != chip->dma8) { in snd_sbdsp_free() 196 disable_dma(chip->dma16); in snd_sbdsp_free() 197 free_dma(chip->dma16); in snd_sbdsp_free() 215 int dma16, in snd_sbdsp_create() argument 237 chip->dma16 = -1; in snd_sbdsp_create() 267 if (dma16 >= 0) { in snd_sbdsp_create() 268 if (hardware != SB_HW_ALS100 && (dma16 < 5 || dma16 > 7)) { in snd_sbdsp_create() 270 dma16 = -1; in snd_sbdsp_create() 271 } else if (request_dma(dma16, "SoundBlaster - 16bit")) { in snd_sbdsp_create() 272 snd_printk(KERN_ERR "sb: can't grab DMA16 %d\n", dma16); in snd_sbdsp_create() [all …]
|
D | jazz16.c | 45 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; variable 63 module_param_hw_array(dma16, int, dma, NULL, 0444); 64 MODULE_PARM_DESC(dma16, "DMA16 # for jazz16 driver."); 166 jazz_dma_bits[chip->dma16] == 0 || in jazz16_configure_board() 175 (jazz_dma_bits[chip->dma16] << 4))) in jazz16_configure_board() 202 if (dma16[dev] != SNDRV_AUTO_DMA && in snd_jazz16_match() 203 dma16[dev] != 5 && dma16[dev] != 7) { in snd_jazz16_match() 257 xdma16 = dma16[dev]; in snd_jazz16_probe() 277 dma8[dev], dma16[dev], in snd_jazz16_probe()
|
D | sb16_main.c | 276 dma = (chip->mode & SB_MODE_PLAYBACK_8) ? chip->dma8 : chip->dma16; in snd_sb16_playback_prepare() 345 dma = (chip->mode & SB_MODE_CAPTURE_8) ? chip->dma8 : chip->dma16; in snd_sb16_capture_prepare() 456 dma = (chip->mode & SB_MODE_PLAYBACK_8) ? chip->dma8 : chip->dma16; in snd_sb16_playback_pointer() 467 dma = (chip->mode & SB_MODE_CAPTURE_8) ? chip->dma8 : chip->dma16; in snd_sb16_capture_pointer() 533 if (chip->dma16 >= 0 && !(chip->mode & SB_MODE_CAPTURE_16)) { in snd_sb16_playback_open() 537 if (chip->dma16 <= 3) { in snd_sb16_playback_open() 550 if (chip->dma16 < 0) { in snd_sb16_playback_open() 608 if (chip->dma16 >= 0 && !(chip->mode & SB_MODE_PLAYBACK_16)) { in snd_sb16_capture_open() 612 if (chip->dma16 <= 3) { in snd_sb16_capture_open() 625 if (chip->dma16 < 0) { in snd_sb16_capture_open() [all …]
|
D | sb16.c | 83 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 5,6,7 */ variable 116 module_param_hw_array(dma16, int, dma, NULL, 0444); 117 MODULE_PARM_DESC(dma16, "16-bit DMA # for SB16 driver."); 279 dma16[dev] = pnp_dma(pdev, 1); in snd_card_sb16_pnp() 284 dma8[dev], dma16[dev], irq[dev]); in snd_card_sb16_pnp() 356 xdma16 = dma16[dev]; in snd_sb16_probe() 544 if (dma16[dev] == SNDRV_AUTO_DMA) { in snd_sb16_isa_probe() 545 if ((dma16[dev] = snd_legacy_find_free_dma(possible_dmas16)) < 0) { in snd_sb16_isa_probe()
|
D | sb8_main.c | 151 dma = chip->dma16; in snd_sb8_playback_prepare() 302 dma = chip->dma16; in snd_sb8_capture_prepare() 423 dma = chip->dma16; in snd_sb8_playback_pointer() 439 dma = chip->dma16; in snd_sb8_capture_pointer() 514 if (chip->dma16 == 5 || chip->dma16 == 7) in snd_sb8_open() 543 if (chip->dma8 > 3 || chip->dma16 >= 0) { in snd_sb8_open() 613 if (chip->dma8 > 3 || chip->dma16 >= 0) in snd_sb8dsp_pcm()
|
/sound/oss/ |
D | kahlua.c | 62 u8 irq, dma8, dma16; in probe_one() local 103 dma16 = 5; in probe_one() 105 dma16 = 6; in probe_one() 107 dma16 = 7; in probe_one() 141 irq, dma8, dma16); in probe_one() 155 hw_config->dma2 = dma16; in probe_one()
|
D | sb_audio.c | 55 if (devc->dma16 != -1 && devc->dma16 != devc->dma8 && !devc->duplex) in sb_audio_open() 57 if (sound_open_dma(devc->dma16, "Sound Blaster 16 bit")) in sb_audio_open() 109 devc->dma16 : devc->dma8; in sb_audio_close() 111 if (devc->dma16 != -1 && devc->dma16 != devc->dma8 && !devc->duplex) in sb_audio_close() 112 sound_close_dma(devc->dma16); in sb_audio_close() 471 if (devc->dma16 >= 0 && devc->dma16 != devc->dma8) in sbpro_audio_prepare_for_input() 473 devc->bits == 16 ? devc->dma16 : devc->dma8; in sbpro_audio_prepare_for_input() 500 if (devc->dma16 >= 0 && devc->dma16 != devc->dma8) in sbpro_audio_prepare_for_output() 501 …audio_devs[dev]->dmap_out->dma = audio_devs[dev]->dmap_in->dma = devc->bits == 16 ? devc->dma16 : … in sbpro_audio_prepare_for_output() 640 devc->dma16 : devc->dma8; in sb16_audio_prepare_for_input() [all …]
|
D | sb_common.c | 289 if (devc->dma16 >= 5 && devc->dma16 <= 7) in sb16_set_dma_hw() 290 bits |= (1 << devc->dma16); in sb16_set_dma_hw() 417 devc->dma16 = hw_config->dma2; in init_Jazz16() 527 devc->dma16 = -1; in sb_dsp_detect() 795 devc->dma16 = devc->dma8; in sb_dsp_init() 799 devc->dma16 = devc->dma8; in sb_dsp_init() 802 devc->dma16 = hw_config->dma2; in sb_dsp_init() 859 if (devc->dma16 >= 0 && devc->dma16 != devc->dma8) in sb_dsp_init() 861 if (sound_alloc_dma(devc->dma16, "SoundBlaster16")) in sb_dsp_init() 862 printk(KERN_WARNING "Sound Blaster: can't allocate 16 bit DMA channel %d.\n", devc->dma16); in sb_dsp_init() [all …]
|
D | sb_card.c | 46 static int __initdata dma16 = -1; variable 70 module_param_hw(dma16, int, dma, 000); 71 MODULE_PARM_DESC(dma16, "16-bit DMA channel (5,6,7)"); 149 legacy->conf.dma2 = dma16; in sb_init_legacy() 311 "irq=%d, dma=%d, dma16=%d\n",io, irq, dma, dma16); in sb_init()
|
D | pas2_card.c | 379 static int __initdata dma16 = -1; /* Set this for modules that need it */ variable 389 module_param_hw(dma16, int, dma, 0); 409 cfg.dma2 = dma16; in init_pas2() 447 dma16 = ints[4]; in setup_pas2()
|
D | sb_ess.c | 751 tmp_dma = devc->dma16; in ess_audio_init() 752 devc->dma16 = devc->dma8; in ess_audio_init() 1238 , devc->dma8, devc->dma16, devc->duplex); 1267 dma = devc->dma16; 1323 devc->dma16 = hw_config->dma2; 1329 if (devc->dma8 != devc->dma16 && devc->dma16 != -1) {
|
D | sb.h | 96 int dma8, dma16; member
|
/sound/pci/ |
D | cs5530.c | 111 u8 irq, dma8, dma16 = 0; in snd_cs5530_create() local 179 dma16 = 5; in snd_cs5530_create() 181 dma16 = 6; in snd_cs5530_create() 183 dma16 = 7; in snd_cs5530_create() 216 dev_info(card->dev, "IRQ: %d DMA8: %d DMA16: %d\n", irq, dma8, dma16); in snd_cs5530_create() 219 dma16, SB_HW_CS5530, &chip->sb); in snd_cs5530_create()
|
/sound/isa/ |
D | als100.c | 64 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */ variable 146 dma16[dev] = pnp_dma(pdev, 0); in snd_card_als100_pnp() 209 dma16[dev] = -1; in snd_card_als100_probe() 213 dma8[dev], dma16[dev], in snd_card_als100_probe() 234 dma16[dev]); in snd_card_als100_probe()
|