Home
last modified time | relevance | path

Searched refs:mux_nb (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/clk/mediatek/
Dclk-mux.c284 struct mtk_mux_nb *mux_nb = to_mtk_mux_nb(nb); in mtk_clk_mux_notifier_cb() local
289 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() argument
304 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()
Dclk-mux.h105 struct mtk_mux_nb *mux_nb);
/linux-6.1.9/drivers/clk/sunxi-ng/
Dccu_mux.c294 int ccu_mux_notifier_register(struct clk *clk, struct ccu_mux_nb *mux_nb) in ccu_mux_notifier_register() argument
296 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()
Dccu_mux.h148 int ccu_mux_notifier_register(struct clk *clk, struct ccu_mux_nb *mux_nb);