Searched refs:bat_present (Results 1 – 2 of 2) sorted by relevance
28 int bat_present; member134 if (power->bat_present == 0) { in nvec_power_bat_notifier()139 power->bat_present = 1; in nvec_power_bat_notifier()158 if (power->bat_present == 1) in nvec_power_bat_notifier()161 power->bat_present = 0; in nvec_power_bat_notifier()252 val->intval = power->bat_present; in nvec_battery_get_property()
106 bool bat_present; member601 val->intval = data->bat_present; in sc27xx_fgu_get_property()927 data->bat_present = !!state; in sc27xx_fgu_bat_detection()1198 data->bat_present = !!ret; in sc27xx_fgu_probe()