Lines Matching refs:health
105 static int bq24190_charger_get_health(const struct device *dev, enum charger_health *health) in bq24190_charger_get_health() argument
121 *health = CHARGER_HEALTH_COLD; in bq24190_charger_get_health()
126 *health = CHARGER_HEALTH_HOT; in bq24190_charger_get_health()
129 *health = CHARGER_HEALTH_UNKNOWN; in bq24190_charger_get_health()
132 *health = CHARGER_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health()
143 *health = CHARGER_HEALTH_UNSPEC_FAILURE; in bq24190_charger_get_health()
146 *health = CHARGER_HEALTH_OVERHEAT; in bq24190_charger_get_health()
149 *health = CHARGER_HEALTH_SAFETY_TIMER_EXPIRE; in bq24190_charger_get_health()
152 *health = CHARGER_HEALTH_UNKNOWN; in bq24190_charger_get_health()
161 *health = CHARGER_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health()
163 *health = CHARGER_HEALTH_GOOD; in bq24190_charger_get_health()
406 return bq24190_charger_get_health(dev, &val->health); in bq24190_get_prop()