0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "cpufreq_governor.h"
0010
0011 struct od_policy_dbs_info {
0012 struct policy_dbs_info policy_dbs;
0013 unsigned int freq_lo;
0014 unsigned int freq_lo_delay_us;
0015 unsigned int freq_hi_delay_us;
0016 unsigned int sample_type:1;
0017 };
0018
0019 static inline struct od_policy_dbs_info *to_dbs_info(struct policy_dbs_info *policy_dbs)
0020 {
0021 return container_of(policy_dbs, struct od_policy_dbs_info, policy_dbs);
0022 }
0023
0024 struct od_dbs_tuners {
0025 unsigned int powersave_bias;
0026 };