Lines Matching refs:intval
48 val->intval = (psy == charger->supply_online) ? 1 : 0; in da9150_charger_supply_online()
65 val->intval = v_val * 1000; in da9150_charger_vbus_voltage_now()
81 val->intval = i_val * 1000; in da9150_charger_ibus_current_avg()
97 val->intval = t_val / 100; in da9150_charger_tjunc_temp()
148 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in da9150_charger_battery_status()
161 val->intval = POWER_SUPPLY_STATUS_CHARGING; in da9150_charger_battery_status()
168 val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; in da9150_charger_battery_status()
171 val->intval = POWER_SUPPLY_STATUS_FULL; in da9150_charger_battery_status()
174 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in da9150_charger_battery_status()
191 val->intval = POWER_SUPPLY_HEALTH_COLD; in da9150_charger_battery_health()
194 val->intval = POWER_SUPPLY_HEALTH_OVERHEAT; in da9150_charger_battery_health()
204 val->intval = POWER_SUPPLY_HEALTH_DEAD; in da9150_charger_battery_health()
207 val->intval = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in da9150_charger_battery_health()
210 val->intval = POWER_SUPPLY_HEALTH_GOOD; in da9150_charger_battery_health()
225 val->intval = 0; in da9150_charger_battery_present()
227 val->intval = 1; in da9150_charger_battery_present()
241 val->intval = POWER_SUPPLY_CHARGE_TYPE_FAST; in da9150_charger_battery_charge_type()
246 val->intval = POWER_SUPPLY_CHARGE_TYPE_TRICKLE; in da9150_charger_battery_charge_type()
249 val->intval = POWER_SUPPLY_CHARGE_TYPE_NONE; in da9150_charger_battery_charge_type()
264 val->intval = ((reg & DA9150_CHG_VFAULT_MASK) * 50000) + 2500000; in da9150_charger_battery_voltage_min()
279 val->intval = v_val * 1000; in da9150_charger_battery_voltage_now()
292 val->intval = reg * 25000; in da9150_charger_battery_current_max()
305 val->intval = ((reg & DA9150_CHG_VBAT_MASK) * 25000) + 3650000; in da9150_charger_battery_voltage_max()