Lines Matching defs:cpufreq_policy
59 struct cpufreq_policy { struct
61 cpumask_var_t cpus; /* Online CPUs only */
62 cpumask_var_t related_cpus; /* Online + Offline CPUs */
63 cpumask_var_t real_cpus; /* Related and present */
65 unsigned int shared_type; /* ACPI: ANY or ALL affected CPUs
67 unsigned int cpu; /* cpu managing this policy, must be online */
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 unsigned int last_policy; /* policy before unplug */
81 struct cpufreq_governor *governor; /* see below */
82 void *governor_data;
83 bool governor_enabled; /* governor start/stop flag */
84 char last_governor[CPUFREQ_NAME_LEN]; /* last governor used */
86 struct work_struct update; /* if update_policy() needs to be
89 struct cpufreq_user_policy user_policy;
90 struct cpufreq_frequency_table *freq_table;
92 struct list_head policy_list;
93 struct kobject kobj;
94 struct completion kobj_unregister;
130 struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu); argument