Lines Matching defs:cpufreq_policy
65 struct cpufreq_policy { struct
67 cpumask_var_t cpus; /* Online CPUs only */
68 cpumask_var_t related_cpus; /* Online + Offline CPUs */
69 cpumask_var_t real_cpus; /* Related and present */
71 unsigned int shared_type; /* ACPI: ANY or ALL affected CPUs
73 unsigned int cpu; /* cpu managing this policy, must be online */
75 struct clk *clk;
76 struct cpufreq_cpuinfo cpuinfo;/* see above */
78 unsigned int min; /* in kHz */
79 unsigned int max; /* in kHz */
80 unsigned int cur; /* in kHz, only needed if cpufreq
82 unsigned int restore_freq; /* = policy->cur before transition */
83 unsigned int suspend_freq; /* freq to set during suspend */
85 unsigned int policy; /* see above */
86 unsigned int last_policy; /* policy before unplug */
87 struct cpufreq_governor *governor; /* see below */
88 void *governor_data;
89 char last_governor[CPUFREQ_NAME_LEN]; /* last governor used */
91 struct work_struct update; /* if update_policy() needs to be
94 struct cpufreq_user_policy user_policy;
95 struct cpufreq_frequency_table *freq_table;
96 enum cpufreq_table_sorting freq_table_sorted;
98 struct list_head policy_list;
99 struct kobject kobj;
100 struct completion kobj_unregister;
110 struct rw_semaphore rwsem;
120 bool fast_switch_possible;
121 bool fast_switch_enabled;
128 unsigned int transition_delay_us;
137 bool dvfs_possible_from_any_cpu;
163 struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu); argument