Searched refs:xtal_clk (Results 1 – 4 of 4) sorted by relevance
52 struct clk *xtal_clk; in s3c2440_plls12_add() local55 xtal_clk = clk_get(NULL, "xtal"); in s3c2440_plls12_add()56 if (IS_ERR(xtal_clk)) in s3c2440_plls12_add()57 return PTR_ERR(xtal_clk); in s3c2440_plls12_add()59 xtal = clk_get_rate(xtal_clk); in s3c2440_plls12_add()60 clk_put(xtal_clk); in s3c2440_plls12_add()
81 struct clk *xtal_clk; in s3c2440_plls169344_add() local84 xtal_clk = clk_get(NULL, "xtal"); in s3c2440_plls169344_add()85 if (IS_ERR(xtal_clk)) in s3c2440_plls169344_add()86 return PTR_ERR(xtal_clk); in s3c2440_plls169344_add()88 xtal = clk_get_rate(xtal_clk); in s3c2440_plls169344_add()89 clk_put(xtal_clk); in s3c2440_plls169344_add()
17 static struct clk *xtal_clk; variable188 cdclk_scale = clk_get_rate(xtal_clk) / CODEC_CLOCK; in simtec_hw_params()316 xtal_clk = clk_get(&pdev->dev, "xtal"); in simtec_audio_core_probe()317 if (IS_ERR(xtal_clk)) { in simtec_audio_core_probe()322 dev_info(&pdev->dev, "xtal rate is %ld\n", clk_get_rate(xtal_clk)); in simtec_audio_core_probe()353 clk_put(xtal_clk); in simtec_audio_core_probe()365 clk_put(xtal_clk); in simtec_audio_remove()
249 unsigned long xtal_clk) in mt7621_cpu_recalc_rate() argument274 cpu_clk = ((fbdiv + 1) * xtal_clk) >> prediv_tbl[prediv]; in mt7621_cpu_recalc_rate()277 cpu_clk = xtal_clk; in mt7621_cpu_recalc_rate()