| /linux/drivers/clk/tegra/ |
| H A D | clk-pll-out.c | 20 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 D | rl6231.c | 95 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 D | rt1318.h | 31 int pll_out; member 326 unsigned int pll_out; member
|
| H A D | rt1019.h | 160 int pll_out; member
|
| H A D | rt1016.h | 229 int pll_out; member
|
| H A D | rt5514.h | 281 int pll_out; member
|
| H A D | rt5660.c | 1016 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 D | rt1015.h | 442 int pll_out; member
|
| H A D | rt5514.c | 909 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 D | rt5668.c | 61 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 D | rt1011.h | 695 int pll_out; member
|
| H A D | rt5660.h | 844 int pll_out; member
|
| H A D | rt5665.c | 61 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 D | rt5645.c | 468 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 D | rt5682.c | 2364 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 D | rt5640.c | 1880 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 D | rt5682s.h | 1480 int pll_out[RT5682S_PLLS]; member
|
| H A D | rt5682s.c | 2338 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 D | smdk_spdif.c | 105 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 D | soc_sdw_rt_amp.c | 216 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 D | sof_rt5682.c | 264 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 D | sof_realtek_common.c | 596 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 D | fsl-asoc-card.c | 181 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 D | aio.h | 277 int pll_out; member
|
| /linux/drivers/media/i2c/ |
| H A D | ov772x.c | 692 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()
|