Home
last modified time | relevance | path

Searched refs:POWER_SUPPLY_STATUS_DISCHARGING (Results 1 – 25 of 67) sorted by relevance

123

/Linux-v5.10/drivers/power/supply/
Dtosa_battery.c168 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) { in tosa_bat_update()
186 bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in tosa_bat_update()
250 .status = POWER_SUPPLY_STATUS_DISCHARGING,
271 .status = POWER_SUPPLY_STATUS_DISCHARGING,
Dda9052-battery.c190 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) in da9052_read_chgend_current()
206 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) in da9052_read_chg_current()
277 bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in da9052_bat_check_status()
467 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) in da9052_USB_current_notifier()
Dcollie_battery.c164 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) { in collie_bat_update()
182 bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in collie_bat_update()
229 .status = POWER_SUPPLY_STATUS_DISCHARGING,
Dtest_power.c30 static int battery_status = POWER_SUPPLY_STATUS_DISCHARGING;
241 battery_status = POWER_SUPPLY_STATUS_DISCHARGING; in test_power_exit()
271 { POWER_SUPPLY_STATUS_DISCHARGING, "discharging" },
Dgeneric-adc-battery.c216 adc_bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in gab_work()
262 adc_bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in gab_probe()
Dqcom_smbb.c605 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in smbb_battery_get_property()
607 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in smbb_battery_get_property()
611 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in smbb_battery_get_property()
615 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in smbb_battery_get_property()
Ds3c_adc_battery.c265 bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in s3c_adc_bat_work()
312 main_bat.status = POWER_SUPPLY_STATUS_DISCHARGING; in s3c_adc_bat_probe()
Dmax8998_charger.c66 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8998_battery_get_property()
Drn5t618_power.c111 return POWER_SUPPLY_STATUS_DISCHARGING; in rn5t618_decode_status()
140 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in rn5t618_battery_status()
Dpmu_battery.c96 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in pmu_bat_get_property()
Dmax14577_charger.c69 *val = POWER_SUPPLY_STATUS_DISCHARGING; in max14577_get_charger_state()
86 *val = POWER_SUPPLY_STATUS_DISCHARGING; in max14577_get_charger_state()
Dsbs-charger.c71 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_get_property()
Dolpc_battery.c105 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in olpc_bat_get_status()
113 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in olpc_bat_get_status()
Dtwl4030_madc_battery.c122 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in twl4030_madc_bat_get_property()
Dwm97xx_battery.c105 POWER_SUPPLY_STATUS_DISCHARGING : in wm97xx_bat_update()
Dipaq_micro_battery.c125 return POWER_SUPPLY_STATUS_DISCHARGING; in get_status()
Dsbs-battery.c465 *intval = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_status_correct()
614 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_get_battery_property()
1046 ret = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_delayed_work()
Dcw2015_battery.c391 int status = POWER_SUPPLY_STATUS_DISCHARGING; in cw_update_status()
464 cw_bat->status == POWER_SUPPLY_STATUS_DISCHARGING; in cw_battery_valid_time_to_empty()
Dz2_battery.c101 POWER_SUPPLY_STATUS_DISCHARGING) : in z2_batt_update()
Dbq27xxx_battery.c1817 status = POWER_SUPPLY_STATUS_DISCHARGING;
1822 status = POWER_SUPPLY_STATUS_DISCHARGING;
1829 status = POWER_SUPPLY_STATUS_DISCHARGING;
1834 if ((status == POWER_SUPPLY_STATUS_DISCHARGING) &&
Dds2782_battery.c235 *status = POWER_SUPPLY_STATUS_DISCHARGING; in ds278x_get_status()
Dmax8903_charger.c51 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8903_get_property()
/Linux-v5.10/drivers/hid/
Dhid-logitech-hidpp.c614 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp10_battery_status_map_status()
659 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_query_battery_status()
674 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp10_battery_mileage_map_status()
710 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_query_battery_mileage()
745 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_battery_event()
1084 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp20_batterylevel_map_status_capacity()
1205 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp20_query_battery_info()
1228 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp20_battery_event()
1280 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp20_battery_map_status_voltage()
1625 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp_solar_battery_event()
[all …]
/Linux-v5.10/include/linux/
Dpower_supply.h37 POWER_SUPPLY_STATUS_DISCHARGING, enumerator
/Linux-v5.10/drivers/staging/nvec/
Dnvec_power.c152 POWER_SUPPLY_STATUS_DISCHARGING; in nvec_power_bat_notifier()

123