Home
last modified time | relevance | path

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

/linux-3.4.99/arch/arm/mach-s3c2440/
Ds3c2440-pll-12000000.c56 struct clk *xtal_clk; in s3c2440_plls12_add() local
59 xtal_clk = clk_get(NULL, "xtal"); in s3c2440_plls12_add()
60 if (IS_ERR(xtal_clk)) in s3c2440_plls12_add()
61 return PTR_ERR(xtal_clk); in s3c2440_plls12_add()
63 xtal = clk_get_rate(xtal_clk); in s3c2440_plls12_add()
64 clk_put(xtal_clk); in s3c2440_plls12_add()
Ds3c2440-pll-16934400.c85 struct clk *xtal_clk; in s3c2440_plls169344_add() local
88 xtal_clk = clk_get(NULL, "xtal"); in s3c2440_plls169344_add()
89 if (IS_ERR(xtal_clk)) in s3c2440_plls169344_add()
90 return PTR_ERR(xtal_clk); in s3c2440_plls169344_add()
92 xtal = clk_get_rate(xtal_clk); in s3c2440_plls169344_add()
93 clk_put(xtal_clk); in s3c2440_plls169344_add()
/linux-3.4.99/sound/soc/samsung/
Ds3c24xx_simtec.c22 static struct clk *xtal_clk; variable
211 cdclk_scale = clk_get_rate(xtal_clk) / CODEC_CLOCK; in simtec_hw_params()
332 xtal_clk = clk_get(&pdev->dev, "xtal"); in simtec_audio_core_probe()
333 if (IS_ERR(xtal_clk)) { in simtec_audio_core_probe()
338 dev_info(&pdev->dev, "xtal rate is %ld\n", clk_get_rate(xtal_clk)); in simtec_audio_core_probe()
369 clk_put(xtal_clk); in simtec_audio_core_probe()
381 clk_put(xtal_clk); in simtec_audio_remove()
/linux-3.4.99/arch/arm/mach-s3c24xx/
Ds3c2410.c85 struct clk *xtal_clk; in s3c2410_setup_clocks() local
92 xtal_clk = clk_get(NULL, "xtal"); in s3c2410_setup_clocks()
93 xtal = clk_get_rate(xtal_clk); in s3c2410_setup_clocks()
94 clk_put(xtal_clk); in s3c2410_setup_clocks()
Ds3c244x.c82 struct clk *xtal_clk; in s3c244x_setup_clocks() local
89 xtal_clk = clk_get(NULL, "xtal"); in s3c244x_setup_clocks()
90 xtal = clk_get_rate(xtal_clk); in s3c244x_setup_clocks()
91 clk_put(xtal_clk); in s3c244x_setup_clocks()
Ds3c2412.c175 struct clk *xtal_clk; in s3c2412_setup_clocks() local
182 xtal_clk = clk_get(NULL, "xtal"); in s3c2412_setup_clocks()
183 xtal = clk_get_rate(xtal_clk); in s3c2412_setup_clocks()
184 clk_put(xtal_clk); in s3c2412_setup_clocks()
Dcommon-s3c2443.c571 struct clk *xtal_clk; in s3c2443_common_setup_clocks() local
576 xtal_clk = clk_get(NULL, "xtal"); in s3c2443_common_setup_clocks()
577 xtal = clk_get_rate(xtal_clk); in s3c2443_common_setup_clocks()
578 clk_put(xtal_clk); in s3c2443_common_setup_clocks()
/linux-3.4.99/arch/arm/mach-s5p64x0/
Dclock-s5p6440.c531 struct clk *xtal_clk; in s5p6440_setup_clocks() local
552 xtal_clk = clk_get(NULL, "ext_xtal"); in s5p6440_setup_clocks()
553 BUG_ON(IS_ERR(xtal_clk)); in s5p6440_setup_clocks()
555 xtal = clk_get_rate(xtal_clk); in s5p6440_setup_clocks()
556 clk_put(xtal_clk); in s5p6440_setup_clocks()
Dclock-s5p6450.c597 struct clk *xtal_clk; in s5p6450_setup_clocks() local
619 xtal_clk = clk_get(NULL, "ext_xtal"); in s5p6450_setup_clocks()
620 BUG_ON(IS_ERR(xtal_clk)); in s5p6450_setup_clocks()
622 xtal = clk_get_rate(xtal_clk); in s5p6450_setup_clocks()
623 clk_put(xtal_clk); in s5p6450_setup_clocks()
/linux-3.4.99/arch/arm/mach-s3c64xx/
Dclock.c871 struct clk *xtal_clk; in s3c64xx_setup_clocks() local
888 xtal_clk = clk_get(NULL, "xtal"); in s3c64xx_setup_clocks()
889 BUG_ON(IS_ERR(xtal_clk)); in s3c64xx_setup_clocks()
891 xtal = clk_get_rate(xtal_clk); in s3c64xx_setup_clocks()
892 clk_put(xtal_clk); in s3c64xx_setup_clocks()
897 clk_ext_xtal_mux.parent = xtal_clk; in s3c64xx_setup_clocks()
/linux-3.4.99/arch/arm/mach-exynos/
Dclock-exynos5.c1131 struct clk *xtal_clk; in exynos5_setup_clocks() local
1152 xtal_clk = clk_get(NULL, "xtal"); in exynos5_setup_clocks()
1153 BUG_ON(IS_ERR(xtal_clk)); in exynos5_setup_clocks()
1155 xtal = clk_get_rate(xtal_clk); in exynos5_setup_clocks()
1159 clk_put(xtal_clk); in exynos5_setup_clocks()
Dclock-exynos4.c1440 struct clk *xtal_clk; in exynos4_setup_clocks() local
1457 xtal_clk = clk_get(NULL, "xtal"); in exynos4_setup_clocks()
1458 BUG_ON(IS_ERR(xtal_clk)); in exynos4_setup_clocks()
1460 xtal = clk_get_rate(xtal_clk); in exynos4_setup_clocks()
1464 clk_put(xtal_clk); in exynos4_setup_clocks()
/linux-3.4.99/arch/arm/mach-s5pv210/
Dclock.c1236 struct clk *xtal_clk; in s5pv210_setup_clocks() local
1264 xtal_clk = clk_get(NULL, "xtal"); in s5pv210_setup_clocks()
1265 BUG_ON(IS_ERR(xtal_clk)); in s5pv210_setup_clocks()
1267 xtal = clk_get_rate(xtal_clk); in s5pv210_setup_clocks()
1268 clk_put(xtal_clk); in s5pv210_setup_clocks()