Searched refs:freq16 (Results 1 – 1 of 1) sorted by relevance
100 unsigned short snd_gf1_translate_freq(struct snd_gus_card * gus, unsigned int freq16) in snd_gf1_translate_freq() argument102 freq16 >>= 3; in snd_gf1_translate_freq()103 if (freq16 < 50) in snd_gf1_translate_freq()104 freq16 = 50; in snd_gf1_translate_freq()105 if (freq16 & 0xf8000000) { in snd_gf1_translate_freq()106 freq16 = ~0xf8000000; in snd_gf1_translate_freq()107 snd_printk(KERN_ERR "snd_gf1_translate_freq: overflow - freq = 0x%x\n", freq16); in snd_gf1_translate_freq()109 return ((freq16 << 9) + (gus->gf1.playback_freq >> 1)) / gus->gf1.playback_freq; in snd_gf1_translate_freq()