2022-12-19 10:46:15 -05:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
|
|
|
* header for Intel TCC (thermal control circuitry) library
|
|
|
|
*
|
|
|
|
* Copyright (C) 2022 Intel Corporation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_TCC_H__
|
|
|
|
#define __INTEL_TCC_H__
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
int intel_tcc_get_tjmax(int cpu);
|
|
|
|
int intel_tcc_get_offset(int cpu);
|
|
|
|
int intel_tcc_set_offset(int cpu, int offset);
|
2024-02-05 20:54:09 -05:00
|
|
|
int intel_tcc_get_temp(int cpu, int *temp, bool pkg);
|
2022-12-19 10:46:15 -05:00
|
|
|
|
|
|
|
#endif /* __INTEL_TCC_H__ */
|