Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/sound/dmasound/
Ddmasound_core.c229 struct sound_settings dmasound; variable
233 dmasound.mach.silence(); /* _MUST_ stop DMA */ in sound_silence()
238 return dmasound.mach.setFormat(format); in sound_set_format()
244 return dmasound.soft.speed; in sound_set_speed()
251 if (dmasound.mach.max_dsp_speed && in sound_set_speed()
252 (speed > dmasound.mach.max_dsp_speed)) in sound_set_speed()
253 speed = dmasound.mach.max_dsp_speed ; in sound_set_speed()
255 dmasound.soft.speed = speed; in sound_set_speed()
257 if (dmasound.minDev == SND_DEV_DSP) in sound_set_speed()
258 dmasound.dsp.speed = dmasound.soft.speed; in sound_set_speed()
[all …]
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()
238 if (!dmasound.soft.stereo) { in ata_ct_s16be()
269 if (!dmasound.soft.stereo) { in ata_ct_u16be()
307 if (!dmasound.soft.stereo) { in ata_ct_s16le()
346 if (!dmasound.soft.stereo) { in ata_ct_u16le()
381 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ctx_law()
385 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in ata_ctx_law()
[all …]
Ddmasound_paula.c107 AmiSetTreble(dmasound.treble); in disable_heartbeat()
165 if (!dmasound.soft.stereo) { in ami_ct_s8()
199 if (!dmasound.soft.stereo) { \
251 if (!dmasound.soft.stereo) { \
377 if (dmasound.soft.speed) in AmiInit()
378 period = amiga_colorclock/dmasound.soft.speed-1; in AmiInit()
381 dmasound.hard = dmasound.soft; in AmiInit()
382 dmasound.trans_write = &transAmiga; in AmiInit()
390 dmasound.hard.speed = amiga_colorclock/(period+1); in AmiInit()
406 return dmasound.soft.format; in AmiSetFormat()
[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()
430 speed=(dmasound.hard.speed==10000 ? 0 : 1); in Q40PlayNextFrame()
[all …]
Dtrans_16.c68 short *table = dmasound.soft.format == AFMT_MU_LAW in pmac_ct_law()
72 int val, stereo = dmasound.soft.stereo; in pmac_ct_law()
103 int val, stereo = dmasound.soft.stereo; in pmac_ct_s8()
134 int val, stereo = dmasound.soft.stereo; in pmac_ct_u8()
164 int stereo = dmasound.soft.stereo; in pmac_ct_s16()
193 int mask = (dmasound.soft.format == AFMT_U16_LE? 0x0080: 0x8000); in pmac_ct_u16()
194 int stereo = dmasound.soft.stereo; in pmac_ct_u16()
225 (dmasound.soft.format == AFMT_MU_LAW in pmac_ctx_law()
230 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in pmac_ctx_law()
232 int stereo = dmasound.soft.stereo; in pmac_ctx_law()
[all …]
Ddmasound.h184 extern struct sound_settings dmasound;
197 return dmasound.mach.setVolume(volume); in dmasound_set_volume()
202 return dmasound.mach.setBass ? dmasound.mach.setBass(bass) : 50; in dmasound_set_bass()
207 return dmasound.mach.setTreble ? dmasound.mach.setTreble(treble) : 50; in dmasound_set_treble()
212 return dmasound.mach.setGain ? dmasound.mach.setGain(gain) : 100; in dmasound_set_gain()
Ddmasound_awacs.c581 dmasound.hard.speed = 44100 ; in tumbler_set_frame_rate()
592 dmasound.hard.speed = 44100 ; in daca_set_frame_rate()
614 && dmasound.soft.speed <= awacs_freqs[i] + tolerance) in awacs_set_frame_rate()
617 dmasound.hard.speed = awacs_freqs[i]; in awacs_set_frame_rate()
623 return dmasound.hard.speed; in awacs_set_frame_rate()
644 dmasound.hard.speed = in set_frame_rate()
648 dmasound.hard.speed = in set_frame_rate()
652 dmasound.hard.speed = in set_frame_rate()
656 dmasound.hard.speed = in set_frame_rate()
660 return dmasound.hard.speed ; in set_frame_rate()
[all …]
DMakefile10 O_TARGET = dmasound.o
DConfig.in1 # drivers/sound/dmasound/Config.in
/linux-2.4.37.9/drivers/sound/
DMakefile104 subdir-$(CONFIG_DMASOUND) += dmasound
107 obj-y += dmasound/dmasound.o
/linux-2.4.37.9/arch/ppc64/
Dconfig.in229 source drivers/sound/dmasound/Config.in
/linux-2.4.37.9/arch/ppc/
Dconfig.in597 source drivers/sound/dmasound/Config.in
/linux-2.4.37.9/arch/m68k/
Dconfig.in532 source drivers/sound/dmasound/Config.in
/linux-2.4.37.9/Documentation/
Dkernel-parameters.txt197 dmasound= [HW,SOUND] (sound subsystem buffers).
/linux-2.4.37.9/Documentation/m68k/
Dkernel-options.txt281 3.5) dmasound=
284 Syntax: dmasound=[<buffers>,<buffer-size>[,<catch-radius>]]