/linux/drivers/clk/samsung/ |
H A D | clk-exynos-audss.c | 128 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 D | clk-s5pv210-audss.c | 70 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 D | sof_rt5682.c | 260 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 D | samsung,exynos-audss-clock.yaml | 49 - const: pll_in 79 clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in", "cdclk";
|
/linux/sound/soc/qcom/ |
H A D | sc7180.c | 161 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 D | rl6231.c | 94 unsigned int pll_in; member 155 if (freq_in == pll_preset_table[i].pll_in && in rl6231_pll_calc()
|
H A D | pcm512x.c | 38 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 D | rt1019.c | 334 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 D | rt1308.c | 58 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 D | rt1318.h | 30 int pll_in; member 325 unsigned int pll_in; member
|
H A D | rt1016.c | 464 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 D | nau8810.c | 529 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 D | rt1019.h | 159 int pll_in; member
|
H A D | rt1305.c | 81 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 D | nau8822.c | 616 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 D | wm9713.c | 37 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 D | rt1016.h | 228 int pll_in; member
|
H A D | rt5616.c | 154 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 D | alc5632.c | 617 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 D | rt1015.c | 851 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 D | rt1318.c | 804 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 D | alc5623.c | 468 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 D | rt5514.h | 280 int pll_in; member
|
H A D | rt5514.c | 907 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 D | radeon_display.c | 1151 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()
|