Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / thermal / intel / intel_hfi.h
blob325aa78b745cf9d233ac888548cd3e6aa3bbfe47
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _INTEL_HFI_H
3 #define _INTEL_HFI_H
5 #if defined(CONFIG_INTEL_HFI_THERMAL)
6 void __init intel_hfi_init(void);
7 void intel_hfi_online(unsigned int cpu);
8 void intel_hfi_offline(unsigned int cpu);
9 void intel_hfi_process_event(__u64 pkg_therm_status_msr_val);
10 #else
11 static inline void intel_hfi_init(void) { }
12 static inline void intel_hfi_online(unsigned int cpu) { }
13 static inline void intel_hfi_offline(unsigned int cpu) { }
14 static inline void intel_hfi_process_event(__u64 pkg_therm_status_msr_val) { }
15 #endif /* CONFIG_INTEL_HFI_THERMAL */
17 #endif /* _INTEL_HFI_H */