diff options
Diffstat (limited to 'include/throttle_ap.h')
-rw-r--r-- | include/throttle_ap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/throttle_ap.h b/include/throttle_ap.h index 09669d70b1..20ce3ecf59 100644 --- a/include/throttle_ap.h +++ b/include/throttle_ap.h @@ -32,6 +32,7 @@ enum throttle_sources { THROTTLE_SRC_THERMAL = 0, THROTTLE_SRC_BAT_DISCHG_CURRENT, THROTTLE_SRC_BAT_VOLTAGE, + THROTTLE_SRC_AC, }; /** @@ -105,4 +106,8 @@ static inline void throttle_ap(enum throttle_level level, {} #endif +void throttle_gpu(enum throttle_level level, + enum throttle_type type, + enum throttle_sources source); + #endif /* __CROS_EC_THROTTLE_AP_H */ |