Lines Matching refs:intval
35 &val->intval, in ingenic_battery_get_property()
37 if (val->intval < info->voltage_min_design_uv) in ingenic_battery_get_property()
38 val->intval = POWER_SUPPLY_HEALTH_DEAD; in ingenic_battery_get_property()
39 else if (val->intval > info->voltage_max_design_uv) in ingenic_battery_get_property()
40 val->intval = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in ingenic_battery_get_property()
42 val->intval = POWER_SUPPLY_HEALTH_GOOD; in ingenic_battery_get_property()
46 &val->intval, in ingenic_battery_get_property()
50 val->intval = info->voltage_min_design_uv; in ingenic_battery_get_property()
53 val->intval = info->voltage_max_design_uv; in ingenic_battery_get_property()