Lines Matching refs:nb
23 struct notifier_block nb; member
36 int cros_usbpd_register_notify(struct notifier_block *nb) in cros_usbpd_register_notify() argument
39 nb); in cros_usbpd_register_notify()
50 void cros_usbpd_unregister_notify(struct notifier_block *nb) in cros_usbpd_unregister_notify() argument
52 blocking_notifier_chain_unregister(&cros_usbpd_notifier_list, nb); in cros_usbpd_unregister_notify()
165 static int cros_usbpd_notify_plat(struct notifier_block *nb, in cros_usbpd_notify_plat() argument
169 struct cros_usbpd_notify_data *pdnotify = container_of(nb, in cros_usbpd_notify_plat()
170 struct cros_usbpd_notify_data, nb); in cros_usbpd_notify_plat()
198 pdnotify->nb.notifier_call = cros_usbpd_notify_plat; in cros_usbpd_notify_probe_plat()
203 &pdnotify->nb); in cros_usbpd_notify_probe_plat()
220 &pdnotify->nb); in cros_usbpd_notify_remove_plat()