blob: ed258802be3250f971e5a0572423f477236f2760 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _DRIVERS_INTEL_DPTF_H_
#define _DRIVERS_INTEL_DPTF_H_
#include <types.h>
struct dptf_platform_info {
/*
* True indicates the platform-specific HIDs are to be emitted in EISA
* format instead of a string.
*/
bool use_eisa_hids;
const char *dptf_device_hid;
const char *generic_hid;
const char *fan_hid;
const char *tpch_device_hid;
const char *tpwr_device_hid;
const char *tbat_device_hid;
struct {
const char *set_fivr_low_clock_method;
const char *set_fivr_high_clock_method;
const char *get_fivr_low_clock_method;
const char *get_fivr_high_clock_method;
const char *get_fivr_ssc_method;
const char *get_fivr_switching_fault_status;
const char *get_fivr_switching_freq_mhz;
} tpch_method_names;
};
const struct dptf_platform_info *get_dptf_platform_info(void);
#endif /* _DRIVERS_INTEL_DPTF_H_ */
|