Home
last modified time | relevance | path

Searched refs:dma16 (Results 1 – 7 of 7) sorted by relevance

/sound/isa/sb/
Dsb_common.c176 int dma16, in snd_sbdsp_create() argument
195 chip->dma16 = -1; in snd_sbdsp_create()
226 if (dma16 >= 0) { in snd_sbdsp_create()
227 if (hardware != SB_HW_ALS100 && (dma16 < 5 || dma16 > 7)) { in snd_sbdsp_create()
229 dma16 = -1; in snd_sbdsp_create()
230 } else if (snd_devm_request_dma(card->dev, dma16, in snd_sbdsp_create()
232 snd_printk(KERN_ERR "sb: can't grab DMA16 %d\n", dma16); in snd_sbdsp_create()
236 chip->dma16 = dma16; in snd_sbdsp_create()
Djazz16.c42 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; variable
60 module_param_hw_array(dma16, int, dma, NULL, 0444);
61 MODULE_PARM_DESC(dma16, "DMA16 # for jazz16 driver.");
163 jazz_dma_bits[chip->dma16] == 0 || in jazz16_configure_board()
172 (jazz_dma_bits[chip->dma16] << 4))) in jazz16_configure_board()
199 if (dma16[dev] != SNDRV_AUTO_DMA && in snd_jazz16_match()
200 dma16[dev] != 5 && dma16[dev] != 7) { in snd_jazz16_match()
252 xdma16 = dma16[dev]; in snd_jazz16_probe()
271 dma8[dev], dma16[dev], in snd_jazz16_probe()
Dsb16_main.c252 dma = (chip->mode & SB_MODE_PLAYBACK_8) ? chip->dma8 : chip->dma16; in snd_sb16_playback_prepare()
321 dma = (chip->mode & SB_MODE_CAPTURE_8) ? chip->dma8 : chip->dma16; in snd_sb16_capture_prepare()
432 dma = (chip->mode & SB_MODE_PLAYBACK_8) ? chip->dma8 : chip->dma16; in snd_sb16_playback_pointer()
443 dma = (chip->mode & SB_MODE_CAPTURE_8) ? chip->dma8 : chip->dma16; in snd_sb16_capture_pointer()
509 if (chip->dma16 >= 0 && !(chip->mode & SB_MODE_CAPTURE_16)) { in snd_sb16_playback_open()
513 if (chip->dma16 <= 3) { in snd_sb16_playback_open()
526 if (chip->dma16 < 0) { in snd_sb16_playback_open()
584 if (chip->dma16 >= 0 && !(chip->mode & SB_MODE_PLAYBACK_16)) { in snd_sb16_capture_open()
588 if (chip->dma16 <= 3) { in snd_sb16_capture_open()
601 if (chip->dma16 < 0) { in snd_sb16_capture_open()
[all …]
Dsb16.c60 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 5,6,7 */ variable
93 module_param_hw_array(dma16, int, dma, NULL, 0444);
94 MODULE_PARM_DESC(dma16, "16-bit DMA # for SB16 driver.");
256 dma16[dev] = pnp_dma(pdev, 1); in snd_card_sb16_pnp()
261 dma8[dev], dma16[dev], irq[dev]); in snd_card_sb16_pnp()
323 xdma16 = dma16[dev]; in snd_sb16_probe()
516 if (dma16[dev] == SNDRV_AUTO_DMA) { in snd_sb16_isa_probe()
517 dma16[dev] = snd_legacy_find_free_dma(possible_dmas16); in snd_sb16_isa_probe()
518 if (dma16[dev] < 0) { in snd_sb16_isa_probe()
Dsb8_main.c137 dma = chip->dma16; in snd_sb8_playback_prepare()
276 dma = chip->dma16; in snd_sb8_capture_prepare()
394 dma = chip->dma16; in snd_sb8_playback_pointer()
410 dma = chip->dma16; in snd_sb8_capture_pointer()
485 if (chip->dma16 == 5 || chip->dma16 == 7) in snd_sb8_open()
515 if (chip->dma8 > 3 || chip->dma16 >= 0) { in snd_sb8_open()
580 if (chip->dma8 > 3 || chip->dma16 >= 0) in snd_sb8dsp_pcm()
/sound/pci/
Dcs5530.c82 u8 irq, dma8, dma16 = 0; in snd_cs5530_create() local
128 dma16 = 5; in snd_cs5530_create()
130 dma16 = 6; in snd_cs5530_create()
132 dma16 = 7; in snd_cs5530_create()
162 dev_info(card->dev, "IRQ: %d DMA8: %d DMA16: %d\n", irq, dma8, dma16); in snd_cs5530_create()
165 dma16, SB_HW_CS5530, &chip->sb); in snd_cs5530_create()
/sound/isa/
Dals100.c41 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */ variable
123 dma16[dev] = pnp_dma(pdev, 0); in snd_card_als100_pnp()
185 dma16[dev] = -1; in snd_card_als100_probe()
189 dma8[dev], dma16[dev], in snd_card_als100_probe()
208 dma16[dev]); in snd_card_als100_probe()