Home
last modified time | relevance | path

Searched refs:bat_online (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dmax8925_power.c74 unsigned bat_online:1; member
270 val->intval = info->bat_online; in max8925_bat_get_prop()
273 if (info->bat_online) { in max8925_bat_get_prop()
284 if (info->bat_online) { in max8925_bat_get_prop()
299 if (!info->bat_online) { in max8925_bat_get_prop()
320 if (!info->bat_online) { in max8925_bat_get_prop()
404 info->bat_online = 0; in max8925_init_charger()
421 info->bat_online = (ret & MAX8925_CHG_MBDET) ? 0 : 1; in max8925_init_charger()
423 info->bat_online = 1; in max8925_init_charger()