Searched refs:ssc_div (Results 1 – 1 of 1) sorted by relevance
132 unsigned long dac_rate_new, ssc_div; in snd_at73c213_set_bitrate() local147 ssc_div = ssc_rate / (BITRATE_TARGET * 2 * 16); in snd_at73c213_set_bitrate()156 ssc_div = (ssc_div + 1) & ~1UL; in snd_at73c213_set_bitrate()158 if ((ssc_rate / (ssc_div * 2 * 16)) < BITRATE_MIN) { in snd_at73c213_set_bitrate()159 ssc_div -= 2; in snd_at73c213_set_bitrate()160 if ((ssc_rate / (ssc_div * 2 * 16)) > BITRATE_MAX) in snd_at73c213_set_bitrate()167 if ((ssc_rate / (ssc_div * 2 * 16)) < BITRATE_MIN) in snd_at73c213_set_bitrate()171 dac_rate_new = 8 * (ssc_rate / ssc_div); in snd_at73c213_set_bitrate()181 ssc_div += 2; in snd_at73c213_set_bitrate()193 ssc_writel(chip->ssc->regs, CMR, ssc_div/2); in snd_at73c213_set_bitrate()[all …]