Lines Matching refs:dmasound
66 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()
424 if (dmasound.soft.stereo) in Q40PlayNextFrame()
454 spin_lock_irqsave(&dmasound.lock, flags); in Q40Play()
456 spin_unlock_irqrestore(&dmasound.lock, flags); in Q40Play()
461 spin_lock(&dmasound.lock); in Q40StereoInterrupt()
468 spin_unlock(&dmasound.lock); in Q40StereoInterrupt()
473 spin_lock(&dmasound.lock); in Q40MonoInterrupt()
480 spin_unlock(&dmasound.lock); in Q40MonoInterrupt()
517 if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) <= catchRadius) in Q40Init()
520 dmasound.hard = dmasound.soft; in Q40Init()
522 dmasound.hard.size=8; in Q40Init()
525 dmasound.soft.speed = freq[idx]; in Q40Init()
526 dmasound.trans_write = &transQ40Normal; in Q40Init()
528 dmasound.trans_write = &transQ40Expanding; in Q40Init()
532 if (dmasound.hard.speed > 20200) { in Q40Init()
534 dmasound.hard.speed = 20000; in Q40Init()
535 dmasound.trans_write = &transQ40Compressing; in Q40Init()
536 } else if (dmasound.hard.speed > 10000) { in Q40Init()
537 dmasound.hard.speed = 20000; in Q40Init()
539 dmasound.hard.speed = 10000; in Q40Init()
541 expand_bal = -dmasound.soft.speed; in Q40Init()
551 return(dmasound.soft.format); in Q40SetFormat()
561 dmasound.soft.format = format; in Q40SetFormat()
562 dmasound.soft.size = 8; in Q40SetFormat()
563 if (dmasound.minDev == SND_DEV_DSP) { in Q40SetFormat()
564 dmasound.dsp.format = format; in Q40SetFormat()
565 dmasound.dsp.size = 8; in Q40SetFormat()
622 dmasound.mach = machQ40; in dmasound_q40_init()
623 dmasound.mach.default_hard = def_hard ; in dmasound_q40_init()
624 dmasound.mach.default_soft = def_soft ; in dmasound_q40_init()