Lines Matching defs:cpufreq_policy
55 struct cpufreq_policy { struct
57 cpumask_var_t cpus; /* Online CPUs only */
58 cpumask_var_t related_cpus; /* Online + Offline CPUs */
59 cpumask_var_t real_cpus; /* Related and present */
61 unsigned int shared_type; /* ACPI: ANY or ALL affected CPUs
63 unsigned int cpu; /* cpu managing this policy, must be online */
65 struct clk *clk;
66 struct cpufreq_cpuinfo cpuinfo;/* see above */
68 unsigned int min; /* in kHz */
69 unsigned int max; /* in kHz */
70 unsigned int cur; /* in kHz, only needed if cpufreq
72 unsigned int suspend_freq; /* freq to set during suspend */
74 unsigned int policy; /* see above */
75 unsigned int last_policy; /* policy before unplug */
76 struct cpufreq_governor *governor; /* see below */
77 void *governor_data;
78 char last_governor[CPUFREQ_NAME_LEN]; /* last governor used */
80 struct work_struct update; /* if update_policy() needs to be
83 struct freq_constraints constraints;
84 struct freq_qos_request *min_freq_req;
85 struct freq_qos_request *max_freq_req;
87 struct cpufreq_frequency_table *freq_table;
88 enum cpufreq_table_sorting freq_table_sorted;
90 struct list_head policy_list;
91 struct kobject kobj;
92 struct completion kobj_unregister;
102 struct rw_semaphore rwsem;
112 bool fast_switch_possible;
113 bool fast_switch_enabled;
119 bool strict_target;
126 bool efficiencies_available;
133 unsigned int transition_delay_us;
142 bool dvfs_possible_from_any_cpu;
145 bool boost_enabled;
148 unsigned int cached_target_freq;
149 unsigned int cached_resolved_idx;
152 bool transition_ongoing; /* Tracks transition status */
176 struct cpufreq_policy_data { argument
185 struct cpufreq_policy *policy; argument