Searched refs:INHIBIT_CHARGE (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/power/supply/ |
D | qcom_pmi8998_charger.c | 361 INHIBIT_CHARGE, enumerator 520 case INHIBIT_CHARGE: in smb2_get_prop_status()
|
/Linux-v6.6/drivers/platform/x86/ |
D | thinkpad_acpi.c | 9286 INHIBIT_CHARGE, enumerator 9358 case INHIBIT_CHARGE: in tpacpi_battery_get() 9402 case INHIBIT_CHARGE: in tpacpi_battery_set() 9688 if (tpacpi_battery_get(INHIBIT_CHARGE, battery, &ret)) in charge_behaviour_show() 9734 ret = min(ret, tpacpi_battery_set_validate(INHIBIT_CHARGE, battery, 0)); in charge_behaviour_store() 9740 ret = tpacpi_battery_set_validate(INHIBIT_CHARGE, battery, 0); in charge_behaviour_store() 9748 ret = min(ret, tpacpi_battery_set_validate(INHIBIT_CHARGE, battery, 1)); in charge_behaviour_store()
|