Home
last modified time | relevance | path

Searched refs:usb_psy (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/power/supply/
Dqcom_smbb.c119 struct power_supply *usb_psy; member
381 power_supply_changed(chg->usb_psy); in smbb_usb_valid_handler()
447 power_supply_changed(chg->usb_psy); in smbb_chg_gone_handler()
895 chg->usb_psy = devm_power_supply_register(&pdev->dev, in smbb_charger_probe()
898 if (IS_ERR(chg->usb_psy)) { in smbb_charger_probe()
900 return PTR_ERR(chg->usb_psy); in smbb_charger_probe()
Dqcom_battmgr.c291 struct power_supply *usb_psy; member
955 power_supply_changed(battmgr->usb_psy); in qcom_battmgr_notification()
1367 battmgr->usb_psy = devm_power_supply_register(dev, &sc8280xp_usb_psy_desc, &psy_cfg_supply); in qcom_battmgr_probe()
1368 if (IS_ERR(battmgr->usb_psy)) in qcom_battmgr_probe()
1369 return dev_err_probe(dev, PTR_ERR(battmgr->usb_psy), in qcom_battmgr_probe()
1382 battmgr->usb_psy = devm_power_supply_register(dev, &sm8350_usb_psy_desc, &psy_cfg_supply); in qcom_battmgr_probe()
1383 if (IS_ERR(battmgr->usb_psy)) in qcom_battmgr_probe()
1384 return dev_err_probe(dev, PTR_ERR(battmgr->usb_psy), in qcom_battmgr_probe()
/linux-6.12.1/drivers/usb/dwc3/
Dcore.c1701 dwc->usb_psy = power_supply_get_by_name(usb_psy_name); in dwc3_get_properties()
1702 if (!dwc->usb_psy) in dwc3_get_properties()
2278 if (dwc->usb_psy) in dwc3_probe()
2279 power_supply_put(dwc->usb_psy); in dwc3_probe()
2309 if (dwc->usb_psy) in dwc3_remove()
2310 power_supply_put(dwc->usb_psy); in dwc3_remove()
Dcore.h1229 struct power_supply *usb_psy; member
Dgadget.c3054 if (!dwc->usb_psy) in dwc3_gadget_vbus_draw()
3058 ret = power_supply_set_property(dwc->usb_psy, POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT, &val); in dwc3_gadget_vbus_draw()