Searched refs:amd_pmf_get_battery_prop (Results 1 – 1 of 1) sorted by relevance
107 static int amd_pmf_get_battery_prop(enum power_supply_property prop) in amd_pmf_get_battery_prop() function132 val = amd_pmf_get_battery_prop(POWER_SUPPLY_PROP_PRESENT); in amd_pmf_get_battery_info()138 in->ev_info.bat_percentage = amd_pmf_get_battery_prop(POWER_SUPPLY_PROP_CAPACITY); in amd_pmf_get_battery_info()140 in->ev_info.bat_design = amd_pmf_get_battery_prop(POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN) / in amd_pmf_get_battery_info()142 in->ev_info.full_charge_capacity = amd_pmf_get_battery_prop(POWER_SUPPLY_PROP_ENERGY_FULL) / in amd_pmf_get_battery_info()144 in->ev_info.drain_rate = amd_pmf_get_battery_prop(POWER_SUPPLY_PROP_POWER_NOW) / in amd_pmf_get_battery_info()