Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/
H A Dthinkpad_acpi.c9392 FORCE_DISCHARGE, enumerator
9459 case FORCE_DISCHARGE: in tpacpi_battery_get()
9499 case FORCE_DISCHARGE: in tpacpi_battery_set()
9786 if (tpacpi_battery_get(FORCE_DISCHARGE, battery, &ret)) in charge_behaviour_show()
9839 ret = tpacpi_battery_set_validate(FORCE_DISCHARGE, battery, 0); in charge_behaviour_store()
9848 ret = min(ret, tpacpi_battery_set_validate(FORCE_DISCHARGE, battery, 1)); in charge_behaviour_store()
9854 ret = tpacpi_battery_set_validate(FORCE_DISCHARGE, battery, 0); in charge_behaviour_store()