Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/power/supply/
Dtosa_battery.c172 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) { in tosa_bat_update()
190 bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in tosa_bat_update()
254 .status = POWER_SUPPLY_STATUS_DISCHARGING,
275 .status = POWER_SUPPLY_STATUS_DISCHARGING,
Dda9052-battery.c194 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) in da9052_read_chgend_current()
210 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) in da9052_read_chg_current()
281 bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in da9052_bat_check_status()
471 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) in da9052_USB_current_notifier()
Dcollie_battery.c168 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) { in collie_bat_update()
186 bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in collie_bat_update()
233 .status = POWER_SUPPLY_STATUS_DISCHARGING,
Dtest_power.c33 static int battery_status = POWER_SUPPLY_STATUS_DISCHARGING;
232 battery_status = POWER_SUPPLY_STATUS_DISCHARGING; in test_power_exit()
262 { POWER_SUPPLY_STATUS_DISCHARGING, "discharging" },
Dgeneric-adc-battery.c216 adc_bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in gab_work()
261 adc_bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in gab_probe()
Dqcom_smbb.c613 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in smbb_battery_get_property()
615 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in smbb_battery_get_property()
619 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in smbb_battery_get_property()
623 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()
Dmax14577_charger.c79 *val = POWER_SUPPLY_STATUS_DISCHARGING; in max14577_get_charger_state()
96 *val = POWER_SUPPLY_STATUS_DISCHARGING; in max14577_get_charger_state()
Dolpc_battery.c103 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in olpc_bat_get_status()
111 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in olpc_bat_get_status()
Dpmu_battery.c99 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in pmu_bat_get_property()
Dsbs-battery.c314 *intval = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_status_correct()
436 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_get_battery_property()
793 ret = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_delayed_work()
Dsbs-charger.c75 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_get_property()
Dtwl4030_madc_battery.c121 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in twl4030_madc_bat_get_property()
Dmax17040_battery.c160 chip->status = POWER_SUPPLY_STATUS_DISCHARGING; in max17040_get_status()
Dwm97xx_battery.c109 POWER_SUPPLY_STATUS_DISCHARGING : in wm97xx_bat_update()
Dipaq_micro_battery.c128 return POWER_SUPPLY_STATUS_DISCHARGING; in get_status()
Dz2_battery.c105 POWER_SUPPLY_STATUS_DISCHARGING) : in z2_batt_update()
Dds2782_battery.c239 *status = POWER_SUPPLY_STATUS_DISCHARGING; in ds278x_get_status()
Dbq24735-charger.c300 case POWER_SUPPLY_STATUS_DISCHARGING: in bq24735_charger_set_property()
Dmax8903_charger.c65 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8903_get_property()
Dwm8350_power.c148 return POWER_SUPPLY_STATUS_DISCHARGING; in wm8350_batt_status()
Daxp20x_battery.c219 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in axp20x_battery_get_prop()
/Linux-v4.19/drivers/hid/
Dhid-logitech-hidpp.c464 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp10_battery_status_map_status()
509 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_query_battery_status()
524 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp10_battery_mileage_map_status()
560 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_query_battery_mileage()
595 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_battery_event()
926 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp20_batterylevel_map_status_capacity()
1044 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp20_query_battery_info()
1067 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp20_battery_event()
1208 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp_solar_battery_event()
1213 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp_solar_battery_event()
/Linux-v4.19/include/linux/
Dpower_supply.h38 POWER_SUPPLY_STATUS_DISCHARGING, enumerator
/Linux-v4.19/drivers/staging/nvec/
Dnvec_power.c152 POWER_SUPPLY_STATUS_DISCHARGING; in nvec_power_bat_notifier()

123