#define pr_fmt(fmt) …
#include <linux/cpumask.h>
#include <linux/devfreq.h>
#include <linux/dtpm.h>
#include <linux/energy_model.h>
#include <linux/of.h>
#include <linux/pm_qos.h>
#include <linux/slab.h>
#include <linux/units.h>
struct dtpm_devfreq { … };
static struct dtpm_devfreq *to_dtpm_devfreq(struct dtpm *dtpm)
{ … }
static int update_pd_power_uw(struct dtpm *dtpm)
{ … }
static u64 set_pd_power_limit(struct dtpm *dtpm, u64 power_limit)
{ … }
static void _normalize_load(struct devfreq_dev_status *status)
{ … }
static u64 get_pd_power_uw(struct dtpm *dtpm)
{ … }
static void pd_release(struct dtpm *dtpm)
{ … }
static struct dtpm_ops dtpm_ops = …;
static int __dtpm_devfreq_setup(struct devfreq *devfreq, struct dtpm *parent)
{ … }
static int dtpm_devfreq_setup(struct dtpm *dtpm, struct device_node *np)
{ … }
struct dtpm_subsys_ops dtpm_devfreq_ops = …;