Searched refs:POWER_SUPPLY_STATUS_DISCHARGING (Results 1 – 25 of 82) sorted by relevance
1234
24 KUNIT_EXPECT_EQ(test, dev->battery_charge_status, POWER_SUPPLY_STATUS_DISCHARGING); in hid_test_input_set_battery_charge_status()59 dev->battery_charge_status = POWER_SUPPLY_STATUS_DISCHARGING; in hid_test_input_get_battery_property()62 KUNIT_EXPECT_EQ(test, val.intval, POWER_SUPPLY_STATUS_DISCHARGING); in hid_test_input_get_battery_property()
697 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp10_battery_status_map_status()742 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_query_battery_status()757 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp10_battery_mileage_map_status()793 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_query_battery_mileage()828 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp10_battery_event()1214 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp20_batterylevel_map_status_capacity()1335 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp20_query_battery_info_1000()1358 hidpp->battery.online = status == POWER_SUPPLY_STATUS_DISCHARGING || in hidpp20_battery_event_1000()1411 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp20_battery_map_status_voltage()1625 status = POWER_SUPPLY_STATUS_DISCHARGING; in hidpp20_unifiedbattery_map_status()[all …]
386 case POWER_SUPPLY_STATUS_DISCHARGING: in cpcap_charger_update_state()485 POWER_SUPPLY_STATUS_DISCHARGING); in cpcap_charger_vbus_work()602 case POWER_SUPPLY_STATUS_DISCHARGING: in cpcap_charger_disconnect()675 new_state = POWER_SUPPLY_STATUS_DISCHARGING; in cpcap_usb_detect()727 POWER_SUPPLY_STATUS_DISCHARGING); in cpcap_usb_detect()964 cpcap_charger_update_state(ddata, POWER_SUPPLY_STATUS_DISCHARGING); in cpcap_charger_shutdown()
190 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()
166 if (bat->status == POWER_SUPPLY_STATUS_DISCHARGING) { in collie_bat_update()184 bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in collie_bat_update()231 .status = POWER_SUPPLY_STATUS_DISCHARGING,
30 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" },
134 adc_bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in gab_work()175 adc_bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in gab_probe()
605 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()
66 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8998_battery_get_property()
69 *val = POWER_SUPPLY_STATUS_DISCHARGING; in max14577_get_charger_state()86 *val = POWER_SUPPLY_STATUS_DISCHARGING; in max14577_get_charger_state()
195 *val = POWER_SUPPLY_STATUS_DISCHARGING; in ip5xxx_battery_get_status()448 case POWER_SUPPLY_STATUS_DISCHARGING: in ip5xxx_battery_set_property()
218 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in axp20x_battery_get_prop()476 case POWER_SUPPLY_STATUS_DISCHARGING: in axp20x_battery_set_prop()
96 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in pmu_bat_get_property()
70 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_get_property()
105 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in olpc_bat_get_status()113 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in olpc_bat_get_status()
89 return POWER_SUPPLY_STATUS_DISCHARGING; in a500_battery_get_status()
105 POWER_SUPPLY_STATUS_DISCHARGING : in wm97xx_bat_update()
125 return POWER_SUPPLY_STATUS_DISCHARGING; in get_status()
122 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in twl4030_madc_bat_get_property()
70 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8997_battery_get_property()
392 int status = POWER_SUPPLY_STATUS_DISCHARGING; in cw_update_status()465 cw_bat->status == POWER_SUPPLY_STATUS_DISCHARGING; in cw_battery_valid_time_to_empty()
148 return POWER_SUPPLY_STATUS_DISCHARGING; in rn5t618_decode_status()177 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in rn5t618_battery_status()
500 *intval = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_status_correct()649 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_get_battery_property()1089 ret = POWER_SUPPLY_STATUS_DISCHARGING; in sbs_delayed_work()
61 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8903_get_property()
152 POWER_SUPPLY_STATUS_DISCHARGING; in nvec_power_bat_notifier()