xref: /openbmc/linux/drivers/thermal/intel/thermal_interrupt.h (revision d4a96be65423296e42091b0b79973b8d446e7798)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _INTEL_THERMAL_INTERRUPT_H
3 #define _INTEL_THERMAL_INTERRUPT_H
4 
5 /* Interrupt Handler for package thermal thresholds */
6 extern int (*platform_thermal_package_notify)(__u64 msr_val);
7 
8 /* Interrupt Handler for core thermal thresholds */
9 extern int (*platform_thermal_notify)(__u64 msr_val);
10 
11 /* Callback support of rate control, return true, if
12  * callback has rate control */
13 extern bool (*platform_thermal_package_rate_control)(void);
14 
15 #endif /* _INTEL_THERMAL_INTERRUPT_H */
16