Lines Matching refs:nb
35 struct notifier_block *nb;
42 extcon_unregister_notifier(this->edev, this->id, this->nb);
49 extcon_unregister_notifier_all(this->edev, this->nb);
160 * @nb: a notifier block to be registered
166 * Note that the second parameter given to the callback of nb (val) is
173 unsigned int id, struct notifier_block *nb)
183 ret = extcon_register_notifier(edev, id, nb);
191 ptr->nb = nb;
204 * @nb: a notifier block to be registered
208 struct notifier_block *nb)
220 * @nb: a notifier block to be registered
229 struct notifier_block *nb)
239 ret = extcon_register_notifier_all(edev, nb);
246 ptr->nb = nb;
258 * @nb: a notifier block to be registered
262 struct notifier_block *nb)