Lines Matching refs:dmasound
65 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law()
122 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law()
126 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_law()
162 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_s8()
199 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctx_u8()
232 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law()
236 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_law()
275 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_s8()
314 int hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; in q40_ctc_u8()
419 speed=(dmasound.hard.speed==10000 ? 0 : 1); in Q40PlayNextFrame()
423 if (dmasound.soft.stereo) in Q40PlayNextFrame()
453 spin_lock_irqsave(&dmasound.lock, flags); in Q40Play()
455 spin_unlock_irqrestore(&dmasound.lock, flags); in Q40Play()
460 spin_lock(&dmasound.lock); in Q40StereoInterrupt()
467 spin_unlock(&dmasound.lock); in Q40StereoInterrupt()
472 spin_lock(&dmasound.lock); in Q40MonoInterrupt()
479 spin_unlock(&dmasound.lock); in Q40MonoInterrupt()
516 if ((100 * abs(dmasound.soft.speed - freq[i]) / freq[i]) <= catchRadius) in Q40Init()
519 dmasound.hard = dmasound.soft; in Q40Init()
521 dmasound.hard.size=8; in Q40Init()
524 dmasound.soft.speed = freq[idx]; in Q40Init()
525 dmasound.trans_write = &transQ40Normal; in Q40Init()
527 dmasound.trans_write = &transQ40Expanding; in Q40Init()
531 if (dmasound.hard.speed > 20200) { in Q40Init()
533 dmasound.hard.speed = 20000; in Q40Init()
534 dmasound.trans_write = &transQ40Compressing; in Q40Init()
535 } else if (dmasound.hard.speed > 10000) { in Q40Init()
536 dmasound.hard.speed = 20000; in Q40Init()
538 dmasound.hard.speed = 10000; in Q40Init()
540 expand_bal = -dmasound.soft.speed; in Q40Init()
550 return(dmasound.soft.format); in Q40SetFormat()
560 dmasound.soft.format = format; in Q40SetFormat()
561 dmasound.soft.size = 8; in Q40SetFormat()
562 if (dmasound.minDev == SND_DEV_DSP) { in Q40SetFormat()
563 dmasound.dsp.format = format; in Q40SetFormat()
564 dmasound.dsp.size = 8; in Q40SetFormat()
621 dmasound.mach = machQ40; in dmasound_q40_init()
622 dmasound.mach.default_hard = def_hard ; in dmasound_q40_init()
623 dmasound.mach.default_soft = def_soft ; in dmasound_q40_init()