Home
last modified time | relevance | path

Searched refs:otg_nb (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/power/supply/
Dda9150-charger.c34 struct notifier_block otg_nb; member
450 container_of(nb, struct da9150_charger, otg_nb); in da9150_charger_otg_ncb()
589 charger->otg_nb.notifier_call = da9150_charger_otg_ncb; in da9150_charger_probe()
590 usb_register_notifier(charger->usb_phy, &charger->otg_nb); in da9150_charger_probe()
625 usb_unregister_notifier(charger->usb_phy, &charger->otg_nb); in da9150_charger_probe()
664 usb_unregister_notifier(charger->usb_phy, &charger->otg_nb); in da9150_charger_remove()
Dpda_power.c38 static struct notifier_block otg_nb; variable
377 otg_nb.notifier_call = otg_handle_notification; in pda_power_probe()
378 ret = usb_register_notifier(transceiver, &otg_nb); in pda_power_probe()
434 usb_unregister_notifier(transceiver, &otg_nb); in pda_power_remove()