Commit | Line | Data |
---|---|---|
a3c1f066 ZR |
1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | |
3 | * header for Intel TCC (thermal control circuitry) library | |
4 | * | |
5 | * Copyright (C) 2022 Intel Corporation. | |
6 | */ | |
7 | ||
8 | #ifndef __INTEL_TCC_H__ | |
9 | #define __INTEL_TCC_H__ | |
10 | ||
11 | #include <linux/types.h> | |
12 | ||
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); | |
7251b9e8 | 16 | int intel_tcc_get_temp(int cpu, int *temp, bool pkg); |
6ae0092c | 17 | u32 intel_tcc_get_offset_mask(void); |
a3c1f066 ZR |
18 | |
19 | #endif /* __INTEL_TCC_H__ */ |