Home
last modified time | relevance | path

Searched refs:mclk_freq (Results 1 – 7 of 7) sorted by relevance

/sound/pci/oxygen/
Dxonar_dg.c186 unsigned char mclk_freq; in set_cs4245_dac_params() local
189 mclk_freq = data->cs4245_shadow[CS4245_MCLK_FREQ] & ~CS4245_MCLK1_MASK; in set_cs4245_dac_params()
192 mclk_freq |= CS4245_MCLK_1 << CS4245_MCLK1_SHIFT; in set_cs4245_dac_params()
195 mclk_freq |= CS4245_MCLK_1 << CS4245_MCLK1_SHIFT; in set_cs4245_dac_params()
198 mclk_freq |= CS4245_MCLK_2 << CS4245_MCLK1_SHIFT; in set_cs4245_dac_params()
201 data->cs4245_shadow[CS4245_MCLK_FREQ] = mclk_freq; in set_cs4245_dac_params()
211 unsigned char mclk_freq; in set_cs4245_adc_params() local
214 mclk_freq = data->cs4245_shadow[CS4245_MCLK_FREQ] & ~CS4245_MCLK2_MASK; in set_cs4245_adc_params()
217 mclk_freq |= CS4245_MCLK_1 << CS4245_MCLK2_SHIFT; in set_cs4245_adc_params()
220 mclk_freq |= CS4245_MCLK_1 << CS4245_MCLK2_SHIFT; in set_cs4245_adc_params()
[all …]
/sound/soc/samsung/
Dsmdk_wm8994pcm.c49 unsigned long mclk_freq; in smdk_wm8994_pcm_hw_params() local
62 mclk_freq = params_rate(params) * rfs; in smdk_wm8994_pcm_hw_params()
65 mclk_freq, SND_SOC_CLOCK_IN); in smdk_wm8994_pcm_hw_params()
70 SMDK_WM8994_FREQ, mclk_freq); in smdk_wm8994_pcm_hw_params()
76 mclk_freq, SND_SOC_CLOCK_IN); in smdk_wm8994_pcm_hw_params()
/sound/soc/ti/
Domap-abe-twl6040.c40 int mclk_freq; /* MCLK frequency speed for twl6040 */ member
57 freq = priv->mclk_freq; in omap_abe_hw_params()
287 of_property_read_u32(node, "ti,mclk-freq", &priv->mclk_freq); in omap_abe_probe()
288 if (!priv->mclk_freq) { in omap_abe_probe()
295 if (!priv->mclk_freq) { in omap_abe_probe()
/sound/soc/fsl/
Dfsl-asoc-card.c44 unsigned long mclk_freq; member
276 codec_priv->mclk_freq, pll_out); in fsl_asoc_card_set_bias_level()
295 codec_priv->mclk_freq, in fsl_asoc_card_set_bias_level()
472 codec_priv->mclk_freq, SND_SOC_CLOCK_IN); in fsl_asoc_card_late_probe()
529 priv->codec_priv.mclk_freq = clk_get_rate(codec_clk); in fsl_asoc_card_probe()
545 priv->cpu_priv.sysclk_freq[TX] = priv->codec_priv.mclk_freq; in fsl_asoc_card_probe()
546 priv->cpu_priv.sysclk_freq[RX] = priv->codec_priv.mclk_freq; in fsl_asoc_card_probe()
/sound/soc/codecs/
Dnau8825.c2121 if (!nau8825->mclk_freq) { in nau8825_mclk_prepare()
2129 if (nau8825->mclk_freq != freq) { in nau8825_mclk_prepare()
2136 nau8825->mclk_freq = freq; in nau8825_mclk_prepare()
2163 if (nau8825->mclk_freq) { in nau8825_configure_sysclk()
2165 nau8825->mclk_freq = 0; in nau8825_configure_sysclk()
2211 if (nau8825->mclk_freq) { in nau8825_configure_sysclk()
2213 nau8825->mclk_freq = 0; in nau8825_configure_sysclk()
2259 if (nau8825->mclk_freq) { in nau8825_configure_sysclk()
2261 nau8825->mclk_freq = 0; in nau8825_configure_sysclk()
2285 if (nau8825->mclk_freq) { in nau8825_configure_sysclk()
[all …]
Dnau8825.h455 int mclk_freq; /* 0 - mclk is disabled */ member
/sound/soc/sunxi/
Dsun4i-i2s.c169 unsigned int mclk_freq; member
231 return i2s->mclk_freq; in sun4i_i2s_get_bclk_parent_rate()
330 oversample_rate = i2s->mclk_freq / rate; in sun4i_i2s_set_clk_rate()
345 mclk_div = sun4i_i2s_get_mclk_div(i2s, clk_rate, i2s->mclk_freq); in sun4i_i2s_set_clk_rate()
824 i2s->mclk_freq = freq; in sun4i_i2s_set_sysclk()