Searched refs:base_rate (Results 1 – 5 of 5) sorted by relevance
260 u32 control_reg, clock, base_rate, frq_reg; in set_sample_rate() local307 base_rate = rate; in set_sample_rate()308 if (base_rate > 50000) in set_sample_rate()309 base_rate /= 2; in set_sample_rate()310 if (base_rate < 32000) in set_sample_rate()311 base_rate = 32000; in set_sample_rate()313 frq_reg = E3G_MAGIC_NUMBER / base_rate - 2; in set_sample_rate()
159 u32 control_reg, clock, base_rate; in set_sample_rate() local218 base_rate = rate >> 1; in set_sample_rate()221 base_rate = rate; in set_sample_rate()224 if (base_rate < 25000) in set_sample_rate()225 base_rate = 25000; in set_sample_rate()231 cpu_to_le32(LAYLA24_MAGIC_NUMBER / base_rate - 2); in set_sample_rate()
1621 unsigned int base_rate; in arizona_startup() local1628 base_rate = priv->sysclk; in arizona_startup()1631 base_rate = priv->asyncclk; in arizona_startup()1637 if (base_rate == 0) in arizona_startup()1639 else if (base_rate % 8000) in arizona_startup()
2909 unsigned int base_rate; in madera_startup() local2918 base_rate = priv->sysclk; in madera_startup()2922 base_rate = priv->asyncclk; in madera_startup()2932 if (base_rate == 0) in madera_startup()2934 else if (base_rate % 4000) in madera_startup()2940 if (base_rate == 0) in madera_startup()2942 else if (base_rate % 4000) in madera_startup()
1477 unsigned int base_rate = (unsigned int)(uintptr_t)rule->private; in snd_pcm_hw_rule_noresample_func() local1481 return snd_interval_list(rate, 1, &base_rate, 0); in snd_pcm_hw_rule_noresample_func()1492 unsigned int base_rate) in snd_pcm_hw_rule_noresample() argument1497 (void *)(uintptr_t)base_rate, in snd_pcm_hw_rule_noresample()