Searched refs:mains_online (Results 1 – 2 of 2) sorted by relevance
186 bool mains_online; member312 ret = bq2515x->mains_online != dc; in bq2515x_update_ps_status()314 bq2515x->mains_online = dc; in bq2515x_update_ps_status()339 if (!bq2515x->mains_online) in bq2515x_get_battery_voltage_now()367 if (!bq2515x->mains_online) in bq2515x_get_battery_current_now()575 if (!bq2515x->mains_online) { in bq2515x_charging_status()701 if (!bq2515x->mains_online) in bq2515x_charger_get_health()805 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()