Lines Matching refs:nb
1465 static int msm_otg_vbus_notifier(struct notifier_block *nb, unsigned long event, in msm_otg_vbus_notifier() argument
1468 struct msm_usb_cable *vbus = container_of(nb, struct msm_usb_cable, nb); in msm_otg_vbus_notifier()
1489 static int msm_otg_id_notifier(struct notifier_block *nb, unsigned long event, in msm_otg_id_notifier() argument
1492 struct msm_usb_cable *id = container_of(nb, struct msm_usb_cable, nb); in msm_otg_id_notifier()
1580 motg->vbus.nb.notifier_call = msm_otg_vbus_notifier; in msm_otg_read_dt()
1582 &motg->vbus.nb); in msm_otg_read_dt()
1597 motg->id.nb.notifier_call = msm_otg_id_notifier; in msm_otg_read_dt()
1599 &motg->id.nb); in msm_otg_read_dt()
1603 EXTCON_USB, &motg->vbus.nb); in msm_otg_read_dt()
1844 EXTCON_USB_HOST, &motg->id.nb); in msm_otg_probe()
1846 EXTCON_USB, &motg->vbus.nb); in msm_otg_probe()
1868 extcon_unregister_notifier(motg->id.extcon, EXTCON_USB_HOST, &motg->id.nb); in msm_otg_remove()
1869 extcon_unregister_notifier(motg->vbus.extcon, EXTCON_USB, &motg->vbus.nb); in msm_otg_remove()