Home
last modified time | relevance | path

Searched full:pll_in (Results 1 – 25 of 58) sorted by relevance

123

/linux/drivers/clk/samsung/
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()
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()
/linux/sound/soc/intel/boards/
H A Dsof_rt5682.c260 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; in sof_rt5682_hw_params() local
289 pll_in = sof_dai_get_mclk(rtd); in sof_rt5682_hw_params()
290 if (pll_in <= 0) { in sof_rt5682_hw_params()
291 dev_err(rtd->dev, "invalid mclk freq %d\n", pll_in); in sof_rt5682_hw_params()
312 pll_in = sof_dai_get_bclk(rtd); in sof_rt5682_hw_params()
313 if (pll_in <= 0) { in sof_rt5682_hw_params()
314 dev_err(rtd->dev, "invalid bclk freq %d\n", pll_in); in sof_rt5682_hw_params()
322 if (pll_in == pll_out) { in sof_rt5682_hw_params()
350 switch (pll_in) { in sof_rt5682_hw_params()
357 * all if pll_in == pll_out. ex, MCLK = 24.576Mhz and sample rate = 48KHz in sof_rt5682_hw_params()
[all …]
/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";
/linux/sound/soc/qcom/
H A Dsc7180.c161 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; in sc7180_startup_realtek_codec() local
168 pll_in = DEFAULT_MCLK_RATE; in sc7180_startup_realtek_codec()
174 pll_in = DEFAULT_MCLK_RATE; in sc7180_startup_realtek_codec()
185 pll_in, pll_out); in sc7180_startup_realtek_codec()
/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 Dpcm512x.c38 int pll_in; member
1022 gpio = PCM512x_GREF_GPIO1 + pcm512x->pll_in - 1; in pcm512x_set_dividers()
1028 pcm512x->pll_in, ret); in pcm512x_set_dividers()
1307 gpio = PCM512x_GREF_GPIO1 + pcm512x->pll_in - 1; in pcm512x_hw_params()
1313 pcm512x->pll_in, ret); in pcm512x_hw_params()
1664 pcm512x->pll_in = val; in pcm512x_probe()
1676 if (!pcm512x->pll_in != !pcm512x->pll_out) { in pcm512x_probe()
1682 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 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 Drt1318.h30 int pll_in; member
325 unsigned int pll_in; member
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.c529 static int nau8810_calc_pll(unsigned int pll_in, in nau8810_calc_pll() argument
535 if (pll_in > NAU_PLL_REF_MAX || pll_in < NAU_PLL_REF_MIN) in nau8810_calc_pll()
557 pll_ratio = div_u64(f2 << 28, pll_in); in nau8810_calc_pll()
H A Drt1019.h159 int pll_in; member
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 Dnau8822.c616 static int nau8822_calc_pll(unsigned int pll_in, unsigned int fs, in nau8822_calc_pll() argument
622 if (pll_in > NAU_PLL_REF_MAX || pll_in < NAU_PLL_REF_MIN) in nau8822_calc_pll()
644 pll_ratio = div_u64(f2 << 28, pll_in); in nau8822_calc_pll()
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.h228 int pll_in; member
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 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 Drt1015.c851 rt1015->pll_in = 0; in rt1015_set_component_pll()
857 if (source == rt1015->pll_src && freq_in == rt1015->pll_in && in rt1015_set_component_pll()
894 rt1015->pll_in = freq_in; in rt1015_set_component_pll()
H A Drt1318.c804 if (freq_in == pll_preset_table[i].pll_in && in rt1318_pll_calc()
876 rt1318->pll_in = 0; in rt1318_set_dai_pll()
881 if (source == rt1318->pll_src && freq_in == rt1318->pll_in && in rt1318_set_dai_pll()
942 rt1318->pll_in = freq_in; in rt1318_set_dai_pll()
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 Drt5514.h280 int pll_in; member
H A Drt5514.c907 rt5514->pll_in = 0; in rt5514_set_dai_pll()
916 if (source == rt5514->pll_src && freq_in == rt5514->pll_in && in rt5514_set_dai_pll()
953 rt5514->pll_in = freq_in; in rt5514_set_dai_pll()
/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