Searched refs:base_rate (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/sound/pci/echoaudio/ |
H A D | echoaudio_3g.c | 260 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()
|
H A D | layla24_dsp.c | 162 u32 control_reg, clock, base_rate; in set_sample_rate() local 221 base_rate = rate >> 1; in set_sample_rate() 224 base_rate = rate; in set_sample_rate() 227 if (base_rate < 25000) in set_sample_rate() 228 base_rate = 25000; in set_sample_rate() 234 cpu_to_le32(LAYLA24_MAGIC_NUMBER / base_rate - 2); in set_sample_rate()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-sprd.c | 90 u32 base_rate; member 238 div = sdhci_sprd_calc_div(sprd_host->base_rate, clk); in _sdhci_sprd_set_clock() 801 sprd_host->base_rate = clk_get_rate(sprd_host->clk_sdio); in sdhci_sprd_probe() 802 if (!sprd_host->base_rate) in sdhci_sprd_probe() 803 sprd_host->base_rate = SDHCI_SPRD_CLK_DEF_RATE; in sdhci_sprd_probe()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | arizona.c | 1622 unsigned int base_rate; in arizona_startup() local 1629 base_rate = priv->sysclk; in arizona_startup() 1632 base_rate = priv->asyncclk; in arizona_startup() 1638 if (base_rate == 0) in arizona_startup() 1640 else if (base_rate % 8000) in arizona_startup()
|
H A D | madera.c | 2946 unsigned int base_rate; in madera_startup() local 2955 base_rate = priv->sysclk; in madera_startup() 2959 base_rate = priv->asyncclk; in madera_startup() 2969 if (base_rate == 0) in madera_startup() 2971 else if (base_rate % 4000) in madera_startup() 2977 if (base_rate == 0) in madera_startup() 2979 else if (base_rate % 4000) in madera_startup()
|
/openbmc/linux/sound/core/ |
H A D | pcm_lib.c | 1513 unsigned int base_rate = (unsigned int)(uintptr_t)rule->private; in snd_pcm_hw_rule_noresample_func() local 1517 return snd_interval_list(rate, 1, &base_rate, 0); in snd_pcm_hw_rule_noresample_func() 1528 unsigned int base_rate) in snd_pcm_hw_rule_noresample() argument 1533 (void *)(uintptr_t)base_rate, in snd_pcm_hw_rule_noresample()
|
/openbmc/linux/include/sound/ |
H A D | pcm.h | 1083 unsigned int base_rate);
|