Lines Matching refs:nb
606 static int ci_vbus_notifier(struct notifier_block *nb, unsigned long event, in ci_vbus_notifier() argument
609 struct ci_hdrc_cable *vbus = container_of(nb, struct ci_hdrc_cable, nb); in ci_vbus_notifier()
623 static int ci_id_notifier(struct notifier_block *nb, unsigned long event, in ci_id_notifier() argument
626 struct ci_hdrc_cable *id = container_of(nb, struct ci_hdrc_cable, nb); in ci_id_notifier()
753 cable->nb.notifier_call = ci_vbus_notifier; in ci_get_platdata()
765 cable->nb.notifier_call = ci_id_notifier; in ci_get_platdata()
787 &id->nb); in ci_extcon_register()
798 &vbus->nb); in ci_extcon_register()
801 &id->nb); in ci_extcon_register()
817 &cable->nb); in ci_extcon_unregister()
821 extcon_unregister_notifier(cable->edev, EXTCON_USB, &cable->nb); in ci_extcon_unregister()