thermal.h 428 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_X86_THERMAL_H
  3. #define _ASM_X86_THERMAL_H
  4. #ifdef CONFIG_X86_THERMAL_VECTOR
  5. void therm_lvt_init(void);
  6. void intel_init_thermal(struct cpuinfo_x86 *c);
  7. bool x86_thermal_enabled(void);
  8. void intel_thermal_interrupt(void);
  9. #else
  10. static inline void therm_lvt_init(void) { }
  11. static inline void intel_init_thermal(struct cpuinfo_x86 *c) { }
  12. #endif
  13. #endif /* _ASM_X86_THERMAL_H */