Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dsc2731_charger.c59 struct power_supply *psy_usb; member
381 ret = power_supply_get_battery_info(info->psy_usb, &bat_info); in sc2731_charger_hw_init()
412 power_supply_put_battery_info(info->psy_usb, bat_info); in sc2731_charger_hw_init()
484 info->psy_usb = devm_power_supply_register(&pdev->dev, in sc2731_charger_probe()
487 if (IS_ERR(info->psy_usb)) { in sc2731_charger_probe()
489 return PTR_ERR(info->psy_usb); in sc2731_charger_probe()
H A Daxp288_charger.c123 struct power_supply *psy_usb; member
563 power_supply_changed(info->psy_usb); in axp288_charger_irq_thread_handler()
638 power_supply_changed(info->psy_usb); in axp288_charger_extcon_evt_worker()
672 power_supply_changed(info->psy_usb); in axp288_charger_extcon_evt_worker()
905 info->psy_usb = devm_power_supply_register(dev, &axp288_charger_desc, in axp288_charger_probe()
907 if (IS_ERR(info->psy_usb)) { in axp288_charger_probe()
908 ret = PTR_ERR(info->psy_usb); in axp288_charger_probe()