Lines Matching full:clk_in
120 struct clk *clk_in, *clk_can; in mpc512x_can_get_clock() local
165 clk_in = devm_clk_get(&ofdev->dev, "sys"); in mpc512x_can_get_clock()
166 if (IS_ERR(clk_in)) in mpc512x_can_get_clock()
168 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock()
183 clk_in = devm_clk_get(&ofdev->dev, "ref"); in mpc512x_can_get_clock()
184 if (IS_ERR(clk_in)) in mpc512x_can_get_clock()
187 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock()
218 clk_in = devm_clk_get(&ofdev->dev, "sys"); in mpc512x_can_get_clock()
220 clk_in = devm_clk_get(&ofdev->dev, "ref"); in mpc512x_can_get_clock()
221 if (IS_ERR(clk_in)) in mpc512x_can_get_clock()
223 clk_set_parent(clk_can, clk_in); in mpc512x_can_get_clock()
224 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock()