Searched refs:mux_nb (Results 1 – 4 of 4) sorted by relevance
300 struct mtk_mux_nb *mux_nb = to_mtk_mux_nb(nb); in mtk_clk_mux_notifier_cb() local305 mux_nb->original_index = mux_nb->ops->get_parent(hw); in mtk_clk_mux_notifier_cb()306 ret = mux_nb->ops->set_parent(hw, mux_nb->bypass_index); in mtk_clk_mux_notifier_cb()310 ret = mux_nb->ops->set_parent(hw, mux_nb->original_index); in mtk_clk_mux_notifier_cb()318 struct mtk_mux_nb *mux_nb) in devm_mtk_clk_mux_notifier_register() argument320 mux_nb->nb.notifier_call = mtk_clk_mux_notifier_cb; in devm_mtk_clk_mux_notifier_register()322 return devm_clk_notifier_register(dev, clk, &mux_nb->nb); in devm_mtk_clk_mux_notifier_register()
141 struct mtk_mux_nb *mux_nb);
305 int ccu_mux_notifier_register(struct clk *clk, struct ccu_mux_nb *mux_nb) in ccu_mux_notifier_register() argument307 mux_nb->clk_nb.notifier_call = ccu_mux_notifier_cb; in ccu_mux_notifier_register()309 return clk_notifier_register(clk, &mux_nb->clk_nb); in ccu_mux_notifier_register()
164 int ccu_mux_notifier_register(struct clk *clk, struct ccu_mux_nb *mux_nb);