#include <linux/kernel.h>
#include <linux/pm_domain.h>
#include <linux/pm_qos.h>
#include <linux/hrtimer.h>
#include <linux/cpuidle.h>
#include <linux/cpumask.h>
#include <linux/ktime.h>
static int dev_update_qos_constraint(struct device *dev, void *data)
{ … }
static bool default_suspend_ok(struct device *dev)
{ … }
static void update_domain_next_wakeup(struct generic_pm_domain *genpd, ktime_t now)
{ … }
static bool next_wakeup_allows_state(struct generic_pm_domain *genpd,
unsigned int state, ktime_t now)
{ … }
static bool __default_power_down_ok(struct dev_pm_domain *pd,
unsigned int state)
{ … }
static bool _default_power_down_ok(struct dev_pm_domain *pd, ktime_t now)
{ … }
static bool default_power_down_ok(struct dev_pm_domain *pd)
{ … }
#ifdef CONFIG_CPU_IDLE
static bool cpu_power_down_ok(struct dev_pm_domain *pd)
{ … }
struct dev_power_governor pm_domain_cpu_gov = …;
#endif
struct dev_power_governor simple_qos_governor = …;
struct dev_power_governor pm_domain_always_on_gov = …;