Home
last modified time | relevance | path

Searched refs:pll_in (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/linux/drivers/clk/samsung/
H A Dclk-s5pv210-audss.c70 struct clk *hclk, *pll_ref, *pll_in, *cdclk, *sclk_audio; in s5pv210_audss_clk_probe() local
92 pll_in = devm_clk_get(&pdev->dev, "fout_epll"); in s5pv210_audss_clk_probe()
93 if (IS_ERR(pll_in)) { in s5pv210_audss_clk_probe()
95 return PTR_ERR(pll_in); in s5pv210_audss_clk_probe()
112 mout_audss_p[1] = __clk_get_name(pll_in); in s5pv210_audss_clk_probe()
H A Dclk-exynos-audss.c128 struct clk *pll_ref, *pll_in, *cdclk, *sclk_audio, *sclk_pcm_in; in exynos_audss_clk_probe() local
155 pll_in = devm_clk_get(dev, "pll_in"); in exynos_audss_clk_probe()
158 if (!IS_ERR(pll_in)) { in exynos_audss_clk_probe()
159 mout_audss_p[1] = __clk_get_name(pll_in); in exynos_audss_clk_probe()
162 epll = pll_in; in exynos_audss_clk_probe()
/openbmc/linux/sound/soc/intel/boards/
H A Dsof_rt5682.c395 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; in sof_rt5682_hw_params() local
415 pll_in = sof_dai_get_mclk(rtd); in sof_rt5682_hw_params()
419 if (pll_in != 24000000) in sof_rt5682_hw_params()
421 pll_in = 24000000; in sof_rt5682_hw_params()
422 } else if (pll_in == 0) { in sof_rt5682_hw_params()
424 pll_in = 19200000; in sof_rt5682_hw_params()
425 } else if (pll_in < 0) { in sof_rt5682_hw_params()
426 return pll_in; in sof_rt5682_hw_params()
436 pll_in = params_rate(params) * 50; in sof_rt5682_hw_params()
453 if (pll_in == pll_out) in sof_rt5682_hw_params()
[all …]
/openbmc/linux/sound/soc/qcom/
H A Dsc7180.c144 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; in sc7180_snd_startup() local
151 pll_in = DEFAULT_MCLK_RATE; in sc7180_snd_startup()
157 pll_in = DEFAULT_MCLK_RATE; in sc7180_snd_startup()
176 pll_in, pll_out); in sc7180_snd_startup()
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dsamsung,exynos-audss-clock.yaml49 - const: pll_in
79 clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in", "cdclk";
/openbmc/linux/sound/soc/codecs/
H A Drl6231.c94 unsigned int pll_in; member
155 if (freq_in == pll_preset_table[i].pll_in && in rl6231_pll_calc()
H A Drt1308.c58 int pll_in; member
623 if (source == rt1308->pll_src && freq_in == rt1308->pll_in && in rt1308_set_component_pll()
630 rt1308->pll_in = 0; in rt1308_set_component_pll()
679 rt1308->pll_in = freq_in; in rt1308_set_component_pll()
H A Dpcm512x.c38 int pll_in; member
1021 gpio = PCM512x_GREF_GPIO1 + pcm512x->pll_in - 1; in pcm512x_set_dividers()
1027 pcm512x->pll_in, ret); in pcm512x_set_dividers()
1282 gpio = PCM512x_GREF_GPIO1 + pcm512x->pll_in - 1; in pcm512x_hw_params()
1288 pcm512x->pll_in, ret); in pcm512x_hw_params()
1639 pcm512x->pll_in = val; in pcm512x_probe()
1651 if (!pcm512x->pll_in != !pcm512x->pll_out) { in pcm512x_probe()
1657 if (pcm512x->pll_in && pcm512x->pll_in == pcm512x->pll_out) { in pcm512x_probe()
H A Drt1019.c334 rt1019->pll_in = 0; in rt1019_set_dai_pll()
339 if (source == rt1019->pll_src && freq_in == rt1019->pll_in && in rt1019_set_dai_pll()
382 rt1019->pll_in = freq_in; in rt1019_set_dai_pll()
H A Dalc5632.c617 u32 pll_in; member
707 if (codec_master_pll_div[i].pll_in == freq_in in alc5632_set_dai_pll()
717 if (codec_slave_pll_div[i].pll_in == freq_in in alc5632_set_dai_pll()
728 if (codec_slave_pll_div[i].pll_in == freq_in in alc5632_set_dai_pll()
H A Drt1019.h159 int pll_in; member
H A Dwm9713.c37 u32 pll_in; /* PLL input frequency */ member
826 wm9713->pll_in = 0; in wm9713_set_pll()
868 wm9713->pll_in = freq_in; in wm9713_set_pll()
1193 if (wm9713->pll_in) in wm9713_soc_resume()
1194 wm9713_set_pll(component, 0, wm9713->pll_in, 0); in wm9713_soc_resume()
H A Drt1016.c464 rt1016->pll_in = 0; in rt1016_set_component_pll()
470 if (source == rt1016->pll_src && freq_in == rt1016->pll_in && in rt1016_set_component_pll()
509 rt1016->pll_in = freq_in; in rt1016_set_component_pll()
H A Dnau8810.c526 static int nau8810_calc_pll(unsigned int pll_in, in nau8810_calc_pll() argument
532 if (pll_in > NAU_PLL_REF_MAX || pll_in < NAU_PLL_REF_MIN) in nau8810_calc_pll()
554 pll_ratio = div_u64(f2 << 28, pll_in); in nau8810_calc_pll()
H A Drt1016.h228 int pll_in; member
H A Dnau8822.c629 static int nau8822_calc_pll(unsigned int pll_in, unsigned int fs, in nau8822_calc_pll() argument
635 if (pll_in > NAU_PLL_REF_MAX || pll_in < NAU_PLL_REF_MIN) in nau8822_calc_pll()
657 pll_ratio = div_u64(f2 << 28, pll_in); in nau8822_calc_pll()
H A Drt1305.c81 int pll_in; member
798 if (source == rt1305->pll_src && freq_in == rt1305->pll_in && in rt1305_set_component_pll()
805 rt1305->pll_in = 0; in rt1305_set_component_pll()
857 rt1305->pll_in = freq_in; in rt1305_set_component_pll()
H A Drt5514.h280 int pll_in; member
H A Dalc5623.c468 u32 pll_in; member
547 if (codec_master_pll_div[i].pll_in == freq_in in alc5623_set_dai_pll()
557 if (codec_slave_pll_div[i].pll_in == freq_in in alc5623_set_dai_pll()
H A Drt1015.c838 rt1015->pll_in = 0; in rt1015_set_component_pll()
844 if (source == rt1015->pll_src && freq_in == rt1015->pll_in && in rt1015_set_component_pll()
881 rt1015->pll_in = freq_in; in rt1015_set_component_pll()
H A Drt5616.c154 int pll_in; member
1102 if (source == rt5616->pll_src && freq_in == rt5616->pll_in && in rt5616_set_dai_pll()
1109 rt5616->pll_in = 0; in rt5616_set_dai_pll()
1151 rt5616->pll_in = freq_in; in rt5616_set_dai_pll()
H A Drt1015.h441 int pll_in; member
/openbmc/qemu/hw/misc/
H A Dbcm2835_cprman.c192 freq = clock_get_hz(channel->pll_in) / (div * channel->fixed_divider); in pll_channel_update()
222 s->pll_in = qdev_init_clock_in(DEVICE(s), "pll-in", in pll_channel_init()
233 VMSTATE_CLOCK(pll_in, CprmanPllChannelState),
744 clock_set_source(channel->pll_in, parent_clk); in cprman_realize()
/openbmc/qemu/include/hw/misc/
H A Dbcm2835_cprman.h151 Clock *pll_in; member
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_display.c1151 uint32_t pll_in = pll->reference_freq / mid; in radeon_compute_pll_legacy() local
1152 if (pll_in < pll->pll_in_min) in radeon_compute_pll_legacy()
1154 else if (pll_in > pll->pll_in_max) in radeon_compute_pll_legacy()
1190 uint32_t pll_in = pll->reference_freq / ref_div; in radeon_compute_pll_legacy() local
1194 if (pll_in < pll->pll_in_min || pll_in > pll->pll_in_max) in radeon_compute_pll_legacy()

123