Home
last modified time | relevance | path

Searched refs:xtal_clk (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/arch/arm/mach-s3c/
Dpll-s3c2440-12000000.c52 struct clk *xtal_clk; in s3c2440_plls12_add() local
55 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()
Dpll-s3c2440-16934400.c81 struct clk *xtal_clk; in s3c2440_plls169344_add() local
84 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()
/Linux-v6.1/sound/soc/samsung/
Ds3c24xx_simtec.c17 static struct clk *xtal_clk; variable
188 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()
/Linux-v6.1/drivers/clk/ralink/
Dclk-mt7621.c249 unsigned long xtal_clk) in mt7621_cpu_recalc_rate() argument
274 cpu_clk = ((fbdiv + 1) * xtal_clk) >> prediv_tbl[prediv]; in mt7621_cpu_recalc_rate()
277 cpu_clk = xtal_clk; in mt7621_cpu_recalc_rate()