Home
last modified time | relevance | path

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

/drivers/staging/nvec/
A Dnvec_power.c28 int bat_present; member
134 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()
/drivers/power/supply/
A Dlenovo_yoga_c630_battery.c37 bool bat_present; member
81 ecbat->bat_present = !!(val & LENOVO_EC_BAT_PRESENT_IS_PRESENT); in yoga_c630_psy_update_bat_info()
82 if (!ecbat->bat_present) in yoga_c630_psy_update_bat_info()
213 if (!ecbat->bat_present && psp != POWER_SUPPLY_PROP_PRESENT) in yoga_c630_psy_bat_get_property()
232 val->intval = ecbat->bat_present; in yoga_c630_psy_bat_get_property()
A Dhuawei-gaokun-battery.c120 int bat_present; member
193 ecbat->bat_present = ret ? false : !!(present & EC_BAT_PRESENT); in gaokun_psy_get_bat_present()
198 return ecbat->bat_present; in gaokun_psy_bat_present()
291 val->intval = ecbat->bat_present; in gaokun_psy_get_bat_property()
A Dsc27xx_fuel_gauge.c106 bool bat_present; member
601 val->intval = data->bat_present; in sc27xx_fgu_get_property()
927 data->bat_present = !!state; in sc27xx_fgu_bat_detection()
1200 data->bat_present = !!ret; in sc27xx_fgu_probe()

Completed in 10 milliseconds