Lines Matching refs:chg_psy
399 struct power_supply *chg_psy; member
596 power_supply_changed(chip->chg_psy); in smb2_status_change_work()
605 rc = power_supply_get_property(chip->chg_psy, POWER_SUPPLY_PROP_STATUS, in smb2_get_iio_chan()
726 power_supply_changed(chip->chg_psy); in smb2_handle_batt_overvoltage()
736 power_supply_changed(chip->chg_psy); in smb2_handle_usb_plugin()
748 power_supply_changed(chip->chg_psy); in smb2_handle_usb_icl_change()
758 power_supply_changed(chip->chg_psy); in smb2_handle_wdog_bark()
979 chip->chg_psy = in smb2_probe()
981 if (IS_ERR(chip->chg_psy)) in smb2_probe()
982 return dev_err_probe(chip->dev, PTR_ERR(chip->chg_psy), in smb2_probe()
985 rc = power_supply_get_battery_info(chip->chg_psy, &chip->batt_info); in smb2_probe()