Home
last modified time | relevance | path

Searched refs:usb_nb (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dbq256xx_charger.c240 struct notifier_block usb_nb; member
373 container_of(nb, struct bq256xx_device, usb_nb); in bq256xx_usb_notifier()
904 usb_unregister_notifier(bq->usb2_phy, &bq->usb_nb); in bq256xx_charger_reset()
907 usb_unregister_notifier(bq->usb3_phy, &bq->usb_nb); in bq256xx_charger_reset()
1738 bq->usb_nb.notifier_call = bq256xx_usb_notifier; in bq256xx_probe()
1739 usb_register_notifier(bq->usb2_phy, &bq->usb_nb); in bq256xx_probe()
1745 bq->usb_nb.notifier_call = bq256xx_usb_notifier; in bq256xx_probe()
1746 usb_register_notifier(bq->usb3_phy, &bq->usb_nb); in bq256xx_probe()
H A Dtwl4030_charger.c117 struct notifier_block usb_nb; member
668 struct twl4030_bci *bci = container_of(nb, struct twl4030_bci, usb_nb); in twl4030_bci_usb_ncb()
1025 bci->usb_nb.notifier_call = twl4030_bci_usb_ncb; in twl4030_bci_probe()
1027 bci->dev, phynode, &bci->usb_nb); in twl4030_bci_probe()
1097 twl4030_bci_usb_ncb(&bci->usb_nb, in twl4030_bci_probe()
H A Dbq25890_charger.c117 struct notifier_block usb_nb; member
1143 container_of(nb, struct bq25890_device, usb_nb); in bq25890_usb_notifier()
1531 bq->usb_nb.notifier_call = bq25890_usb_notifier; in bq25890_probe()
1532 usb_register_notifier(bq->usb_phy, &bq->usb_nb); in bq25890_probe()
1543 usb_unregister_notifier(bq->usb_phy, &bq->usb_nb); in bq25890_remove()