1 /* SPDX-License-Identifier: GPL-2.0 */
3 * header for Intel TCC (thermal control circuitry) library
5 * Copyright (C) 2022 Intel Corporation.
8 #ifndef __INTEL_TCC_H__
9 #define __INTEL_TCC_H__
11 #include <linux/types.h>
13 int intel_tcc_get_tjmax(int cpu);
14 int intel_tcc_get_offset(int cpu);
15 int intel_tcc_set_offset(int cpu, int offset);
16 int intel_tcc_get_temp(int cpu, bool pkg);
18 #endif /* __INTEL_TCC_H__ */