Home
last modified time | relevance | path

Searched refs:dma8 (Results 1 – 16 of 16) sorted by relevance

/sound/oss/
Dkahlua.c62 u8 irq, dma8, dma16; in probe_one() local
98 dma8 = mixer_read(io, 0x81); in probe_one()
102 if(dma8 & 0x20) in probe_one()
104 else if(dma8 & 0x40) in probe_one()
106 else if(dma8 & 0x80) in probe_one()
114 if(dma8 & 0x01) in probe_one()
115 dma8 = 0; in probe_one()
116 else if(dma8 & 0x02) in probe_one()
117 dma8 = 1; in probe_one()
118 else if(dma8 & 0x08) in probe_one()
[all …]
Dsb_audio.c55 if (devc->dma16 != -1 && devc->dma16 != devc->dma8 && !devc->duplex) in sb_audio_open()
111 audio_devs[dev]->dmap_out->dma = devc->dma8; in sb_audio_close()
113 devc->dma16 : devc->dma8; in sb_audio_close()
115 if (devc->dma16 != -1 && devc->dma16 != devc->dma8 && !devc->duplex) in sb_audio_close()
475 if (devc->dma16 >= 0 && devc->dma16 != devc->dma8) in sbpro_audio_prepare_for_input()
477 devc->bits == 16 ? devc->dma16 : devc->dma8; in sbpro_audio_prepare_for_input()
504 if (devc->dma16 >= 0 && devc->dma16 != devc->dma8) in sbpro_audio_prepare_for_output()
505 …[dev]->dmap_out->dma = audio_devs[dev]->dmap_in->dma = devc->bits == 16 ? devc->dma16 : devc->dma8; in sbpro_audio_prepare_for_output()
644 devc->dma16 : devc->dma8; in sb16_audio_prepare_for_input()
648 audio_devs[dev]->dmap_out->dma = devc->dma8; in sb16_audio_prepare_for_input()
[all …]
Dsb_common.c282 if (devc->dma8 != 0 && devc->dma8 != 1 && devc->dma8 != 3) in sb16_set_dma_hw()
284 printk(KERN_ERR "SB16: Invalid 8 bit DMA (%d)\n", devc->dma8); in sb16_set_dma_hw()
287 bits = (1 << devc->dma8); in sb16_set_dma_hw()
525 devc->dma8 = hw_config->dma; in sb_dsp_detect()
795 devc->dma16 = devc->dma8; in sb_dsp_init()
799 devc->dma16 = devc->dma8; in sb_dsp_init()
853 if (!(devc->caps & SB_NO_AUDIO) && devc->dma8 >= 0) in sb_dsp_init()
855 if (sound_alloc_dma(devc->dma8, "SoundBlaster8")) in sb_dsp_init()
857 printk(KERN_WARNING "Sound Blaster: Can't allocate 8 bit DMA channel %d\n", devc->dma8); in sb_dsp_init()
859 if (devc->dma16 >= 0 && devc->dma16 != devc->dma8) in sb_dsp_init()
[all …]
Dsb_ess.c751 devc->dma16 = devc->dma8; in ess_audio_init()
752 devc->dma8 = tmp_dma; in ess_audio_init()
1242 , devc->dma8, devc->dma16, devc->duplex);
1248 dma = devc->dma8;
1333 if (devc->dma8 != devc->dma16 && devc->dma16 != -1) {
Dsb.h95 int dma8, dma16; member
/sound/pci/
Dcs5530.c111 u8 irq, dma8, dma16 = 0; in snd_cs5530_create() local
176 dma8 = snd_cs5530_mixer_read(sb_base, 0x81); in snd_cs5530_create()
178 if (dma8 & 0x20) in snd_cs5530_create()
180 else if (dma8 & 0x40) in snd_cs5530_create()
182 else if (dma8 & 0x80) in snd_cs5530_create()
190 if (dma8 & 0x01) in snd_cs5530_create()
191 dma8 = 0; in snd_cs5530_create()
192 else if (dma8 & 02) in snd_cs5530_create()
193 dma8 = 1; in snd_cs5530_create()
194 else if (dma8 & 0x08) in snd_cs5530_create()
[all …]
/sound/isa/sb/
Dsb_common.c192 if (chip->dma8 >= 0) { in snd_sbdsp_free()
193 disable_dma(chip->dma8); in snd_sbdsp_free()
194 free_dma(chip->dma8); in snd_sbdsp_free()
196 if (chip->dma16 >= 0 && chip->dma16 != chip->dma8) { in snd_sbdsp_free()
215 int dma8, in snd_sbdsp_create() argument
237 chip->dma8 = -1; in snd_sbdsp_create()
262 if (dma8 >= 0 && request_dma(dma8, "SoundBlaster - 8bit")) { in snd_sbdsp_create()
263 snd_printk(KERN_ERR "sb: can't grab DMA8 %d\n", dma8); in snd_sbdsp_create()
267 chip->dma8 = dma8; in snd_sbdsp_create()
Djazz16.c44 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; variable
61 module_param_array(dma8, int, NULL, 0444);
62 MODULE_PARM_DESC(dma8, "DMA8 # for jazz16 driver.");
165 if (jazz_dma_bits[chip->dma8] == 0 || in jazz16_configure_board()
174 jazz_dma_bits[chip->dma8] | in jazz16_configure_board()
197 if (dma8[dev] != SNDRV_AUTO_DMA && in snd_jazz16_match()
198 dma8[dev] != 1 && dma8[dev] != 3) { in snd_jazz16_match()
248 xdma8 = dma8[dev]; in snd_jazz16_probe()
277 dma8[dev], dma16[dev], in snd_jazz16_probe()
Dsb8.c42 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3 */ variable
54 module_param_array(dma8, int, NULL, 0444);
55 MODULE_PARM_DESC(dma8, "8-bit DMA # for SB8 driver.");
90 if (dma8[dev] == SNDRV_AUTO_DMA) { in snd_sb8_match()
118 dma8[dev], in snd_sb8_probe()
133 dma8[dev], in snd_sb8_probe()
193 irq[dev], dma8[dev]); in snd_sb8_probe()
Dsb16_main.c276 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()
547 if (chip->dma8 >= 0 && !(chip->mode & SB_MODE_CAPTURE_8)) { in snd_sb16_playback_open()
622 if (chip->dma8 >= 0 && !(chip->mode & SB_MODE_PLAYBACK_8)) { in snd_sb16_capture_open()
672 if (chip->dma8 < 0 || chip->dma16 < 0) { in snd_sb16_set_dma_mode()
691 if (chip->dma8 < 0 || chip->dma16 < 0) in snd_sb16_get_dma_mode()
786 if (chip->dma8 >= 0) { in snd_sb16dsp_configure()
787 switch (chip->dma8) { in snd_sb16dsp_configure()
[all …]
Dsb16.c82 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3 */ variable
114 module_param_array(dma8, int, NULL, 0444);
115 MODULE_PARM_DESC(dma8, "8-bit DMA # for SB16 driver.");
278 dma8[dev] = pnp_dma(pdev, 0); in snd_card_sb16_pnp()
284 dma8[dev], dma16[dev], irq[dev]); in snd_card_sb16_pnp()
355 xdma8 = dma8[dev]; in snd_sb16_probe()
538 if (dma8[dev] == SNDRV_AUTO_DMA) { in snd_sb16_isa_probe()
539 if ((dma8[dev] = snd_legacy_find_free_dma(possible_dmas8)) < 0) { in snd_sb16_isa_probe()
Dsb8_main.c155 dma = chip->dma8; in snd_sb8_playback_prepare()
306 dma = chip->dma8; in snd_sb8_capture_prepare()
421 dma = chip->dma8; in snd_sb8_playback_pointer()
437 dma = chip->dma8; in snd_sb8_capture_pointer()
543 if (chip->dma8 > 3 || chip->dma16 >= 0) { in snd_sb8_open()
615 if (chip->dma8 > 3 || chip->dma16 >= 0) in snd_sb8dsp_pcm()
/sound/isa/es1688/
Des1688.c62 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3 */ variable
84 module_param_array(dma8, int, NULL, 0444);
85 MODULE_PARM_DESC(dma8, "8-bit DMA # for " CRD_NAME " driver.");
115 if (dma8[n] == SNDRV_AUTO_DMA) { in snd_es1688_legacy_create()
116 dma8[n] = snd_legacy_find_free_dma(possible_dmas); in snd_es1688_legacy_create()
117 if (dma8[n] < 0) { in snd_es1688_legacy_create()
125 irq[n], mpu_irq[n], dma8[n], ES1688_HW_AUTO); in snd_es1688_legacy_create()
131 irq[n], mpu_irq[n], dma8[n], ES1688_HW_AUTO); in snd_es1688_legacy_create()
156 chip->irq, chip->dma8); in snd_es1688_probe()
251 dma8[n] = pnp_dma(pdev, 0); in snd_card_es968_pnp()
[all …]
Des1688_lib.c258 dma = chip->dma8; in snd_es1688_init()
354 snd_dma_pointer(chip->dma8, chip->dma_size)); in snd_es1688_trigger()
418 snd_dma_program(chip->dma8, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT); in snd_es1688_playback_prepare()
475 snd_dma_program(chip->dma8, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT); in snd_es1688_capture_prepare()
510 ptr = snd_dma_pointer(chip->dma8, chip->dma_size); in snd_es1688_playback_pointer()
521 ptr = snd_dma_pointer(chip->dma8, chip->dma_size); in snd_es1688_capture_pointer()
621 if (chip->dma8 >= 0) { in snd_es1688_free()
622 disable_dma(chip->dma8); in snd_es1688_free()
623 free_dma(chip->dma8); in snd_es1688_free()
647 int dma8, in snd_es1688_create() argument
[all …]
/sound/isa/gus/
Dgusextreme.c56 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3 */ variable
81 module_param_array(dma8, int, NULL, 0444);
82 MODULE_PARM_DESC(dma8, "8-bit DMA # for " CRD_NAME " driver.");
114 if (dma8[n] == SNDRV_AUTO_DMA) { in snd_gusextreme_es1688_create()
115 dma8[n] = snd_legacy_find_free_dma(possible_dmas); in snd_gusextreme_es1688_create()
116 if (dma8[n] < 0) { in snd_gusextreme_es1688_create()
124 irq[n], mpu_irq[n], dma8[n], ES1688_HW_1688); in snd_gusextreme_es1688_create()
130 irq[n], mpu_irq[n], dma8[n], ES1688_HW_1688); in snd_gusextreme_es1688_create()
329 gus->gf1.irq, es1688->irq, gus->gf1.dma1, es1688->dma8); in snd_gusextreme_probe()
/sound/isa/
Dals100.c63 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */ variable
143 dma8[dev] = pnp_dma(pdev, 0); in snd_card_als100_pnp()
145 dma8[dev] = pnp_dma(pdev, 1); in snd_card_als100_pnp()
213 dma8[dev], dma16[dev], in snd_card_als100_probe()
227 irq[dev], dma8[dev]); in snd_card_als100_probe()
233 irq[dev], dma8[dev], dma16[dev]); in snd_card_als100_probe()