3 #ifndef ACPI_ACPIGEN_DPTF_H
4 #define ACPI_ACPIGEN_DPTF_H
11 #define DEFAULT_IF_0(thing, default_) ((thing) ? (thing) : (default_))
14 #define DPTF_DEVICE_PATH "\\_SB.DPTF"
15 #define TCPU_SCOPE "\\_SB.PCI0"
void dptf_write_enabled_policies(const struct dptf_active_policy *active_policies, int active_count, const struct dptf_passive_policy *passive_policies, int passive_count, const struct dptf_critical_policy *critical_policies, int critical_count)
dptf_critical_policy_type
void dptf_write_active_policies(const struct dptf_active_policy *policies, int max_count)
void dptf_write_STR(const char *str)
@ DPTF_MAX_CRITICAL_POLICIES
@ DPTF_MAX_CHARGER_PERF_STATES
@ DPTF_MAX_FAN_PERF_STATES
@ DPTF_MAX_PASSIVE_POLICIES
@ DPTF_MAX_ACTIVE_POLICIES
void dptf_write_fan_options(bool fine_grained, int step_size, bool low_speed_notify)
void dptf_write_passive_policies(const struct dptf_passive_policy *policies, int max_count)
void dptf_write_tsr_hysteresis(uint8_t hysteresis)
void dptf_write_fan_perf(const struct dptf_fan_perf *perf, int max_count)
void dptf_write_STA(void)
void dptf_write_charger_perf(const struct dptf_charger_perf *perf, int max_count)
void dptf_write_power_limits(const struct dptf_power_limits *limits)
void dptf_write_scope(enum dptf_participant participant)
void dptf_write_critical_policies(const struct dptf_critical_policy *policies, int max_count)
const struct cpu_power_limits limits[]
static const struct pnpconfig perf[]
enum dptf_participant target
struct dptf_active_policy::@201 thresholds[DPTF_MAX_ACX]
enum dptf_participant source
enum dptf_critical_policy_type type
enum dptf_participant target
enum dptf_participant source
struct dptf_power_limit_config pl2
struct dptf_power_limit_config pl1