Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _INTEL_THERMAL_INTERRUPT_H
0003 #define _INTEL_THERMAL_INTERRUPT_H
0004 
0005 /* Interrupt Handler for package thermal thresholds */
0006 extern int (*platform_thermal_package_notify)(__u64 msr_val);
0007 
0008 /* Interrupt Handler for core thermal thresholds */
0009 extern int (*platform_thermal_notify)(__u64 msr_val);
0010 
0011 /* Callback support of rate control, return true, if
0012  * callback has rate control */
0013 extern bool (*platform_thermal_package_rate_control)(void);
0014 
0015 /* Handle HWP interrupt */
0016 extern void notify_hwp_interrupt(void);
0017 
0018 #endif /* _INTEL_THERMAL_INTERRUPT_H */