Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/hid/
Dhid-input-test.c24 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()
Dhid-logitech-hidpp.c697 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 …]
/linux-6.6.21/drivers/power/supply/
Dcpcap-charger.c386 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()
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.c166 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,
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.c134 adc_bat->status = POWER_SUPPLY_STATUS_DISCHARGING; in gab_work()
175 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()
Dmax8998_charger.c66 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8998_battery_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()
Dip5xxx_power.c195 *val = POWER_SUPPLY_STATUS_DISCHARGING; in ip5xxx_battery_get_status()
448 case POWER_SUPPLY_STATUS_DISCHARGING: in ip5xxx_battery_set_property()
Daxp20x_battery.c218 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in axp20x_battery_get_prop()
476 case POWER_SUPPLY_STATUS_DISCHARGING: in axp20x_battery_set_prop()
Dpmu_battery.c96 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in pmu_bat_get_property()
Dsbs-charger.c70 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()
Dacer_a500_battery.c89 return POWER_SUPPLY_STATUS_DISCHARGING; in a500_battery_get_status()
Dwm97xx_battery.c105 POWER_SUPPLY_STATUS_DISCHARGING : in wm97xx_bat_update()
Dipaq_micro_battery.c125 return POWER_SUPPLY_STATUS_DISCHARGING; in get_status()
Dtwl4030_madc_battery.c122 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in twl4030_madc_bat_get_property()
Dmax8997_charger.c70 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8997_battery_get_property()
Dcw2015_battery.c392 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()
Drn5t618_power.c148 return POWER_SUPPLY_STATUS_DISCHARGING; in rn5t618_decode_status()
177 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in rn5t618_battery_status()
Dsbs-battery.c500 *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()
Dmax8903_charger.c61 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8903_get_property()
/linux-6.6.21/drivers/staging/nvec/
Dnvec_power.c152 POWER_SUPPLY_STATUS_DISCHARGING; in nvec_power_bat_notifier()

1234