Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dsc2731_charger.c58 struct notifier_block usb_notify; member
360 container_of(nb, struct sc2731_charger_info, usb_notify); in sc2731_charger_usb_change()
502 info->usb_notify.notifier_call = sc2731_charger_usb_change; in sc2731_charger_probe()
503 ret = usb_register_notifier(info->usb_phy, &info->usb_notify); in sc2731_charger_probe()
518 usb_unregister_notifier(info->usb_phy, &info->usb_notify); in sc2731_charger_remove()
H A Dwm831x_power.c33 struct notifier_block usb_notify; member
145 usb_notify); in wm831x_usb_limit_change()
652 power->usb_notify.notifier_call = wm831x_usb_limit_change; in wm831x_power_probe()
653 ret = usb_register_notifier(power->usb_phy, &power->usb_notify); in wm831x_power_probe()
705 &wm831x_power->usb_notify); in wm831x_power_remove()