Searched refs:mux_nb (Results 1 – 4 of 4) sorted by relevance
284 struct mtk_mux_nb *mux_nb = to_mtk_mux_nb(nb); in mtk_clk_mux_notifier_cb() local289 mux_nb->original_index = mux_nb->ops->get_parent(hw); in mtk_clk_mux_notifier_cb()290 ret = mux_nb->ops->set_parent(hw, mux_nb->bypass_index); in mtk_clk_mux_notifier_cb()294 ret = mux_nb->ops->set_parent(hw, mux_nb->original_index); in mtk_clk_mux_notifier_cb()302 struct mtk_mux_nb *mux_nb) in devm_mtk_clk_mux_notifier_register() argument304 mux_nb->nb.notifier_call = mtk_clk_mux_notifier_cb; in devm_mtk_clk_mux_notifier_register()306 return devm_clk_notifier_register(dev, clk, &mux_nb->nb); in devm_mtk_clk_mux_notifier_register()
105 struct mtk_mux_nb *mux_nb);
294 int ccu_mux_notifier_register(struct clk *clk, struct ccu_mux_nb *mux_nb) in ccu_mux_notifier_register() argument296 mux_nb->clk_nb.notifier_call = ccu_mux_notifier_cb; in ccu_mux_notifier_register()298 return clk_notifier_register(clk, &mux_nb->clk_nb); in ccu_mux_notifier_register()
148 int ccu_mux_notifier_register(struct clk *clk, struct ccu_mux_nb *mux_nb);