Home
last modified time | relevance | path

Searched refs:base_rate (Results 1 – 5 of 5) sorted by relevance

/sound/pci/echoaudio/
Dechoaudio_3g.c260 u32 control_reg, clock, base_rate, frq_reg; in set_sample_rate() local
307 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()
Dlayla24_dsp.c159 u32 control_reg, clock, base_rate; in set_sample_rate() local
218 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()
/sound/soc/codecs/
Darizona.c1621 unsigned int base_rate; in arizona_startup() local
1628 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()
Dmadera.c2909 unsigned int base_rate; in madera_startup() local
2918 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()
/sound/core/
Dpcm_lib.c1477 unsigned int base_rate = (unsigned int)(uintptr_t)rule->private; in snd_pcm_hw_rule_noresample_func() local
1481 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() argument
1497 (void *)(uintptr_t)base_rate, in snd_pcm_hw_rule_noresample()