Searched refs:mains_online (Results 1 – 2 of 2) sorted by relevance
191 bool mains_online; member317 ret = bq2515x->mains_online != dc; in bq2515x_update_ps_status()319 bq2515x->mains_online = dc; in bq2515x_update_ps_status()344 if (!bq2515x->mains_online) in bq2515x_get_battery_voltage_now()372 if (!bq2515x->mains_online) in bq2515x_get_battery_current_now()580 if (!bq2515x->mains_online) { in bq2515x_charging_status()706 if (!bq2515x->mains_online) in bq2515x_charger_get_health()810 val->intval = bq2515x->mains_online; in bq2515x_mains_get_property()
203 bool mains_online; member327 ret = smb->mains_online != dc || smb->usb_online != usb; in smb347_update_ps_status()328 smb->mains_online = dc; in smb347_update_ps_status()345 return smb->usb_online || smb->mains_online; in smb347_is_ps_online()1054 if (!smb->mains_online) in smb347_get_charging_status()1115 if (!smb->mains_online) in smb347_get_property_locked()1140 val->intval = smb->mains_online; in smb347_get_property_locked()