Home
last modified time | relevance | path

Searched refs:dmasound (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/sound/oss/dmasound/
Ddmasound_atari.c159 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ct_law()
165 if (dmasound.soft.stereo) in ata_ct_law()
188 if (dmasound.soft.stereo) in ata_ct_s8()
204 if (!dmasound.soft.stereo) { in ata_ct_u8()
239 if (!dmasound.soft.stereo) { in ata_ct_s16be()
271 if (!dmasound.soft.stereo) { in ata_ct_u16be()
311 if (!dmasound.soft.stereo) { in ata_ct_s16le()
352 if (!dmasound.soft.stereo) { in ata_ct_u16le()
389 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ctx_law()
393 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_law()
[all …]
Ddmasound_core.c224 struct sound_settings dmasound = { variable
225 .lock = __SPIN_LOCK_UNLOCKED(dmasound.lock)
230 dmasound.mach.silence(); /* _MUST_ stop DMA */ in sound_silence()
235 return dmasound.mach.setFormat(format); in sound_set_format()
242 return dmasound.soft.speed; in sound_set_speed()
249 if (dmasound.mach.max_dsp_speed && in sound_set_speed()
250 (speed > dmasound.mach.max_dsp_speed)) in sound_set_speed()
251 speed = dmasound.mach.max_dsp_speed ; in sound_set_speed()
253 dmasound.soft.speed = speed; in sound_set_speed()
255 if (dmasound.minDev == SND_DEV_DSP) in sound_set_speed()
[all …]
Ddmasound_q40.c66 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law()
123 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law()
127 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_law()
163 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_s8()
200 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_u8()
233 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law()
237 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_law()
276 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_s8()
315 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_u8()
420 speed=(dmasound.hard.speed==10000 ? 0 : 1); in Q40PlayNextFrame()
[all …]
Ddmasound_paula.c104 AmiSetTreble(dmasound.treble); in disable_heartbeat()
162 if (!dmasound.soft.stereo) { in ami_ct_s8()
196 if (!dmasound.soft.stereo) { \
249 if (!dmasound.soft.stereo) { \
364 if (dmasound.soft.speed) in AmiInit()
365 period = amiga_colorclock/dmasound.soft.speed-1; in AmiInit()
368 dmasound.hard = dmasound.soft; in AmiInit()
369 dmasound.trans_write = &transAmiga; in AmiInit()
377 dmasound.hard.speed = amiga_colorclock/(period+1); in AmiInit()
393 return dmasound.soft.format; in AmiSetFormat()
[all …]
Ddmasound.h176 extern struct sound_settings dmasound;
189 return dmasound.mach.setVolume(volume); in dmasound_set_volume()
194 return dmasound.mach.setBass ? dmasound.mach.setBass(bass) : 50; in dmasound_set_bass()
199 return dmasound.mach.setTreble ? dmasound.mach.setTreble(treble) : 50; in dmasound_set_treble()
204 return dmasound.mach.setGain ? dmasound.mach.setGain(gain) : 100; in dmasound_set_gain()
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-alsa.c91 dev->dmasound.dma_blk = -1; in saa7134_dma_stop()
92 dev->dmasound.dma_running = 0; in saa7134_dma_stop()
107 dev->dmasound.dma_blk = 0; in saa7134_dma_start()
108 dev->dmasound.dma_running = 1; in saa7134_dma_start()
129 if (UNSET == dev->dmasound.dma_blk) { in saa7134_irq_alsa_done()
137 if (0 == (dev->dmasound.dma_blk & 0x01)) in saa7134_irq_alsa_done()
141 if (1 == (dev->dmasound.dma_blk & 0x01)) in saa7134_irq_alsa_done()
150 if (dev->dmasound.read_count >= dev->dmasound.blksize * (dev->dmasound.blocks-2)) { in saa7134_irq_alsa_done()
152 dev->dmasound.read_count, in saa7134_irq_alsa_done()
153 dev->dmasound.bufsize, dev->dmasound.blocks); in saa7134_irq_alsa_done()
[all …]
Dsaa7134-core.c421 if (dev->dmasound.dma_running) { in saa7134_set_dmabits()
526 (dev->dmasound.priv_data != NULL) ) in saa7134_irq()
1268 if (saa7134_dmasound_init && !dev->dmasound.priv_data) in saa7134_initdev()
1315 if (saa7134_dmasound_exit && dev->dmasound.priv_data) { in saa7134_finidev()
1351 if (dev->dmasound.priv_data != NULL) { in saa7134_finidev()
1352 free_irq(pci_dev->irq, &dev->dmasound); in saa7134_finidev()
1353 dev->dmasound.priv_data = NULL; in saa7134_finidev()
1474 dev->dmasound.dma_running = 0; in saa7134_resume()
Dsaa7134.h561 struct saa7134_dmasound dmasound; member
/kernel/linux/linux-5.10/sound/
DMakefile6 obj-$(CONFIG_DMASOUND) += oss/dmasound/
DKconfig40 source "sound/oss/dmasound/Kconfig"
/kernel/linux/linux-5.10/Documentation/m68k/
Dkernel-options.rst300 3.5) dmasound=
303 :Syntax: dmasound=[<buffers>,<buffer-size>[,<catch-radius>]]
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dsound.patch7 obj-$(CONFIG_DMASOUND) += oss/dmasound/
/kernel/linux/linux-5.10/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst179 All codes have been deprecated except for dmasound on m68k as of