Lines Matching defs:cpufreq_policy
51 struct cpufreq_policy { struct
53 cpumask_var_t cpus; /* Online CPUs only */
54 cpumask_var_t related_cpus; /* Online + Offline CPUs */
55 cpumask_var_t real_cpus; /* Related and present */
57 unsigned int shared_type; /* ACPI: ANY or ALL affected CPUs
59 unsigned int cpu; /* cpu managing this policy, must be online */
61 struct clk *clk;
62 struct cpufreq_cpuinfo cpuinfo;/* see above */
64 unsigned int min; /* in kHz */
65 unsigned int max; /* in kHz */
66 unsigned int cur; /* in kHz, only needed if cpufreq
68 unsigned int restore_freq; /* = policy->cur before transition */
69 unsigned int suspend_freq; /* freq to set during suspend */
71 unsigned int policy; /* see above */
72 unsigned int last_policy; /* policy before unplug */
73 struct cpufreq_governor *governor; /* see below */
74 void *governor_data;
75 char last_governor[CPUFREQ_NAME_LEN]; /* last governor used */
77 struct work_struct update; /* if update_policy() needs to be
80 struct freq_constraints constraints;
81 struct freq_qos_request *min_freq_req;
82 struct freq_qos_request *max_freq_req;
84 struct cpufreq_frequency_table *freq_table;
85 enum cpufreq_table_sorting freq_table_sorted;
87 struct list_head policy_list;
88 struct kobject kobj;
89 struct completion kobj_unregister;
99 struct rw_semaphore rwsem;
109 bool fast_switch_possible;
110 bool fast_switch_enabled;
117 unsigned int transition_delay_us;
126 bool dvfs_possible_from_any_cpu;
152 struct cpufreq_policy *policy; argument