Searched refs:id_nb (Results 1 – 3 of 3) sorted by relevance
/drivers/usb/phy/ |
D | phy-omap-otg.c | 35 struct notifier_block id_nb; member 74 struct otg_device *otg_dev = container_of(nb, struct otg_device, id_nb); in omap_otg_id_notifier() 118 otg_dev->id_nb.notifier_call = omap_otg_id_notifier; in omap_otg_probe() 121 ret = extcon_register_notifier(extcon, EXTCON_USB_HOST, &otg_dev->id_nb); in omap_otg_probe() 128 &otg_dev->id_nb); in omap_otg_probe() 151 extcon_unregister_notifier(edev, EXTCON_USB_HOST,&otg_dev->id_nb); in omap_otg_remove()
|
/drivers/usb/dwc3/ |
D | dwc3-omap.c | 133 struct notifier_block id_nb; member 339 struct dwc3_omap *omap = container_of(nb, struct dwc3_omap, id_nb); in dwc3_omap_id_notifier() 426 omap->id_nb.notifier_call = dwc3_omap_id_notifier; in dwc3_omap_extcon_register() 428 &omap->id_nb); in dwc3_omap_extcon_register() 533 extcon_unregister_notifier(omap->edev, EXTCON_USB_HOST, &omap->id_nb); in dwc3_omap_probe() 551 extcon_unregister_notifier(omap->edev, EXTCON_USB_HOST, &omap->id_nb); in dwc3_omap_remove()
|
/drivers/power/ |
D | axp288_charger.c | 162 struct notifier_block id_nb; member 694 container_of(nb, struct axp288_chrg_info, otg.id_nb); in axp288_charger_handle_otg_evt() 873 info->otg.id_nb.notifier_call = axp288_charger_handle_otg_evt; in axp288_charger_probe() 875 &info->otg.id_nb); in axp288_charger_probe()
|