Home
last modified time | relevance | path

Searched refs:ref_clk (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/clk/imx/
Dclk-pllv2.c81 long mfi, mfn, mfd, pdf, ref_clk; in __clk_pllv2_recalc_rate() local
94 ref_clk = 2 * parent_rate; in __clk_pllv2_recalc_rate()
96 ref_clk *= 2; in __clk_pllv2_recalc_rate()
98 ref_clk /= (pdf + 1); in __clk_pllv2_recalc_rate()
99 temp = (u64) ref_clk * abs(mfn); in __clk_pllv2_recalc_rate()
102 temp = (ref_clk * mfi) - temp; in __clk_pllv2_recalc_rate()
104 temp = (ref_clk * mfi) + temp; in __clk_pllv2_recalc_rate()
/linux-4.19.296/drivers/clk/
Dclk-moxart.c23 struct clk *ref_clk; in moxart_of_pll_clk_init() local
40 ref_clk = of_clk_get(node, 0); in moxart_of_pll_clk_init()
41 if (IS_ERR(ref_clk)) { in moxart_of_pll_clk_init()
Dclk-cs2000-cp.c78 struct clk *ref_clk; member
399 struct clk *clk_in, *ref_clk; in cs2000_clk_get() local
406 ref_clk = devm_clk_get(dev, "ref_clk"); in cs2000_clk_get()
408 if (IS_ERR(ref_clk)) in cs2000_clk_get()
412 priv->ref_clk = ref_clk; in cs2000_clk_get()
435 rate = clk_get_rate(priv->ref_clk); in cs2000_clk_register()
441 parent_names[REF_CLK] = __clk_get_name(priv->ref_clk); in cs2000_clk_register()
Dclk-asm9260.c271 const char *ref_clk, *pll_clk = "pll"; in asm9260_acc_init() local
289 ref_clk = of_clk_get_parent_name(np, 0); in asm9260_acc_init()
290 accuracy = clk_get_accuracy(__clk_lookup(ref_clk)); in asm9260_acc_init()
292 ref_clk, 0, rate, accuracy); in asm9260_acc_init()
300 mc->parent_names[0] = ref_clk; in asm9260_acc_init()
/linux-4.19.296/include/linux/platform_data/
Dnet-cw1200.h13 u16 ref_clk; /* REQUIRED (in KHz) */ member
28 u16 ref_clk; /* REQUIRED (in KHz) */ member
/linux-4.19.296/drivers/clk/davinci/
Dpsc-dm646x.c44 LPSC(16, 0, vpif0, ref_clk, NULL, LPSC_ALWAYS_ENABLED),
45 LPSC(17, 0, vpif1, ref_clk, NULL, LPSC_ALWAYS_ENABLED),
/linux-4.19.296/drivers/clk/tegra/
Dclk-dfll.c273 struct clk *ref_clk; member
386 ret = clk_enable(td->ref_clk); in tegra_dfll_runtime_resume()
395 clk_disable(td->ref_clk); in tegra_dfll_runtime_resume()
403 clk_disable(td->ref_clk); in tegra_dfll_runtime_resume()
422 clk_disable(td->ref_clk); in tegra_dfll_runtime_suspend()
1261 td->ref_clk = devm_clk_get(td->dev, "ref"); in dfll_init_clks()
1262 if (IS_ERR(td->ref_clk)) { in dfll_init_clks()
1264 return PTR_ERR(td->ref_clk); in dfll_init_clks()
1296 td->ref_rate = clk_get_rate(td->ref_clk); in dfll_init()
1305 ret = clk_prepare(td->ref_clk); in dfll_init()
[all …]