Searched refs:batt_psy (Results 1 – 4 of 4) sorted by relevance
1000 if (!priv->batt_psy) in icnss_get_battery_level()1001 priv->batt_psy = power_supply_get_by_name("battery"); in icnss_get_battery_level()1003 if (priv->batt_psy) { in icnss_get_battery_level()1004 err = power_supply_get_property(priv->batt_psy, in icnss_get_battery_level()
512 struct power_supply *batt_psy; member
719 power_supply_changed(priv->batt_psy); in icnss_fw_debug_write()
4942 if (priv->batt_psy) in icnss_unregister_power_supply_notifier()4943 power_supply_put(penv->batt_psy); in icnss_unregister_power_supply_notifier()