Searched refs:clk_can (Results 1 – 3 of 3) sorted by relevance
116 struct clk *clk_in, *clk_can; in mpc512x_can_get_clock() local196 clk_can = devm_clk_get(&ofdev->dev, "ips"); in mpc512x_can_get_clock()197 if (IS_ERR(clk_can)) in mpc512x_can_get_clock()200 priv->clk_can = clk_can; in mpc512x_can_get_clock()201 freq_calc = clk_get_rate(clk_can); in mpc512x_can_get_clock()208 clk_can = devm_clk_get(&ofdev->dev, "mclk"); in mpc512x_can_get_clock()209 if (IS_ERR(clk_can)) in mpc512x_can_get_clock()212 priv->clk_can = clk_can; in mpc512x_can_get_clock()219 clk_set_parent(clk_can, clk_in); in mpc512x_can_get_clock()222 clk_set_rate(clk_can, freq_calc); in mpc512x_can_get_clock()[all …]
547 ret = clk_prepare_enable(priv->clk_can); in mscan_open()583 clk_disable_unprepare(priv->clk_can); in mscan_open()604 clk_disable_unprepare(priv->clk_can); in mscan_close()
276 struct clk *clk_can; /* clock for bitrates */ member
Completed in 6 milliseconds