Home
last modified time | relevance | path

Searched refs:pll_out (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/clk/tegra/
H A Dclk-pll-out.c20 struct tegra_clk_pll_out *pll_out = to_clk_pll_out(hw); in clk_pll_out_is_enabled() local
21 u32 val = readl_relaxed(pll_out->reg); in clk_pll_out_is_enabled()
24 state = (val & pll_out_enb(pll_out)) ? 1 : 0; in clk_pll_out_is_enabled()
25 if (!(val & (pll_out_rst(pll_out)))) in clk_pll_out_is_enabled()
32 struct tegra_clk_pll_out *pll_out = to_clk_pll_out(hw); in clk_pll_out_enable() local
36 if (pll_out->lock) in clk_pll_out_enable()
37 spin_lock_irqsave(pll_out->lock, flags); in clk_pll_out_enable()
39 val = readl_relaxed(pll_out->reg); in clk_pll_out_enable()
41 val |= (pll_out_enb(pll_out) | pll_out_rst(pll_out)); in clk_pll_out_enable()
43 writel_relaxed(val, pll_out->reg); in clk_pll_out_enable()
[all …]
/linux/sound/soc/codecs/
H A Drl6231.c95 unsigned int pll_out; member
146 unsigned int red, pll_out, in_t, out_t, div, div_t; in rl6231_pll_calc() local
156 freq_out == pll_preset_table[i].pll_out) { in rl6231_pll_calc()
184 pll_out = f_out * (k_t + 2); in rl6231_pll_calc()
185 if (in_t == pll_out) { in rl6231_pll_calc()
H A Drt1318.h31 int pll_out; member
326 unsigned int pll_out; member
H A Drt1019.h160 int pll_out; member
H A Drt1016.h229 int pll_out; member
H A Drt5514.h281 int pll_out; member
H A Drt5660.c1016 freq_out == rt5660->pll_out) in rt5660_set_dai_pll()
1023 rt5660->pll_out = 0; in rt5660_set_dai_pll()
1062 rt5660->pll_out = freq_out; in rt5660_set_dai_pll()
H A Drt1015.h442 int pll_out; member
H A Drt5514.c909 rt5514->pll_out = 0; in rt5514_set_dai_pll()
918 freq_out == rt5514->pll_out) in rt5514_set_dai_pll()
955 rt5514->pll_out = freq_out; in rt5514_set_dai_pll()
H A Drt5668.c61 int pll_out; member
2103 freq_out == rt5668->pll_out) in rt5668_set_component_pll()
2110 rt5668->pll_out = 0; in rt5668_set_component_pll()
2147 rt5668->pll_out = freq_out; in rt5668_set_component_pll()
H A Drt1011.h695 int pll_out; member
H A Drt5660.h844 int pll_out; member
H A Drt5665.c61 int pll_out; member
4240 freq_out == rt5665->pll_out) in rt5665_set_component_pll()
4247 rt5665->pll_out = 0; in rt5665_set_component_pll()
4292 rt5665->pll_out = freq_out; in rt5665_set_component_pll()
H A Drt5645.c468 int pll_out; member
2942 freq_out == rt5645->pll_out) in rt5645_set_dai_pll()
2949 rt5645->pll_out = 0; in rt5645_set_dai_pll()
2998 rt5645->pll_out = freq_out; in rt5645_set_dai_pll()
H A Drt5682.c2364 freq_out == rt5682->pll_out[pll_id]) in rt5682_set_component_pll()
2371 rt5682->pll_out[pll_id] = 0; in rt5682_set_component_pll()
2477 rt5682->pll_out[pll_id] = freq_out; in rt5682_set_component_pll()
H A Drt5640.c1880 freq_out == rt5640->pll_out) in rt5640_set_dai_pll()
1887 rt5640->pll_out = 0; in rt5640_set_dai_pll()
1928 rt5640->pll_out = freq_out; in rt5640_set_dai_pll()
H A Drt5682s.h1480 int pll_out[RT5682S_PLLS]; member
H A Drt5682s.c2338 freq_out == rt5682s->pll_out[pll_id]) in rt5682s_set_component_pll()
2344 rt5682s->pll_out[pll_id] = 0; in rt5682s_set_component_pll()
2421 rt5682s->pll_out[pll_id] = freq_out; in rt5682s_set_component_pll()
/linux/sound/soc/samsung/
H A Dsmdk_spdif.c105 unsigned long pll_out, rclk_rate; in smdk_hw_params() local
110 pll_out = 45158400; in smdk_hw_params()
115 pll_out = 49152000; in smdk_hw_params()
128 ret = set_audio_clock_rate(pll_out, rclk_rate); in smdk_hw_params()
/linux/sound/soc/sdw_utils/
H A Dsoc_sdw_rt_amp.c216 int clk_id, clk_freq, pll_out; in rt1308_i2s_hw_params()
222 pll_out = params_rate(params) * 512; in rt1308_i2s_hw_params()
225 err = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, pll_out); in rt1308_i2s_hw_params()
232 err = snd_soc_dai_set_sysclk(codec_dai, RT1308_FS_SYS_S_PLL, pll_out, in rt1308_i2s_hw_params()
215 int clk_id, clk_freq, pll_out; rt1308_i2s_hw_params() local
/linux/sound/soc/intel/boards/
H A Dsof_rt5682.c264 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; in sof_rt5682_hw_params()
323 pll_out = params_rate(params) * 512; in sof_rt5682_hw_params()
326 if (pll_in == pll_out) { in sof_rt5682_hw_params()
359 * pll_out or params_rate() here since rt5682s PLL2 doesn't support 24.576MHz in sof_rt5682_hw_params()
361 * all if pll_in == pll_out. ex, MCLK = 24.576Mhz and sample rate = 48KHz in sof_rt5682_hw_params()
379 pll_out); in sof_rt5682_hw_params()
386 pll_out, SND_SOC_CLOCK_IN); in sof_rt5682_hw_params()
260 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; sof_rt5682_hw_params() local
H A Dsof_realtek_common.c596 int clk_id, clk_freq, pll_out; in rt1308_hw_params()
603 pll_out = params_rate(params) * 512; in rt1308_hw_params()
606 ret = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, pll_out); in rt1308_hw_params()
613 ret = snd_soc_dai_set_sysclk(codec_dai, RT1308_FS_SYS_S_PLL, pll_out, in rt1308_hw_params()
595 int clk_id, clk_freq, pll_out; rt1308_hw_params() local
/linux/sound/soc/fsl/
H A Dfsl-asoc-card.c181 unsigned int pll_out, sysclk_freq; in fsl_asoc_card_hw_params() local
225 pll_out = priv->sample_rate * 384; in fsl_asoc_card_hw_params()
227 pll_out = priv->sample_rate * 256; in fsl_asoc_card_hw_params()
232 codec_priv->mclk_freq, pll_out); in fsl_asoc_card_hw_params()
240 pll_out, SND_SOC_CLOCK_IN); in fsl_asoc_card_hw_params()
/linux/sound/soc/uniphier/
H A Daio.h277 int pll_out; member
/linux/drivers/media/i2c/
H A Dov772x.c692 unsigned int pll_out = pll_mult * fin; in ov772x_set_frame_rate() local
696 if (pll_out < pclk) in ov772x_set_frame_rate()
699 div = DIV_ROUND_CLOSEST(pll_out, pclk); in ov772x_set_frame_rate()

12