kernel-brax3-ubuntu-touch/drivers/misc/mediatek/power_throttling/mtk_cpu_power_throttling.h
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

25 lines
564 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 MediaTek Inc.
* Author: Samuel Hsieh <samuel.hsieh@mediatek.com>
*/
#ifndef _MTK_CPU_POWER_THROTTLING_H_
#define _MTK_CPU_POWER_THROTTLING_H_
enum cpu_pt_type {
LBAT_POWER_THROTTLING,
OC_POWER_THROTTLING,
POWER_THROTTLING_TYPE_MAX
};
struct cpu_pt_policy {
enum cpu_pt_type pt_type;
unsigned int cpu;
s32 cpu_limit;
struct freq_qos_request qos_req;
struct cpufreq_policy *policy;
struct list_head cpu_pt_list;
};
#endif