Lines Matching refs:baud_mux_clk
209 struct clk *baud_mux_clk; member
661 priv->default_mux_rate = clk_get_rate(priv->baud_mux_clk); in init_real_clk_rates()
667 rc = clk_set_rate(priv->baud_mux_clk, priv->rate_table[x]); in init_real_clk_rates()
673 priv->real_rates[x] = clk_get_rate(priv->baud_mux_clk); in init_real_clk_rates()
676 clk_set_rate(priv->baud_mux_clk, priv->default_mux_rate); in init_real_clk_rates()
724 if (priv->baud_mux_clk == NULL) in set_clock_mux()
755 rc = clk_set_rate(priv->baud_mux_clk, best_freq); in set_clock_mux()
963 struct clk *baud_mux_clk; in brcmuart_probe() local
1038 baud_mux_clk = devm_clk_get(dev, "sw_baud"); in brcmuart_probe()
1039 if (IS_ERR(baud_mux_clk)) { in brcmuart_probe()
1040 if (PTR_ERR(baud_mux_clk) == -EPROBE_DEFER) { in brcmuart_probe()
1047 ret = clk_prepare_enable(baud_mux_clk); in brcmuart_probe()
1050 priv->baud_mux_clk = baud_mux_clk; in brcmuart_probe()
1144 clk_disable_unprepare(baud_mux_clk); in brcmuart_probe()
1159 clk_disable_unprepare(priv->baud_mux_clk); in brcmuart_remove()
1182 clk_disable_unprepare(priv->baud_mux_clk); in brcmuart_suspend()
1195 ret = clk_prepare_enable(priv->baud_mux_clk); in brcmuart_resume()
1203 ret = clk_set_rate(priv->baud_mux_clk, priv->default_mux_rate); in brcmuart_resume()