Searched refs:base_rate (Results 1 – 4 of 4) sorted by relevance
258 u32 control_reg, clock, base_rate, frq_reg; in set_sample_rate() local305 base_rate = rate; in set_sample_rate()306 if (base_rate > 50000) in set_sample_rate()307 base_rate /= 2; in set_sample_rate()308 if (base_rate < 32000) in set_sample_rate()309 base_rate = 32000; in set_sample_rate()311 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()
1376 unsigned int base_rate; in arizona_startup() local1380 base_rate = priv->sysclk; in arizona_startup()1383 base_rate = priv->asyncclk; in arizona_startup()1389 if (base_rate == 0) in arizona_startup()1392 if (base_rate % 8000) in arizona_startup()
1527 unsigned int base_rate = (unsigned int)(uintptr_t)rule->private; in snd_pcm_hw_rule_noresample_func() local1531 return snd_interval_list(rate, 1, &base_rate, 0); in snd_pcm_hw_rule_noresample_func()1542 unsigned int base_rate) in snd_pcm_hw_rule_noresample() argument1547 (void *)(uintptr_t)base_rate, in snd_pcm_hw_rule_noresample()