Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/mediatek/
Dclk-mux.c300 struct mtk_mux_nb *mux_nb = to_mtk_mux_nb(nb); in mtk_clk_mux_notifier_cb() local
305 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() argument
320 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()
Dclk-mux.h141 struct mtk_mux_nb *mux_nb);
/linux-6.12.1/drivers/clk/sunxi-ng/
Dccu_mux.c305 int ccu_mux_notifier_register(struct clk *clk, struct ccu_mux_nb *mux_nb) in ccu_mux_notifier_register() argument
307 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()
Dccu_mux.h164 int ccu_mux_notifier_register(struct clk *clk, struct ccu_mux_nb *mux_nb);