Lines Matching refs:divide
796 int divide; in snd_es1968_bob_start() local
805 divide = 1; in snd_es1968_bob_start()
806 while ((prescale > 5) && (divide < 32)) { in snd_es1968_bob_start()
808 divide <<= 1; in snd_es1968_bob_start()
810 divide >>= 1; in snd_es1968_bob_start()
813 for (; divide < 31; divide++) in snd_es1968_bob_start()
815 ((ESS_SYSCLK >> (prescale + 9)) / (divide + 1))) break; in snd_es1968_bob_start()
818 if (divide == 0) { in snd_es1968_bob_start()
819 divide++; in snd_es1968_bob_start()
822 } else if (divide > 1) in snd_es1968_bob_start()
823 divide--; in snd_es1968_bob_start()
825 __maestro_write(chip, 6, 0x9000 | (prescale << 5) | divide); /* set reg */ in snd_es1968_bob_start()