Lines Matching refs:nb
4784 * @nb: struct notifier_block * with callback info
4801 int clk_notifier_register(struct clk *clk, struct notifier_block *nb)
4806 if (!clk || !nb)
4827 ret = srcu_notifier_chain_register(&cn->notifier_head, nb);
4841 * @nb: struct notifier_block * with callback info
4849 int clk_notifier_unregister(struct clk *clk, struct notifier_block *nb)
4854 if (!clk || !nb)
4861 ret = srcu_notifier_chain_unregister(&cn->notifier_head, nb);
4883 struct notifier_block *nb;
4890 clk_notifier_unregister(devres->clk, devres->nb);
4894 struct notifier_block *nb)
4905 ret = clk_notifier_register(clk, nb);
4908 devres->nb = nb;