lineage_kernel_xcoverpro/drivers/cpufreq/exynos-ufc.h

33 lines
717 B
C
Raw Permalink Normal View History

2023-06-18 22:53:49 +00:00
/*
* Copyright (c) 2016 Park Bumgyu, Samsung Electronics Co., Ltd <bumgyu.park@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Exynos ACME(A Cpufreq that Meets Every chipset) driver implementation
*/
#include <linux/cpufreq.h>
#define EXYNOS_UFC_TYPE_NAME_LEN 16
enum exynos_ufc_ctrl_type {
PM_QOS_MIN_LIMIT = 0,
PM_QOS_MIN_WO_BOOST_LIMIT,
PM_QOS_MAX_LIMIT,
TYPE_END
};
struct exynos_ufc_freq {
u32 master_freq;
u32 limit_freq;
};
struct exynos_ufc_info {
struct list_head node;
int ctrl_type;
struct exynos_ufc_freq *freq_table;
};