Home
last modified time | relevance | path

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

/Linux-v6.6/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
952 power_supply_changed(battmgr->usb_psy); in qcom_battmgr_notification()
1361 battmgr->usb_psy = devm_power_supply_register(dev, &sc8280xp_usb_psy_desc, &psy_cfg_supply); in qcom_battmgr_probe()
1362 if (IS_ERR(battmgr->usb_psy)) in qcom_battmgr_probe()
1363 return dev_err_probe(dev, PTR_ERR(battmgr->usb_psy), in qcom_battmgr_probe()
1376 battmgr->usb_psy = devm_power_supply_register(dev, &sm8350_usb_psy_desc, &psy_cfg_supply); in qcom_battmgr_probe()
1377 if (IS_ERR(battmgr->usb_psy)) in qcom_battmgr_probe()
1378 return dev_err_probe(dev, PTR_ERR(battmgr->usb_psy), in qcom_battmgr_probe()
/Linux-v6.6/drivers/usb/dwc3/
Dcore.c1461 dwc->usb_psy = power_supply_get_by_name(usb_psy_name); in dwc3_get_properties()
1462 if (!dwc->usb_psy) in dwc3_get_properties()
1942 if (dwc->usb_psy) in dwc3_probe()
1943 power_supply_put(dwc->usb_psy); in dwc3_probe()
1973 if (dwc->usb_psy) in dwc3_remove()
1974 power_supply_put(dwc->usb_psy); in dwc3_remove()
Dcore.h1185 struct power_supply *usb_psy; member
Dgadget.c3052 if (!dwc->usb_psy) in dwc3_gadget_vbus_draw()
3056 ret = power_supply_set_property(dwc->usb_psy, POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT, &val); in dwc3_gadget_vbus_draw()