Searched refs:pspval (Results 1 – 1 of 1) sorted by relevance
225 union power_supply_propval pspval; in power_supply_hwmon_read() local232 ret = power_supply_get_property(psy, prop, &pspval); in power_supply_hwmon_read()244 pspval.intval = DIV_ROUND_CLOSEST(pspval.intval, 1000); in power_supply_hwmon_read()255 if (check_mul_overflow(pspval.intval, 100, in power_supply_hwmon_read()256 &pspval.intval)) in power_supply_hwmon_read()263 *val = pspval.intval; in power_supply_hwmon_read()274 union power_supply_propval pspval; in power_supply_hwmon_write() local281 pspval.intval = val; in power_supply_hwmon_write()291 if (check_mul_overflow(pspval.intval, 1000, in power_supply_hwmon_write()292 &pspval.intval)) in power_supply_hwmon_write()[all …]