Felix Held | 95f1bb8 | 2021-05-07 18:46:36 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef AMD_COMMON_ALIB_H |
| 4 | #define AMD_COMMON_ALIB_H |
| 5 | |
| 6 | #define ALIB_FUNCTION_REPORT_AC_DC_STATE 0x1 |
| 7 | #define ALIB_FUNCTION_DYNAMIC_POWER_THERMAL_CONFIG 0xc |
| 8 | |
Felix Held | 3acafa2 | 2021-05-07 19:17:51 +0200 | [diff] [blame^] | 9 | #ifndef __ACPI__ |
| 10 | |
| 11 | /* parameter IDs for the ALIB_FUNCTION_DYNAMIC_POWER_THERMAL_CONFIG function */ |
| 12 | enum alib_dptc_parameter_ids { |
| 13 | ALIB_DPTC_THERMAL_CONTROL_LIMIT_ID = 0x3, |
| 14 | ALIB_DPTC_SUSTAINED_POWER_LIMIT_ID = 0x5, |
| 15 | ALIB_DPTC_FAST_PPT_LIMIT_ID = 0x6, |
| 16 | ALIB_DPTC_SLOW_PPT_LIMIT_ID = 0x7, |
| 17 | }; |
| 18 | |
| 19 | #endif /* !__ACPI__ */ |
| 20 | |
Felix Held | 95f1bb8 | 2021-05-07 18:46:36 +0200 | [diff] [blame] | 21 | #endif /* AMD_COMMON_ALIB_H */ |