Searched refs:xtal_clk (Results 1 – 2 of 2) 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()