Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/
Dthinkpad_acpi.c9565 static int tpacpi_battery_set_validate(int what, int battery, int value) in tpacpi_battery_set_validate() function
9873 ret = tpacpi_battery_set_validate(FORCE_DISCHARGE, battery, 0); in charge_behaviour_store()
9875 ret = min(ret, tpacpi_battery_set_validate(INHIBIT_CHARGE, battery, 0)); in charge_behaviour_store()
9881 ret = tpacpi_battery_set_validate(INHIBIT_CHARGE, battery, 0); in charge_behaviour_store()
9882 ret = min(ret, tpacpi_battery_set_validate(FORCE_DISCHARGE, battery, 1)); in charge_behaviour_store()
9888 ret = tpacpi_battery_set_validate(FORCE_DISCHARGE, battery, 0); in charge_behaviour_store()
9889 ret = min(ret, tpacpi_battery_set_validate(INHIBIT_CHARGE, battery, 1)); in charge_behaviour_store()