Lines Matching defs:cpufreq_policy
61 struct cpufreq_policy { struct
63 cpumask_var_t cpus; /* Online CPUs only */
64 cpumask_var_t related_cpus; /* Online + Offline CPUs */
66 unsigned int shared_type; /* ACPI: ANY or ALL affected CPUs
68 unsigned int cpu; /* cpu nr of CPU managing this policy */
69 struct clk *clk;
70 struct cpufreq_cpuinfo cpuinfo;/* see above */
72 unsigned int min; /* in kHz */
73 unsigned int max; /* in kHz */
74 unsigned int cur; /* in kHz, only needed if cpufreq
76 unsigned int restore_freq; /* = policy->cur before transition */
77 unsigned int suspend_freq; /* freq to set during suspend */
79 unsigned int policy; /* see above */
80 struct cpufreq_governor *governor; /* see below */
81 void *governor_data;
82 bool governor_enabled; /* governor start/stop flag */
84 struct work_struct update; /* if update_policy() needs to be
87 struct cpufreq_real_policy user_policy;
88 struct cpufreq_frequency_table *freq_table;
90 struct list_head policy_list;
91 struct kobject kobj;
92 struct completion kobj_unregister;
128 struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu); argument