Home
last modified time | relevance | path

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

/linux-6.6.21/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.c222 struct sound_settings dmasound = { variable
223 .lock = __SPIN_LOCK_UNLOCKED(dmasound.lock)
228 dmasound.mach.silence(); /* _MUST_ stop DMA */ in sound_silence()
233 return dmasound.mach.setFormat(format); in sound_set_format()
240 return dmasound.soft.speed; in sound_set_speed()
247 if (dmasound.mach.max_dsp_speed && in sound_set_speed()
248 (speed > dmasound.mach.max_dsp_speed)) in sound_set_speed()
249 speed = dmasound.mach.max_dsp_speed ; in sound_set_speed()
251 dmasound.soft.speed = speed; in sound_set_speed()
253 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.h170 extern struct sound_settings dmasound;
183 return dmasound.mach.setVolume(volume); in dmasound_set_volume()
188 return dmasound.mach.setBass ? dmasound.mach.setBass(bass) : 50; in dmasound_set_bass()
193 return dmasound.mach.setTreble ? dmasound.mach.setTreble(treble) : 50; in dmasound_set_treble()
198 return dmasound.mach.setGain ? dmasound.mach.setGain(gain) : 100; in dmasound_set_gain()
/linux-6.6.21/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.c411 if (dev->dmasound.dma_running) { in saa7134_set_dmabits()
516 (dev->dmasound.priv_data != NULL) ) in saa7134_irq()
1240 if (saa7134_dmasound_init && !dev->dmasound.priv_data) in saa7134_initdev()
1290 if (saa7134_dmasound_exit && dev->dmasound.priv_data) { in saa7134_finidev()
1326 if (dev->dmasound.priv_data != NULL) { in saa7134_finidev()
1327 free_irq(pci_dev->irq, &dev->dmasound); in saa7134_finidev()
1328 dev->dmasound.priv_data = NULL; in saa7134_finidev()
1446 dev->dmasound.dma_running = 0; in saa7134_resume()
Dsaa7134.h561 struct saa7134_dmasound dmasound; member
/linux-6.6.21/sound/
DMakefile6 obj-$(CONFIG_DMASOUND) += oss/dmasound/
DKconfig40 source "sound/oss/dmasound/Kconfig"
/linux-6.6.21/Documentation/arch/m68k/
Dkernel-options.rst300 3.5) dmasound=
303 :Syntax: dmasound=[<buffers>,<buffer-size>[,<catch-radius>]]
/linux-6.6.21/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst174 At the time of writing, all code has been removed except for dmasound