Home
last modified time | relevance | path

Searched refs:sysclk_freq (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/sound/soc/qcom/
H A Dstorm.c26 unsigned int sysclk_freq; in storm_ops_hw_params() local
40 sysclk_freq = rate * bitwidth * 2 * STORM_SYSCLK_MULT; in storm_ops_hw_params()
42 ret = snd_soc_dai_set_sysclk(snd_soc_rtd_to_cpu(soc_runtime, 0), 0, sysclk_freq, 0); in storm_ops_hw_params()
45 sysclk_freq, ret); in storm_ops_hw_params()
/openbmc/linux/sound/soc/ti/
H A Ddavinci-mcasp.c104 int sysclk_freq; member
704 mcasp->sysclk_freq = freq; in davinci_mcasp_set_sysclk()
1123 unsigned int sysclk_freq, in davinci_mcasp_calc_clk_div() argument
1127 int div = sysclk_freq / bclk_freq; in davinci_mcasp_calc_clk_div()
1128 int rem = sysclk_freq % bclk_freq; in davinci_mcasp_calc_clk_div()
1138 sysclk_freq /= aux_div; in davinci_mcasp_calc_clk_div()
1139 div = sysclk_freq / bclk_freq; in davinci_mcasp_calc_clk_div()
1140 rem = sysclk_freq % bclk_freq; in davinci_mcasp_calc_clk_div()
1143 sysclk_freq); in davinci_mcasp_calc_clk_div()
1149 ((sysclk_freq / div) - bclk_freq) > in davinci_mcasp_calc_clk_div()
[all …]
/openbmc/linux/sound/soc/fsl/
H A Dfsl-asoc-card.c71 unsigned long sysclk_freq[2]; member
189 cpu_priv->sysclk_freq[tx], in fsl_asoc_card_hw_params()
634 priv->cpu_priv.sysclk_freq[TX] = priv->codec_priv.mclk_freq; in fsl_asoc_card_probe()
635 priv->cpu_priv.sysclk_freq[RX] = priv->codec_priv.mclk_freq; in fsl_asoc_card_probe()
770 priv->cpu_priv.sysclk_freq[TX] = clk_get_rate(esai_clk); in fsl_asoc_card_probe()
771 priv->cpu_priv.sysclk_freq[RX] = clk_get_rate(esai_clk); in fsl_asoc_card_probe()