Searched refs:div0 (Results 1 – 2 of 2) sorted by relevance
/sound/isa/ |
D | es18xx.c | 399 unsigned int bits, div0; in snd_es18xx_rate_set() local 414 div0 = 256 - 7160000*20/(8*82*runtime->rate); in snd_es18xx_rate_set() 422 snd_es18xx_write(chip, 0xA2, div0); in snd_es18xx_rate_set() 423 snd_es18xx_mixer_write(chip, 0x72, div0); in snd_es18xx_rate_set() 426 snd_es18xx_write(chip, 0xA2, div0); in snd_es18xx_rate_set()
|
/sound/pci/ |
D | es1938.c | 448 unsigned int bits, div0; in snd_es1938_rate_set() local 456 div0 = 256 - 7160000*20/(8*82*runtime->rate); in snd_es1938_rate_set() 460 snd_es1938_mixer_write(chip, 0x72, div0); in snd_es1938_rate_set() 463 snd_es1938_write(chip, 0xA2, div0); in snd_es1938_rate_set()
|